aws-sdk-codegurusecurity 1.9.0 → 1.11.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-codegurusecurity/client.rb +70 -46
- data/lib/aws-sdk-codegurusecurity/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-codegurusecurity.rb +1 -1
- data/sig/client.rbs +245 -0
- data/sig/errors.rbs +50 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +366 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f595efc76a4eedc211710016e9603c5d0b57ad999af636984003715e12bf2b9
|
4
|
+
data.tar.gz: 75457dc7470826636e437c0dc9ade6b8c572376d2814b8dcbb44da772f7c113e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7010647ec35b600a5803d3b15e7e16a49f54d8e7426c1445a5ad095eb02b42c2534b888703a130fab703abcc046f06bb047587b4f344a120b01f1a0ceac2f557
|
7
|
+
data.tar.gz: 16f90af3a21898ab86ed859cf1ddb19884dfaa89f61805f0c04fe21bd54d19b00bc91df821befa301be431b8c01a9bb20ba51f92a1bbed613813905e1416546a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.11.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.10.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.9.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.11.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::CodeGuruSecurity
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::CodeGuruSecurity
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::CodeGuruSecurity
|
|
337
346
|
# @option options [Aws::CodeGuruSecurity::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::CodeGuruSecurity::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
365
399
|
#
|
366
|
-
# @option options [
|
367
|
-
#
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
368
402
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
372
405
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
378
|
-
#
|
379
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
380
|
-
# directory that contains the unbundled SSL certificate
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -1051,7 +1075,7 @@ module Aws::CodeGuruSecurity
|
|
1051
1075
|
params: params,
|
1052
1076
|
config: config)
|
1053
1077
|
context[:gem_name] = 'aws-sdk-codegurusecurity'
|
1054
|
-
context[:gem_version] = '1.
|
1078
|
+
context[:gem_version] = '1.11.0'
|
1055
1079
|
Seahorse::Client::Request.new(handlers, context)
|
1056
1080
|
end
|
1057
1081
|
|
@@ -14,6 +14,7 @@ module Aws::CodeGuruSecurity
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::CodeGuruSecurity::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,245 @@
|
|
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 CodeGuruSecurity
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/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
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _BatchGetFindingsResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetFindingsResponse]
|
77
|
+
def failed_findings: () -> ::Array[Types::BatchGetFindingsError]
|
78
|
+
def findings: () -> ::Array[Types::Finding]
|
79
|
+
end
|
80
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/Client.html#batch_get_findings-instance_method
|
81
|
+
def batch_get_findings: (
|
82
|
+
finding_identifiers: Array[
|
83
|
+
{
|
84
|
+
finding_id: ::String,
|
85
|
+
scan_name: ::String
|
86
|
+
},
|
87
|
+
]
|
88
|
+
) -> _BatchGetFindingsResponseSuccess
|
89
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetFindingsResponseSuccess
|
90
|
+
|
91
|
+
interface _CreateScanResponseSuccess
|
92
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateScanResponse]
|
93
|
+
def resource_id: () -> Types::ResourceId
|
94
|
+
def run_id: () -> ::String
|
95
|
+
def scan_name: () -> ::String
|
96
|
+
def scan_name_arn: () -> ::String
|
97
|
+
def scan_state: () -> ("InProgress" | "Successful" | "Failed")
|
98
|
+
end
|
99
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/Client.html#create_scan-instance_method
|
100
|
+
def create_scan: (
|
101
|
+
?analysis_type: ("Security" | "All"),
|
102
|
+
?client_token: ::String,
|
103
|
+
resource_id: {
|
104
|
+
code_artifact_id: ::String?
|
105
|
+
},
|
106
|
+
scan_name: ::String,
|
107
|
+
?scan_type: ("Standard" | "Express"),
|
108
|
+
?tags: Hash[::String, ::String]
|
109
|
+
) -> _CreateScanResponseSuccess
|
110
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScanResponseSuccess
|
111
|
+
|
112
|
+
interface _CreateUploadUrlResponseSuccess
|
113
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateUploadUrlResponse]
|
114
|
+
def code_artifact_id: () -> ::String
|
115
|
+
def request_headers: () -> ::Hash[::String, ::String]
|
116
|
+
def s3_url: () -> ::String
|
117
|
+
end
|
118
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/Client.html#create_upload_url-instance_method
|
119
|
+
def create_upload_url: (
|
120
|
+
scan_name: ::String
|
121
|
+
) -> _CreateUploadUrlResponseSuccess
|
122
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUploadUrlResponseSuccess
|
123
|
+
|
124
|
+
interface _GetAccountConfigurationResponseSuccess
|
125
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountConfigurationResponse]
|
126
|
+
def encryption_config: () -> Types::EncryptionConfig
|
127
|
+
end
|
128
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/Client.html#get_account_configuration-instance_method
|
129
|
+
def get_account_configuration: (
|
130
|
+
) -> _GetAccountConfigurationResponseSuccess
|
131
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountConfigurationResponseSuccess
|
132
|
+
|
133
|
+
interface _GetFindingsResponseSuccess
|
134
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetFindingsResponse]
|
135
|
+
def findings: () -> ::Array[Types::Finding]
|
136
|
+
def next_token: () -> ::String
|
137
|
+
end
|
138
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/Client.html#get_findings-instance_method
|
139
|
+
def get_findings: (
|
140
|
+
?max_results: ::Integer,
|
141
|
+
?next_token: ::String,
|
142
|
+
scan_name: ::String,
|
143
|
+
?status: ("Closed" | "Open" | "All")
|
144
|
+
) -> _GetFindingsResponseSuccess
|
145
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFindingsResponseSuccess
|
146
|
+
|
147
|
+
interface _GetMetricsSummaryResponseSuccess
|
148
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMetricsSummaryResponse]
|
149
|
+
def metrics_summary: () -> Types::MetricsSummary
|
150
|
+
end
|
151
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/Client.html#get_metrics_summary-instance_method
|
152
|
+
def get_metrics_summary: (
|
153
|
+
date: ::Time
|
154
|
+
) -> _GetMetricsSummaryResponseSuccess
|
155
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMetricsSummaryResponseSuccess
|
156
|
+
|
157
|
+
interface _GetScanResponseSuccess
|
158
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetScanResponse]
|
159
|
+
def analysis_type: () -> ("Security" | "All")
|
160
|
+
def created_at: () -> ::Time
|
161
|
+
def number_of_revisions: () -> ::Integer
|
162
|
+
def run_id: () -> ::String
|
163
|
+
def scan_name: () -> ::String
|
164
|
+
def scan_name_arn: () -> ::String
|
165
|
+
def scan_state: () -> ("InProgress" | "Successful" | "Failed")
|
166
|
+
def updated_at: () -> ::Time
|
167
|
+
end
|
168
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/Client.html#get_scan-instance_method
|
169
|
+
def get_scan: (
|
170
|
+
?run_id: ::String,
|
171
|
+
scan_name: ::String
|
172
|
+
) -> _GetScanResponseSuccess
|
173
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetScanResponseSuccess
|
174
|
+
|
175
|
+
interface _ListFindingsMetricsResponseSuccess
|
176
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListFindingsMetricsResponse]
|
177
|
+
def findings_metrics: () -> ::Array[Types::AccountFindingsMetric]
|
178
|
+
def next_token: () -> ::String
|
179
|
+
end
|
180
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/Client.html#list_findings_metrics-instance_method
|
181
|
+
def list_findings_metrics: (
|
182
|
+
end_date: ::Time,
|
183
|
+
?max_results: ::Integer,
|
184
|
+
?next_token: ::String,
|
185
|
+
start_date: ::Time
|
186
|
+
) -> _ListFindingsMetricsResponseSuccess
|
187
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFindingsMetricsResponseSuccess
|
188
|
+
|
189
|
+
interface _ListScansResponseSuccess
|
190
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListScansResponse]
|
191
|
+
def next_token: () -> ::String
|
192
|
+
def summaries: () -> ::Array[Types::ScanSummary]
|
193
|
+
end
|
194
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/Client.html#list_scans-instance_method
|
195
|
+
def list_scans: (
|
196
|
+
?max_results: ::Integer,
|
197
|
+
?next_token: ::String
|
198
|
+
) -> _ListScansResponseSuccess
|
199
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScansResponseSuccess
|
200
|
+
|
201
|
+
interface _ListTagsForResourceResponseSuccess
|
202
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
203
|
+
def tags: () -> ::Hash[::String, ::String]
|
204
|
+
end
|
205
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/Client.html#list_tags_for_resource-instance_method
|
206
|
+
def list_tags_for_resource: (
|
207
|
+
resource_arn: ::String
|
208
|
+
) -> _ListTagsForResourceResponseSuccess
|
209
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
210
|
+
|
211
|
+
interface _TagResourceResponseSuccess
|
212
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
213
|
+
end
|
214
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/Client.html#tag_resource-instance_method
|
215
|
+
def tag_resource: (
|
216
|
+
resource_arn: ::String,
|
217
|
+
tags: Hash[::String, ::String]
|
218
|
+
) -> _TagResourceResponseSuccess
|
219
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
220
|
+
|
221
|
+
interface _UntagResourceResponseSuccess
|
222
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
223
|
+
end
|
224
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/Client.html#untag_resource-instance_method
|
225
|
+
def untag_resource: (
|
226
|
+
resource_arn: ::String,
|
227
|
+
tag_keys: Array[::String]
|
228
|
+
) -> _UntagResourceResponseSuccess
|
229
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
230
|
+
|
231
|
+
interface _UpdateAccountConfigurationResponseSuccess
|
232
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAccountConfigurationResponse]
|
233
|
+
def encryption_config: () -> Types::EncryptionConfig
|
234
|
+
end
|
235
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/Client.html#update_account_configuration-instance_method
|
236
|
+
def update_account_configuration: (
|
237
|
+
encryption_config: {
|
238
|
+
kms_key_arn: ::String?
|
239
|
+
}
|
240
|
+
) -> _UpdateAccountConfigurationResponseSuccess
|
241
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAccountConfigurationResponseSuccess
|
242
|
+
end
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,50 @@
|
|
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 CodeGuruSecurity
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def error_code: () -> ::String
|
16
|
+
def message: () -> ::String
|
17
|
+
def resource_id: () -> ::String
|
18
|
+
def resource_type: () -> ::String
|
19
|
+
end
|
20
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
21
|
+
def error_code: () -> ::String
|
22
|
+
def message: () -> ::String
|
23
|
+
def resource_id: () -> ::String
|
24
|
+
def resource_type: () -> ::String
|
25
|
+
end
|
26
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
27
|
+
def error: () -> ::String
|
28
|
+
def message: () -> ::String
|
29
|
+
end
|
30
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
31
|
+
def error_code: () -> ::String
|
32
|
+
def message: () -> ::String
|
33
|
+
def resource_id: () -> ::String
|
34
|
+
def resource_type: () -> ::String
|
35
|
+
end
|
36
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
37
|
+
def error_code: () -> ::String
|
38
|
+
def message: () -> ::String
|
39
|
+
def quota_code: () -> ::String
|
40
|
+
def service_code: () -> ::String
|
41
|
+
end
|
42
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
43
|
+
def error_code: () -> ::String
|
44
|
+
def field_list: () -> ::String
|
45
|
+
def message: () -> ::String
|
46
|
+
def reason: () -> ::String
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
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 CodeGuruSecurity
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruSecurity/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
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
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,366 @@
|
|
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::CodeGuruSecurity
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor error_code: ::String
|
13
|
+
attr_accessor message: ::String
|
14
|
+
attr_accessor resource_id: ::String
|
15
|
+
attr_accessor resource_type: ::String
|
16
|
+
SENSITIVE: []
|
17
|
+
end
|
18
|
+
|
19
|
+
class AccountFindingsMetric
|
20
|
+
attr_accessor closed_findings: Types::FindingMetricsValuePerSeverity
|
21
|
+
attr_accessor date: ::Time
|
22
|
+
attr_accessor mean_time_to_close: Types::FindingMetricsValuePerSeverity
|
23
|
+
attr_accessor new_findings: Types::FindingMetricsValuePerSeverity
|
24
|
+
attr_accessor open_findings: Types::FindingMetricsValuePerSeverity
|
25
|
+
SENSITIVE: []
|
26
|
+
end
|
27
|
+
|
28
|
+
class BatchGetFindingsError
|
29
|
+
attr_accessor error_code: ("DUPLICATE_IDENTIFIER" | "ITEM_DOES_NOT_EXIST" | "INTERNAL_ERROR" | "INVALID_FINDING_ID" | "INVALID_SCAN_NAME")
|
30
|
+
attr_accessor finding_id: ::String
|
31
|
+
attr_accessor message: ::String
|
32
|
+
attr_accessor scan_name: ::String
|
33
|
+
SENSITIVE: []
|
34
|
+
end
|
35
|
+
|
36
|
+
class BatchGetFindingsRequest
|
37
|
+
attr_accessor finding_identifiers: ::Array[Types::FindingIdentifier]
|
38
|
+
SENSITIVE: []
|
39
|
+
end
|
40
|
+
|
41
|
+
class BatchGetFindingsResponse
|
42
|
+
attr_accessor failed_findings: ::Array[Types::BatchGetFindingsError]
|
43
|
+
attr_accessor findings: ::Array[Types::Finding]
|
44
|
+
SENSITIVE: []
|
45
|
+
end
|
46
|
+
|
47
|
+
class CategoryWithFindingNum
|
48
|
+
attr_accessor category_name: ::String
|
49
|
+
attr_accessor finding_number: ::Integer
|
50
|
+
SENSITIVE: []
|
51
|
+
end
|
52
|
+
|
53
|
+
class CodeLine
|
54
|
+
attr_accessor content: ::String
|
55
|
+
attr_accessor number: ::Integer
|
56
|
+
SENSITIVE: []
|
57
|
+
end
|
58
|
+
|
59
|
+
class ConflictException
|
60
|
+
attr_accessor error_code: ::String
|
61
|
+
attr_accessor message: ::String
|
62
|
+
attr_accessor resource_id: ::String
|
63
|
+
attr_accessor resource_type: ::String
|
64
|
+
SENSITIVE: []
|
65
|
+
end
|
66
|
+
|
67
|
+
class CreateScanRequest
|
68
|
+
attr_accessor analysis_type: ("Security" | "All")
|
69
|
+
attr_accessor client_token: ::String
|
70
|
+
attr_accessor resource_id: Types::ResourceId
|
71
|
+
attr_accessor scan_name: ::String
|
72
|
+
attr_accessor scan_type: ("Standard" | "Express")
|
73
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
74
|
+
SENSITIVE: []
|
75
|
+
end
|
76
|
+
|
77
|
+
class CreateScanResponse
|
78
|
+
attr_accessor resource_id: Types::ResourceId
|
79
|
+
attr_accessor run_id: ::String
|
80
|
+
attr_accessor scan_name: ::String
|
81
|
+
attr_accessor scan_name_arn: ::String
|
82
|
+
attr_accessor scan_state: ("InProgress" | "Successful" | "Failed")
|
83
|
+
SENSITIVE: []
|
84
|
+
end
|
85
|
+
|
86
|
+
class CreateUploadUrlRequest
|
87
|
+
attr_accessor scan_name: ::String
|
88
|
+
SENSITIVE: []
|
89
|
+
end
|
90
|
+
|
91
|
+
class CreateUploadUrlResponse
|
92
|
+
attr_accessor code_artifact_id: ::String
|
93
|
+
attr_accessor request_headers: ::Hash[::String, ::String]
|
94
|
+
attr_accessor s3_url: ::String
|
95
|
+
SENSITIVE: [:request_headers, :s3_url]
|
96
|
+
end
|
97
|
+
|
98
|
+
class EncryptionConfig
|
99
|
+
attr_accessor kms_key_arn: ::String
|
100
|
+
SENSITIVE: []
|
101
|
+
end
|
102
|
+
|
103
|
+
class FilePath
|
104
|
+
attr_accessor code_snippet: ::Array[Types::CodeLine]
|
105
|
+
attr_accessor end_line: ::Integer
|
106
|
+
attr_accessor name: ::String
|
107
|
+
attr_accessor path: ::String
|
108
|
+
attr_accessor start_line: ::Integer
|
109
|
+
SENSITIVE: []
|
110
|
+
end
|
111
|
+
|
112
|
+
class Finding
|
113
|
+
attr_accessor created_at: ::Time
|
114
|
+
attr_accessor description: ::String
|
115
|
+
attr_accessor detector_id: ::String
|
116
|
+
attr_accessor detector_name: ::String
|
117
|
+
attr_accessor detector_tags: ::Array[::String]
|
118
|
+
attr_accessor generator_id: ::String
|
119
|
+
attr_accessor id: ::String
|
120
|
+
attr_accessor remediation: Types::Remediation
|
121
|
+
attr_accessor resource: Types::Resource
|
122
|
+
attr_accessor rule_id: ::String
|
123
|
+
attr_accessor severity: ("Critical" | "High" | "Medium" | "Low" | "Info")
|
124
|
+
attr_accessor status: ("Closed" | "Open" | "All")
|
125
|
+
attr_accessor title: ::String
|
126
|
+
attr_accessor type: ::String
|
127
|
+
attr_accessor updated_at: ::Time
|
128
|
+
attr_accessor vulnerability: Types::Vulnerability
|
129
|
+
SENSITIVE: []
|
130
|
+
end
|
131
|
+
|
132
|
+
class FindingIdentifier
|
133
|
+
attr_accessor finding_id: ::String
|
134
|
+
attr_accessor scan_name: ::String
|
135
|
+
SENSITIVE: []
|
136
|
+
end
|
137
|
+
|
138
|
+
class FindingMetricsValuePerSeverity
|
139
|
+
attr_accessor critical: ::Float
|
140
|
+
attr_accessor high: ::Float
|
141
|
+
attr_accessor info: ::Float
|
142
|
+
attr_accessor low: ::Float
|
143
|
+
attr_accessor medium: ::Float
|
144
|
+
SENSITIVE: []
|
145
|
+
end
|
146
|
+
|
147
|
+
class GetAccountConfigurationRequest < Aws::EmptyStructure
|
148
|
+
end
|
149
|
+
|
150
|
+
class GetAccountConfigurationResponse
|
151
|
+
attr_accessor encryption_config: Types::EncryptionConfig
|
152
|
+
SENSITIVE: []
|
153
|
+
end
|
154
|
+
|
155
|
+
class GetFindingsRequest
|
156
|
+
attr_accessor max_results: ::Integer
|
157
|
+
attr_accessor next_token: ::String
|
158
|
+
attr_accessor scan_name: ::String
|
159
|
+
attr_accessor status: ("Closed" | "Open" | "All")
|
160
|
+
SENSITIVE: []
|
161
|
+
end
|
162
|
+
|
163
|
+
class GetFindingsResponse
|
164
|
+
attr_accessor findings: ::Array[Types::Finding]
|
165
|
+
attr_accessor next_token: ::String
|
166
|
+
SENSITIVE: []
|
167
|
+
end
|
168
|
+
|
169
|
+
class GetMetricsSummaryRequest
|
170
|
+
attr_accessor date: ::Time
|
171
|
+
SENSITIVE: []
|
172
|
+
end
|
173
|
+
|
174
|
+
class GetMetricsSummaryResponse
|
175
|
+
attr_accessor metrics_summary: Types::MetricsSummary
|
176
|
+
SENSITIVE: []
|
177
|
+
end
|
178
|
+
|
179
|
+
class GetScanRequest
|
180
|
+
attr_accessor run_id: ::String
|
181
|
+
attr_accessor scan_name: ::String
|
182
|
+
SENSITIVE: []
|
183
|
+
end
|
184
|
+
|
185
|
+
class GetScanResponse
|
186
|
+
attr_accessor analysis_type: ("Security" | "All")
|
187
|
+
attr_accessor created_at: ::Time
|
188
|
+
attr_accessor number_of_revisions: ::Integer
|
189
|
+
attr_accessor run_id: ::String
|
190
|
+
attr_accessor scan_name: ::String
|
191
|
+
attr_accessor scan_name_arn: ::String
|
192
|
+
attr_accessor scan_state: ("InProgress" | "Successful" | "Failed")
|
193
|
+
attr_accessor updated_at: ::Time
|
194
|
+
SENSITIVE: []
|
195
|
+
end
|
196
|
+
|
197
|
+
class InternalServerException
|
198
|
+
attr_accessor error: ::String
|
199
|
+
attr_accessor message: ::String
|
200
|
+
SENSITIVE: []
|
201
|
+
end
|
202
|
+
|
203
|
+
class ListFindingsMetricsRequest
|
204
|
+
attr_accessor end_date: ::Time
|
205
|
+
attr_accessor max_results: ::Integer
|
206
|
+
attr_accessor next_token: ::String
|
207
|
+
attr_accessor start_date: ::Time
|
208
|
+
SENSITIVE: []
|
209
|
+
end
|
210
|
+
|
211
|
+
class ListFindingsMetricsResponse
|
212
|
+
attr_accessor findings_metrics: ::Array[Types::AccountFindingsMetric]
|
213
|
+
attr_accessor next_token: ::String
|
214
|
+
SENSITIVE: []
|
215
|
+
end
|
216
|
+
|
217
|
+
class ListScansRequest
|
218
|
+
attr_accessor max_results: ::Integer
|
219
|
+
attr_accessor next_token: ::String
|
220
|
+
SENSITIVE: []
|
221
|
+
end
|
222
|
+
|
223
|
+
class ListScansResponse
|
224
|
+
attr_accessor next_token: ::String
|
225
|
+
attr_accessor summaries: ::Array[Types::ScanSummary]
|
226
|
+
SENSITIVE: []
|
227
|
+
end
|
228
|
+
|
229
|
+
class ListTagsForResourceRequest
|
230
|
+
attr_accessor resource_arn: ::String
|
231
|
+
SENSITIVE: []
|
232
|
+
end
|
233
|
+
|
234
|
+
class ListTagsForResourceResponse
|
235
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
236
|
+
SENSITIVE: []
|
237
|
+
end
|
238
|
+
|
239
|
+
class MetricsSummary
|
240
|
+
attr_accessor categories_with_most_findings: ::Array[Types::CategoryWithFindingNum]
|
241
|
+
attr_accessor date: ::Time
|
242
|
+
attr_accessor open_findings: Types::FindingMetricsValuePerSeverity
|
243
|
+
attr_accessor scans_with_most_open_critical_findings: ::Array[Types::ScanNameWithFindingNum]
|
244
|
+
attr_accessor scans_with_most_open_findings: ::Array[Types::ScanNameWithFindingNum]
|
245
|
+
SENSITIVE: []
|
246
|
+
end
|
247
|
+
|
248
|
+
class Recommendation
|
249
|
+
attr_accessor text: ::String
|
250
|
+
attr_accessor url: ::String
|
251
|
+
SENSITIVE: []
|
252
|
+
end
|
253
|
+
|
254
|
+
class Remediation
|
255
|
+
attr_accessor recommendation: Types::Recommendation
|
256
|
+
attr_accessor suggested_fixes: ::Array[Types::SuggestedFix]
|
257
|
+
SENSITIVE: []
|
258
|
+
end
|
259
|
+
|
260
|
+
class Resource
|
261
|
+
attr_accessor id: ::String
|
262
|
+
attr_accessor sub_resource_id: ::String
|
263
|
+
SENSITIVE: []
|
264
|
+
end
|
265
|
+
|
266
|
+
class ResourceId
|
267
|
+
attr_accessor code_artifact_id: ::String
|
268
|
+
attr_accessor unknown: untyped
|
269
|
+
SENSITIVE: []
|
270
|
+
|
271
|
+
class CodeArtifactId < ResourceId
|
272
|
+
end
|
273
|
+
class Unknown < ResourceId
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
class ResourceNotFoundException
|
278
|
+
attr_accessor error_code: ::String
|
279
|
+
attr_accessor message: ::String
|
280
|
+
attr_accessor resource_id: ::String
|
281
|
+
attr_accessor resource_type: ::String
|
282
|
+
SENSITIVE: []
|
283
|
+
end
|
284
|
+
|
285
|
+
class ScanNameWithFindingNum
|
286
|
+
attr_accessor finding_number: ::Integer
|
287
|
+
attr_accessor scan_name: ::String
|
288
|
+
SENSITIVE: []
|
289
|
+
end
|
290
|
+
|
291
|
+
class ScanSummary
|
292
|
+
attr_accessor created_at: ::Time
|
293
|
+
attr_accessor run_id: ::String
|
294
|
+
attr_accessor scan_name: ::String
|
295
|
+
attr_accessor scan_name_arn: ::String
|
296
|
+
attr_accessor scan_state: ("InProgress" | "Successful" | "Failed")
|
297
|
+
attr_accessor updated_at: ::Time
|
298
|
+
SENSITIVE: []
|
299
|
+
end
|
300
|
+
|
301
|
+
class SuggestedFix
|
302
|
+
attr_accessor code: ::String
|
303
|
+
attr_accessor description: ::String
|
304
|
+
SENSITIVE: []
|
305
|
+
end
|
306
|
+
|
307
|
+
class TagResourceRequest
|
308
|
+
attr_accessor resource_arn: ::String
|
309
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
310
|
+
SENSITIVE: []
|
311
|
+
end
|
312
|
+
|
313
|
+
class TagResourceResponse < Aws::EmptyStructure
|
314
|
+
end
|
315
|
+
|
316
|
+
class ThrottlingException
|
317
|
+
attr_accessor error_code: ::String
|
318
|
+
attr_accessor message: ::String
|
319
|
+
attr_accessor quota_code: ::String
|
320
|
+
attr_accessor service_code: ::String
|
321
|
+
SENSITIVE: []
|
322
|
+
end
|
323
|
+
|
324
|
+
class UntagResourceRequest
|
325
|
+
attr_accessor resource_arn: ::String
|
326
|
+
attr_accessor tag_keys: ::Array[::String]
|
327
|
+
SENSITIVE: []
|
328
|
+
end
|
329
|
+
|
330
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
331
|
+
end
|
332
|
+
|
333
|
+
class UpdateAccountConfigurationRequest
|
334
|
+
attr_accessor encryption_config: Types::EncryptionConfig
|
335
|
+
SENSITIVE: []
|
336
|
+
end
|
337
|
+
|
338
|
+
class UpdateAccountConfigurationResponse
|
339
|
+
attr_accessor encryption_config: Types::EncryptionConfig
|
340
|
+
SENSITIVE: []
|
341
|
+
end
|
342
|
+
|
343
|
+
class ValidationException
|
344
|
+
attr_accessor error_code: ::String
|
345
|
+
attr_accessor field_list: ::Array[Types::ValidationExceptionField]
|
346
|
+
attr_accessor message: ::String
|
347
|
+
attr_accessor reason: ("unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other" | "lambdaCodeShaMisMatch")
|
348
|
+
SENSITIVE: []
|
349
|
+
end
|
350
|
+
|
351
|
+
class ValidationExceptionField
|
352
|
+
attr_accessor message: ::String
|
353
|
+
attr_accessor name: ::String
|
354
|
+
SENSITIVE: []
|
355
|
+
end
|
356
|
+
|
357
|
+
class Vulnerability
|
358
|
+
attr_accessor file_path: Types::FilePath
|
359
|
+
attr_accessor id: ::String
|
360
|
+
attr_accessor item_count: ::Integer
|
361
|
+
attr_accessor reference_urls: ::Array[::String]
|
362
|
+
attr_accessor related_vulnerabilities: ::Array[::String]
|
363
|
+
SENSITIVE: []
|
364
|
+
end
|
365
|
+
end
|
366
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,13 @@
|
|
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 CodeGuruSecurity
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-codegurusecurity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.193.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,13 +66,18 @@ files:
|
|
66
66
|
- lib/aws-sdk-codegurusecurity/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-codegurusecurity/resource.rb
|
68
68
|
- lib/aws-sdk-codegurusecurity/types.rb
|
69
|
+
- sig/client.rbs
|
70
|
+
- sig/errors.rbs
|
71
|
+
- sig/resource.rbs
|
72
|
+
- sig/types.rbs
|
73
|
+
- sig/waiters.rbs
|
69
74
|
homepage: https://github.com/aws/aws-sdk-ruby
|
70
75
|
licenses:
|
71
76
|
- Apache-2.0
|
72
77
|
metadata:
|
73
78
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codegurusecurity
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codegurusecurity/CHANGELOG.md
|
75
|
-
post_install_message:
|
80
|
+
post_install_message:
|
76
81
|
rdoc_options: []
|
77
82
|
require_paths:
|
78
83
|
- lib
|
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
92
|
- !ruby/object:Gem::Version
|
88
93
|
version: '0'
|
89
94
|
requirements: []
|
90
|
-
rubygems_version: 3.
|
91
|
-
signing_key:
|
95
|
+
rubygems_version: 3.4.10
|
96
|
+
signing_key:
|
92
97
|
specification_version: 4
|
93
98
|
summary: AWS SDK for Ruby - Amazon CodeGuru Security
|
94
99
|
test_files: []
|