aws-sdk-inspector 1.23.0 → 1.28.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 +5 -5
- data/lib/aws-sdk-inspector.rb +9 -4
- data/lib/aws-sdk-inspector/client.rb +92 -14
- data/lib/aws-sdk-inspector/client_api.rb +2 -0
- data/lib/aws-sdk-inspector/customizations.rb +1 -0
- data/lib/aws-sdk-inspector/errors.rb +35 -11
- data/lib/aws-sdk-inspector/resource.rb +3 -0
- data/lib/aws-sdk-inspector/types.rb +110 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a7d9294180542568631f1aadff235c27f9e3fc5af0b1e082a241a36d121feb72
|
4
|
+
data.tar.gz: 5ab5a5aa5949d2dd8530fecd20ec673655174f8bf5858c6d5954e8bbff68e611
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7ddc128303cb9d5108c209667a9daa80fe08c508b2d14b55eb8b6bf8fc4da141701c26a2aa670873daebb13560dad9b8bfce590c2fa20b3ce0be4e5a3b90a7d
|
7
|
+
data.tar.gz: 9922a6086be1dda5b1200054e5b9a087a9bc48b4c3bfdbd81dbff2f68de0be9b96f418c85e3ca1466229ca96cb9e0599bf8a4ca1c56b07202502d94120d47d1a
|
data/lib/aws-sdk-inspector.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,17 +26,20 @@ require_relative 'aws-sdk-inspector/customizations'
|
|
24
26
|
# methods each accept a hash of request parameters and return a response
|
25
27
|
# structure.
|
26
28
|
#
|
29
|
+
# inspector = Aws::Inspector::Client.new
|
30
|
+
# resp = inspector.add_attributes_to_findings(params)
|
31
|
+
#
|
27
32
|
# See {Client} for more information.
|
28
33
|
#
|
29
34
|
# # Errors
|
30
35
|
#
|
31
|
-
# Errors returned from Amazon Inspector
|
32
|
-
# extend {Errors::ServiceError}.
|
36
|
+
# Errors returned from Amazon Inspector are defined in the
|
37
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
38
|
#
|
34
39
|
# begin
|
35
40
|
# # do stuff
|
36
41
|
# rescue Aws::Inspector::Errors::ServiceError
|
37
|
-
# # rescues all
|
42
|
+
# # rescues all Amazon Inspector API errors
|
38
43
|
# end
|
39
44
|
#
|
40
45
|
# See {Errors} for more information.
|
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-inspector/customizations'
|
|
42
47
|
# @service
|
43
48
|
module Aws::Inspector
|
44
49
|
|
45
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.28.0'
|
46
51
|
|
47
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,12 +26,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
30
33
|
Aws::Plugins::GlobalConfiguration.add_identifier(:inspector)
|
31
34
|
|
32
35
|
module Aws::Inspector
|
36
|
+
# An API client for Inspector. To construct a client, you need to configure a `:region` and `:credentials`.
|
37
|
+
#
|
38
|
+
# client = Aws::Inspector::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
43
|
+
#
|
44
|
+
# For details on configuring region and credentials see
|
45
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
46
|
+
#
|
47
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
48
|
class Client < Seahorse::Client::Base
|
34
49
|
|
35
50
|
include Aws::ClientStubs
|
@@ -57,6 +72,7 @@ module Aws::Inspector
|
|
57
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
62
78
|
|
@@ -93,7 +109,7 @@ module Aws::Inspector
|
|
93
109
|
# @option options [required, String] :region
|
94
110
|
# The AWS region to connect to. The configured `:region` is
|
95
111
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
97
113
|
#
|
98
114
|
# * `Aws.config[:region]`
|
99
115
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +124,12 @@ module Aws::Inspector
|
|
108
124
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
125
|
# the background every 60 secs (default). Defaults to `false`.
|
110
126
|
#
|
127
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
128
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
129
|
+
# until there is sufficent client side capacity to retry the request.
|
130
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
131
|
+
# not retry instead of sleeping.
|
132
|
+
#
|
111
133
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
134
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
135
|
# this client.
|
@@ -132,6 +154,10 @@ module Aws::Inspector
|
|
132
154
|
# When `true`, an attempt is made to coerce request parameters into
|
133
155
|
# the required types.
|
134
156
|
#
|
157
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
158
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
159
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
160
|
+
#
|
135
161
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
162
|
# Set to true to disable SDK automatically adding host prefix
|
137
163
|
# to default service endpoint when available.
|
@@ -139,7 +165,7 @@ module Aws::Inspector
|
|
139
165
|
# @option options [String] :endpoint
|
140
166
|
# The client endpoint is normally constructed from the `:region`
|
141
167
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
169
|
#
|
144
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +180,7 @@ module Aws::Inspector
|
|
154
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
181
|
#
|
156
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
184
|
#
|
159
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
186
|
# The log formatter.
|
@@ -166,15 +192,29 @@ module Aws::Inspector
|
|
166
192
|
# The Logger instance to send log messages to. If this option
|
167
193
|
# is not set, logging will be disabled.
|
168
194
|
#
|
195
|
+
# @option options [Integer] :max_attempts (3)
|
196
|
+
# An integer representing the maximum number attempts that will be made for
|
197
|
+
# a single request, including the initial attempt. For example,
|
198
|
+
# setting this value to 5 will result in a request being retried up to
|
199
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
200
|
+
#
|
169
201
|
# @option options [String] :profile ("default")
|
170
202
|
# Used when loading credentials from the shared credentials file
|
171
203
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
204
|
#
|
205
|
+
# @option options [Proc] :retry_backoff
|
206
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
207
|
+
# This option is only used in the `legacy` retry mode.
|
208
|
+
#
|
173
209
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
210
|
+
# The base delay in seconds used by the default backoff function. This option
|
211
|
+
# is only used in the `legacy` retry mode.
|
175
212
|
#
|
176
213
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
214
|
+
# A delay randomiser function used by the default backoff function.
|
215
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
216
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
217
|
+
# in the `legacy` retry mode.
|
178
218
|
#
|
179
219
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
220
|
#
|
@@ -182,11 +222,30 @@ module Aws::Inspector
|
|
182
222
|
# The maximum number of times to retry failed requests. Only
|
183
223
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
224
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
225
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
226
|
+
# endpoint discovery, and errors from expired credentials.
|
227
|
+
# This option is only used in the `legacy` retry mode.
|
187
228
|
#
|
188
229
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
230
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
231
|
+
# used by the default backoff function. This option is only used in the
|
232
|
+
# `legacy` retry mode.
|
233
|
+
#
|
234
|
+
# @option options [String] :retry_mode ("legacy")
|
235
|
+
# Specifies which retry algorithm to use. Values are:
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
190
249
|
#
|
191
250
|
# @option options [String] :secret_access_key
|
192
251
|
#
|
@@ -219,16 +278,15 @@ module Aws::Inspector
|
|
219
278
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
279
|
#
|
221
280
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
281
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
282
|
# `Timeout::Error`.
|
224
283
|
#
|
225
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
285
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
286
|
+
# safely be set per-request on the session.
|
229
287
|
#
|
230
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
289
|
+
# seconds a connection is allowed to sit idle before it is
|
232
290
|
# considered stale. Stale connections are closed and removed
|
233
291
|
# from the pool before making a request.
|
234
292
|
#
|
@@ -237,7 +295,7 @@ module Aws::Inspector
|
|
237
295
|
# request body. This option has no effect unless the request has
|
238
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
297
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
298
|
+
# request on the session.
|
241
299
|
#
|
242
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1392,6 +1450,8 @@ module Aws::Inspector
|
|
1392
1450
|
# * {Types::GetExclusionsPreviewResponse#exclusion_previews #exclusion_previews} => Array<Types::ExclusionPreview>
|
1393
1451
|
# * {Types::GetExclusionsPreviewResponse#next_token #next_token} => String
|
1394
1452
|
#
|
1453
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1454
|
+
#
|
1395
1455
|
# @example Request syntax with placeholder values
|
1396
1456
|
#
|
1397
1457
|
# resp = client.get_exclusions_preview({
|
@@ -1651,6 +1711,8 @@ module Aws::Inspector
|
|
1651
1711
|
# * {Types::ListAssessmentRunAgentsResponse#assessment_run_agents #assessment_run_agents} => Array<Types::AssessmentRunAgent>
|
1652
1712
|
# * {Types::ListAssessmentRunAgentsResponse#next_token #next_token} => String
|
1653
1713
|
#
|
1714
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1715
|
+
#
|
1654
1716
|
#
|
1655
1717
|
# @example Example: List assessment run agents
|
1656
1718
|
#
|
@@ -1889,6 +1951,8 @@ module Aws::Inspector
|
|
1889
1951
|
# * {Types::ListAssessmentRunsResponse#assessment_run_arns #assessment_run_arns} => Array<String>
|
1890
1952
|
# * {Types::ListAssessmentRunsResponse#next_token #next_token} => String
|
1891
1953
|
#
|
1954
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1955
|
+
#
|
1892
1956
|
#
|
1893
1957
|
# @example Example: List assessment runs
|
1894
1958
|
#
|
@@ -1988,6 +2052,8 @@ module Aws::Inspector
|
|
1988
2052
|
# * {Types::ListAssessmentTargetsResponse#assessment_target_arns #assessment_target_arns} => Array<String>
|
1989
2053
|
# * {Types::ListAssessmentTargetsResponse#next_token #next_token} => String
|
1990
2054
|
#
|
2055
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2056
|
+
#
|
1991
2057
|
#
|
1992
2058
|
# @example Example: List assessment targets
|
1993
2059
|
#
|
@@ -2062,6 +2128,8 @@ module Aws::Inspector
|
|
2062
2128
|
# * {Types::ListAssessmentTemplatesResponse#assessment_template_arns #assessment_template_arns} => Array<String>
|
2063
2129
|
# * {Types::ListAssessmentTemplatesResponse#next_token #next_token} => String
|
2064
2130
|
#
|
2131
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2132
|
+
#
|
2065
2133
|
#
|
2066
2134
|
# @example Example: List assessment templates
|
2067
2135
|
#
|
@@ -2140,6 +2208,8 @@ module Aws::Inspector
|
|
2140
2208
|
# * {Types::ListEventSubscriptionsResponse#subscriptions #subscriptions} => Array<Types::Subscription>
|
2141
2209
|
# * {Types::ListEventSubscriptionsResponse#next_token #next_token} => String
|
2142
2210
|
#
|
2211
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2212
|
+
#
|
2143
2213
|
#
|
2144
2214
|
# @example Example: List event subscriptions
|
2145
2215
|
#
|
@@ -2217,6 +2287,8 @@ module Aws::Inspector
|
|
2217
2287
|
# * {Types::ListExclusionsResponse#exclusion_arns #exclusion_arns} => Array<String>
|
2218
2288
|
# * {Types::ListExclusionsResponse#next_token #next_token} => String
|
2219
2289
|
#
|
2290
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2291
|
+
#
|
2220
2292
|
# @example Request syntax with placeholder values
|
2221
2293
|
#
|
2222
2294
|
# resp = client.list_exclusions({
|
@@ -2272,6 +2344,8 @@ module Aws::Inspector
|
|
2272
2344
|
# * {Types::ListFindingsResponse#finding_arns #finding_arns} => Array<String>
|
2273
2345
|
# * {Types::ListFindingsResponse#next_token #next_token} => String
|
2274
2346
|
#
|
2347
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2348
|
+
#
|
2275
2349
|
#
|
2276
2350
|
# @example Example: List findings
|
2277
2351
|
#
|
@@ -2358,6 +2432,8 @@ module Aws::Inspector
|
|
2358
2432
|
# * {Types::ListRulesPackagesResponse#rules_package_arns #rules_package_arns} => Array<String>
|
2359
2433
|
# * {Types::ListRulesPackagesResponse#next_token #next_token} => String
|
2360
2434
|
#
|
2435
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2436
|
+
#
|
2361
2437
|
#
|
2362
2438
|
# @example Example: List rules packages
|
2363
2439
|
#
|
@@ -2473,6 +2549,8 @@ module Aws::Inspector
|
|
2473
2549
|
# * {Types::PreviewAgentsResponse#agent_previews #agent_previews} => Array<Types::AgentPreview>
|
2474
2550
|
# * {Types::PreviewAgentsResponse#next_token #next_token} => String
|
2475
2551
|
#
|
2552
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2553
|
+
#
|
2476
2554
|
#
|
2477
2555
|
# @example Example: Preview agents
|
2478
2556
|
#
|
@@ -2904,7 +2982,7 @@ module Aws::Inspector
|
|
2904
2982
|
params: params,
|
2905
2983
|
config: config)
|
2906
2984
|
context[:gem_name] = 'aws-sdk-inspector'
|
2907
|
-
context[:gem_version] = '1.
|
2985
|
+
context[:gem_version] = '1.28.0'
|
2908
2986
|
Seahorse::Client::Request.new(handlers, context)
|
2909
2987
|
end
|
2910
2988
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,39 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::Inspector
|
11
|
+
|
12
|
+
# When Inspector returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::Inspector::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all Inspector errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::Inspector::Errors::ServiceError
|
20
|
+
# # rescues all Inspector API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {AccessDeniedException}
|
31
|
+
# * {AgentsAlreadyRunningAssessmentException}
|
32
|
+
# * {AssessmentRunInProgressException}
|
33
|
+
# * {InternalException}
|
34
|
+
# * {InvalidCrossAccountRoleException}
|
35
|
+
# * {InvalidInputException}
|
36
|
+
# * {LimitExceededException}
|
37
|
+
# * {NoSuchEntityException}
|
38
|
+
# * {PreviewGenerationInProgressException}
|
39
|
+
# * {ServiceTemporarilyUnavailableException}
|
40
|
+
# * {UnsupportedFeatureException}
|
41
|
+
#
|
42
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
43
|
+
# if they are not defined above.
|
9
44
|
module Errors
|
10
45
|
|
11
46
|
extend Aws::Errors::DynamicErrors
|
@@ -33,7 +68,6 @@ module Aws::Inspector
|
|
33
68
|
def can_retry
|
34
69
|
@data[:can_retry]
|
35
70
|
end
|
36
|
-
|
37
71
|
end
|
38
72
|
|
39
73
|
class AgentsAlreadyRunningAssessmentException < ServiceError
|
@@ -64,7 +98,6 @@ module Aws::Inspector
|
|
64
98
|
def can_retry
|
65
99
|
@data[:can_retry]
|
66
100
|
end
|
67
|
-
|
68
101
|
end
|
69
102
|
|
70
103
|
class AssessmentRunInProgressException < ServiceError
|
@@ -95,7 +128,6 @@ module Aws::Inspector
|
|
95
128
|
def can_retry
|
96
129
|
@data[:can_retry]
|
97
130
|
end
|
98
|
-
|
99
131
|
end
|
100
132
|
|
101
133
|
class InternalException < ServiceError
|
@@ -116,7 +148,6 @@ module Aws::Inspector
|
|
116
148
|
def can_retry
|
117
149
|
@data[:can_retry]
|
118
150
|
end
|
119
|
-
|
120
151
|
end
|
121
152
|
|
122
153
|
class InvalidCrossAccountRoleException < ServiceError
|
@@ -142,7 +173,6 @@ module Aws::Inspector
|
|
142
173
|
def can_retry
|
143
174
|
@data[:can_retry]
|
144
175
|
end
|
145
|
-
|
146
176
|
end
|
147
177
|
|
148
178
|
class InvalidInputException < ServiceError
|
@@ -168,7 +198,6 @@ module Aws::Inspector
|
|
168
198
|
def can_retry
|
169
199
|
@data[:can_retry]
|
170
200
|
end
|
171
|
-
|
172
201
|
end
|
173
202
|
|
174
203
|
class LimitExceededException < ServiceError
|
@@ -194,7 +223,6 @@ module Aws::Inspector
|
|
194
223
|
def can_retry
|
195
224
|
@data[:can_retry]
|
196
225
|
end
|
197
|
-
|
198
226
|
end
|
199
227
|
|
200
228
|
class NoSuchEntityException < ServiceError
|
@@ -220,7 +248,6 @@ module Aws::Inspector
|
|
220
248
|
def can_retry
|
221
249
|
@data[:can_retry]
|
222
250
|
end
|
223
|
-
|
224
251
|
end
|
225
252
|
|
226
253
|
class PreviewGenerationInProgressException < ServiceError
|
@@ -236,7 +263,6 @@ module Aws::Inspector
|
|
236
263
|
def message
|
237
264
|
@message || @data[:message]
|
238
265
|
end
|
239
|
-
|
240
266
|
end
|
241
267
|
|
242
268
|
class ServiceTemporarilyUnavailableException < ServiceError
|
@@ -257,7 +283,6 @@ module Aws::Inspector
|
|
257
283
|
def can_retry
|
258
284
|
@data[:can_retry]
|
259
285
|
end
|
260
|
-
|
261
286
|
end
|
262
287
|
|
263
288
|
class UnsupportedFeatureException < ServiceError
|
@@ -278,7 +303,6 @@ module Aws::Inspector
|
|
278
303
|
def can_retry
|
279
304
|
@data[:can_retry]
|
280
305
|
end
|
281
|
-
|
282
306
|
end
|
283
307
|
|
284
308
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::Inspector
|
11
|
+
|
9
12
|
class Resource
|
10
13
|
|
11
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -28,6 +30,7 @@ module Aws::Inspector
|
|
28
30
|
:message,
|
29
31
|
:error_code,
|
30
32
|
:can_retry)
|
33
|
+
SENSITIVE = []
|
31
34
|
include Aws::Structure
|
32
35
|
end
|
33
36
|
|
@@ -59,6 +62,7 @@ module Aws::Inspector
|
|
59
62
|
class AddAttributesToFindingsRequest < Struct.new(
|
60
63
|
:finding_arns,
|
61
64
|
:attributes)
|
65
|
+
SENSITIVE = []
|
62
66
|
include Aws::Structure
|
63
67
|
end
|
64
68
|
|
@@ -71,6 +75,7 @@ module Aws::Inspector
|
|
71
75
|
#
|
72
76
|
class AddAttributesToFindingsResponse < Struct.new(
|
73
77
|
:failed_items)
|
78
|
+
SENSITIVE = []
|
74
79
|
include Aws::Structure
|
75
80
|
end
|
76
81
|
|
@@ -92,6 +97,7 @@ module Aws::Inspector
|
|
92
97
|
class AgentAlreadyRunningAssessment < Struct.new(
|
93
98
|
:agent_id,
|
94
99
|
:assessment_run_arn)
|
100
|
+
SENSITIVE = []
|
95
101
|
include Aws::Structure
|
96
102
|
end
|
97
103
|
|
@@ -122,6 +128,7 @@ module Aws::Inspector
|
|
122
128
|
class AgentFilter < Struct.new(
|
123
129
|
:agent_healths,
|
124
130
|
:agent_health_codes)
|
131
|
+
SENSITIVE = []
|
125
132
|
include Aws::Structure
|
126
133
|
end
|
127
134
|
|
@@ -175,6 +182,7 @@ module Aws::Inspector
|
|
175
182
|
:operating_system,
|
176
183
|
:kernel_version,
|
177
184
|
:ipv4_address)
|
185
|
+
SENSITIVE = []
|
178
186
|
include Aws::Structure
|
179
187
|
end
|
180
188
|
|
@@ -202,6 +210,7 @@ module Aws::Inspector
|
|
202
210
|
:agents,
|
203
211
|
:agents_truncated,
|
204
212
|
:can_retry)
|
213
|
+
SENSITIVE = []
|
205
214
|
include Aws::Structure
|
206
215
|
end
|
207
216
|
|
@@ -294,6 +303,7 @@ module Aws::Inspector
|
|
294
303
|
:state_changes,
|
295
304
|
:notifications,
|
296
305
|
:finding_counts)
|
306
|
+
SENSITIVE = []
|
297
307
|
include Aws::Structure
|
298
308
|
end
|
299
309
|
|
@@ -340,6 +350,7 @@ module Aws::Inspector
|
|
340
350
|
:agent_health_details,
|
341
351
|
:auto_scaling_group,
|
342
352
|
:telemetry_metadata)
|
353
|
+
SENSITIVE = []
|
343
354
|
include Aws::Structure
|
344
355
|
end
|
345
356
|
|
@@ -426,6 +437,7 @@ module Aws::Inspector
|
|
426
437
|
:start_time_range,
|
427
438
|
:completion_time_range,
|
428
439
|
:state_change_time_range)
|
440
|
+
SENSITIVE = []
|
429
441
|
include Aws::Structure
|
430
442
|
end
|
431
443
|
|
@@ -456,6 +468,7 @@ module Aws::Inspector
|
|
456
468
|
:assessment_run_arns,
|
457
469
|
:assessment_run_arns_truncated,
|
458
470
|
:can_retry)
|
471
|
+
SENSITIVE = []
|
459
472
|
include Aws::Structure
|
460
473
|
end
|
461
474
|
|
@@ -495,6 +508,7 @@ module Aws::Inspector
|
|
495
508
|
:error,
|
496
509
|
:sns_topic_arn,
|
497
510
|
:sns_publish_status_code)
|
511
|
+
SENSITIVE = []
|
498
512
|
include Aws::Structure
|
499
513
|
end
|
500
514
|
|
@@ -513,6 +527,7 @@ module Aws::Inspector
|
|
513
527
|
class AssessmentRunStateChange < Struct.new(
|
514
528
|
:state_changed_at,
|
515
529
|
:state)
|
530
|
+
SENSITIVE = []
|
516
531
|
include Aws::Structure
|
517
532
|
end
|
518
533
|
|
@@ -549,6 +564,7 @@ module Aws::Inspector
|
|
549
564
|
:resource_group_arn,
|
550
565
|
:created_at,
|
551
566
|
:updated_at)
|
567
|
+
SENSITIVE = []
|
552
568
|
include Aws::Structure
|
553
569
|
end
|
554
570
|
|
@@ -572,6 +588,7 @@ module Aws::Inspector
|
|
572
588
|
#
|
573
589
|
class AssessmentTargetFilter < Struct.new(
|
574
590
|
:assessment_target_name_pattern)
|
591
|
+
SENSITIVE = []
|
575
592
|
include Aws::Structure
|
576
593
|
end
|
577
594
|
|
@@ -634,6 +651,7 @@ module Aws::Inspector
|
|
634
651
|
:last_assessment_run_arn,
|
635
652
|
:assessment_run_count,
|
636
653
|
:created_at)
|
654
|
+
SENSITIVE = []
|
637
655
|
include Aws::Structure
|
638
656
|
end
|
639
657
|
|
@@ -678,6 +696,7 @@ module Aws::Inspector
|
|
678
696
|
:name_pattern,
|
679
697
|
:duration_range,
|
680
698
|
:rules_package_arns)
|
699
|
+
SENSITIVE = []
|
681
700
|
include Aws::Structure
|
682
701
|
end
|
683
702
|
|
@@ -732,6 +751,7 @@ module Aws::Inspector
|
|
732
751
|
:ipv4_addresses,
|
733
752
|
:tags,
|
734
753
|
:network_interfaces)
|
754
|
+
SENSITIVE = []
|
735
755
|
include Aws::Structure
|
736
756
|
end
|
737
757
|
|
@@ -759,6 +779,7 @@ module Aws::Inspector
|
|
759
779
|
class Attribute < Struct.new(
|
760
780
|
:key,
|
761
781
|
:value)
|
782
|
+
SENSITIVE = []
|
762
783
|
include Aws::Structure
|
763
784
|
end
|
764
785
|
|
@@ -787,6 +808,7 @@ module Aws::Inspector
|
|
787
808
|
class CreateAssessmentTargetRequest < Struct.new(
|
788
809
|
:assessment_target_name,
|
789
810
|
:resource_group_arn)
|
811
|
+
SENSITIVE = []
|
790
812
|
include Aws::Structure
|
791
813
|
end
|
792
814
|
|
@@ -798,6 +820,7 @@ module Aws::Inspector
|
|
798
820
|
#
|
799
821
|
class CreateAssessmentTargetResponse < Struct.new(
|
800
822
|
:assessment_target_arn)
|
823
|
+
SENSITIVE = []
|
801
824
|
include Aws::Structure
|
802
825
|
end
|
803
826
|
|
@@ -853,6 +876,7 @@ module Aws::Inspector
|
|
853
876
|
:duration_in_seconds,
|
854
877
|
:rules_package_arns,
|
855
878
|
:user_attributes_for_findings)
|
879
|
+
SENSITIVE = []
|
856
880
|
include Aws::Structure
|
857
881
|
end
|
858
882
|
|
@@ -864,6 +888,7 @@ module Aws::Inspector
|
|
864
888
|
#
|
865
889
|
class CreateAssessmentTemplateResponse < Struct.new(
|
866
890
|
:assessment_template_arn)
|
891
|
+
SENSITIVE = []
|
867
892
|
include Aws::Structure
|
868
893
|
end
|
869
894
|
|
@@ -883,6 +908,7 @@ module Aws::Inspector
|
|
883
908
|
#
|
884
909
|
class CreateExclusionsPreviewRequest < Struct.new(
|
885
910
|
:assessment_template_arn)
|
911
|
+
SENSITIVE = []
|
886
912
|
include Aws::Structure
|
887
913
|
end
|
888
914
|
|
@@ -896,6 +922,7 @@ module Aws::Inspector
|
|
896
922
|
#
|
897
923
|
class CreateExclusionsPreviewResponse < Struct.new(
|
898
924
|
:preview_token)
|
925
|
+
SENSITIVE = []
|
899
926
|
include Aws::Structure
|
900
927
|
end
|
901
928
|
|
@@ -923,6 +950,7 @@ module Aws::Inspector
|
|
923
950
|
#
|
924
951
|
class CreateResourceGroupRequest < Struct.new(
|
925
952
|
:resource_group_tags)
|
953
|
+
SENSITIVE = []
|
926
954
|
include Aws::Structure
|
927
955
|
end
|
928
956
|
|
@@ -934,6 +962,7 @@ module Aws::Inspector
|
|
934
962
|
#
|
935
963
|
class CreateResourceGroupResponse < Struct.new(
|
936
964
|
:resource_group_arn)
|
965
|
+
SENSITIVE = []
|
937
966
|
include Aws::Structure
|
938
967
|
end
|
939
968
|
|
@@ -952,6 +981,7 @@ module Aws::Inspector
|
|
952
981
|
#
|
953
982
|
class DeleteAssessmentRunRequest < Struct.new(
|
954
983
|
:assessment_run_arn)
|
984
|
+
SENSITIVE = []
|
955
985
|
include Aws::Structure
|
956
986
|
end
|
957
987
|
|
@@ -971,6 +1001,7 @@ module Aws::Inspector
|
|
971
1001
|
#
|
972
1002
|
class DeleteAssessmentTargetRequest < Struct.new(
|
973
1003
|
:assessment_target_arn)
|
1004
|
+
SENSITIVE = []
|
974
1005
|
include Aws::Structure
|
975
1006
|
end
|
976
1007
|
|
@@ -990,6 +1021,7 @@ module Aws::Inspector
|
|
990
1021
|
#
|
991
1022
|
class DeleteAssessmentTemplateRequest < Struct.new(
|
992
1023
|
:assessment_template_arn)
|
1024
|
+
SENSITIVE = []
|
993
1025
|
include Aws::Structure
|
994
1026
|
end
|
995
1027
|
|
@@ -1008,6 +1040,7 @@ module Aws::Inspector
|
|
1008
1040
|
#
|
1009
1041
|
class DescribeAssessmentRunsRequest < Struct.new(
|
1010
1042
|
:assessment_run_arns)
|
1043
|
+
SENSITIVE = []
|
1011
1044
|
include Aws::Structure
|
1012
1045
|
end
|
1013
1046
|
|
@@ -1025,6 +1058,7 @@ module Aws::Inspector
|
|
1025
1058
|
class DescribeAssessmentRunsResponse < Struct.new(
|
1026
1059
|
:assessment_runs,
|
1027
1060
|
:failed_items)
|
1061
|
+
SENSITIVE = []
|
1028
1062
|
include Aws::Structure
|
1029
1063
|
end
|
1030
1064
|
|
@@ -1044,6 +1078,7 @@ module Aws::Inspector
|
|
1044
1078
|
#
|
1045
1079
|
class DescribeAssessmentTargetsRequest < Struct.new(
|
1046
1080
|
:assessment_target_arns)
|
1081
|
+
SENSITIVE = []
|
1047
1082
|
include Aws::Structure
|
1048
1083
|
end
|
1049
1084
|
|
@@ -1061,6 +1096,7 @@ module Aws::Inspector
|
|
1061
1096
|
class DescribeAssessmentTargetsResponse < Struct.new(
|
1062
1097
|
:assessment_targets,
|
1063
1098
|
:failed_items)
|
1099
|
+
SENSITIVE = []
|
1064
1100
|
include Aws::Structure
|
1065
1101
|
end
|
1066
1102
|
|
@@ -1078,6 +1114,7 @@ module Aws::Inspector
|
|
1078
1114
|
#
|
1079
1115
|
class DescribeAssessmentTemplatesRequest < Struct.new(
|
1080
1116
|
:assessment_template_arns)
|
1117
|
+
SENSITIVE = []
|
1081
1118
|
include Aws::Structure
|
1082
1119
|
end
|
1083
1120
|
|
@@ -1095,6 +1132,7 @@ module Aws::Inspector
|
|
1095
1132
|
class DescribeAssessmentTemplatesResponse < Struct.new(
|
1096
1133
|
:assessment_templates,
|
1097
1134
|
:failed_items)
|
1135
|
+
SENSITIVE = []
|
1098
1136
|
include Aws::Structure
|
1099
1137
|
end
|
1100
1138
|
|
@@ -1119,6 +1157,7 @@ module Aws::Inspector
|
|
1119
1157
|
:role_arn,
|
1120
1158
|
:valid,
|
1121
1159
|
:registered_at)
|
1160
|
+
SENSITIVE = []
|
1122
1161
|
include Aws::Structure
|
1123
1162
|
end
|
1124
1163
|
|
@@ -1145,6 +1184,7 @@ module Aws::Inspector
|
|
1145
1184
|
class DescribeExclusionsRequest < Struct.new(
|
1146
1185
|
:exclusion_arns,
|
1147
1186
|
:locale)
|
1187
|
+
SENSITIVE = []
|
1148
1188
|
include Aws::Structure
|
1149
1189
|
end
|
1150
1190
|
|
@@ -1162,6 +1202,7 @@ module Aws::Inspector
|
|
1162
1202
|
class DescribeExclusionsResponse < Struct.new(
|
1163
1203
|
:exclusions,
|
1164
1204
|
:failed_items)
|
1205
|
+
SENSITIVE = []
|
1165
1206
|
include Aws::Structure
|
1166
1207
|
end
|
1167
1208
|
|
@@ -1188,6 +1229,7 @@ module Aws::Inspector
|
|
1188
1229
|
class DescribeFindingsRequest < Struct.new(
|
1189
1230
|
:finding_arns,
|
1190
1231
|
:locale)
|
1232
|
+
SENSITIVE = []
|
1191
1233
|
include Aws::Structure
|
1192
1234
|
end
|
1193
1235
|
|
@@ -1205,6 +1247,7 @@ module Aws::Inspector
|
|
1205
1247
|
class DescribeFindingsResponse < Struct.new(
|
1206
1248
|
:findings,
|
1207
1249
|
:failed_items)
|
1250
|
+
SENSITIVE = []
|
1208
1251
|
include Aws::Structure
|
1209
1252
|
end
|
1210
1253
|
|
@@ -1223,6 +1266,7 @@ module Aws::Inspector
|
|
1223
1266
|
#
|
1224
1267
|
class DescribeResourceGroupsRequest < Struct.new(
|
1225
1268
|
:resource_group_arns)
|
1269
|
+
SENSITIVE = []
|
1226
1270
|
include Aws::Structure
|
1227
1271
|
end
|
1228
1272
|
|
@@ -1240,6 +1284,7 @@ module Aws::Inspector
|
|
1240
1284
|
class DescribeResourceGroupsResponse < Struct.new(
|
1241
1285
|
:resource_groups,
|
1242
1286
|
:failed_items)
|
1287
|
+
SENSITIVE = []
|
1243
1288
|
include Aws::Structure
|
1244
1289
|
end
|
1245
1290
|
|
@@ -1265,6 +1310,7 @@ module Aws::Inspector
|
|
1265
1310
|
class DescribeRulesPackagesRequest < Struct.new(
|
1266
1311
|
:rules_package_arns,
|
1267
1312
|
:locale)
|
1313
|
+
SENSITIVE = []
|
1268
1314
|
include Aws::Structure
|
1269
1315
|
end
|
1270
1316
|
|
@@ -1282,6 +1328,7 @@ module Aws::Inspector
|
|
1282
1328
|
class DescribeRulesPackagesResponse < Struct.new(
|
1283
1329
|
:rules_packages,
|
1284
1330
|
:failed_items)
|
1331
|
+
SENSITIVE = []
|
1285
1332
|
include Aws::Structure
|
1286
1333
|
end
|
1287
1334
|
|
@@ -1309,6 +1356,7 @@ module Aws::Inspector
|
|
1309
1356
|
class DurationRange < Struct.new(
|
1310
1357
|
:min_seconds,
|
1311
1358
|
:max_seconds)
|
1359
|
+
SENSITIVE = []
|
1312
1360
|
include Aws::Structure
|
1313
1361
|
end
|
1314
1362
|
|
@@ -1328,6 +1376,7 @@ module Aws::Inspector
|
|
1328
1376
|
class EventSubscription < Struct.new(
|
1329
1377
|
:event,
|
1330
1378
|
:subscribed_at)
|
1379
|
+
SENSITIVE = []
|
1331
1380
|
include Aws::Structure
|
1332
1381
|
end
|
1333
1382
|
|
@@ -1366,6 +1415,7 @@ module Aws::Inspector
|
|
1366
1415
|
:recommendation,
|
1367
1416
|
:scopes,
|
1368
1417
|
:attributes)
|
1418
|
+
SENSITIVE = []
|
1369
1419
|
include Aws::Structure
|
1370
1420
|
end
|
1371
1421
|
|
@@ -1400,6 +1450,7 @@ module Aws::Inspector
|
|
1400
1450
|
:recommendation,
|
1401
1451
|
:scopes,
|
1402
1452
|
:attributes)
|
1453
|
+
SENSITIVE = []
|
1403
1454
|
include Aws::Structure
|
1404
1455
|
end
|
1405
1456
|
|
@@ -1419,6 +1470,7 @@ module Aws::Inspector
|
|
1419
1470
|
class FailedItemDetails < Struct.new(
|
1420
1471
|
:failure_code,
|
1421
1472
|
:retryable)
|
1473
|
+
SENSITIVE = []
|
1422
1474
|
include Aws::Structure
|
1423
1475
|
end
|
1424
1476
|
|
@@ -1520,6 +1572,7 @@ module Aws::Inspector
|
|
1520
1572
|
:user_attributes,
|
1521
1573
|
:created_at,
|
1522
1574
|
:updated_at)
|
1575
|
+
SENSITIVE = []
|
1523
1576
|
include Aws::Structure
|
1524
1577
|
end
|
1525
1578
|
|
@@ -1610,6 +1663,7 @@ module Aws::Inspector
|
|
1610
1663
|
:attributes,
|
1611
1664
|
:user_attributes,
|
1612
1665
|
:creation_time_range)
|
1666
|
+
SENSITIVE = []
|
1613
1667
|
include Aws::Structure
|
1614
1668
|
end
|
1615
1669
|
|
@@ -1649,6 +1703,7 @@ module Aws::Inspector
|
|
1649
1703
|
:assessment_run_arn,
|
1650
1704
|
:report_file_format,
|
1651
1705
|
:report_type)
|
1706
|
+
SENSITIVE = []
|
1652
1707
|
include Aws::Structure
|
1653
1708
|
end
|
1654
1709
|
|
@@ -1668,6 +1723,7 @@ module Aws::Inspector
|
|
1668
1723
|
class GetAssessmentReportResponse < Struct.new(
|
1669
1724
|
:status,
|
1670
1725
|
:url)
|
1726
|
+
SENSITIVE = []
|
1671
1727
|
include Aws::Structure
|
1672
1728
|
end
|
1673
1729
|
|
@@ -1718,6 +1774,7 @@ module Aws::Inspector
|
|
1718
1774
|
:next_token,
|
1719
1775
|
:max_results,
|
1720
1776
|
:locale)
|
1777
|
+
SENSITIVE = []
|
1721
1778
|
include Aws::Structure
|
1722
1779
|
end
|
1723
1780
|
|
@@ -1744,6 +1801,7 @@ module Aws::Inspector
|
|
1744
1801
|
:preview_status,
|
1745
1802
|
:exclusion_previews,
|
1746
1803
|
:next_token)
|
1804
|
+
SENSITIVE = []
|
1747
1805
|
include Aws::Structure
|
1748
1806
|
end
|
1749
1807
|
|
@@ -1763,6 +1821,7 @@ module Aws::Inspector
|
|
1763
1821
|
#
|
1764
1822
|
class GetTelemetryMetadataRequest < Struct.new(
|
1765
1823
|
:assessment_run_arn)
|
1824
|
+
SENSITIVE = []
|
1766
1825
|
include Aws::Structure
|
1767
1826
|
end
|
1768
1827
|
|
@@ -1774,6 +1833,7 @@ module Aws::Inspector
|
|
1774
1833
|
#
|
1775
1834
|
class GetTelemetryMetadataResponse < Struct.new(
|
1776
1835
|
:telemetry_metadata)
|
1836
|
+
SENSITIVE = []
|
1777
1837
|
include Aws::Structure
|
1778
1838
|
end
|
1779
1839
|
|
@@ -1797,6 +1857,7 @@ module Aws::Inspector
|
|
1797
1857
|
:schema_version,
|
1798
1858
|
:assessment_run_arn,
|
1799
1859
|
:rules_package_arn)
|
1860
|
+
SENSITIVE = []
|
1800
1861
|
include Aws::Structure
|
1801
1862
|
end
|
1802
1863
|
|
@@ -1815,6 +1876,7 @@ module Aws::Inspector
|
|
1815
1876
|
class InternalException < Struct.new(
|
1816
1877
|
:message,
|
1817
1878
|
:can_retry)
|
1879
|
+
SENSITIVE = []
|
1818
1880
|
include Aws::Structure
|
1819
1881
|
end
|
1820
1882
|
|
@@ -1839,6 +1901,7 @@ module Aws::Inspector
|
|
1839
1901
|
:message,
|
1840
1902
|
:error_code,
|
1841
1903
|
:can_retry)
|
1904
|
+
SENSITIVE = []
|
1842
1905
|
include Aws::Structure
|
1843
1906
|
end
|
1844
1907
|
|
@@ -1863,6 +1926,7 @@ module Aws::Inspector
|
|
1863
1926
|
:message,
|
1864
1927
|
:error_code,
|
1865
1928
|
:can_retry)
|
1929
|
+
SENSITIVE = []
|
1866
1930
|
include Aws::Structure
|
1867
1931
|
end
|
1868
1932
|
|
@@ -1888,6 +1952,7 @@ module Aws::Inspector
|
|
1888
1952
|
:message,
|
1889
1953
|
:error_code,
|
1890
1954
|
:can_retry)
|
1955
|
+
SENSITIVE = []
|
1891
1956
|
include Aws::Structure
|
1892
1957
|
end
|
1893
1958
|
|
@@ -1939,6 +2004,7 @@ module Aws::Inspector
|
|
1939
2004
|
:filter,
|
1940
2005
|
:next_token,
|
1941
2006
|
:max_results)
|
2007
|
+
SENSITIVE = []
|
1942
2008
|
include Aws::Structure
|
1943
2009
|
end
|
1944
2010
|
|
@@ -1959,6 +2025,7 @@ module Aws::Inspector
|
|
1959
2025
|
class ListAssessmentRunAgentsResponse < Struct.new(
|
1960
2026
|
:assessment_run_agents,
|
1961
2027
|
:next_token)
|
2028
|
+
SENSITIVE = []
|
1962
2029
|
include Aws::Structure
|
1963
2030
|
end
|
1964
2031
|
|
@@ -2027,6 +2094,7 @@ module Aws::Inspector
|
|
2027
2094
|
:filter,
|
2028
2095
|
:next_token,
|
2029
2096
|
:max_results)
|
2097
|
+
SENSITIVE = []
|
2030
2098
|
include Aws::Structure
|
2031
2099
|
end
|
2032
2100
|
|
@@ -2048,6 +2116,7 @@ module Aws::Inspector
|
|
2048
2116
|
class ListAssessmentRunsResponse < Struct.new(
|
2049
2117
|
:assessment_run_arns,
|
2050
2118
|
:next_token)
|
2119
|
+
SENSITIVE = []
|
2051
2120
|
include Aws::Structure
|
2052
2121
|
end
|
2053
2122
|
|
@@ -2091,6 +2160,7 @@ module Aws::Inspector
|
|
2091
2160
|
:filter,
|
2092
2161
|
:next_token,
|
2093
2162
|
:max_results)
|
2163
|
+
SENSITIVE = []
|
2094
2164
|
include Aws::Structure
|
2095
2165
|
end
|
2096
2166
|
|
@@ -2112,6 +2182,7 @@ module Aws::Inspector
|
|
2112
2182
|
class ListAssessmentTargetsResponse < Struct.new(
|
2113
2183
|
:assessment_target_arns,
|
2114
2184
|
:next_token)
|
2185
|
+
SENSITIVE = []
|
2115
2186
|
include Aws::Structure
|
2116
2187
|
end
|
2117
2188
|
|
@@ -2167,6 +2238,7 @@ module Aws::Inspector
|
|
2167
2238
|
:filter,
|
2168
2239
|
:next_token,
|
2169
2240
|
:max_results)
|
2241
|
+
SENSITIVE = []
|
2170
2242
|
include Aws::Structure
|
2171
2243
|
end
|
2172
2244
|
|
@@ -2188,6 +2260,7 @@ module Aws::Inspector
|
|
2188
2260
|
class ListAssessmentTemplatesResponse < Struct.new(
|
2189
2261
|
:assessment_template_arns,
|
2190
2262
|
:next_token)
|
2263
|
+
SENSITIVE = []
|
2191
2264
|
include Aws::Structure
|
2192
2265
|
end
|
2193
2266
|
|
@@ -2225,6 +2298,7 @@ module Aws::Inspector
|
|
2225
2298
|
:resource_arn,
|
2226
2299
|
:next_token,
|
2227
2300
|
:max_results)
|
2301
|
+
SENSITIVE = []
|
2228
2302
|
include Aws::Structure
|
2229
2303
|
end
|
2230
2304
|
|
@@ -2245,6 +2319,7 @@ module Aws::Inspector
|
|
2245
2319
|
class ListEventSubscriptionsResponse < Struct.new(
|
2246
2320
|
:subscriptions,
|
2247
2321
|
:next_token)
|
2322
|
+
SENSITIVE = []
|
2248
2323
|
include Aws::Structure
|
2249
2324
|
end
|
2250
2325
|
|
@@ -2282,6 +2357,7 @@ module Aws::Inspector
|
|
2282
2357
|
:assessment_run_arn,
|
2283
2358
|
:next_token,
|
2284
2359
|
:max_results)
|
2360
|
+
SENSITIVE = []
|
2285
2361
|
include Aws::Structure
|
2286
2362
|
end
|
2287
2363
|
|
@@ -2302,6 +2378,7 @@ module Aws::Inspector
|
|
2302
2378
|
class ListExclusionsResponse < Struct.new(
|
2303
2379
|
:exclusion_arns,
|
2304
2380
|
:next_token)
|
2381
|
+
SENSITIVE = []
|
2305
2382
|
include Aws::Structure
|
2306
2383
|
end
|
2307
2384
|
|
@@ -2372,6 +2449,7 @@ module Aws::Inspector
|
|
2372
2449
|
:filter,
|
2373
2450
|
:next_token,
|
2374
2451
|
:max_results)
|
2452
|
+
SENSITIVE = []
|
2375
2453
|
include Aws::Structure
|
2376
2454
|
end
|
2377
2455
|
|
@@ -2392,6 +2470,7 @@ module Aws::Inspector
|
|
2392
2470
|
class ListFindingsResponse < Struct.new(
|
2393
2471
|
:finding_arns,
|
2394
2472
|
:next_token)
|
2473
|
+
SENSITIVE = []
|
2395
2474
|
include Aws::Structure
|
2396
2475
|
end
|
2397
2476
|
|
@@ -2422,6 +2501,7 @@ module Aws::Inspector
|
|
2422
2501
|
class ListRulesPackagesRequest < Struct.new(
|
2423
2502
|
:next_token,
|
2424
2503
|
:max_results)
|
2504
|
+
SENSITIVE = []
|
2425
2505
|
include Aws::Structure
|
2426
2506
|
end
|
2427
2507
|
|
@@ -2443,6 +2523,7 @@ module Aws::Inspector
|
|
2443
2523
|
class ListRulesPackagesResponse < Struct.new(
|
2444
2524
|
:rules_package_arns,
|
2445
2525
|
:next_token)
|
2526
|
+
SENSITIVE = []
|
2446
2527
|
include Aws::Structure
|
2447
2528
|
end
|
2448
2529
|
|
@@ -2462,6 +2543,7 @@ module Aws::Inspector
|
|
2462
2543
|
#
|
2463
2544
|
class ListTagsForResourceRequest < Struct.new(
|
2464
2545
|
:resource_arn)
|
2546
|
+
SENSITIVE = []
|
2465
2547
|
include Aws::Structure
|
2466
2548
|
end
|
2467
2549
|
|
@@ -2473,6 +2555,7 @@ module Aws::Inspector
|
|
2473
2555
|
#
|
2474
2556
|
class ListTagsForResourceResponse < Struct.new(
|
2475
2557
|
:tags)
|
2558
|
+
SENSITIVE = []
|
2476
2559
|
include Aws::Structure
|
2477
2560
|
end
|
2478
2561
|
|
@@ -2535,6 +2618,7 @@ module Aws::Inspector
|
|
2535
2618
|
:public_ip,
|
2536
2619
|
:ipv6_addresses,
|
2537
2620
|
:security_groups)
|
2621
|
+
SENSITIVE = []
|
2538
2622
|
include Aws::Structure
|
2539
2623
|
end
|
2540
2624
|
|
@@ -2559,6 +2643,7 @@ module Aws::Inspector
|
|
2559
2643
|
:message,
|
2560
2644
|
:error_code,
|
2561
2645
|
:can_retry)
|
2646
|
+
SENSITIVE = []
|
2562
2647
|
include Aws::Structure
|
2563
2648
|
end
|
2564
2649
|
|
@@ -2595,6 +2680,7 @@ module Aws::Inspector
|
|
2595
2680
|
:preview_agents_arn,
|
2596
2681
|
:next_token,
|
2597
2682
|
:max_results)
|
2683
|
+
SENSITIVE = []
|
2598
2684
|
include Aws::Structure
|
2599
2685
|
end
|
2600
2686
|
|
@@ -2615,6 +2701,7 @@ module Aws::Inspector
|
|
2615
2701
|
class PreviewAgentsResponse < Struct.new(
|
2616
2702
|
:agent_previews,
|
2617
2703
|
:next_token)
|
2704
|
+
SENSITIVE = []
|
2618
2705
|
include Aws::Structure
|
2619
2706
|
end
|
2620
2707
|
|
@@ -2628,6 +2715,7 @@ module Aws::Inspector
|
|
2628
2715
|
#
|
2629
2716
|
class PreviewGenerationInProgressException < Struct.new(
|
2630
2717
|
:message)
|
2718
|
+
SENSITIVE = []
|
2631
2719
|
include Aws::Structure
|
2632
2720
|
end
|
2633
2721
|
|
@@ -2648,6 +2736,7 @@ module Aws::Inspector
|
|
2648
2736
|
class PrivateIp < Struct.new(
|
2649
2737
|
:private_dns_name,
|
2650
2738
|
:private_ip_address)
|
2739
|
+
SENSITIVE = []
|
2651
2740
|
include Aws::Structure
|
2652
2741
|
end
|
2653
2742
|
|
@@ -2667,6 +2756,7 @@ module Aws::Inspector
|
|
2667
2756
|
#
|
2668
2757
|
class RegisterCrossAccountAccessRoleRequest < Struct.new(
|
2669
2758
|
:role_arn)
|
2759
|
+
SENSITIVE = []
|
2670
2760
|
include Aws::Structure
|
2671
2761
|
end
|
2672
2762
|
|
@@ -2693,6 +2783,7 @@ module Aws::Inspector
|
|
2693
2783
|
class RemoveAttributesFromFindingsRequest < Struct.new(
|
2694
2784
|
:finding_arns,
|
2695
2785
|
:attribute_keys)
|
2786
|
+
SENSITIVE = []
|
2696
2787
|
include Aws::Structure
|
2697
2788
|
end
|
2698
2789
|
|
@@ -2705,6 +2796,7 @@ module Aws::Inspector
|
|
2705
2796
|
#
|
2706
2797
|
class RemoveAttributesFromFindingsResponse < Struct.new(
|
2707
2798
|
:failed_items)
|
2799
|
+
SENSITIVE = []
|
2708
2800
|
include Aws::Structure
|
2709
2801
|
end
|
2710
2802
|
|
@@ -2732,6 +2824,7 @@ module Aws::Inspector
|
|
2732
2824
|
:arn,
|
2733
2825
|
:tags,
|
2734
2826
|
:created_at)
|
2827
|
+
SENSITIVE = []
|
2735
2828
|
include Aws::Structure
|
2736
2829
|
end
|
2737
2830
|
|
@@ -2759,6 +2852,7 @@ module Aws::Inspector
|
|
2759
2852
|
class ResourceGroupTag < Struct.new(
|
2760
2853
|
:key,
|
2761
2854
|
:value)
|
2855
|
+
SENSITIVE = []
|
2762
2856
|
include Aws::Structure
|
2763
2857
|
end
|
2764
2858
|
|
@@ -2794,6 +2888,7 @@ module Aws::Inspector
|
|
2794
2888
|
:version,
|
2795
2889
|
:provider,
|
2796
2890
|
:description)
|
2891
|
+
SENSITIVE = []
|
2797
2892
|
include Aws::Structure
|
2798
2893
|
end
|
2799
2894
|
|
@@ -2813,6 +2908,7 @@ module Aws::Inspector
|
|
2813
2908
|
class Scope < Struct.new(
|
2814
2909
|
:key,
|
2815
2910
|
:value)
|
2911
|
+
SENSITIVE = []
|
2816
2912
|
include Aws::Structure
|
2817
2913
|
end
|
2818
2914
|
|
@@ -2833,6 +2929,7 @@ module Aws::Inspector
|
|
2833
2929
|
class SecurityGroup < Struct.new(
|
2834
2930
|
:group_name,
|
2835
2931
|
:group_id)
|
2932
|
+
SENSITIVE = []
|
2836
2933
|
include Aws::Structure
|
2837
2934
|
end
|
2838
2935
|
|
@@ -2851,6 +2948,7 @@ module Aws::Inspector
|
|
2851
2948
|
class ServiceTemporarilyUnavailableException < Struct.new(
|
2852
2949
|
:message,
|
2853
2950
|
:can_retry)
|
2951
|
+
SENSITIVE = []
|
2854
2952
|
include Aws::Structure
|
2855
2953
|
end
|
2856
2954
|
|
@@ -2881,6 +2979,7 @@ module Aws::Inspector
|
|
2881
2979
|
class SetTagsForResourceRequest < Struct.new(
|
2882
2980
|
:resource_arn,
|
2883
2981
|
:tags)
|
2982
|
+
SENSITIVE = []
|
2884
2983
|
include Aws::Structure
|
2885
2984
|
end
|
2886
2985
|
|
@@ -2908,6 +3007,7 @@ module Aws::Inspector
|
|
2908
3007
|
class StartAssessmentRunRequest < Struct.new(
|
2909
3008
|
:assessment_template_arn,
|
2910
3009
|
:assessment_run_name)
|
3010
|
+
SENSITIVE = []
|
2911
3011
|
include Aws::Structure
|
2912
3012
|
end
|
2913
3013
|
|
@@ -2919,6 +3019,7 @@ module Aws::Inspector
|
|
2919
3019
|
#
|
2920
3020
|
class StartAssessmentRunResponse < Struct.new(
|
2921
3021
|
:assessment_run_arn)
|
3022
|
+
SENSITIVE = []
|
2922
3023
|
include Aws::Structure
|
2923
3024
|
end
|
2924
3025
|
|
@@ -2947,6 +3048,7 @@ module Aws::Inspector
|
|
2947
3048
|
class StopAssessmentRunRequest < Struct.new(
|
2948
3049
|
:assessment_run_arn,
|
2949
3050
|
:stop_action)
|
3051
|
+
SENSITIVE = []
|
2950
3052
|
include Aws::Structure
|
2951
3053
|
end
|
2952
3054
|
|
@@ -2978,6 +3080,7 @@ module Aws::Inspector
|
|
2978
3080
|
:resource_arn,
|
2979
3081
|
:event,
|
2980
3082
|
:topic_arn)
|
3083
|
+
SENSITIVE = []
|
2981
3084
|
include Aws::Structure
|
2982
3085
|
end
|
2983
3086
|
|
@@ -3004,6 +3107,7 @@ module Aws::Inspector
|
|
3004
3107
|
:resource_arn,
|
3005
3108
|
:topic_arn,
|
3006
3109
|
:event_subscriptions)
|
3110
|
+
SENSITIVE = []
|
3007
3111
|
include Aws::Structure
|
3008
3112
|
end
|
3009
3113
|
|
@@ -3032,6 +3136,7 @@ module Aws::Inspector
|
|
3032
3136
|
class Tag < Struct.new(
|
3033
3137
|
:key,
|
3034
3138
|
:value)
|
3139
|
+
SENSITIVE = []
|
3035
3140
|
include Aws::Structure
|
3036
3141
|
end
|
3037
3142
|
|
@@ -3059,6 +3164,7 @@ module Aws::Inspector
|
|
3059
3164
|
:message_type,
|
3060
3165
|
:count,
|
3061
3166
|
:data_size)
|
3167
|
+
SENSITIVE = []
|
3062
3168
|
include Aws::Structure
|
3063
3169
|
end
|
3064
3170
|
|
@@ -3085,6 +3191,7 @@ module Aws::Inspector
|
|
3085
3191
|
class TimestampRange < Struct.new(
|
3086
3192
|
:begin_date,
|
3087
3193
|
:end_date)
|
3194
|
+
SENSITIVE = []
|
3088
3195
|
include Aws::Structure
|
3089
3196
|
end
|
3090
3197
|
|
@@ -3116,6 +3223,7 @@ module Aws::Inspector
|
|
3116
3223
|
:resource_arn,
|
3117
3224
|
:event,
|
3118
3225
|
:topic_arn)
|
3226
|
+
SENSITIVE = []
|
3119
3227
|
include Aws::Structure
|
3120
3228
|
end
|
3121
3229
|
|
@@ -3136,6 +3244,7 @@ module Aws::Inspector
|
|
3136
3244
|
class UnsupportedFeatureException < Struct.new(
|
3137
3245
|
:message,
|
3138
3246
|
:can_retry)
|
3247
|
+
SENSITIVE = []
|
3139
3248
|
include Aws::Structure
|
3140
3249
|
end
|
3141
3250
|
|
@@ -3167,6 +3276,7 @@ module Aws::Inspector
|
|
3167
3276
|
:assessment_target_arn,
|
3168
3277
|
:assessment_target_name,
|
3169
3278
|
:resource_group_arn)
|
3279
|
+
SENSITIVE = []
|
3170
3280
|
include Aws::Structure
|
3171
3281
|
end
|
3172
3282
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-inspector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-23 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.99.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.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - Amazon Inspector
|