aws-sdk-qldb 1.3.0 → 1.8.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-qldb.rb +4 -2
- data/lib/aws-sdk-qldb/client.rb +285 -5
- data/lib/aws-sdk-qldb/client_api.rb +121 -0
- data/lib/aws-sdk-qldb/errors.rb +2 -0
- data/lib/aws-sdk-qldb/resource.rb +2 -0
- data/lib/aws-sdk-qldb/types.rb +399 -4
- metadata +4 -4
data/lib/aws-sdk-qldb/errors.rb
CHANGED
data/lib/aws-sdk-qldb/types.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:
|
@@ -8,6 +10,43 @@
|
|
8
10
|
module Aws::QLDB
|
9
11
|
module Types
|
10
12
|
|
13
|
+
# @note When making an API call, you may pass CancelJournalKinesisStreamRequest
|
14
|
+
# data as a hash:
|
15
|
+
#
|
16
|
+
# {
|
17
|
+
# ledger_name: "LedgerName", # required
|
18
|
+
# stream_id: "UniqueId", # required
|
19
|
+
# }
|
20
|
+
#
|
21
|
+
# @!attribute [rw] ledger_name
|
22
|
+
# The name of the ledger.
|
23
|
+
# @return [String]
|
24
|
+
#
|
25
|
+
# @!attribute [rw] stream_id
|
26
|
+
# The unique ID that QLDB assigns to each QLDB journal stream.
|
27
|
+
# @return [String]
|
28
|
+
#
|
29
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/CancelJournalKinesisStreamRequest AWS API Documentation
|
30
|
+
#
|
31
|
+
class CancelJournalKinesisStreamRequest < Struct.new(
|
32
|
+
:ledger_name,
|
33
|
+
:stream_id)
|
34
|
+
SENSITIVE = []
|
35
|
+
include Aws::Structure
|
36
|
+
end
|
37
|
+
|
38
|
+
# @!attribute [rw] stream_id
|
39
|
+
# The unique ID that QLDB assigns to each QLDB journal stream.
|
40
|
+
# @return [String]
|
41
|
+
#
|
42
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/CancelJournalKinesisStreamResponse AWS API Documentation
|
43
|
+
#
|
44
|
+
class CancelJournalKinesisStreamResponse < Struct.new(
|
45
|
+
:stream_id)
|
46
|
+
SENSITIVE = []
|
47
|
+
include Aws::Structure
|
48
|
+
end
|
49
|
+
|
11
50
|
# @note When making an API call, you may pass CreateLedgerRequest
|
12
51
|
# data as a hash:
|
13
52
|
#
|
@@ -23,6 +62,13 @@ module Aws::QLDB
|
|
23
62
|
# @!attribute [rw] name
|
24
63
|
# The name of the ledger that you want to create. The name must be
|
25
64
|
# unique among all of your ledgers in the current AWS Region.
|
65
|
+
#
|
66
|
+
# Naming constraints for ledger names are defined in [Quotas in Amazon
|
67
|
+
# QLDB][1] in the *Amazon QLDB Developer Guide*.
|
68
|
+
#
|
69
|
+
#
|
70
|
+
#
|
71
|
+
# [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/limits.html#limits.naming
|
26
72
|
# @return [String]
|
27
73
|
#
|
28
74
|
# @!attribute [rw] tags
|
@@ -56,6 +102,7 @@ module Aws::QLDB
|
|
56
102
|
:tags,
|
57
103
|
:permissions_mode,
|
58
104
|
:deletion_protection)
|
105
|
+
SENSITIVE = []
|
59
106
|
include Aws::Structure
|
60
107
|
end
|
61
108
|
|
@@ -98,6 +145,7 @@ module Aws::QLDB
|
|
98
145
|
:state,
|
99
146
|
:creation_date_time,
|
100
147
|
:deletion_protection)
|
148
|
+
SENSITIVE = []
|
101
149
|
include Aws::Structure
|
102
150
|
end
|
103
151
|
|
@@ -116,6 +164,45 @@ module Aws::QLDB
|
|
116
164
|
#
|
117
165
|
class DeleteLedgerRequest < Struct.new(
|
118
166
|
:name)
|
167
|
+
SENSITIVE = []
|
168
|
+
include Aws::Structure
|
169
|
+
end
|
170
|
+
|
171
|
+
# @note When making an API call, you may pass DescribeJournalKinesisStreamRequest
|
172
|
+
# data as a hash:
|
173
|
+
#
|
174
|
+
# {
|
175
|
+
# ledger_name: "LedgerName", # required
|
176
|
+
# stream_id: "UniqueId", # required
|
177
|
+
# }
|
178
|
+
#
|
179
|
+
# @!attribute [rw] ledger_name
|
180
|
+
# The name of the ledger.
|
181
|
+
# @return [String]
|
182
|
+
#
|
183
|
+
# @!attribute [rw] stream_id
|
184
|
+
# The unique ID that QLDB assigns to each QLDB journal stream.
|
185
|
+
# @return [String]
|
186
|
+
#
|
187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/DescribeJournalKinesisStreamRequest AWS API Documentation
|
188
|
+
#
|
189
|
+
class DescribeJournalKinesisStreamRequest < Struct.new(
|
190
|
+
:ledger_name,
|
191
|
+
:stream_id)
|
192
|
+
SENSITIVE = []
|
193
|
+
include Aws::Structure
|
194
|
+
end
|
195
|
+
|
196
|
+
# @!attribute [rw] stream
|
197
|
+
# Information about the QLDB journal stream returned by a
|
198
|
+
# `DescribeJournalS3Export` request.
|
199
|
+
# @return [Types::JournalKinesisStreamDescription]
|
200
|
+
#
|
201
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/DescribeJournalKinesisStreamResponse AWS API Documentation
|
202
|
+
#
|
203
|
+
class DescribeJournalKinesisStreamResponse < Struct.new(
|
204
|
+
:stream)
|
205
|
+
SENSITIVE = []
|
119
206
|
include Aws::Structure
|
120
207
|
end
|
121
208
|
|
@@ -140,6 +227,7 @@ module Aws::QLDB
|
|
140
227
|
class DescribeJournalS3ExportRequest < Struct.new(
|
141
228
|
:name,
|
142
229
|
:export_id)
|
230
|
+
SENSITIVE = []
|
143
231
|
include Aws::Structure
|
144
232
|
end
|
145
233
|
|
@@ -152,6 +240,7 @@ module Aws::QLDB
|
|
152
240
|
#
|
153
241
|
class DescribeJournalS3ExportResponse < Struct.new(
|
154
242
|
:export_description)
|
243
|
+
SENSITIVE = []
|
155
244
|
include Aws::Structure
|
156
245
|
end
|
157
246
|
|
@@ -170,6 +259,7 @@ module Aws::QLDB
|
|
170
259
|
#
|
171
260
|
class DescribeLedgerRequest < Struct.new(
|
172
261
|
:name)
|
262
|
+
SENSITIVE = []
|
173
263
|
include Aws::Structure
|
174
264
|
end
|
175
265
|
|
@@ -212,6 +302,7 @@ module Aws::QLDB
|
|
212
302
|
:state,
|
213
303
|
:creation_date_time,
|
214
304
|
:deletion_protection)
|
305
|
+
SENSITIVE = []
|
215
306
|
include Aws::Structure
|
216
307
|
end
|
217
308
|
|
@@ -289,6 +380,7 @@ module Aws::QLDB
|
|
289
380
|
:exclusive_end_time,
|
290
381
|
:s3_export_configuration,
|
291
382
|
:role_arn)
|
383
|
+
SENSITIVE = []
|
292
384
|
include Aws::Structure
|
293
385
|
end
|
294
386
|
|
@@ -303,6 +395,7 @@ module Aws::QLDB
|
|
303
395
|
#
|
304
396
|
class ExportJournalToS3Response < Struct.new(
|
305
397
|
:export_id)
|
398
|
+
SENSITIVE = []
|
306
399
|
include Aws::Structure
|
307
400
|
end
|
308
401
|
|
@@ -345,6 +438,7 @@ module Aws::QLDB
|
|
345
438
|
:name,
|
346
439
|
:block_address,
|
347
440
|
:digest_tip_address)
|
441
|
+
SENSITIVE = [:block_address, :digest_tip_address]
|
348
442
|
include Aws::Structure
|
349
443
|
end
|
350
444
|
|
@@ -364,6 +458,7 @@ module Aws::QLDB
|
|
364
458
|
class GetBlockResponse < Struct.new(
|
365
459
|
:block,
|
366
460
|
:proof)
|
461
|
+
SENSITIVE = [:block, :proof]
|
367
462
|
include Aws::Structure
|
368
463
|
end
|
369
464
|
|
@@ -382,6 +477,7 @@ module Aws::QLDB
|
|
382
477
|
#
|
383
478
|
class GetDigestRequest < Struct.new(
|
384
479
|
:name)
|
480
|
+
SENSITIVE = []
|
385
481
|
include Aws::Structure
|
386
482
|
end
|
387
483
|
|
@@ -401,6 +497,7 @@ module Aws::QLDB
|
|
401
497
|
class GetDigestResponse < Struct.new(
|
402
498
|
:digest,
|
403
499
|
:digest_tip_address)
|
500
|
+
SENSITIVE = [:digest_tip_address]
|
404
501
|
include Aws::Structure
|
405
502
|
end
|
406
503
|
|
@@ -449,6 +546,7 @@ module Aws::QLDB
|
|
449
546
|
:block_address,
|
450
547
|
:document_id,
|
451
548
|
:digest_tip_address)
|
549
|
+
SENSITIVE = [:block_address, :digest_tip_address]
|
452
550
|
include Aws::Structure
|
453
551
|
end
|
454
552
|
|
@@ -468,6 +566,7 @@ module Aws::QLDB
|
|
468
566
|
class GetRevisionResponse < Struct.new(
|
469
567
|
:proof,
|
470
568
|
:revision)
|
569
|
+
SENSITIVE = [:proof, :revision]
|
471
570
|
include Aws::Structure
|
472
571
|
end
|
473
572
|
|
@@ -485,6 +584,83 @@ module Aws::QLDB
|
|
485
584
|
class InvalidParameterException < Struct.new(
|
486
585
|
:message,
|
487
586
|
:parameter_name)
|
587
|
+
SENSITIVE = []
|
588
|
+
include Aws::Structure
|
589
|
+
end
|
590
|
+
|
591
|
+
# The information about an Amazon QLDB journal stream, including the
|
592
|
+
# Amazon Resource Name (ARN), stream name, creation time, current
|
593
|
+
# status, and the parameters of your original stream creation request.
|
594
|
+
#
|
595
|
+
# @!attribute [rw] ledger_name
|
596
|
+
# The name of the ledger.
|
597
|
+
# @return [String]
|
598
|
+
#
|
599
|
+
# @!attribute [rw] creation_time
|
600
|
+
# The date and time, in epoch time format, when the QLDB journal
|
601
|
+
# stream was created. (Epoch time format is the number of seconds
|
602
|
+
# elapsed since 12:00:00 AM January 1, 1970 UTC.)
|
603
|
+
# @return [Time]
|
604
|
+
#
|
605
|
+
# @!attribute [rw] inclusive_start_time
|
606
|
+
# The inclusive start date and time from which to start streaming
|
607
|
+
# journal data.
|
608
|
+
# @return [Time]
|
609
|
+
#
|
610
|
+
# @!attribute [rw] exclusive_end_time
|
611
|
+
# The exclusive date and time that specifies when the stream ends. If
|
612
|
+
# this parameter is blank, the stream runs indefinitely until you
|
613
|
+
# cancel it.
|
614
|
+
# @return [Time]
|
615
|
+
#
|
616
|
+
# @!attribute [rw] role_arn
|
617
|
+
# The Amazon Resource Name (ARN) of the IAM role that grants QLDB
|
618
|
+
# permissions for a journal stream to write data records to a Kinesis
|
619
|
+
# Data Streams resource.
|
620
|
+
# @return [String]
|
621
|
+
#
|
622
|
+
# @!attribute [rw] stream_id
|
623
|
+
# The unique ID that QLDB assigns to each QLDB journal stream.
|
624
|
+
# @return [String]
|
625
|
+
#
|
626
|
+
# @!attribute [rw] arn
|
627
|
+
# The Amazon Resource Name (ARN) of the QLDB journal stream.
|
628
|
+
# @return [String]
|
629
|
+
#
|
630
|
+
# @!attribute [rw] status
|
631
|
+
# The current state of the QLDB journal stream.
|
632
|
+
# @return [String]
|
633
|
+
#
|
634
|
+
# @!attribute [rw] kinesis_configuration
|
635
|
+
# The configuration settings of the Amazon Kinesis Data Streams
|
636
|
+
# destination for your QLDB journal stream.
|
637
|
+
# @return [Types::KinesisConfiguration]
|
638
|
+
#
|
639
|
+
# @!attribute [rw] error_cause
|
640
|
+
# The error message that describes the reason that a stream has a
|
641
|
+
# status of `IMPAIRED` or `FAILED`. This is not applicable to streams
|
642
|
+
# that have other status values.
|
643
|
+
# @return [String]
|
644
|
+
#
|
645
|
+
# @!attribute [rw] stream_name
|
646
|
+
# The user-defined name of the QLDB journal stream.
|
647
|
+
# @return [String]
|
648
|
+
#
|
649
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/JournalKinesisStreamDescription AWS API Documentation
|
650
|
+
#
|
651
|
+
class JournalKinesisStreamDescription < Struct.new(
|
652
|
+
:ledger_name,
|
653
|
+
:creation_time,
|
654
|
+
:inclusive_start_time,
|
655
|
+
:exclusive_end_time,
|
656
|
+
:role_arn,
|
657
|
+
:stream_id,
|
658
|
+
:arn,
|
659
|
+
:status,
|
660
|
+
:kinesis_configuration,
|
661
|
+
:error_cause,
|
662
|
+
:stream_name)
|
663
|
+
SENSITIVE = []
|
488
664
|
include Aws::Structure
|
489
665
|
end
|
490
666
|
|
@@ -548,6 +724,41 @@ module Aws::QLDB
|
|
548
724
|
:exclusive_end_time,
|
549
725
|
:s3_export_configuration,
|
550
726
|
:role_arn)
|
727
|
+
SENSITIVE = []
|
728
|
+
include Aws::Structure
|
729
|
+
end
|
730
|
+
|
731
|
+
# The configuration settings of the Amazon Kinesis Data Streams
|
732
|
+
# destination for your Amazon QLDB journal stream.
|
733
|
+
#
|
734
|
+
# @note When making an API call, you may pass KinesisConfiguration
|
735
|
+
# data as a hash:
|
736
|
+
#
|
737
|
+
# {
|
738
|
+
# stream_arn: "Arn", # required
|
739
|
+
# aggregation_enabled: false,
|
740
|
+
# }
|
741
|
+
#
|
742
|
+
# @!attribute [rw] stream_arn
|
743
|
+
# The Amazon Resource Name (ARN) of the Kinesis data stream resource.
|
744
|
+
# @return [String]
|
745
|
+
#
|
746
|
+
# @!attribute [rw] aggregation_enabled
|
747
|
+
# Enables QLDB to publish multiple data records in a single Kinesis
|
748
|
+
# Data Streams record. To learn more, see [KPL Key Concepts][1] in the
|
749
|
+
# *Amazon Kinesis Data Streams Developer Guide*.
|
750
|
+
#
|
751
|
+
#
|
752
|
+
#
|
753
|
+
# [1]: https://docs.aws.amazon.com/streams/latest/dev/kinesis-kpl-concepts.html
|
754
|
+
# @return [Boolean]
|
755
|
+
#
|
756
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/KinesisConfiguration AWS API Documentation
|
757
|
+
#
|
758
|
+
class KinesisConfiguration < Struct.new(
|
759
|
+
:stream_arn,
|
760
|
+
:aggregation_enabled)
|
761
|
+
SENSITIVE = []
|
551
762
|
include Aws::Structure
|
552
763
|
end
|
553
764
|
|
@@ -574,6 +785,7 @@ module Aws::QLDB
|
|
574
785
|
:name,
|
575
786
|
:state,
|
576
787
|
:creation_date_time)
|
788
|
+
SENSITIVE = []
|
577
789
|
include Aws::Structure
|
578
790
|
end
|
579
791
|
|
@@ -591,6 +803,66 @@ module Aws::QLDB
|
|
591
803
|
class LimitExceededException < Struct.new(
|
592
804
|
:message,
|
593
805
|
:resource_type)
|
806
|
+
SENSITIVE = []
|
807
|
+
include Aws::Structure
|
808
|
+
end
|
809
|
+
|
810
|
+
# @note When making an API call, you may pass ListJournalKinesisStreamsForLedgerRequest
|
811
|
+
# data as a hash:
|
812
|
+
#
|
813
|
+
# {
|
814
|
+
# ledger_name: "LedgerName", # required
|
815
|
+
# max_results: 1,
|
816
|
+
# next_token: "NextToken",
|
817
|
+
# }
|
818
|
+
#
|
819
|
+
# @!attribute [rw] ledger_name
|
820
|
+
# The name of the ledger.
|
821
|
+
# @return [String]
|
822
|
+
#
|
823
|
+
# @!attribute [rw] max_results
|
824
|
+
# The maximum number of results to return in a single
|
825
|
+
# `ListJournalKinesisStreamsForLedger` request. (The actual number of
|
826
|
+
# results returned might be fewer.)
|
827
|
+
# @return [Integer]
|
828
|
+
#
|
829
|
+
# @!attribute [rw] next_token
|
830
|
+
# A pagination token, indicating that you want to retrieve the next
|
831
|
+
# page of results. If you received a value for `NextToken` in the
|
832
|
+
# response from a previous `ListJournalKinesisStreamsForLedger` call,
|
833
|
+
# you should use that value as input here.
|
834
|
+
# @return [String]
|
835
|
+
#
|
836
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ListJournalKinesisStreamsForLedgerRequest AWS API Documentation
|
837
|
+
#
|
838
|
+
class ListJournalKinesisStreamsForLedgerRequest < Struct.new(
|
839
|
+
:ledger_name,
|
840
|
+
:max_results,
|
841
|
+
:next_token)
|
842
|
+
SENSITIVE = []
|
843
|
+
include Aws::Structure
|
844
|
+
end
|
845
|
+
|
846
|
+
# @!attribute [rw] streams
|
847
|
+
# The array of QLDB journal stream descriptors that are associated
|
848
|
+
# with the given ledger.
|
849
|
+
# @return [Array<Types::JournalKinesisStreamDescription>]
|
850
|
+
#
|
851
|
+
# @!attribute [rw] next_token
|
852
|
+
# * If `NextToken` is empty, the last page of results has been
|
853
|
+
# processed and there are no more results to be retrieved.
|
854
|
+
#
|
855
|
+
# * If `NextToken` is *not* empty, more results are available. To
|
856
|
+
# retrieve the next page of results, use the value of `NextToken` in
|
857
|
+
# a subsequent `ListJournalKinesisStreamsForLedger` call.
|
858
|
+
# @return [String]
|
859
|
+
#
|
860
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ListJournalKinesisStreamsForLedgerResponse AWS API Documentation
|
861
|
+
#
|
862
|
+
class ListJournalKinesisStreamsForLedgerResponse < Struct.new(
|
863
|
+
:streams,
|
864
|
+
:next_token)
|
865
|
+
SENSITIVE = []
|
594
866
|
include Aws::Structure
|
595
867
|
end
|
596
868
|
|
@@ -626,6 +898,7 @@ module Aws::QLDB
|
|
626
898
|
:name,
|
627
899
|
:max_results,
|
628
900
|
:next_token)
|
901
|
+
SENSITIVE = []
|
629
902
|
include Aws::Structure
|
630
903
|
end
|
631
904
|
|
@@ -648,6 +921,7 @@ module Aws::QLDB
|
|
648
921
|
class ListJournalS3ExportsForLedgerResponse < Struct.new(
|
649
922
|
:journal_s3_exports,
|
650
923
|
:next_token)
|
924
|
+
SENSITIVE = []
|
651
925
|
include Aws::Structure
|
652
926
|
end
|
653
927
|
|
@@ -677,6 +951,7 @@ module Aws::QLDB
|
|
677
951
|
class ListJournalS3ExportsRequest < Struct.new(
|
678
952
|
:max_results,
|
679
953
|
:next_token)
|
954
|
+
SENSITIVE = []
|
680
955
|
include Aws::Structure
|
681
956
|
end
|
682
957
|
|
@@ -699,6 +974,7 @@ module Aws::QLDB
|
|
699
974
|
class ListJournalS3ExportsResponse < Struct.new(
|
700
975
|
:journal_s3_exports,
|
701
976
|
:next_token)
|
977
|
+
SENSITIVE = []
|
702
978
|
include Aws::Structure
|
703
979
|
end
|
704
980
|
|
@@ -727,6 +1003,7 @@ module Aws::QLDB
|
|
727
1003
|
class ListLedgersRequest < Struct.new(
|
728
1004
|
:max_results,
|
729
1005
|
:next_token)
|
1006
|
+
SENSITIVE = []
|
730
1007
|
include Aws::Structure
|
731
1008
|
end
|
732
1009
|
|
@@ -752,6 +1029,7 @@ module Aws::QLDB
|
|
752
1029
|
class ListLedgersResponse < Struct.new(
|
753
1030
|
:ledgers,
|
754
1031
|
:next_token)
|
1032
|
+
SENSITIVE = []
|
755
1033
|
include Aws::Structure
|
756
1034
|
end
|
757
1035
|
|
@@ -773,6 +1051,7 @@ module Aws::QLDB
|
|
773
1051
|
#
|
774
1052
|
class ListTagsForResourceRequest < Struct.new(
|
775
1053
|
:resource_arn)
|
1054
|
+
SENSITIVE = []
|
776
1055
|
include Aws::Structure
|
777
1056
|
end
|
778
1057
|
|
@@ -785,6 +1064,7 @@ module Aws::QLDB
|
|
785
1064
|
#
|
786
1065
|
class ListTagsForResourceResponse < Struct.new(
|
787
1066
|
:tags)
|
1067
|
+
SENSITIVE = []
|
788
1068
|
include Aws::Structure
|
789
1069
|
end
|
790
1070
|
|
@@ -807,6 +1087,7 @@ module Aws::QLDB
|
|
807
1087
|
:message,
|
808
1088
|
:resource_type,
|
809
1089
|
:resource_name)
|
1090
|
+
SENSITIVE = []
|
810
1091
|
include Aws::Structure
|
811
1092
|
end
|
812
1093
|
|
@@ -829,6 +1110,7 @@ module Aws::QLDB
|
|
829
1110
|
:message,
|
830
1111
|
:resource_type,
|
831
1112
|
:resource_name)
|
1113
|
+
SENSITIVE = []
|
832
1114
|
include Aws::Structure
|
833
1115
|
end
|
834
1116
|
|
@@ -851,6 +1133,7 @@ module Aws::QLDB
|
|
851
1133
|
:message,
|
852
1134
|
:resource_type,
|
853
1135
|
:resource_name)
|
1136
|
+
SENSITIVE = []
|
854
1137
|
include Aws::Structure
|
855
1138
|
end
|
856
1139
|
|
@@ -873,6 +1156,7 @@ module Aws::QLDB
|
|
873
1156
|
:message,
|
874
1157
|
:resource_type,
|
875
1158
|
:resource_name)
|
1159
|
+
SENSITIVE = []
|
876
1160
|
include Aws::Structure
|
877
1161
|
end
|
878
1162
|
|
@@ -900,8 +1184,9 @@ module Aws::QLDB
|
|
900
1184
|
# @return [String]
|
901
1185
|
#
|
902
1186
|
# @!attribute [rw] kms_key_arn
|
903
|
-
# The Amazon Resource Name (ARN) for a customer master key
|
904
|
-
# AWS Key Management Service (AWS KMS).
|
1187
|
+
# The Amazon Resource Name (ARN) for a symmetric customer master key
|
1188
|
+
# (CMK) in AWS Key Management Service (AWS KMS). Amazon QLDB does not
|
1189
|
+
# support asymmetric CMKs.
|
905
1190
|
#
|
906
1191
|
# You must provide a `KmsKeyArn` if you specify `SSE_KMS` as the
|
907
1192
|
# `ObjectEncryptionType`.
|
@@ -915,6 +1200,7 @@ module Aws::QLDB
|
|
915
1200
|
class S3EncryptionConfiguration < Struct.new(
|
916
1201
|
:object_encryption_type,
|
917
1202
|
:kms_key_arn)
|
1203
|
+
SENSITIVE = []
|
918
1204
|
include Aws::Structure
|
919
1205
|
end
|
920
1206
|
|
@@ -978,6 +1264,111 @@ module Aws::QLDB
|
|
978
1264
|
:bucket,
|
979
1265
|
:prefix,
|
980
1266
|
:encryption_configuration)
|
1267
|
+
SENSITIVE = []
|
1268
|
+
include Aws::Structure
|
1269
|
+
end
|
1270
|
+
|
1271
|
+
# @note When making an API call, you may pass StreamJournalToKinesisRequest
|
1272
|
+
# data as a hash:
|
1273
|
+
#
|
1274
|
+
# {
|
1275
|
+
# ledger_name: "LedgerName", # required
|
1276
|
+
# role_arn: "Arn", # required
|
1277
|
+
# tags: {
|
1278
|
+
# "TagKey" => "TagValue",
|
1279
|
+
# },
|
1280
|
+
# inclusive_start_time: Time.now, # required
|
1281
|
+
# exclusive_end_time: Time.now,
|
1282
|
+
# kinesis_configuration: { # required
|
1283
|
+
# stream_arn: "Arn", # required
|
1284
|
+
# aggregation_enabled: false,
|
1285
|
+
# },
|
1286
|
+
# stream_name: "StreamName", # required
|
1287
|
+
# }
|
1288
|
+
#
|
1289
|
+
# @!attribute [rw] ledger_name
|
1290
|
+
# The name of the ledger.
|
1291
|
+
# @return [String]
|
1292
|
+
#
|
1293
|
+
# @!attribute [rw] role_arn
|
1294
|
+
# The Amazon Resource Name (ARN) of the IAM role that grants QLDB
|
1295
|
+
# permissions for a journal stream to write data records to a Kinesis
|
1296
|
+
# Data Streams resource.
|
1297
|
+
# @return [String]
|
1298
|
+
#
|
1299
|
+
# @!attribute [rw] tags
|
1300
|
+
# The key-value pairs to add as tags to the stream that you want to
|
1301
|
+
# create. Tag keys are case sensitive. Tag values are case sensitive
|
1302
|
+
# and can be null.
|
1303
|
+
# @return [Hash<String,String>]
|
1304
|
+
#
|
1305
|
+
# @!attribute [rw] inclusive_start_time
|
1306
|
+
# The inclusive start date and time from which to start streaming
|
1307
|
+
# journal data. This parameter must be in `ISO 8601` date and time
|
1308
|
+
# format and in Universal Coordinated Time (UTC). For example:
|
1309
|
+
# `2019-06-13T21:36:34Z`
|
1310
|
+
#
|
1311
|
+
# The `InclusiveStartTime` cannot be in the future and must be before
|
1312
|
+
# `ExclusiveEndTime`.
|
1313
|
+
#
|
1314
|
+
# If you provide an `InclusiveStartTime` that is before the ledger's
|
1315
|
+
# `CreationDateTime`, QLDB effectively defaults it to the ledger's
|
1316
|
+
# `CreationDateTime`.
|
1317
|
+
# @return [Time]
|
1318
|
+
#
|
1319
|
+
# @!attribute [rw] exclusive_end_time
|
1320
|
+
# The exclusive date and time that specifies when the stream ends. If
|
1321
|
+
# you don't define this parameter, the stream runs indefinitely until
|
1322
|
+
# you cancel it.
|
1323
|
+
#
|
1324
|
+
# The `ExclusiveEndTime` must be in `ISO 8601` date and time format
|
1325
|
+
# and in Universal Coordinated Time (UTC). For example:
|
1326
|
+
# `2019-06-13T21:36:34Z`
|
1327
|
+
# @return [Time]
|
1328
|
+
#
|
1329
|
+
# @!attribute [rw] kinesis_configuration
|
1330
|
+
# The configuration settings of the Kinesis Data Streams destination
|
1331
|
+
# for your stream request.
|
1332
|
+
# @return [Types::KinesisConfiguration]
|
1333
|
+
#
|
1334
|
+
# @!attribute [rw] stream_name
|
1335
|
+
# The name that you want to assign to the QLDB journal stream.
|
1336
|
+
# User-defined names can help identify and indicate the purpose of a
|
1337
|
+
# stream.
|
1338
|
+
#
|
1339
|
+
# Your stream name must be unique among other *active* streams for a
|
1340
|
+
# given ledger. Stream names have the same naming constraints as
|
1341
|
+
# ledger names, as defined in [Quotas in Amazon QLDB][1] in the
|
1342
|
+
# *Amazon QLDB Developer Guide*.
|
1343
|
+
#
|
1344
|
+
#
|
1345
|
+
#
|
1346
|
+
# [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/limits.html#limits.naming
|
1347
|
+
# @return [String]
|
1348
|
+
#
|
1349
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/StreamJournalToKinesisRequest AWS API Documentation
|
1350
|
+
#
|
1351
|
+
class StreamJournalToKinesisRequest < Struct.new(
|
1352
|
+
:ledger_name,
|
1353
|
+
:role_arn,
|
1354
|
+
:tags,
|
1355
|
+
:inclusive_start_time,
|
1356
|
+
:exclusive_end_time,
|
1357
|
+
:kinesis_configuration,
|
1358
|
+
:stream_name)
|
1359
|
+
SENSITIVE = []
|
1360
|
+
include Aws::Structure
|
1361
|
+
end
|
1362
|
+
|
1363
|
+
# @!attribute [rw] stream_id
|
1364
|
+
# The unique ID that QLDB assigns to each QLDB journal stream.
|
1365
|
+
# @return [String]
|
1366
|
+
#
|
1367
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/StreamJournalToKinesisResponse AWS API Documentation
|
1368
|
+
#
|
1369
|
+
class StreamJournalToKinesisResponse < Struct.new(
|
1370
|
+
:stream_id)
|
1371
|
+
SENSITIVE = []
|
981
1372
|
include Aws::Structure
|
982
1373
|
end
|
983
1374
|
|
@@ -1010,6 +1401,7 @@ module Aws::QLDB
|
|
1010
1401
|
class TagResourceRequest < Struct.new(
|
1011
1402
|
:resource_arn,
|
1012
1403
|
:tags)
|
1404
|
+
SENSITIVE = []
|
1013
1405
|
include Aws::Structure
|
1014
1406
|
end
|
1015
1407
|
|
@@ -1041,6 +1433,7 @@ module Aws::QLDB
|
|
1041
1433
|
class UntagResourceRequest < Struct.new(
|
1042
1434
|
:resource_arn,
|
1043
1435
|
:tag_keys)
|
1436
|
+
SENSITIVE = []
|
1044
1437
|
include Aws::Structure
|
1045
1438
|
end
|
1046
1439
|
|
@@ -1078,6 +1471,7 @@ module Aws::QLDB
|
|
1078
1471
|
class UpdateLedgerRequest < Struct.new(
|
1079
1472
|
:name,
|
1080
1473
|
:deletion_protection)
|
1474
|
+
SENSITIVE = []
|
1081
1475
|
include Aws::Structure
|
1082
1476
|
end
|
1083
1477
|
|
@@ -1120,11 +1514,11 @@ module Aws::QLDB
|
|
1120
1514
|
:state,
|
1121
1515
|
:creation_date_time,
|
1122
1516
|
:deletion_protection)
|
1517
|
+
SENSITIVE = []
|
1123
1518
|
include Aws::Structure
|
1124
1519
|
end
|
1125
1520
|
|
1126
|
-
# A structure that can contain
|
1127
|
-
# formats.
|
1521
|
+
# A structure that can contain a value in multiple encoding formats.
|
1128
1522
|
#
|
1129
1523
|
# @note When making an API call, you may pass ValueHolder
|
1130
1524
|
# data as a hash:
|
@@ -1142,6 +1536,7 @@ module Aws::QLDB
|
|
1142
1536
|
#
|
1143
1537
|
class ValueHolder < Struct.new(
|
1144
1538
|
:ion_text)
|
1539
|
+
SENSITIVE = [:ion_text]
|
1145
1540
|
include Aws::Structure
|
1146
1541
|
end
|
1147
1542
|
|