aws-sdk-continuum 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-continuum/client.rb +2632 -0
- data/lib/aws-sdk-continuum/client_api.rb +1791 -0
- data/lib/aws-sdk-continuum/customizations.rb +0 -0
- data/lib/aws-sdk-continuum/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-continuum/endpoint_provider.rb +32 -0
- data/lib/aws-sdk-continuum/endpoints.rb +20 -0
- data/lib/aws-sdk-continuum/errors.rb +177 -0
- data/lib/aws-sdk-continuum/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-continuum/resource.rb +26 -0
- data/lib/aws-sdk-continuum/types.rb +4746 -0
- data/lib/aws-sdk-continuum/waiters.rb +121 -0
- data/lib/aws-sdk-continuum.rb +62 -0
- data/sig/client.rbs +647 -0
- data/sig/errors.rbs +40 -0
- data/sig/params.rbs +30 -0
- data/sig/resource.rbs +86 -0
- data/sig/types.rbs +1210 -0
- data/sig/waiters.rbs +24 -0
- metadata +98 -0
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,647 @@
|
|
|
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 Continuum
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/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_clock_skew_correction: bool,
|
|
31
|
+
?disable_host_prefix_injection: bool,
|
|
32
|
+
?disable_request_compression: bool,
|
|
33
|
+
?endpoint: String,
|
|
34
|
+
?endpoint_cache_max_entries: Integer,
|
|
35
|
+
?endpoint_cache_max_threads: Integer,
|
|
36
|
+
?endpoint_cache_poll_interval: Integer,
|
|
37
|
+
?endpoint_discovery: bool,
|
|
38
|
+
?ignore_configured_endpoint_urls: bool,
|
|
39
|
+
?log_formatter: untyped,
|
|
40
|
+
?log_level: Symbol,
|
|
41
|
+
?logger: untyped,
|
|
42
|
+
?max_attempts: Integer,
|
|
43
|
+
?profile: String,
|
|
44
|
+
?request_checksum_calculation: String,
|
|
45
|
+
?request_min_compression_size_bytes: Integer,
|
|
46
|
+
?response_checksum_validation: String,
|
|
47
|
+
?retry_backoff: Proc,
|
|
48
|
+
?retry_base_delay: Float,
|
|
49
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
50
|
+
?retry_limit: Integer,
|
|
51
|
+
?retry_max_delay: Integer,
|
|
52
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
53
|
+
?sdk_ua_app_id: String,
|
|
54
|
+
?secret_access_key: String,
|
|
55
|
+
?session_token: String,
|
|
56
|
+
?sigv4a_signing_region_set: Array[String],
|
|
57
|
+
?stub_responses: untyped,
|
|
58
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
59
|
+
?token_provider: untyped,
|
|
60
|
+
?use_dualstack_endpoint: bool,
|
|
61
|
+
?use_fips_endpoint: bool,
|
|
62
|
+
?validate_params: bool,
|
|
63
|
+
?endpoint_provider: untyped,
|
|
64
|
+
?http_proxy: String,
|
|
65
|
+
?http_open_timeout: (Float | Integer),
|
|
66
|
+
?http_read_timeout: (Float | Integer),
|
|
67
|
+
?http_idle_timeout: (Float | Integer),
|
|
68
|
+
?http_continue_timeout: (Float | Integer),
|
|
69
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
70
|
+
?http_wire_trace: bool,
|
|
71
|
+
?ssl_verify_peer: bool,
|
|
72
|
+
?ssl_ca_bundle: String,
|
|
73
|
+
?ssl_ca_directory: String,
|
|
74
|
+
?ssl_ca_store: String,
|
|
75
|
+
?on_chunk_received: Proc,
|
|
76
|
+
?on_chunk_sent: Proc,
|
|
77
|
+
?raise_response_errors: bool
|
|
78
|
+
) -> instance
|
|
79
|
+
| (?Hash[Symbol, untyped]) -> instance
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
interface _AssociateCollectorResponseSuccess
|
|
83
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateCollectorOutput]
|
|
84
|
+
def environment_id: () -> ::String
|
|
85
|
+
def environment_arn: () -> ::String
|
|
86
|
+
def associated_collector: () -> Types::AssociatedCollector
|
|
87
|
+
end
|
|
88
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#associate_collector-instance_method
|
|
89
|
+
def associate_collector: (
|
|
90
|
+
environment_id: ::String,
|
|
91
|
+
?client_token: ::String,
|
|
92
|
+
collector_arn: ::String,
|
|
93
|
+
collector_data_access_role_arn: ::String
|
|
94
|
+
) -> _AssociateCollectorResponseSuccess
|
|
95
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateCollectorResponseSuccess
|
|
96
|
+
|
|
97
|
+
interface _CreateCodeFindingResponseSuccess
|
|
98
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateCodeFindingOutput]
|
|
99
|
+
def finding_id: () -> ::String
|
|
100
|
+
def finding_arn: () -> ::String
|
|
101
|
+
def title: () -> ::String
|
|
102
|
+
def status: () -> ("SUBMITTED" | "VALIDATING" | "CONFIRMED" | "DISCARDED")
|
|
103
|
+
def created_at: () -> ::Time
|
|
104
|
+
end
|
|
105
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#create_code_finding-instance_method
|
|
106
|
+
def create_code_finding: (
|
|
107
|
+
environment_id: ::String,
|
|
108
|
+
ocsf_document: {
|
|
109
|
+
},
|
|
110
|
+
?client_token: ::String
|
|
111
|
+
) -> _CreateCodeFindingResponseSuccess
|
|
112
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCodeFindingResponseSuccess
|
|
113
|
+
|
|
114
|
+
interface _CreateCodeScanResponseSuccess
|
|
115
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateCodeScanOutput]
|
|
116
|
+
def scan: () -> Types::CodeScanSummary
|
|
117
|
+
end
|
|
118
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#create_code_scan-instance_method
|
|
119
|
+
def create_code_scan: (
|
|
120
|
+
environment_id: ::String,
|
|
121
|
+
?client_token: ::String
|
|
122
|
+
) -> _CreateCodeScanResponseSuccess
|
|
123
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCodeScanResponseSuccess
|
|
124
|
+
|
|
125
|
+
interface _CreateCollectorResponseSuccess
|
|
126
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateCollectorOutput]
|
|
127
|
+
def collector_id: () -> ::String
|
|
128
|
+
def collector_arn: () -> ::String
|
|
129
|
+
def type: () -> ("AWS_COLLECTOR")
|
|
130
|
+
def status: () -> ("ACTIVE" | "PENDING_DELETION")
|
|
131
|
+
def created_at: () -> ::Time
|
|
132
|
+
end
|
|
133
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#create_collector-instance_method
|
|
134
|
+
def create_collector: (
|
|
135
|
+
?type: ("AWS_COLLECTOR"),
|
|
136
|
+
?kubernetes_cluster_role: {
|
|
137
|
+
role_arn: ::String,
|
|
138
|
+
external_id: ::String?
|
|
139
|
+
},
|
|
140
|
+
?client_token: ::String
|
|
141
|
+
) -> _CreateCollectorResponseSuccess
|
|
142
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCollectorResponseSuccess
|
|
143
|
+
|
|
144
|
+
interface _CreateEnvironmentResponseSuccess
|
|
145
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateEnvironmentOutput]
|
|
146
|
+
def environment_id: () -> ::String
|
|
147
|
+
def environment_arn: () -> ::String
|
|
148
|
+
def status: () -> ("ACTIVE")
|
|
149
|
+
def created_at: () -> ::Time
|
|
150
|
+
end
|
|
151
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#create_environment-instance_method
|
|
152
|
+
def create_environment: (
|
|
153
|
+
name: ::String,
|
|
154
|
+
?configuration: {
|
|
155
|
+
code_configuration: {
|
|
156
|
+
source_configuration: Params::environment_source_configuration?,
|
|
157
|
+
environment_configuration: {
|
|
158
|
+
network: {
|
|
159
|
+
allowed_domains: Array[::String]?
|
|
160
|
+
}?,
|
|
161
|
+
scan_frequency: ::String?,
|
|
162
|
+
patch_creation_policy: ("ENABLED" | "DISABLED")?
|
|
163
|
+
}?
|
|
164
|
+
}?
|
|
165
|
+
}
|
|
166
|
+
) -> _CreateEnvironmentResponseSuccess
|
|
167
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEnvironmentResponseSuccess
|
|
168
|
+
|
|
169
|
+
interface _CreateIntegrationResponseSuccess
|
|
170
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateIntegrationOutput]
|
|
171
|
+
def integration_id: () -> ::String
|
|
172
|
+
def integration_arn: () -> ::String
|
|
173
|
+
def created_at: () -> ::Time
|
|
174
|
+
end
|
|
175
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#create_integration-instance_method
|
|
176
|
+
def create_integration: (
|
|
177
|
+
?client_token: ::String,
|
|
178
|
+
name: ::String,
|
|
179
|
+
provider_configuration: {
|
|
180
|
+
github: {
|
|
181
|
+
authorization: {
|
|
182
|
+
authorization_code: ::String,
|
|
183
|
+
state: ::String,
|
|
184
|
+
redirect_url: ::String?
|
|
185
|
+
},
|
|
186
|
+
organization_name: ::String?
|
|
187
|
+
}?,
|
|
188
|
+
gitlab: {
|
|
189
|
+
instance_url: ::String,
|
|
190
|
+
target_type: ("GROUP" | "PROJECT"),
|
|
191
|
+
target_path: ::String,
|
|
192
|
+
access_token: ::String
|
|
193
|
+
}?,
|
|
194
|
+
s3: {
|
|
195
|
+
bucket: ::String,
|
|
196
|
+
role_arn: ::String,
|
|
197
|
+
external_id: ::String
|
|
198
|
+
}?
|
|
199
|
+
}
|
|
200
|
+
) -> _CreateIntegrationResponseSuccess
|
|
201
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIntegrationResponseSuccess
|
|
202
|
+
|
|
203
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#delete_collector-instance_method
|
|
204
|
+
def delete_collector: (
|
|
205
|
+
collector_id: ::String
|
|
206
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
207
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
208
|
+
|
|
209
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#delete_environment-instance_method
|
|
210
|
+
def delete_environment: (
|
|
211
|
+
environment_id: ::String
|
|
212
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
213
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
214
|
+
|
|
215
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#delete_integration-instance_method
|
|
216
|
+
def delete_integration: (
|
|
217
|
+
integration_id: ::String
|
|
218
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
219
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
220
|
+
|
|
221
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#disassociate_collector-instance_method
|
|
222
|
+
def disassociate_collector: (
|
|
223
|
+
environment_id: ::String,
|
|
224
|
+
collector_arn: ::String
|
|
225
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
226
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
227
|
+
|
|
228
|
+
interface _GetCodeFindingResponseSuccess
|
|
229
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCodeFindingOutput]
|
|
230
|
+
def type: () -> ("CONTINUUM_CODE_VULN" | "CUSTOMER_CODE_VULN")
|
|
231
|
+
def title: () -> ::String
|
|
232
|
+
def severity: () -> ("UNKNOWN" | "INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL" | "FATAL" | "OTHER")
|
|
233
|
+
def summary: () -> ::String
|
|
234
|
+
def detailed_description: () -> ::String
|
|
235
|
+
def category: () -> ::String
|
|
236
|
+
def sub_category: () -> ::String
|
|
237
|
+
def cwe_ids: () -> ::Array[::String]
|
|
238
|
+
def owasp_category: () -> ::String
|
|
239
|
+
def mitigation: () -> ::String
|
|
240
|
+
def file_path: () -> ::String
|
|
241
|
+
def line_number: () -> ::Integer
|
|
242
|
+
def cve_id: () -> ::String
|
|
243
|
+
def cvss_base_score: () -> ::Float
|
|
244
|
+
def affected_packages: () -> ::Array[Types::AffectedPackage]
|
|
245
|
+
def vulnerable_code: () -> ::String
|
|
246
|
+
def relevant_inputs: () -> ::Array[::String]
|
|
247
|
+
def steps_to_reproduce: () -> ::Array[::String]
|
|
248
|
+
def validation: () -> Types::FindingValidation
|
|
249
|
+
def end_line: () -> ::Integer
|
|
250
|
+
def mitre_techniques: () -> ::Array[::String]
|
|
251
|
+
def remediation_references: () -> ::Array[::String]
|
|
252
|
+
def ocsf_class: () -> ("VULNERABILITY_FINDING" | "APPLICATION_SECURITY_POSTURE_FINDING")
|
|
253
|
+
def ocsf_schema_version: () -> ::String
|
|
254
|
+
def product_name: () -> ::String
|
|
255
|
+
def product_vendor_name: () -> ::String
|
|
256
|
+
def product_version: () -> ::String
|
|
257
|
+
def source_status: () -> ::String
|
|
258
|
+
def source_status_id: () -> ::Integer
|
|
259
|
+
def first_seen_at: () -> ::Time
|
|
260
|
+
def finding_types: () -> ::Array[::String]
|
|
261
|
+
def vulnerabilities: () -> ::Array[Types::FindingVulnerability]
|
|
262
|
+
def resources: () -> ::Array[Types::FindingResource]
|
|
263
|
+
def posture: () -> Types::FindingPosture
|
|
264
|
+
def finding_id: () -> ::String
|
|
265
|
+
def finding_arn: () -> ::String
|
|
266
|
+
def environment_id: () -> ::String
|
|
267
|
+
def source: () -> ::String
|
|
268
|
+
def source_finding_id: () -> ::String
|
|
269
|
+
def reported_at: () -> ::Time
|
|
270
|
+
def status: () -> ("SUBMITTED" | "VALIDATING" | "CONFIRMED" | "DISCARDED")
|
|
271
|
+
def status_updated_at: () -> ::Time
|
|
272
|
+
def created_at: () -> ::Time
|
|
273
|
+
def scan_run_id: () -> ::String
|
|
274
|
+
def status_message: () -> ::String
|
|
275
|
+
def discard_reason: () -> ("SCANNER_VALIDATED_FALSE_POSITIVE" | "SCANNER_NEEDS_REVIEW" | "FALSE_POSITIVE_VALIDATED_AGAINST_CONTEXT" | "DUPLICATE_OF_OPEN_ISSUE" | "DUPLICATE_OF_CLOSED_ISSUE" | "COMPENSATING_CONTROL_PRESENT" | "OUT_OF_SCOPE" | "INSUFFICIENT_EVIDENCE" | "PROCESSING_FAILED" | "SOURCE_REPO_NOT_FOUND")
|
|
276
|
+
def discard_reasoning: () -> ::String
|
|
277
|
+
def duplicate_of_issue_id: () -> ::String
|
|
278
|
+
def created_issue_id: () -> ::String
|
|
279
|
+
def completed_at: () -> ::Time
|
|
280
|
+
end
|
|
281
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_code_finding-instance_method
|
|
282
|
+
def get_code_finding: (
|
|
283
|
+
environment_id: ::String,
|
|
284
|
+
finding_id: ::String
|
|
285
|
+
) -> _GetCodeFindingResponseSuccess
|
|
286
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCodeFindingResponseSuccess
|
|
287
|
+
|
|
288
|
+
interface _GetCodeIssueResponseSuccess
|
|
289
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCodeIssueOutput]
|
|
290
|
+
def issue_id: () -> ::String
|
|
291
|
+
def issue_arn: () -> ::String
|
|
292
|
+
def name: () -> ::String
|
|
293
|
+
def synopsis: () -> ::String
|
|
294
|
+
def severity: () -> ("LOW" | "MEDIUM" | "HIGH" | "CRITICAL")
|
|
295
|
+
def confidence: () -> ::Integer
|
|
296
|
+
def severity_reasoning: () -> ::String
|
|
297
|
+
def summary: () -> ::String
|
|
298
|
+
def finding_ids: () -> ::Array[::String]
|
|
299
|
+
def status: () -> ("CREATED" | "IN_PROGRESS" | "COMPLETED" | "FAILED")
|
|
300
|
+
def phase: () -> ("VALIDATION" | "PRIORITIZATION" | "REMEDIATION")
|
|
301
|
+
def status_reason: () -> ("INTERNAL_ERROR" | "REMEDIATION_FAILED")
|
|
302
|
+
def status_message: () -> ::String
|
|
303
|
+
def status_updated_at: () -> ::Time
|
|
304
|
+
def created_at: () -> ::Time
|
|
305
|
+
def updated_at: () -> ::Time
|
|
306
|
+
def evidence_availability: () -> ("NONE" | "AVAILABLE")
|
|
307
|
+
def patch_delivery: () -> Types::IssuePatchDelivery
|
|
308
|
+
end
|
|
309
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_code_issue-instance_method
|
|
310
|
+
def get_code_issue: (
|
|
311
|
+
environment_id: ::String,
|
|
312
|
+
issue_id: ::String
|
|
313
|
+
) -> _GetCodeIssueResponseSuccess
|
|
314
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCodeIssueResponseSuccess
|
|
315
|
+
|
|
316
|
+
interface _GetCodeIssueArtifactResponseSuccess
|
|
317
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCodeIssueArtifactOutput]
|
|
318
|
+
def artifact_id: () -> ::String
|
|
319
|
+
def artifact_type: () -> ("EVIDENCE" | "AGENT_COMMUNICATION" | "VALIDATION_EVIDENCE" | "REMEDIATION_PROPOSAL" | "DECISION" | "PATCH")
|
|
320
|
+
def media_type: () -> ::String
|
|
321
|
+
def body: () -> Types::IssueArtifactBody
|
|
322
|
+
def metadata: () -> untyped
|
|
323
|
+
def producer: () -> Types::IssueArtifactProducerSummary
|
|
324
|
+
def created_at: () -> ::Time
|
|
325
|
+
end
|
|
326
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_code_issue_artifact-instance_method
|
|
327
|
+
def get_code_issue_artifact: (
|
|
328
|
+
environment_id: ::String,
|
|
329
|
+
issue_id: ::String,
|
|
330
|
+
artifact_id: ::String
|
|
331
|
+
) -> _GetCodeIssueArtifactResponseSuccess
|
|
332
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCodeIssueArtifactResponseSuccess
|
|
333
|
+
|
|
334
|
+
interface _GetCodeScanResponseSuccess
|
|
335
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCodeScanOutput]
|
|
336
|
+
def scan: () -> Types::CodeScanData
|
|
337
|
+
end
|
|
338
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_code_scan-instance_method
|
|
339
|
+
def get_code_scan: (
|
|
340
|
+
environment_id: ::String,
|
|
341
|
+
scan_run_id: ::String
|
|
342
|
+
) -> _GetCodeScanResponseSuccess
|
|
343
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCodeScanResponseSuccess
|
|
344
|
+
|
|
345
|
+
interface _GetCollectorResponseSuccess
|
|
346
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCollectorOutput]
|
|
347
|
+
def collector_id: () -> ::String
|
|
348
|
+
def collector_arn: () -> ::String
|
|
349
|
+
def type: () -> ("AWS_COLLECTOR")
|
|
350
|
+
def status: () -> ("ACTIVE" | "PENDING_DELETION")
|
|
351
|
+
def config_recorder_arn: () -> ::String
|
|
352
|
+
def kubernetes_cluster_role_arn: () -> ::String
|
|
353
|
+
def created_at: () -> ::Time
|
|
354
|
+
def updated_at: () -> ::Time
|
|
355
|
+
end
|
|
356
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_collector-instance_method
|
|
357
|
+
def get_collector: (
|
|
358
|
+
collector_id: ::String
|
|
359
|
+
) -> _GetCollectorResponseSuccess
|
|
360
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCollectorResponseSuccess
|
|
361
|
+
|
|
362
|
+
interface _GetCollectorDataAccessAuthorizationResponseSuccess
|
|
363
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCollectorDataAccessAuthorizationOutput]
|
|
364
|
+
end
|
|
365
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_collector_data_access_authorization-instance_method
|
|
366
|
+
def get_collector_data_access_authorization: (
|
|
367
|
+
account_id: ::String,
|
|
368
|
+
collector_id: ::String,
|
|
369
|
+
?environment_arn: ::String
|
|
370
|
+
) -> _GetCollectorDataAccessAuthorizationResponseSuccess
|
|
371
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCollectorDataAccessAuthorizationResponseSuccess
|
|
372
|
+
|
|
373
|
+
interface _GetEnvironmentResponseSuccess
|
|
374
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetEnvironmentOutput]
|
|
375
|
+
def environment_id: () -> ::String
|
|
376
|
+
def environment_arn: () -> ::String
|
|
377
|
+
def name: () -> ::String
|
|
378
|
+
def status: () -> ("ACTIVE")
|
|
379
|
+
def status_message: () -> ::String
|
|
380
|
+
def status_updated_at: () -> ::Time
|
|
381
|
+
def created_at: () -> ::Time
|
|
382
|
+
def updated_at: () -> ::Time
|
|
383
|
+
def configuration: () -> Types::EnvironmentConfigurationDetails
|
|
384
|
+
end
|
|
385
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_environment-instance_method
|
|
386
|
+
def get_environment: (
|
|
387
|
+
environment_id: ::String
|
|
388
|
+
) -> _GetEnvironmentResponseSuccess
|
|
389
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEnvironmentResponseSuccess
|
|
390
|
+
|
|
391
|
+
interface _GetIntegrationResponseSuccess
|
|
392
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetIntegrationOutput]
|
|
393
|
+
def integration_id: () -> ::String
|
|
394
|
+
def integration_arn: () -> ::String
|
|
395
|
+
def name: () -> ::String
|
|
396
|
+
def integration_type: () -> ("GITHUB" | "GITLAB" | "S3")
|
|
397
|
+
def provider_details: () -> Types::ProviderDetails
|
|
398
|
+
def created_at: () -> ::Time
|
|
399
|
+
def updated_at: () -> ::Time
|
|
400
|
+
end
|
|
401
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_integration-instance_method
|
|
402
|
+
def get_integration: (
|
|
403
|
+
integration_id: ::String
|
|
404
|
+
) -> _GetIntegrationResponseSuccess
|
|
405
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIntegrationResponseSuccess
|
|
406
|
+
|
|
407
|
+
interface _GetResourcePolicyResponseSuccess
|
|
408
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyOutput]
|
|
409
|
+
def arn: () -> ::String
|
|
410
|
+
def policy: () -> ::String
|
|
411
|
+
def revision_id: () -> ::String
|
|
412
|
+
end
|
|
413
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_resource_policy-instance_method
|
|
414
|
+
def get_resource_policy: (
|
|
415
|
+
arn: ::String
|
|
416
|
+
) -> _GetResourcePolicyResponseSuccess
|
|
417
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
|
|
418
|
+
|
|
419
|
+
interface _ListAssociatedCollectorsResponseSuccess
|
|
420
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAssociatedCollectorsOutput]
|
|
421
|
+
def associated_collectors: () -> ::Array[Types::AssociatedCollector]
|
|
422
|
+
def next_token: () -> ::String
|
|
423
|
+
end
|
|
424
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#list_associated_collectors-instance_method
|
|
425
|
+
def list_associated_collectors: (
|
|
426
|
+
environment_id: ::String,
|
|
427
|
+
?max_results: ::Integer,
|
|
428
|
+
?next_token: ::String
|
|
429
|
+
) -> _ListAssociatedCollectorsResponseSuccess
|
|
430
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssociatedCollectorsResponseSuccess
|
|
431
|
+
|
|
432
|
+
interface _ListAssociatedEnvironmentsResponseSuccess
|
|
433
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAssociatedEnvironmentsOutput]
|
|
434
|
+
def associated_environments: () -> ::Array[Types::AssociatedEnvironment]
|
|
435
|
+
def next_token: () -> ::String
|
|
436
|
+
end
|
|
437
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#list_associated_environments-instance_method
|
|
438
|
+
def list_associated_environments: (
|
|
439
|
+
collector_id: ::String,
|
|
440
|
+
?max_results: ::Integer,
|
|
441
|
+
?next_token: ::String
|
|
442
|
+
) -> _ListAssociatedEnvironmentsResponseSuccess
|
|
443
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssociatedEnvironmentsResponseSuccess
|
|
444
|
+
|
|
445
|
+
interface _ListCodeFindingsResponseSuccess
|
|
446
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCodeFindingsOutput]
|
|
447
|
+
def items: () -> ::Array[Types::FindingSummary]
|
|
448
|
+
def next_token: () -> ::String
|
|
449
|
+
end
|
|
450
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#list_code_findings-instance_method
|
|
451
|
+
def list_code_findings: (
|
|
452
|
+
environment_id: ::String,
|
|
453
|
+
?max_results: ::Integer,
|
|
454
|
+
?next_token: ::String
|
|
455
|
+
) -> _ListCodeFindingsResponseSuccess
|
|
456
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeFindingsResponseSuccess
|
|
457
|
+
|
|
458
|
+
interface _ListCodeIssueArtifactsResponseSuccess
|
|
459
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCodeIssueArtifactsOutput]
|
|
460
|
+
def items: () -> ::Array[Types::IssueArtifactItem]
|
|
461
|
+
def next_token: () -> ::String
|
|
462
|
+
end
|
|
463
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#list_code_issue_artifacts-instance_method
|
|
464
|
+
def list_code_issue_artifacts: (
|
|
465
|
+
environment_id: ::String,
|
|
466
|
+
issue_id: ::String,
|
|
467
|
+
?artifact_type: ("EVIDENCE" | "AGENT_COMMUNICATION" | "VALIDATION_EVIDENCE" | "REMEDIATION_PROPOSAL" | "DECISION" | "PATCH"),
|
|
468
|
+
?max_results: ::Integer,
|
|
469
|
+
?next_token: ::String
|
|
470
|
+
) -> _ListCodeIssueArtifactsResponseSuccess
|
|
471
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeIssueArtifactsResponseSuccess
|
|
472
|
+
|
|
473
|
+
interface _ListCodeIssuesResponseSuccess
|
|
474
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCodeIssuesOutput]
|
|
475
|
+
def items: () -> ::Array[Types::IssueSummary]
|
|
476
|
+
def next_token: () -> ::String
|
|
477
|
+
end
|
|
478
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#list_code_issues-instance_method
|
|
479
|
+
def list_code_issues: (
|
|
480
|
+
environment_id: ::String,
|
|
481
|
+
?max_results: ::Integer,
|
|
482
|
+
?next_token: ::String
|
|
483
|
+
) -> _ListCodeIssuesResponseSuccess
|
|
484
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeIssuesResponseSuccess
|
|
485
|
+
|
|
486
|
+
interface _ListCodeScansResponseSuccess
|
|
487
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCodeScansOutput]
|
|
488
|
+
def scans: () -> ::Array[Types::CodeScanSummary]
|
|
489
|
+
def next_token: () -> ::String
|
|
490
|
+
end
|
|
491
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#list_code_scans-instance_method
|
|
492
|
+
def list_code_scans: (
|
|
493
|
+
environment_id: ::String,
|
|
494
|
+
?max_results: ::Integer,
|
|
495
|
+
?next_token: ::String
|
|
496
|
+
) -> _ListCodeScansResponseSuccess
|
|
497
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeScansResponseSuccess
|
|
498
|
+
|
|
499
|
+
interface _ListCollectorsResponseSuccess
|
|
500
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCollectorsOutput]
|
|
501
|
+
def items: () -> ::Array[Types::CollectorSummary]
|
|
502
|
+
end
|
|
503
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#list_collectors-instance_method
|
|
504
|
+
def list_collectors: (
|
|
505
|
+
) -> _ListCollectorsResponseSuccess
|
|
506
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCollectorsResponseSuccess
|
|
507
|
+
|
|
508
|
+
interface _ListEnvironmentsResponseSuccess
|
|
509
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEnvironmentsOutput]
|
|
510
|
+
def items: () -> ::Array[Types::EnvironmentListEntry]
|
|
511
|
+
def next_token: () -> ::String
|
|
512
|
+
end
|
|
513
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#list_environments-instance_method
|
|
514
|
+
def list_environments: (
|
|
515
|
+
?max_results: ::Integer,
|
|
516
|
+
?next_token: ::String
|
|
517
|
+
) -> _ListEnvironmentsResponseSuccess
|
|
518
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEnvironmentsResponseSuccess
|
|
519
|
+
|
|
520
|
+
interface _ListIntegrationsResponseSuccess
|
|
521
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListIntegrationsOutput]
|
|
522
|
+
def items: () -> ::Array[Types::IntegrationSummary]
|
|
523
|
+
def next_token: () -> ::String
|
|
524
|
+
end
|
|
525
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#list_integrations-instance_method
|
|
526
|
+
def list_integrations: (
|
|
527
|
+
?max_results: ::Integer,
|
|
528
|
+
?next_token: ::String
|
|
529
|
+
) -> _ListIntegrationsResponseSuccess
|
|
530
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIntegrationsResponseSuccess
|
|
531
|
+
|
|
532
|
+
interface _PutResourcePolicyResponseSuccess
|
|
533
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyOutput]
|
|
534
|
+
def arn: () -> ::String
|
|
535
|
+
def policy: () -> ::String
|
|
536
|
+
def revision_id: () -> ::String
|
|
537
|
+
end
|
|
538
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#put_resource_policy-instance_method
|
|
539
|
+
def put_resource_policy: (
|
|
540
|
+
arn: ::String,
|
|
541
|
+
?policy: ::String,
|
|
542
|
+
?expected_revision_id: ::String
|
|
543
|
+
) -> _PutResourcePolicyResponseSuccess
|
|
544
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
|
545
|
+
|
|
546
|
+
interface _StartIntegrationAuthorizationResponseSuccess
|
|
547
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartIntegrationAuthorizationOutput]
|
|
548
|
+
def state: () -> ::String
|
|
549
|
+
def code_challenge: () -> ::String
|
|
550
|
+
def code_challenge_method: () -> ("S256")
|
|
551
|
+
def expires_at: () -> ::Time
|
|
552
|
+
end
|
|
553
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#start_integration_authorization-instance_method
|
|
554
|
+
def start_integration_authorization: (
|
|
555
|
+
provider_type: ("GITHUB"),
|
|
556
|
+
?name: ::String
|
|
557
|
+
) -> _StartIntegrationAuthorizationResponseSuccess
|
|
558
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartIntegrationAuthorizationResponseSuccess
|
|
559
|
+
|
|
560
|
+
interface _UpdateCollectorResponseSuccess
|
|
561
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCollectorOutput]
|
|
562
|
+
def collector_id: () -> ::String
|
|
563
|
+
def collector_arn: () -> ::String
|
|
564
|
+
def type: () -> ("AWS_COLLECTOR")
|
|
565
|
+
def status: () -> ("ACTIVE" | "PENDING_DELETION")
|
|
566
|
+
def config_recorder_arn: () -> ::String
|
|
567
|
+
def kubernetes_cluster_role_arn: () -> ::String
|
|
568
|
+
def created_at: () -> ::Time
|
|
569
|
+
def updated_at: () -> ::Time
|
|
570
|
+
end
|
|
571
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#update_collector-instance_method
|
|
572
|
+
def update_collector: (
|
|
573
|
+
collector_id: ::String,
|
|
574
|
+
?name: ::String,
|
|
575
|
+
?kubernetes_cluster_role: {
|
|
576
|
+
set: {
|
|
577
|
+
role_arn: ::String,
|
|
578
|
+
external_id: ::String?
|
|
579
|
+
}?,
|
|
580
|
+
remove: {
|
|
581
|
+
}?
|
|
582
|
+
}
|
|
583
|
+
) -> _UpdateCollectorResponseSuccess
|
|
584
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCollectorResponseSuccess
|
|
585
|
+
|
|
586
|
+
interface _UpdateEnvironmentResponseSuccess
|
|
587
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEnvironmentOutput]
|
|
588
|
+
def environment_id: () -> ::String
|
|
589
|
+
def environment_arn: () -> ::String
|
|
590
|
+
def name: () -> ::String
|
|
591
|
+
def status: () -> ("ACTIVE")
|
|
592
|
+
def status_message: () -> ::String
|
|
593
|
+
def status_updated_at: () -> ::Time
|
|
594
|
+
def created_at: () -> ::Time
|
|
595
|
+
def configuration: () -> Types::EnvironmentConfigurationDetails
|
|
596
|
+
end
|
|
597
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#update_environment-instance_method
|
|
598
|
+
def update_environment: (
|
|
599
|
+
environment_id: ::String,
|
|
600
|
+
?name: ::String,
|
|
601
|
+
?configuration: {
|
|
602
|
+
code_configuration: {
|
|
603
|
+
source_configuration: Params::environment_source_configuration?,
|
|
604
|
+
environment_configuration: {
|
|
605
|
+
network: {
|
|
606
|
+
allowed_domains: Array[::String]?
|
|
607
|
+
}?,
|
|
608
|
+
scan_frequency: ::String?,
|
|
609
|
+
patch_creation_policy: ("ENABLED" | "DISABLED")?
|
|
610
|
+
}?
|
|
611
|
+
}?
|
|
612
|
+
}
|
|
613
|
+
) -> _UpdateEnvironmentResponseSuccess
|
|
614
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEnvironmentResponseSuccess
|
|
615
|
+
|
|
616
|
+
interface _UpdateIntegrationResponseSuccess
|
|
617
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIntegrationOutput]
|
|
618
|
+
def integration_id: () -> ::String
|
|
619
|
+
def integration_arn: () -> ::String
|
|
620
|
+
def name: () -> ::String
|
|
621
|
+
def integration_type: () -> ("GITHUB" | "GITLAB" | "S3")
|
|
622
|
+
def provider_details: () -> Types::ProviderDetails
|
|
623
|
+
def created_at: () -> ::Time
|
|
624
|
+
def updated_at: () -> ::Time
|
|
625
|
+
end
|
|
626
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#update_integration-instance_method
|
|
627
|
+
def update_integration: (
|
|
628
|
+
integration_id: ::String,
|
|
629
|
+
provider_configuration: {
|
|
630
|
+
s3: {
|
|
631
|
+
role_arn: ::String,
|
|
632
|
+
external_id: ::String?
|
|
633
|
+
}?
|
|
634
|
+
}
|
|
635
|
+
) -> _UpdateIntegrationResponseSuccess
|
|
636
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIntegrationResponseSuccess
|
|
637
|
+
|
|
638
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#wait_until-instance_method
|
|
639
|
+
def wait_until: (:code_scan_succeeded waiter_name,
|
|
640
|
+
environment_id: ::String,
|
|
641
|
+
scan_run_id: ::String
|
|
642
|
+
) -> Client::_GetCodeScanResponseSuccess
|
|
643
|
+
| (:code_scan_succeeded waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetCodeScanResponseSuccess
|
|
644
|
+
end
|
|
645
|
+
end
|
|
646
|
+
end
|
|
647
|
+
|