aws-sdk-inspector 1.24.0 → 1.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-inspector.rb +1 -1
- data/lib/aws-sdk-inspector/client.rb +43 -20
- data/lib/aws-sdk-inspector/resource.rb +1 -7
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 58bc1d8050131682bf367400a2d38de26f21c0029f93b4cca47a3e87f6fd777b
|
4
|
+
data.tar.gz: 2f09dc828330f92c13abafc60d179b5b6d8b0f2743cedb5eafb75987912bc159
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e434887221b24f24380d893f31d8ecc0eda4e9818784fabd4484eb741a80fa384597cbae98c2990654c23142c9e01e639538877351c931885a5ea3344f82ad17
|
7
|
+
data.tar.gz: 503ada2288498128faa66bf73f7c9ffb4171d9e739240a73dffb4aac5e2ac2f5feea3d5ff7d700923ec43f9e5f24b29bfd4d7dfddaef4a09d1d22dc0a20a4478
|
data/lib/aws-sdk-inspector.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:inspector)
|
|
32
32
|
module Aws::Inspector
|
33
33
|
# An API client for Inspector. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::Inspector::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -105,7 +105,7 @@ module Aws::Inspector
|
|
105
105
|
# @option options [required, String] :region
|
106
106
|
# The AWS region to connect to. The configured `:region` is
|
107
107
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
109
109
|
#
|
110
110
|
# * `Aws.config[:region]`
|
111
111
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +161,7 @@ module Aws::Inspector
|
|
161
161
|
# @option options [String] :endpoint
|
162
162
|
# The client endpoint is normally constructed from the `:region`
|
163
163
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
165
165
|
#
|
166
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -229,15 +229,19 @@ module Aws::Inspector
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -275,8 +279,7 @@ module Aws::Inspector
|
|
275
279
|
#
|
276
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
281
|
# number of seconds to wait for response data. This value can
|
278
|
-
# safely be set
|
279
|
-
# per-request on the session yielded by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
280
283
|
#
|
281
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
285
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +291,7 @@ module Aws::Inspector
|
|
288
291
|
# request body. This option has no effect unless the request has
|
289
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
293
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
294
|
+
# request on the session.
|
292
295
|
#
|
293
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1443,6 +1446,8 @@ module Aws::Inspector
|
|
1443
1446
|
# * {Types::GetExclusionsPreviewResponse#exclusion_previews #exclusion_previews} => Array<Types::ExclusionPreview>
|
1444
1447
|
# * {Types::GetExclusionsPreviewResponse#next_token #next_token} => String
|
1445
1448
|
#
|
1449
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1450
|
+
#
|
1446
1451
|
# @example Request syntax with placeholder values
|
1447
1452
|
#
|
1448
1453
|
# resp = client.get_exclusions_preview({
|
@@ -1702,6 +1707,8 @@ module Aws::Inspector
|
|
1702
1707
|
# * {Types::ListAssessmentRunAgentsResponse#assessment_run_agents #assessment_run_agents} => Array<Types::AssessmentRunAgent>
|
1703
1708
|
# * {Types::ListAssessmentRunAgentsResponse#next_token #next_token} => String
|
1704
1709
|
#
|
1710
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1711
|
+
#
|
1705
1712
|
#
|
1706
1713
|
# @example Example: List assessment run agents
|
1707
1714
|
#
|
@@ -1940,6 +1947,8 @@ module Aws::Inspector
|
|
1940
1947
|
# * {Types::ListAssessmentRunsResponse#assessment_run_arns #assessment_run_arns} => Array<String>
|
1941
1948
|
# * {Types::ListAssessmentRunsResponse#next_token #next_token} => String
|
1942
1949
|
#
|
1950
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1951
|
+
#
|
1943
1952
|
#
|
1944
1953
|
# @example Example: List assessment runs
|
1945
1954
|
#
|
@@ -2039,6 +2048,8 @@ module Aws::Inspector
|
|
2039
2048
|
# * {Types::ListAssessmentTargetsResponse#assessment_target_arns #assessment_target_arns} => Array<String>
|
2040
2049
|
# * {Types::ListAssessmentTargetsResponse#next_token #next_token} => String
|
2041
2050
|
#
|
2051
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2052
|
+
#
|
2042
2053
|
#
|
2043
2054
|
# @example Example: List assessment targets
|
2044
2055
|
#
|
@@ -2113,6 +2124,8 @@ module Aws::Inspector
|
|
2113
2124
|
# * {Types::ListAssessmentTemplatesResponse#assessment_template_arns #assessment_template_arns} => Array<String>
|
2114
2125
|
# * {Types::ListAssessmentTemplatesResponse#next_token #next_token} => String
|
2115
2126
|
#
|
2127
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2128
|
+
#
|
2116
2129
|
#
|
2117
2130
|
# @example Example: List assessment templates
|
2118
2131
|
#
|
@@ -2191,6 +2204,8 @@ module Aws::Inspector
|
|
2191
2204
|
# * {Types::ListEventSubscriptionsResponse#subscriptions #subscriptions} => Array<Types::Subscription>
|
2192
2205
|
# * {Types::ListEventSubscriptionsResponse#next_token #next_token} => String
|
2193
2206
|
#
|
2207
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2208
|
+
#
|
2194
2209
|
#
|
2195
2210
|
# @example Example: List event subscriptions
|
2196
2211
|
#
|
@@ -2268,6 +2283,8 @@ module Aws::Inspector
|
|
2268
2283
|
# * {Types::ListExclusionsResponse#exclusion_arns #exclusion_arns} => Array<String>
|
2269
2284
|
# * {Types::ListExclusionsResponse#next_token #next_token} => String
|
2270
2285
|
#
|
2286
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2287
|
+
#
|
2271
2288
|
# @example Request syntax with placeholder values
|
2272
2289
|
#
|
2273
2290
|
# resp = client.list_exclusions({
|
@@ -2323,6 +2340,8 @@ module Aws::Inspector
|
|
2323
2340
|
# * {Types::ListFindingsResponse#finding_arns #finding_arns} => Array<String>
|
2324
2341
|
# * {Types::ListFindingsResponse#next_token #next_token} => String
|
2325
2342
|
#
|
2343
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2344
|
+
#
|
2326
2345
|
#
|
2327
2346
|
# @example Example: List findings
|
2328
2347
|
#
|
@@ -2409,6 +2428,8 @@ module Aws::Inspector
|
|
2409
2428
|
# * {Types::ListRulesPackagesResponse#rules_package_arns #rules_package_arns} => Array<String>
|
2410
2429
|
# * {Types::ListRulesPackagesResponse#next_token #next_token} => String
|
2411
2430
|
#
|
2431
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2432
|
+
#
|
2412
2433
|
#
|
2413
2434
|
# @example Example: List rules packages
|
2414
2435
|
#
|
@@ -2524,6 +2545,8 @@ module Aws::Inspector
|
|
2524
2545
|
# * {Types::PreviewAgentsResponse#agent_previews #agent_previews} => Array<Types::AgentPreview>
|
2525
2546
|
# * {Types::PreviewAgentsResponse#next_token #next_token} => String
|
2526
2547
|
#
|
2548
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2549
|
+
#
|
2527
2550
|
#
|
2528
2551
|
# @example Example: Preview agents
|
2529
2552
|
#
|
@@ -2955,7 +2978,7 @@ module Aws::Inspector
|
|
2955
2978
|
params: params,
|
2956
2979
|
config: config)
|
2957
2980
|
context[:gem_name] = 'aws-sdk-inspector'
|
2958
|
-
context[:gem_version] = '1.
|
2981
|
+
context[:gem_version] = '1.25.0'
|
2959
2982
|
Seahorse::Client::Request.new(handlers, context)
|
2960
2983
|
end
|
2961
2984
|
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::Inspector
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::Inspector::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::Inspector::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::Inspector::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
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.25.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: 2020-
|
11
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -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
|