aws-sdk-s3control 1.7.0 → 1.8.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 +4 -4
- data/lib/aws-sdk-s3control.rb +1 -1
- data/lib/aws-sdk-s3control/client.rb +1 -1
- data/lib/aws-sdk-s3control/client_api.rb +27 -0
- data/lib/aws-sdk-s3control/errors.rb +144 -0
- data/lib/aws-sdk-s3control/types.rb +90 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0dc613133931a89bae7af56133f4012868fea90
|
4
|
+
data.tar.gz: 63998d598202f404fa0e738ba43bde76202b990d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84739d2550b98ff221b3c8850f690ce538985eb757b1c0149a3aa98cf53a556d9ec468414802aadaa28e23ad3d689dac4df527888f78abd3b3dea34099894d78
|
7
|
+
data.tar.gz: cbbeb5d339f0143a8b499097377ec7f307d8df3d1aacdbc0f1fd42efde140fefe2946f4c88777f87f314e1c045911d93c4bedde6a6444f674e1b34d7ed6bef9a
|
data/lib/aws-sdk-s3control.rb
CHANGED
@@ -114,6 +114,9 @@ module Aws::S3Control
|
|
114
114
|
UpdateJobStatusRequest = Shapes::StructureShape.new(name: 'UpdateJobStatusRequest')
|
115
115
|
UpdateJobStatusResult = Shapes::StructureShape.new(name: 'UpdateJobStatusResult')
|
116
116
|
|
117
|
+
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
118
|
+
BadRequestException.struct_class = Types::BadRequestException
|
119
|
+
|
117
120
|
CreateJobRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id"))
|
118
121
|
CreateJobRequest.add_member(:confirmation_required, Shapes::ShapeRef.new(shape: ConfirmationRequired, location_name: "ConfirmationRequired", metadata: {"box"=>true}))
|
119
122
|
CreateJobRequest.add_member(:operation, Shapes::ShapeRef.new(shape: JobOperation, required: true, location_name: "Operation"))
|
@@ -146,6 +149,18 @@ module Aws::S3Control
|
|
146
149
|
GetPublicAccessBlockRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id"))
|
147
150
|
GetPublicAccessBlockRequest.struct_class = Types::GetPublicAccessBlockRequest
|
148
151
|
|
152
|
+
IdempotencyException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
153
|
+
IdempotencyException.struct_class = Types::IdempotencyException
|
154
|
+
|
155
|
+
InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
156
|
+
InternalServiceException.struct_class = Types::InternalServiceException
|
157
|
+
|
158
|
+
InvalidNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
159
|
+
InvalidNextTokenException.struct_class = Types::InvalidNextTokenException
|
160
|
+
|
161
|
+
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
162
|
+
InvalidRequestException.struct_class = Types::InvalidRequestException
|
163
|
+
|
149
164
|
JobDescriptor.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
150
165
|
JobDescriptor.add_member(:confirmation_required, Shapes::ShapeRef.new(shape: ConfirmationRequired, location_name: "ConfirmationRequired", metadata: {"box"=>true}))
|
151
166
|
JobDescriptor.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyMaxLength256String, location_name: "Description", metadata: {"box"=>true}))
|
@@ -217,6 +232,9 @@ module Aws::S3Control
|
|
217
232
|
JobReport.add_member(:report_scope, Shapes::ShapeRef.new(shape: JobReportScope, location_name: "ReportScope", metadata: {"box"=>true}))
|
218
233
|
JobReport.struct_class = Types::JobReport
|
219
234
|
|
235
|
+
JobStatusException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
236
|
+
JobStatusException.struct_class = Types::JobStatusException
|
237
|
+
|
220
238
|
JobStatusList.member = Shapes::ShapeRef.new(shape: JobStatus)
|
221
239
|
|
222
240
|
LambdaInvokeOperation.add_member(:function_arn, Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String, location_name: "FunctionArn"))
|
@@ -232,6 +250,12 @@ module Aws::S3Control
|
|
232
250
|
ListJobsResult.add_member(:jobs, Shapes::ShapeRef.new(shape: JobListDescriptorList, location_name: "Jobs"))
|
233
251
|
ListJobsResult.struct_class = Types::ListJobsResult
|
234
252
|
|
253
|
+
NoSuchPublicAccessBlockConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: NoSuchPublicAccessBlockConfigurationMessage, location_name: "Message"))
|
254
|
+
NoSuchPublicAccessBlockConfiguration.struct_class = Types::NoSuchPublicAccessBlockConfiguration
|
255
|
+
|
256
|
+
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
257
|
+
NotFoundException.struct_class = Types::NotFoundException
|
258
|
+
|
235
259
|
PublicAccessBlockConfiguration.add_member(:block_public_acls, Shapes::ShapeRef.new(shape: Setting, location_name: "BlockPublicAcls"))
|
236
260
|
PublicAccessBlockConfiguration.add_member(:ignore_public_acls, Shapes::ShapeRef.new(shape: Setting, location_name: "IgnorePublicAcls"))
|
237
261
|
PublicAccessBlockConfiguration.add_member(:block_public_policy, Shapes::ShapeRef.new(shape: Setting, location_name: "BlockPublicPolicy"))
|
@@ -317,6 +341,9 @@ module Aws::S3Control
|
|
317
341
|
S3UserMetadata.key = Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String)
|
318
342
|
S3UserMetadata.value = Shapes::ShapeRef.new(shape: MaxLength1024String)
|
319
343
|
|
344
|
+
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
345
|
+
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
346
|
+
|
320
347
|
UpdateJobPriorityRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id"))
|
321
348
|
UpdateJobPriorityRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "id"))
|
322
349
|
UpdateJobPriorityRequest.add_member(:priority, Shapes::ShapeRef.new(shape: JobPriority, required: true, location: "querystring", location_name: "priority"))
|
@@ -10,5 +10,149 @@ module Aws::S3Control
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class BadRequestException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::S3Control::Types::BadRequestException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class IdempotencyException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::S3Control::Types::IdempotencyException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
class InternalServiceException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::S3Control::Types::InternalServiceException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
class InvalidNextTokenException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::S3Control::Types::InvalidNextTokenException] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
|
70
|
+
# @return [String]
|
71
|
+
def message
|
72
|
+
@message || @data[:message]
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
77
|
+
class InvalidRequestException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::S3Control::Types::InvalidRequestException] data
|
82
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
83
|
+
super(context, message, data)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String]
|
87
|
+
def message
|
88
|
+
@message || @data[:message]
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
92
|
+
|
93
|
+
class JobStatusException < ServiceError
|
94
|
+
|
95
|
+
# @param [Seahorse::Client::RequestContext] context
|
96
|
+
# @param [String] message
|
97
|
+
# @param [Aws::S3Control::Types::JobStatusException] data
|
98
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
99
|
+
super(context, message, data)
|
100
|
+
end
|
101
|
+
|
102
|
+
# @return [String]
|
103
|
+
def message
|
104
|
+
@message || @data[:message]
|
105
|
+
end
|
106
|
+
|
107
|
+
end
|
108
|
+
|
109
|
+
class NoSuchPublicAccessBlockConfiguration < ServiceError
|
110
|
+
|
111
|
+
# @param [Seahorse::Client::RequestContext] context
|
112
|
+
# @param [String] message
|
113
|
+
# @param [Aws::S3Control::Types::NoSuchPublicAccessBlockConfiguration] data
|
114
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
115
|
+
super(context, message, data)
|
116
|
+
end
|
117
|
+
|
118
|
+
# @return [String]
|
119
|
+
def message
|
120
|
+
@message || @data[:message]
|
121
|
+
end
|
122
|
+
|
123
|
+
end
|
124
|
+
|
125
|
+
class NotFoundException < ServiceError
|
126
|
+
|
127
|
+
# @param [Seahorse::Client::RequestContext] context
|
128
|
+
# @param [String] message
|
129
|
+
# @param [Aws::S3Control::Types::NotFoundException] data
|
130
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
131
|
+
super(context, message, data)
|
132
|
+
end
|
133
|
+
|
134
|
+
# @return [String]
|
135
|
+
def message
|
136
|
+
@message || @data[:message]
|
137
|
+
end
|
138
|
+
|
139
|
+
end
|
140
|
+
|
141
|
+
class TooManyRequestsException < ServiceError
|
142
|
+
|
143
|
+
# @param [Seahorse::Client::RequestContext] context
|
144
|
+
# @param [String] message
|
145
|
+
# @param [Aws::S3Control::Types::TooManyRequestsException] data
|
146
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
147
|
+
super(context, message, data)
|
148
|
+
end
|
149
|
+
|
150
|
+
# @return [String]
|
151
|
+
def message
|
152
|
+
@message || @data[:message]
|
153
|
+
end
|
154
|
+
|
155
|
+
end
|
156
|
+
|
13
157
|
end
|
14
158
|
end
|
@@ -8,6 +8,16 @@
|
|
8
8
|
module Aws::S3Control
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# @!attribute [rw] message
|
12
|
+
# @return [String]
|
13
|
+
#
|
14
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/BadRequestException AWS API Documentation
|
15
|
+
#
|
16
|
+
class BadRequestException < Struct.new(
|
17
|
+
:message)
|
18
|
+
include Aws::Structure
|
19
|
+
end
|
20
|
+
|
11
21
|
# @note When making an API call, you may pass CreateJobRequest
|
12
22
|
# data as a hash:
|
13
23
|
#
|
@@ -284,6 +294,46 @@ module Aws::S3Control
|
|
284
294
|
include Aws::Structure
|
285
295
|
end
|
286
296
|
|
297
|
+
# @!attribute [rw] message
|
298
|
+
# @return [String]
|
299
|
+
#
|
300
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/IdempotencyException AWS API Documentation
|
301
|
+
#
|
302
|
+
class IdempotencyException < Struct.new(
|
303
|
+
:message)
|
304
|
+
include Aws::Structure
|
305
|
+
end
|
306
|
+
|
307
|
+
# @!attribute [rw] message
|
308
|
+
# @return [String]
|
309
|
+
#
|
310
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/InternalServiceException AWS API Documentation
|
311
|
+
#
|
312
|
+
class InternalServiceException < Struct.new(
|
313
|
+
:message)
|
314
|
+
include Aws::Structure
|
315
|
+
end
|
316
|
+
|
317
|
+
# @!attribute [rw] message
|
318
|
+
# @return [String]
|
319
|
+
#
|
320
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/InvalidNextTokenException AWS API Documentation
|
321
|
+
#
|
322
|
+
class InvalidNextTokenException < Struct.new(
|
323
|
+
:message)
|
324
|
+
include Aws::Structure
|
325
|
+
end
|
326
|
+
|
327
|
+
# @!attribute [rw] message
|
328
|
+
# @return [String]
|
329
|
+
#
|
330
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/InvalidRequestException AWS API Documentation
|
331
|
+
#
|
332
|
+
class InvalidRequestException < Struct.new(
|
333
|
+
:message)
|
334
|
+
include Aws::Structure
|
335
|
+
end
|
336
|
+
|
287
337
|
# A container element for the job configuration and status information
|
288
338
|
# returned by a `Describe Job` request.
|
289
339
|
#
|
@@ -769,6 +819,16 @@ module Aws::S3Control
|
|
769
819
|
include Aws::Structure
|
770
820
|
end
|
771
821
|
|
822
|
+
# @!attribute [rw] message
|
823
|
+
# @return [String]
|
824
|
+
#
|
825
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/JobStatusException AWS API Documentation
|
826
|
+
#
|
827
|
+
class JobStatusException < Struct.new(
|
828
|
+
:message)
|
829
|
+
include Aws::Structure
|
830
|
+
end
|
831
|
+
|
772
832
|
# Contains the configuration parameters for a `Lambda Invoke` operation.
|
773
833
|
#
|
774
834
|
# @note When making an API call, you may pass LambdaInvokeOperation
|
@@ -850,6 +910,26 @@ module Aws::S3Control
|
|
850
910
|
include Aws::Structure
|
851
911
|
end
|
852
912
|
|
913
|
+
# @!attribute [rw] message
|
914
|
+
# @return [String]
|
915
|
+
#
|
916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/NoSuchPublicAccessBlockConfiguration AWS API Documentation
|
917
|
+
#
|
918
|
+
class NoSuchPublicAccessBlockConfiguration < Struct.new(
|
919
|
+
:message)
|
920
|
+
include Aws::Structure
|
921
|
+
end
|
922
|
+
|
923
|
+
# @!attribute [rw] message
|
924
|
+
# @return [String]
|
925
|
+
#
|
926
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/NotFoundException AWS API Documentation
|
927
|
+
#
|
928
|
+
class NotFoundException < Struct.new(
|
929
|
+
:message)
|
930
|
+
include Aws::Structure
|
931
|
+
end
|
932
|
+
|
853
933
|
# @note When making an API call, you may pass PublicAccessBlockConfiguration
|
854
934
|
# data as a hash:
|
855
935
|
#
|
@@ -1381,6 +1461,16 @@ module Aws::S3Control
|
|
1381
1461
|
include Aws::Structure
|
1382
1462
|
end
|
1383
1463
|
|
1464
|
+
# @!attribute [rw] message
|
1465
|
+
# @return [String]
|
1466
|
+
#
|
1467
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/TooManyRequestsException AWS API Documentation
|
1468
|
+
#
|
1469
|
+
class TooManyRequestsException < Struct.new(
|
1470
|
+
:message)
|
1471
|
+
include Aws::Structure
|
1472
|
+
end
|
1473
|
+
|
1384
1474
|
# @note When making an API call, you may pass UpdateJobPriorityRequest
|
1385
1475
|
# data as a hash:
|
1386
1476
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3control
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.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: 2019-05-
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '3'
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 3.
|
36
|
+
version: 3.53.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '3'
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.
|
46
|
+
version: 3.53.0
|
47
47
|
description: Official AWS Ruby gem for AWS S3 Control. This gem is part of the AWS
|
48
48
|
SDK for Ruby.
|
49
49
|
email:
|