aws-sdk-accessanalyzer 1.8.1 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-accessanalyzer.rb +6 -3
- data/lib/aws-sdk-accessanalyzer/client.rb +68 -17
- data/lib/aws-sdk-accessanalyzer/client_api.rb +21 -0
- data/lib/aws-sdk-accessanalyzer/errors.rb +14 -0
- data/lib/aws-sdk-accessanalyzer/resource.rb +2 -0
- data/lib/aws-sdk-accessanalyzer/types.rb +87 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 541528f9a889e86e8d0ea0c49a4ef0462b637a54b7b7fb856427c8318cbce67a
|
4
|
+
data.tar.gz: 666fecc496b544553833a215a96ac83459495e2b566781de03147f471caa9ef1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf341d946090502136177c06ffa3ef775fa2aed1738fde503446050b7a89062b6a24e858dc37fc48211541783fadc487f386aa0a4c2d8f536a6d08e671da1218
|
7
|
+
data.tar.gz: 3d0940c6f07a0af073853f9a6ff58bb28eb9754d9635d83c3644c8a1e1356892a9c90543a2e3a53ecaa2b7a8b27a20690228e43f522bd3453ed66d4ef97f6984
|
@@ -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:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -25,7 +28,7 @@ require_relative 'aws-sdk-accessanalyzer/customizations'
|
|
25
28
|
# structure.
|
26
29
|
#
|
27
30
|
# access_analyzer = Aws::AccessAnalyzer::Client.new
|
28
|
-
# resp = access_analyzer.
|
31
|
+
# resp = access_analyzer.apply_archive_rule(params)
|
29
32
|
#
|
30
33
|
# See {Client} for more information.
|
31
34
|
#
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-accessanalyzer/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::AccessAnalyzer
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.13.0'
|
49
52
|
|
50
53
|
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:
|
@@ -83,13 +85,28 @@ module Aws::AccessAnalyzer
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::AccessAnalyzer
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -310,6 +327,40 @@ module Aws::AccessAnalyzer
|
|
310
327
|
|
311
328
|
# @!group API Operations
|
312
329
|
|
330
|
+
# Retroactively applies the archive rule to existing findings that meet
|
331
|
+
# the archive rule criteria.
|
332
|
+
#
|
333
|
+
# @option params [required, String] :analyzer_arn
|
334
|
+
# The Amazon resource name (ARN) of the analyzer.
|
335
|
+
#
|
336
|
+
# @option params [String] :client_token
|
337
|
+
# A client token.
|
338
|
+
#
|
339
|
+
# **A suitable default value is auto-generated.** You should normally
|
340
|
+
# not need to pass this option.**
|
341
|
+
#
|
342
|
+
# @option params [required, String] :rule_name
|
343
|
+
# The name of the rule to apply.
|
344
|
+
#
|
345
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
346
|
+
#
|
347
|
+
# @example Request syntax with placeholder values
|
348
|
+
#
|
349
|
+
# resp = client.apply_archive_rule({
|
350
|
+
# analyzer_arn: "AnalyzerArn", # required
|
351
|
+
# client_token: "String",
|
352
|
+
# rule_name: "Name", # required
|
353
|
+
# })
|
354
|
+
#
|
355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ApplyArchiveRule AWS API Documentation
|
356
|
+
#
|
357
|
+
# @overload apply_archive_rule(params = {})
|
358
|
+
# @param [Hash] params ({})
|
359
|
+
def apply_archive_rule(params = {}, options = {})
|
360
|
+
req = build_request(:apply_archive_rule, params)
|
361
|
+
req.send_request(options)
|
362
|
+
end
|
363
|
+
|
313
364
|
# Creates an analyzer for your account.
|
314
365
|
#
|
315
366
|
# @option params [required, String] :analyzer_name
|
@@ -375,8 +426,8 @@ module Aws::AccessAnalyzer
|
|
375
426
|
end
|
376
427
|
|
377
428
|
# Creates an archive rule for the specified analyzer. Archive rules
|
378
|
-
# automatically archive findings that meet the criteria you define
|
379
|
-
# you create the rule.
|
429
|
+
# automatically archive new findings that meet the criteria you define
|
430
|
+
# when you create the rule.
|
380
431
|
#
|
381
432
|
# @option params [required, String] :analyzer_name
|
382
433
|
# The name of the created analyzer.
|
@@ -515,7 +566,7 @@ module Aws::AccessAnalyzer
|
|
515
566
|
# resp.resource.is_public #=> Boolean
|
516
567
|
# resp.resource.resource_arn #=> String
|
517
568
|
# resp.resource.resource_owner_account #=> String
|
518
|
-
# resp.resource.resource_type #=> String, one of "AWS::
|
569
|
+
# resp.resource.resource_type #=> String, one of "AWS::S3::Bucket", "AWS::IAM::Role", "AWS::SQS::Queue", "AWS::Lambda::Function", "AWS::Lambda::LayerVersion", "AWS::KMS::Key"
|
519
570
|
# resp.resource.shared_via #=> Array
|
520
571
|
# resp.resource.shared_via[0] #=> String
|
521
572
|
# resp.resource.status #=> String, one of "ACTIVE", "ARCHIVED", "RESOLVED"
|
@@ -643,10 +694,10 @@ module Aws::AccessAnalyzer
|
|
643
694
|
# resp.finding.principal["String"] #=> String
|
644
695
|
# resp.finding.resource #=> String
|
645
696
|
# resp.finding.resource_owner_account #=> String
|
646
|
-
# resp.finding.resource_type #=> String, one of "AWS::
|
697
|
+
# resp.finding.resource_type #=> String, one of "AWS::S3::Bucket", "AWS::IAM::Role", "AWS::SQS::Queue", "AWS::Lambda::Function", "AWS::Lambda::LayerVersion", "AWS::KMS::Key"
|
647
698
|
# resp.finding.sources #=> Array
|
648
699
|
# resp.finding.sources[0].detail.access_point_arn #=> String
|
649
|
-
# resp.finding.sources[0].type #=> String, one of "
|
700
|
+
# resp.finding.sources[0].type #=> String, one of "POLICY", "BUCKET_ACL", "S3_ACCESS_POINT"
|
650
701
|
# resp.finding.status #=> String, one of "ACTIVE", "ARCHIVED", "RESOLVED"
|
651
702
|
# resp.finding.updated_at #=> Time
|
652
703
|
#
|
@@ -687,7 +738,7 @@ module Aws::AccessAnalyzer
|
|
687
738
|
# analyzer_arn: "AnalyzerArn", # required
|
688
739
|
# max_results: 1,
|
689
740
|
# next_token: "Token",
|
690
|
-
# resource_type: "AWS::
|
741
|
+
# resource_type: "AWS::S3::Bucket", # accepts AWS::S3::Bucket, AWS::IAM::Role, AWS::SQS::Queue, AWS::Lambda::Function, AWS::Lambda::LayerVersion, AWS::KMS::Key
|
691
742
|
# })
|
692
743
|
#
|
693
744
|
# @example Response structure
|
@@ -695,7 +746,7 @@ module Aws::AccessAnalyzer
|
|
695
746
|
# resp.analyzed_resources #=> Array
|
696
747
|
# resp.analyzed_resources[0].resource_arn #=> String
|
697
748
|
# resp.analyzed_resources[0].resource_owner_account #=> String
|
698
|
-
# resp.analyzed_resources[0].resource_type #=> String, one of "AWS::
|
749
|
+
# resp.analyzed_resources[0].resource_type #=> String, one of "AWS::S3::Bucket", "AWS::IAM::Role", "AWS::SQS::Queue", "AWS::Lambda::Function", "AWS::Lambda::LayerVersion", "AWS::KMS::Key"
|
699
750
|
# resp.next_token #=> String
|
700
751
|
#
|
701
752
|
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListAnalyzedResources AWS API Documentation
|
@@ -868,10 +919,10 @@ module Aws::AccessAnalyzer
|
|
868
919
|
# resp.findings[0].principal["String"] #=> String
|
869
920
|
# resp.findings[0].resource #=> String
|
870
921
|
# resp.findings[0].resource_owner_account #=> String
|
871
|
-
# resp.findings[0].resource_type #=> String, one of "AWS::
|
922
|
+
# resp.findings[0].resource_type #=> String, one of "AWS::S3::Bucket", "AWS::IAM::Role", "AWS::SQS::Queue", "AWS::Lambda::Function", "AWS::Lambda::LayerVersion", "AWS::KMS::Key"
|
872
923
|
# resp.findings[0].sources #=> Array
|
873
924
|
# resp.findings[0].sources[0].detail.access_point_arn #=> String
|
874
|
-
# resp.findings[0].sources[0].type #=> String, one of "
|
925
|
+
# resp.findings[0].sources[0].type #=> String, one of "POLICY", "BUCKET_ACL", "S3_ACCESS_POINT"
|
875
926
|
# resp.findings[0].status #=> String, one of "ACTIVE", "ARCHIVED", "RESOLVED"
|
876
927
|
# resp.findings[0].updated_at #=> Time
|
877
928
|
# resp.next_token #=> String
|
@@ -1097,7 +1148,7 @@ module Aws::AccessAnalyzer
|
|
1097
1148
|
params: params,
|
1098
1149
|
config: config)
|
1099
1150
|
context[:gem_name] = 'aws-sdk-accessanalyzer'
|
1100
|
-
context[:gem_version] = '1.
|
1151
|
+
context[:gem_version] = '1.13.0'
|
1101
1152
|
Seahorse::Client::Request.new(handlers, context)
|
1102
1153
|
end
|
1103
1154
|
|
@@ -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:
|
@@ -20,6 +22,7 @@ module Aws::AccessAnalyzer
|
|
20
22
|
AnalyzerStatus = Shapes::StringShape.new(name: 'AnalyzerStatus')
|
21
23
|
AnalyzerSummary = Shapes::StructureShape.new(name: 'AnalyzerSummary')
|
22
24
|
AnalyzersList = Shapes::ListShape.new(name: 'AnalyzersList')
|
25
|
+
ApplyArchiveRuleRequest = Shapes::StructureShape.new(name: 'ApplyArchiveRuleRequest')
|
23
26
|
ArchiveRuleSummary = Shapes::StructureShape.new(name: 'ArchiveRuleSummary')
|
24
27
|
ArchiveRulesList = Shapes::ListShape.new(name: 'ArchiveRulesList')
|
25
28
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
@@ -134,6 +137,11 @@ module Aws::AccessAnalyzer
|
|
134
137
|
|
135
138
|
AnalyzersList.member = Shapes::ShapeRef.new(shape: AnalyzerSummary)
|
136
139
|
|
140
|
+
ApplyArchiveRuleRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
|
141
|
+
ApplyArchiveRuleRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
142
|
+
ApplyArchiveRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "ruleName"))
|
143
|
+
ApplyArchiveRuleRequest.struct_class = Types::ApplyArchiveRuleRequest
|
144
|
+
|
137
145
|
ArchiveRuleSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
138
146
|
ArchiveRuleSummary.add_member(:filter, Shapes::ShapeRef.new(shape: FilterCriteriaMap, required: true, location_name: "filter"))
|
139
147
|
ArchiveRuleSummary.add_member(:rule_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "ruleName"))
|
@@ -402,6 +410,19 @@ module Aws::AccessAnalyzer
|
|
402
410
|
"uid" => "accessanalyzer-2019-11-01",
|
403
411
|
}
|
404
412
|
|
413
|
+
api.add_operation(:apply_archive_rule, Seahorse::Model::Operation.new.tap do |o|
|
414
|
+
o.name = "ApplyArchiveRule"
|
415
|
+
o.http_method = "PUT"
|
416
|
+
o.http_request_uri = "/archive-rule"
|
417
|
+
o.input = Shapes::ShapeRef.new(shape: ApplyArchiveRuleRequest)
|
418
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
419
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
421
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
422
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
424
|
+
end)
|
425
|
+
|
405
426
|
api.add_operation(:create_analyzer, Seahorse::Model::Operation.new.tap do |o|
|
406
427
|
o.name = "CreateAnalyzer"
|
407
428
|
o.http_method = "PUT"
|
@@ -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:
|
@@ -97,6 +99,10 @@ module Aws::AccessAnalyzer
|
|
97
99
|
def retry_after_seconds
|
98
100
|
@data[:retry_after_seconds]
|
99
101
|
end
|
102
|
+
|
103
|
+
def retryable?
|
104
|
+
true
|
105
|
+
end
|
100
106
|
end
|
101
107
|
|
102
108
|
class ResourceNotFoundException < ServiceError
|
@@ -167,6 +173,14 @@ module Aws::AccessAnalyzer
|
|
167
173
|
def retry_after_seconds
|
168
174
|
@data[:retry_after_seconds]
|
169
175
|
end
|
176
|
+
|
177
|
+
def retryable?
|
178
|
+
true
|
179
|
+
end
|
180
|
+
|
181
|
+
def throttling?
|
182
|
+
true
|
183
|
+
end
|
170
184
|
end
|
171
185
|
|
172
186
|
class ValidationException < ServiceError
|
@@ -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:
|
@@ -17,6 +19,7 @@ module Aws::AccessAnalyzer
|
|
17
19
|
#
|
18
20
|
class AccessDeniedException < Struct.new(
|
19
21
|
:message)
|
22
|
+
SENSITIVE = []
|
20
23
|
include Aws::Structure
|
21
24
|
end
|
22
25
|
|
@@ -84,6 +87,7 @@ module Aws::AccessAnalyzer
|
|
84
87
|
:shared_via,
|
85
88
|
:status,
|
86
89
|
:updated_at)
|
90
|
+
SENSITIVE = []
|
87
91
|
include Aws::Structure
|
88
92
|
end
|
89
93
|
|
@@ -107,6 +111,7 @@ module Aws::AccessAnalyzer
|
|
107
111
|
:resource_arn,
|
108
112
|
:resource_owner_account,
|
109
113
|
:resource_type)
|
114
|
+
SENSITIVE = []
|
110
115
|
include Aws::Structure
|
111
116
|
end
|
112
117
|
|
@@ -172,6 +177,43 @@ module Aws::AccessAnalyzer
|
|
172
177
|
:status_reason,
|
173
178
|
:tags,
|
174
179
|
:type)
|
180
|
+
SENSITIVE = []
|
181
|
+
include Aws::Structure
|
182
|
+
end
|
183
|
+
|
184
|
+
# Retroactively applies an archive rule.
|
185
|
+
#
|
186
|
+
# @note When making an API call, you may pass ApplyArchiveRuleRequest
|
187
|
+
# data as a hash:
|
188
|
+
#
|
189
|
+
# {
|
190
|
+
# analyzer_arn: "AnalyzerArn", # required
|
191
|
+
# client_token: "String",
|
192
|
+
# rule_name: "Name", # required
|
193
|
+
# }
|
194
|
+
#
|
195
|
+
# @!attribute [rw] analyzer_arn
|
196
|
+
# The Amazon resource name (ARN) of the analyzer.
|
197
|
+
# @return [String]
|
198
|
+
#
|
199
|
+
# @!attribute [rw] client_token
|
200
|
+
# A client token.
|
201
|
+
#
|
202
|
+
# **A suitable default value is auto-generated.** You should normally
|
203
|
+
# not need to pass this option.
|
204
|
+
# @return [String]
|
205
|
+
#
|
206
|
+
# @!attribute [rw] rule_name
|
207
|
+
# The name of the rule to apply.
|
208
|
+
# @return [String]
|
209
|
+
#
|
210
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ApplyArchiveRuleRequest AWS API Documentation
|
211
|
+
#
|
212
|
+
class ApplyArchiveRuleRequest < Struct.new(
|
213
|
+
:analyzer_arn,
|
214
|
+
:client_token,
|
215
|
+
:rule_name)
|
216
|
+
SENSITIVE = []
|
175
217
|
include Aws::Structure
|
176
218
|
end
|
177
219
|
|
@@ -200,6 +242,7 @@ module Aws::AccessAnalyzer
|
|
200
242
|
:filter,
|
201
243
|
:rule_name,
|
202
244
|
:updated_at)
|
245
|
+
SENSITIVE = []
|
203
246
|
include Aws::Structure
|
204
247
|
end
|
205
248
|
|
@@ -222,6 +265,7 @@ module Aws::AccessAnalyzer
|
|
222
265
|
:message,
|
223
266
|
:resource_id,
|
224
267
|
:resource_type)
|
268
|
+
SENSITIVE = []
|
225
269
|
include Aws::Structure
|
226
270
|
end
|
227
271
|
|
@@ -286,6 +330,7 @@ module Aws::AccessAnalyzer
|
|
286
330
|
:client_token,
|
287
331
|
:tags,
|
288
332
|
:type)
|
333
|
+
SENSITIVE = []
|
289
334
|
include Aws::Structure
|
290
335
|
end
|
291
336
|
|
@@ -299,6 +344,7 @@ module Aws::AccessAnalyzer
|
|
299
344
|
#
|
300
345
|
class CreateAnalyzerResponse < Struct.new(
|
301
346
|
:arn)
|
347
|
+
SENSITIVE = []
|
302
348
|
include Aws::Structure
|
303
349
|
end
|
304
350
|
|
@@ -347,6 +393,7 @@ module Aws::AccessAnalyzer
|
|
347
393
|
:client_token,
|
348
394
|
:filter,
|
349
395
|
:rule_name)
|
396
|
+
SENSITIVE = []
|
350
397
|
include Aws::Structure
|
351
398
|
end
|
352
399
|
|
@@ -389,6 +436,7 @@ module Aws::AccessAnalyzer
|
|
389
436
|
:eq,
|
390
437
|
:exists,
|
391
438
|
:neq)
|
439
|
+
SENSITIVE = []
|
392
440
|
include Aws::Structure
|
393
441
|
end
|
394
442
|
|
@@ -418,6 +466,7 @@ module Aws::AccessAnalyzer
|
|
418
466
|
class DeleteAnalyzerRequest < Struct.new(
|
419
467
|
:analyzer_name,
|
420
468
|
:client_token)
|
469
|
+
SENSITIVE = []
|
421
470
|
include Aws::Structure
|
422
471
|
end
|
423
472
|
|
@@ -454,6 +503,7 @@ module Aws::AccessAnalyzer
|
|
454
503
|
:analyzer_name,
|
455
504
|
:client_token,
|
456
505
|
:rule_name)
|
506
|
+
SENSITIVE = []
|
457
507
|
include Aws::Structure
|
458
508
|
end
|
459
509
|
|
@@ -538,6 +588,7 @@ module Aws::AccessAnalyzer
|
|
538
588
|
:sources,
|
539
589
|
:status,
|
540
590
|
:updated_at)
|
591
|
+
SENSITIVE = []
|
541
592
|
include Aws::Structure
|
542
593
|
end
|
543
594
|
|
@@ -559,6 +610,7 @@ module Aws::AccessAnalyzer
|
|
559
610
|
class FindingSource < Struct.new(
|
560
611
|
:detail,
|
561
612
|
:type)
|
613
|
+
SENSITIVE = []
|
562
614
|
include Aws::Structure
|
563
615
|
end
|
564
616
|
|
@@ -573,6 +625,7 @@ module Aws::AccessAnalyzer
|
|
573
625
|
#
|
574
626
|
class FindingSourceDetail < Struct.new(
|
575
627
|
:access_point_arn)
|
628
|
+
SENSITIVE = []
|
576
629
|
include Aws::Structure
|
577
630
|
end
|
578
631
|
|
@@ -658,6 +711,7 @@ module Aws::AccessAnalyzer
|
|
658
711
|
:sources,
|
659
712
|
:status,
|
660
713
|
:updated_at)
|
714
|
+
SENSITIVE = []
|
661
715
|
include Aws::Structure
|
662
716
|
end
|
663
717
|
|
@@ -684,6 +738,7 @@ module Aws::AccessAnalyzer
|
|
684
738
|
class GetAnalyzedResourceRequest < Struct.new(
|
685
739
|
:analyzer_arn,
|
686
740
|
:resource_arn)
|
741
|
+
SENSITIVE = []
|
687
742
|
include Aws::Structure
|
688
743
|
end
|
689
744
|
|
@@ -698,6 +753,7 @@ module Aws::AccessAnalyzer
|
|
698
753
|
#
|
699
754
|
class GetAnalyzedResourceResponse < Struct.new(
|
700
755
|
:resource)
|
756
|
+
SENSITIVE = []
|
701
757
|
include Aws::Structure
|
702
758
|
end
|
703
759
|
|
@@ -718,6 +774,7 @@ module Aws::AccessAnalyzer
|
|
718
774
|
#
|
719
775
|
class GetAnalyzerRequest < Struct.new(
|
720
776
|
:analyzer_name)
|
777
|
+
SENSITIVE = []
|
721
778
|
include Aws::Structure
|
722
779
|
end
|
723
780
|
|
@@ -732,6 +789,7 @@ module Aws::AccessAnalyzer
|
|
732
789
|
#
|
733
790
|
class GetAnalyzerResponse < Struct.new(
|
734
791
|
:analyzer)
|
792
|
+
SENSITIVE = []
|
735
793
|
include Aws::Structure
|
736
794
|
end
|
737
795
|
|
@@ -758,6 +816,7 @@ module Aws::AccessAnalyzer
|
|
758
816
|
class GetArchiveRuleRequest < Struct.new(
|
759
817
|
:analyzer_name,
|
760
818
|
:rule_name)
|
819
|
+
SENSITIVE = []
|
761
820
|
include Aws::Structure
|
762
821
|
end
|
763
822
|
|
@@ -771,6 +830,7 @@ module Aws::AccessAnalyzer
|
|
771
830
|
#
|
772
831
|
class GetArchiveRuleResponse < Struct.new(
|
773
832
|
:archive_rule)
|
833
|
+
SENSITIVE = []
|
774
834
|
include Aws::Structure
|
775
835
|
end
|
776
836
|
|
@@ -797,6 +857,7 @@ module Aws::AccessAnalyzer
|
|
797
857
|
class GetFindingRequest < Struct.new(
|
798
858
|
:analyzer_arn,
|
799
859
|
:id)
|
860
|
+
SENSITIVE = []
|
800
861
|
include Aws::Structure
|
801
862
|
end
|
802
863
|
|
@@ -810,6 +871,7 @@ module Aws::AccessAnalyzer
|
|
810
871
|
#
|
811
872
|
class GetFindingResponse < Struct.new(
|
812
873
|
:finding)
|
874
|
+
SENSITIVE = []
|
813
875
|
include Aws::Structure
|
814
876
|
end
|
815
877
|
|
@@ -844,6 +906,7 @@ module Aws::AccessAnalyzer
|
|
844
906
|
class InlineArchiveRule < Struct.new(
|
845
907
|
:filter,
|
846
908
|
:rule_name)
|
909
|
+
SENSITIVE = []
|
847
910
|
include Aws::Structure
|
848
911
|
end
|
849
912
|
|
@@ -861,6 +924,7 @@ module Aws::AccessAnalyzer
|
|
861
924
|
class InternalServerException < Struct.new(
|
862
925
|
:message,
|
863
926
|
:retry_after_seconds)
|
927
|
+
SENSITIVE = []
|
864
928
|
include Aws::Structure
|
865
929
|
end
|
866
930
|
|
@@ -873,7 +937,7 @@ module Aws::AccessAnalyzer
|
|
873
937
|
# analyzer_arn: "AnalyzerArn", # required
|
874
938
|
# max_results: 1,
|
875
939
|
# next_token: "Token",
|
876
|
-
# resource_type: "AWS::
|
940
|
+
# resource_type: "AWS::S3::Bucket", # accepts AWS::S3::Bucket, AWS::IAM::Role, AWS::SQS::Queue, AWS::Lambda::Function, AWS::Lambda::LayerVersion, AWS::KMS::Key
|
877
941
|
# }
|
878
942
|
#
|
879
943
|
# @!attribute [rw] analyzer_arn
|
@@ -900,6 +964,7 @@ module Aws::AccessAnalyzer
|
|
900
964
|
:max_results,
|
901
965
|
:next_token,
|
902
966
|
:resource_type)
|
967
|
+
SENSITIVE = []
|
903
968
|
include Aws::Structure
|
904
969
|
end
|
905
970
|
|
@@ -918,6 +983,7 @@ module Aws::AccessAnalyzer
|
|
918
983
|
class ListAnalyzedResourcesResponse < Struct.new(
|
919
984
|
:analyzed_resources,
|
920
985
|
:next_token)
|
986
|
+
SENSITIVE = []
|
921
987
|
include Aws::Structure
|
922
988
|
end
|
923
989
|
|
@@ -950,6 +1016,7 @@ module Aws::AccessAnalyzer
|
|
950
1016
|
:max_results,
|
951
1017
|
:next_token,
|
952
1018
|
:type)
|
1019
|
+
SENSITIVE = []
|
953
1020
|
include Aws::Structure
|
954
1021
|
end
|
955
1022
|
|
@@ -968,6 +1035,7 @@ module Aws::AccessAnalyzer
|
|
968
1035
|
class ListAnalyzersResponse < Struct.new(
|
969
1036
|
:analyzers,
|
970
1037
|
:next_token)
|
1038
|
+
SENSITIVE = []
|
971
1039
|
include Aws::Structure
|
972
1040
|
end
|
973
1041
|
|
@@ -1000,6 +1068,7 @@ module Aws::AccessAnalyzer
|
|
1000
1068
|
:analyzer_name,
|
1001
1069
|
:max_results,
|
1002
1070
|
:next_token)
|
1071
|
+
SENSITIVE = []
|
1003
1072
|
include Aws::Structure
|
1004
1073
|
end
|
1005
1074
|
|
@@ -1018,6 +1087,7 @@ module Aws::AccessAnalyzer
|
|
1018
1087
|
class ListArchiveRulesResponse < Struct.new(
|
1019
1088
|
:archive_rules,
|
1020
1089
|
:next_token)
|
1090
|
+
SENSITIVE = []
|
1021
1091
|
include Aws::Structure
|
1022
1092
|
end
|
1023
1093
|
|
@@ -1072,6 +1142,7 @@ module Aws::AccessAnalyzer
|
|
1072
1142
|
:max_results,
|
1073
1143
|
:next_token,
|
1074
1144
|
:sort)
|
1145
|
+
SENSITIVE = []
|
1075
1146
|
include Aws::Structure
|
1076
1147
|
end
|
1077
1148
|
|
@@ -1091,6 +1162,7 @@ module Aws::AccessAnalyzer
|
|
1091
1162
|
class ListFindingsResponse < Struct.new(
|
1092
1163
|
:findings,
|
1093
1164
|
:next_token)
|
1165
|
+
SENSITIVE = []
|
1094
1166
|
include Aws::Structure
|
1095
1167
|
end
|
1096
1168
|
|
@@ -1111,6 +1183,7 @@ module Aws::AccessAnalyzer
|
|
1111
1183
|
#
|
1112
1184
|
class ListTagsForResourceRequest < Struct.new(
|
1113
1185
|
:resource_arn)
|
1186
|
+
SENSITIVE = []
|
1114
1187
|
include Aws::Structure
|
1115
1188
|
end
|
1116
1189
|
|
@@ -1124,6 +1197,7 @@ module Aws::AccessAnalyzer
|
|
1124
1197
|
#
|
1125
1198
|
class ListTagsForResourceResponse < Struct.new(
|
1126
1199
|
:tags)
|
1200
|
+
SENSITIVE = []
|
1127
1201
|
include Aws::Structure
|
1128
1202
|
end
|
1129
1203
|
|
@@ -1146,6 +1220,7 @@ module Aws::AccessAnalyzer
|
|
1146
1220
|
:message,
|
1147
1221
|
:resource_id,
|
1148
1222
|
:resource_type)
|
1223
|
+
SENSITIVE = []
|
1149
1224
|
include Aws::Structure
|
1150
1225
|
end
|
1151
1226
|
|
@@ -1168,6 +1243,7 @@ module Aws::AccessAnalyzer
|
|
1168
1243
|
:message,
|
1169
1244
|
:resource_id,
|
1170
1245
|
:resource_type)
|
1246
|
+
SENSITIVE = []
|
1171
1247
|
include Aws::Structure
|
1172
1248
|
end
|
1173
1249
|
|
@@ -1194,6 +1270,7 @@ module Aws::AccessAnalyzer
|
|
1194
1270
|
class SortCriteria < Struct.new(
|
1195
1271
|
:attribute_name,
|
1196
1272
|
:order_by)
|
1273
|
+
SENSITIVE = []
|
1197
1274
|
include Aws::Structure
|
1198
1275
|
end
|
1199
1276
|
|
@@ -1221,6 +1298,7 @@ module Aws::AccessAnalyzer
|
|
1221
1298
|
class StartResourceScanRequest < Struct.new(
|
1222
1299
|
:analyzer_arn,
|
1223
1300
|
:resource_arn)
|
1301
|
+
SENSITIVE = []
|
1224
1302
|
include Aws::Structure
|
1225
1303
|
end
|
1226
1304
|
|
@@ -1238,6 +1316,7 @@ module Aws::AccessAnalyzer
|
|
1238
1316
|
#
|
1239
1317
|
class StatusReason < Struct.new(
|
1240
1318
|
:code)
|
1319
|
+
SENSITIVE = []
|
1241
1320
|
include Aws::Structure
|
1242
1321
|
end
|
1243
1322
|
|
@@ -1266,6 +1345,7 @@ module Aws::AccessAnalyzer
|
|
1266
1345
|
class TagResourceRequest < Struct.new(
|
1267
1346
|
:resource_arn,
|
1268
1347
|
:tags)
|
1348
|
+
SENSITIVE = []
|
1269
1349
|
include Aws::Structure
|
1270
1350
|
end
|
1271
1351
|
|
@@ -1289,6 +1369,7 @@ module Aws::AccessAnalyzer
|
|
1289
1369
|
class ThrottlingException < Struct.new(
|
1290
1370
|
:message,
|
1291
1371
|
:retry_after_seconds)
|
1372
|
+
SENSITIVE = []
|
1292
1373
|
include Aws::Structure
|
1293
1374
|
end
|
1294
1375
|
|
@@ -1315,6 +1396,7 @@ module Aws::AccessAnalyzer
|
|
1315
1396
|
class UntagResourceRequest < Struct.new(
|
1316
1397
|
:resource_arn,
|
1317
1398
|
:tag_keys)
|
1399
|
+
SENSITIVE = []
|
1318
1400
|
include Aws::Structure
|
1319
1401
|
end
|
1320
1402
|
|
@@ -1370,6 +1452,7 @@ module Aws::AccessAnalyzer
|
|
1370
1452
|
:client_token,
|
1371
1453
|
:filter,
|
1372
1454
|
:rule_name)
|
1455
|
+
SENSITIVE = []
|
1373
1456
|
include Aws::Structure
|
1374
1457
|
end
|
1375
1458
|
|
@@ -1420,6 +1503,7 @@ module Aws::AccessAnalyzer
|
|
1420
1503
|
:ids,
|
1421
1504
|
:resource_arn,
|
1422
1505
|
:status)
|
1506
|
+
SENSITIVE = []
|
1423
1507
|
include Aws::Structure
|
1424
1508
|
end
|
1425
1509
|
|
@@ -1442,6 +1526,7 @@ module Aws::AccessAnalyzer
|
|
1442
1526
|
:field_list,
|
1443
1527
|
:message,
|
1444
1528
|
:reason)
|
1529
|
+
SENSITIVE = []
|
1445
1530
|
include Aws::Structure
|
1446
1531
|
end
|
1447
1532
|
|
@@ -1460,6 +1545,7 @@ module Aws::AccessAnalyzer
|
|
1460
1545
|
class ValidationExceptionField < Struct.new(
|
1461
1546
|
:message,
|
1462
1547
|
:name)
|
1548
|
+
SENSITIVE = []
|
1463
1549
|
include Aws::Structure
|
1464
1550
|
end
|
1465
1551
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-accessanalyzer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.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-10-15 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.109.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.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|