aws-sdk-codegurusecurity 1.9.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ede574463ce7ff1ce5bccb4ac183721103365aa404b306113f34065cd1f99f3
4
- data.tar.gz: 04fe436582e5d2b0c84ad723d4afc8afa569ae832662a2de77233f00cb9f36aa
3
+ metadata.gz: 6d1308b933b8dc560fd3a68521a6a4c3c61af57e79bcee76692498a73ad5aebd
4
+ data.tar.gz: dd4f8c3d620d1a24e3759db2964bd7564c52e9a745983ee7cf4ef766c7c9b5dd
5
5
  SHA512:
6
- metadata.gz: 6f9c88b79920687eebedf19eafda3a8ad1a5886decf57a804d105ee0d86fe2120ccfbad49ffd6002e17d1d9a6757b0d2cdc23b3f3b70b59e6b2332fdac7b6996
7
- data.tar.gz: e4620d4bdcc88f17ce9cf73b4c84c89f96ed53c4f38de472acd149e458b886dcb6685c4d6c285e19a5d862c93177f3c3d22a4bc37b089ce209d3c1acd5f804d1
6
+ metadata.gz: ed64a6bb312cf62c25abbecbd6c1250c95d5a3e02ac9a7a688d1fcb2c908323037c36bd93c7a359abb93cc22d634924035087250aff839307de0d1f85cdfd870
7
+ data.tar.gz: eb13c5864381050eb54b287d3b27efa407d9528f3c641c6619eddfe789e408d628b3a9622741909b6cf5108f2e60778bc584dce66d378f5bce40a17b69331bab
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.9.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.10.0
@@ -1051,7 +1051,7 @@ module Aws::CodeGuruSecurity
1051
1051
  params: params,
1052
1052
  config: config)
1053
1053
  context[:gem_name] = 'aws-sdk-codegurusecurity'
1054
- context[:gem_version] = '1.9.0'
1054
+ context[:gem_version] = '1.10.0'
1055
1055
  Seahorse::Client::Request.new(handlers, context)
1056
1056
  end
1057
1057
 
@@ -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 '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-codegurusecurity/customizations'
52
52
  # @!group service
53
53
  module Aws::CodeGuruSecurity
54
54
 
55
- GEM_VERSION = '1.9.0'
55
+ GEM_VERSION = '1.10.0'
56
56
 
57
57
  end
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.9.0
4
+ version: 1.10.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: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.188.0
22
+ version: 3.191.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.188.0
32
+ version: 3.191.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.1.6
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: []