aws-sdk-firehose 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-firehose.rb +47 -0
- data/lib/aws-sdk-firehose/client.rb +870 -0
- data/lib/aws-sdk-firehose/client_api.rb +399 -0
- data/lib/aws-sdk-firehose/customizations.rb +7 -0
- data/lib/aws-sdk-firehose/errors.rb +23 -0
- data/lib/aws-sdk-firehose/resource.rb +25 -0
- data/lib/aws-sdk-firehose/types.rb +1547 -0
- metadata +80 -0
@@ -0,0 +1,399 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing for info on making contributions:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module Firehose
|
10
|
+
# @api private
|
11
|
+
module ClientApi
|
12
|
+
|
13
|
+
include Seahorse::Model
|
14
|
+
|
15
|
+
AWSKMSKeyARN = Shapes::StringShape.new(name: 'AWSKMSKeyARN')
|
16
|
+
BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
|
17
|
+
BucketARN = Shapes::StringShape.new(name: 'BucketARN')
|
18
|
+
BufferingHints = Shapes::StructureShape.new(name: 'BufferingHints')
|
19
|
+
CloudWatchLoggingOptions = Shapes::StructureShape.new(name: 'CloudWatchLoggingOptions')
|
20
|
+
ClusterJDBCURL = Shapes::StringShape.new(name: 'ClusterJDBCURL')
|
21
|
+
CompressionFormat = Shapes::StringShape.new(name: 'CompressionFormat')
|
22
|
+
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
23
|
+
CopyCommand = Shapes::StructureShape.new(name: 'CopyCommand')
|
24
|
+
CopyOptions = Shapes::StringShape.new(name: 'CopyOptions')
|
25
|
+
CreateDeliveryStreamInput = Shapes::StructureShape.new(name: 'CreateDeliveryStreamInput')
|
26
|
+
CreateDeliveryStreamOutput = Shapes::StructureShape.new(name: 'CreateDeliveryStreamOutput')
|
27
|
+
Data = Shapes::BlobShape.new(name: 'Data')
|
28
|
+
DataTableColumns = Shapes::StringShape.new(name: 'DataTableColumns')
|
29
|
+
DataTableName = Shapes::StringShape.new(name: 'DataTableName')
|
30
|
+
DeleteDeliveryStreamInput = Shapes::StructureShape.new(name: 'DeleteDeliveryStreamInput')
|
31
|
+
DeleteDeliveryStreamOutput = Shapes::StructureShape.new(name: 'DeleteDeliveryStreamOutput')
|
32
|
+
DeliveryStreamARN = Shapes::StringShape.new(name: 'DeliveryStreamARN')
|
33
|
+
DeliveryStreamDescription = Shapes::StructureShape.new(name: 'DeliveryStreamDescription')
|
34
|
+
DeliveryStreamName = Shapes::StringShape.new(name: 'DeliveryStreamName')
|
35
|
+
DeliveryStreamNameList = Shapes::ListShape.new(name: 'DeliveryStreamNameList')
|
36
|
+
DeliveryStreamStatus = Shapes::StringShape.new(name: 'DeliveryStreamStatus')
|
37
|
+
DeliveryStreamVersionId = Shapes::StringShape.new(name: 'DeliveryStreamVersionId')
|
38
|
+
DescribeDeliveryStreamInput = Shapes::StructureShape.new(name: 'DescribeDeliveryStreamInput')
|
39
|
+
DescribeDeliveryStreamInputLimit = Shapes::IntegerShape.new(name: 'DescribeDeliveryStreamInputLimit')
|
40
|
+
DescribeDeliveryStreamOutput = Shapes::StructureShape.new(name: 'DescribeDeliveryStreamOutput')
|
41
|
+
DestinationDescription = Shapes::StructureShape.new(name: 'DestinationDescription')
|
42
|
+
DestinationDescriptionList = Shapes::ListShape.new(name: 'DestinationDescriptionList')
|
43
|
+
DestinationId = Shapes::StringShape.new(name: 'DestinationId')
|
44
|
+
ElasticsearchBufferingHints = Shapes::StructureShape.new(name: 'ElasticsearchBufferingHints')
|
45
|
+
ElasticsearchBufferingIntervalInSeconds = Shapes::IntegerShape.new(name: 'ElasticsearchBufferingIntervalInSeconds')
|
46
|
+
ElasticsearchBufferingSizeInMBs = Shapes::IntegerShape.new(name: 'ElasticsearchBufferingSizeInMBs')
|
47
|
+
ElasticsearchDestinationConfiguration = Shapes::StructureShape.new(name: 'ElasticsearchDestinationConfiguration')
|
48
|
+
ElasticsearchDestinationDescription = Shapes::StructureShape.new(name: 'ElasticsearchDestinationDescription')
|
49
|
+
ElasticsearchDestinationUpdate = Shapes::StructureShape.new(name: 'ElasticsearchDestinationUpdate')
|
50
|
+
ElasticsearchDomainARN = Shapes::StringShape.new(name: 'ElasticsearchDomainARN')
|
51
|
+
ElasticsearchIndexName = Shapes::StringShape.new(name: 'ElasticsearchIndexName')
|
52
|
+
ElasticsearchIndexRotationPeriod = Shapes::StringShape.new(name: 'ElasticsearchIndexRotationPeriod')
|
53
|
+
ElasticsearchRetryDurationInSeconds = Shapes::IntegerShape.new(name: 'ElasticsearchRetryDurationInSeconds')
|
54
|
+
ElasticsearchRetryOptions = Shapes::StructureShape.new(name: 'ElasticsearchRetryOptions')
|
55
|
+
ElasticsearchS3BackupMode = Shapes::StringShape.new(name: 'ElasticsearchS3BackupMode')
|
56
|
+
ElasticsearchTypeName = Shapes::StringShape.new(name: 'ElasticsearchTypeName')
|
57
|
+
EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
|
58
|
+
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
59
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
60
|
+
IntervalInSeconds = Shapes::IntegerShape.new(name: 'IntervalInSeconds')
|
61
|
+
InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
|
62
|
+
KMSEncryptionConfig = Shapes::StructureShape.new(name: 'KMSEncryptionConfig')
|
63
|
+
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
64
|
+
ListDeliveryStreamsInput = Shapes::StructureShape.new(name: 'ListDeliveryStreamsInput')
|
65
|
+
ListDeliveryStreamsInputLimit = Shapes::IntegerShape.new(name: 'ListDeliveryStreamsInputLimit')
|
66
|
+
ListDeliveryStreamsOutput = Shapes::StructureShape.new(name: 'ListDeliveryStreamsOutput')
|
67
|
+
LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
|
68
|
+
LogStreamName = Shapes::StringShape.new(name: 'LogStreamName')
|
69
|
+
NoEncryptionConfig = Shapes::StringShape.new(name: 'NoEncryptionConfig')
|
70
|
+
NonNegativeIntegerObject = Shapes::IntegerShape.new(name: 'NonNegativeIntegerObject')
|
71
|
+
Password = Shapes::StringShape.new(name: 'Password')
|
72
|
+
Prefix = Shapes::StringShape.new(name: 'Prefix')
|
73
|
+
PutRecordBatchInput = Shapes::StructureShape.new(name: 'PutRecordBatchInput')
|
74
|
+
PutRecordBatchOutput = Shapes::StructureShape.new(name: 'PutRecordBatchOutput')
|
75
|
+
PutRecordBatchRequestEntryList = Shapes::ListShape.new(name: 'PutRecordBatchRequestEntryList')
|
76
|
+
PutRecordBatchResponseEntry = Shapes::StructureShape.new(name: 'PutRecordBatchResponseEntry')
|
77
|
+
PutRecordBatchResponseEntryList = Shapes::ListShape.new(name: 'PutRecordBatchResponseEntryList')
|
78
|
+
PutRecordInput = Shapes::StructureShape.new(name: 'PutRecordInput')
|
79
|
+
PutRecordOutput = Shapes::StructureShape.new(name: 'PutRecordOutput')
|
80
|
+
PutResponseRecordId = Shapes::StringShape.new(name: 'PutResponseRecordId')
|
81
|
+
Record = Shapes::StructureShape.new(name: 'Record')
|
82
|
+
RedshiftDestinationConfiguration = Shapes::StructureShape.new(name: 'RedshiftDestinationConfiguration')
|
83
|
+
RedshiftDestinationDescription = Shapes::StructureShape.new(name: 'RedshiftDestinationDescription')
|
84
|
+
RedshiftDestinationUpdate = Shapes::StructureShape.new(name: 'RedshiftDestinationUpdate')
|
85
|
+
RedshiftRetryDurationInSeconds = Shapes::IntegerShape.new(name: 'RedshiftRetryDurationInSeconds')
|
86
|
+
RedshiftRetryOptions = Shapes::StructureShape.new(name: 'RedshiftRetryOptions')
|
87
|
+
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
88
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
89
|
+
RoleARN = Shapes::StringShape.new(name: 'RoleARN')
|
90
|
+
S3DestinationConfiguration = Shapes::StructureShape.new(name: 'S3DestinationConfiguration')
|
91
|
+
S3DestinationDescription = Shapes::StructureShape.new(name: 'S3DestinationDescription')
|
92
|
+
S3DestinationUpdate = Shapes::StructureShape.new(name: 'S3DestinationUpdate')
|
93
|
+
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
94
|
+
SizeInMBs = Shapes::IntegerShape.new(name: 'SizeInMBs')
|
95
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
96
|
+
UpdateDestinationInput = Shapes::StructureShape.new(name: 'UpdateDestinationInput')
|
97
|
+
UpdateDestinationOutput = Shapes::StructureShape.new(name: 'UpdateDestinationOutput')
|
98
|
+
Username = Shapes::StringShape.new(name: 'Username')
|
99
|
+
|
100
|
+
BufferingHints.add_member(:size_in_m_bs, Shapes::ShapeRef.new(shape: SizeInMBs, location_name: "SizeInMBs"))
|
101
|
+
BufferingHints.add_member(:interval_in_seconds, Shapes::ShapeRef.new(shape: IntervalInSeconds, location_name: "IntervalInSeconds"))
|
102
|
+
BufferingHints.struct_class = Types::BufferingHints
|
103
|
+
|
104
|
+
CloudWatchLoggingOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "Enabled"))
|
105
|
+
CloudWatchLoggingOptions.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "LogGroupName"))
|
106
|
+
CloudWatchLoggingOptions.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "LogStreamName"))
|
107
|
+
CloudWatchLoggingOptions.struct_class = Types::CloudWatchLoggingOptions
|
108
|
+
|
109
|
+
CopyCommand.add_member(:data_table_name, Shapes::ShapeRef.new(shape: DataTableName, required: true, location_name: "DataTableName"))
|
110
|
+
CopyCommand.add_member(:data_table_columns, Shapes::ShapeRef.new(shape: DataTableColumns, location_name: "DataTableColumns"))
|
111
|
+
CopyCommand.add_member(:copy_options, Shapes::ShapeRef.new(shape: CopyOptions, location_name: "CopyOptions"))
|
112
|
+
CopyCommand.struct_class = Types::CopyCommand
|
113
|
+
|
114
|
+
CreateDeliveryStreamInput.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
115
|
+
CreateDeliveryStreamInput.add_member(:s3_destination_configuration, Shapes::ShapeRef.new(shape: S3DestinationConfiguration, location_name: "S3DestinationConfiguration"))
|
116
|
+
CreateDeliveryStreamInput.add_member(:redshift_destination_configuration, Shapes::ShapeRef.new(shape: RedshiftDestinationConfiguration, location_name: "RedshiftDestinationConfiguration"))
|
117
|
+
CreateDeliveryStreamInput.add_member(:elasticsearch_destination_configuration, Shapes::ShapeRef.new(shape: ElasticsearchDestinationConfiguration, location_name: "ElasticsearchDestinationConfiguration"))
|
118
|
+
CreateDeliveryStreamInput.struct_class = Types::CreateDeliveryStreamInput
|
119
|
+
|
120
|
+
CreateDeliveryStreamOutput.add_member(:delivery_stream_arn, Shapes::ShapeRef.new(shape: DeliveryStreamARN, location_name: "DeliveryStreamARN"))
|
121
|
+
CreateDeliveryStreamOutput.struct_class = Types::CreateDeliveryStreamOutput
|
122
|
+
|
123
|
+
DeleteDeliveryStreamInput.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
124
|
+
DeleteDeliveryStreamInput.struct_class = Types::DeleteDeliveryStreamInput
|
125
|
+
|
126
|
+
DeleteDeliveryStreamOutput.struct_class = Types::DeleteDeliveryStreamOutput
|
127
|
+
|
128
|
+
DeliveryStreamDescription.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
129
|
+
DeliveryStreamDescription.add_member(:delivery_stream_arn, Shapes::ShapeRef.new(shape: DeliveryStreamARN, required: true, location_name: "DeliveryStreamARN"))
|
130
|
+
DeliveryStreamDescription.add_member(:delivery_stream_status, Shapes::ShapeRef.new(shape: DeliveryStreamStatus, required: true, location_name: "DeliveryStreamStatus"))
|
131
|
+
DeliveryStreamDescription.add_member(:version_id, Shapes::ShapeRef.new(shape: DeliveryStreamVersionId, required: true, location_name: "VersionId"))
|
132
|
+
DeliveryStreamDescription.add_member(:create_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateTimestamp"))
|
133
|
+
DeliveryStreamDescription.add_member(:last_update_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdateTimestamp"))
|
134
|
+
DeliveryStreamDescription.add_member(:destinations, Shapes::ShapeRef.new(shape: DestinationDescriptionList, required: true, location_name: "Destinations"))
|
135
|
+
DeliveryStreamDescription.add_member(:has_more_destinations, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "HasMoreDestinations"))
|
136
|
+
DeliveryStreamDescription.struct_class = Types::DeliveryStreamDescription
|
137
|
+
|
138
|
+
DeliveryStreamNameList.member = Shapes::ShapeRef.new(shape: DeliveryStreamName)
|
139
|
+
|
140
|
+
DescribeDeliveryStreamInput.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
141
|
+
DescribeDeliveryStreamInput.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeDeliveryStreamInputLimit, location_name: "Limit"))
|
142
|
+
DescribeDeliveryStreamInput.add_member(:exclusive_start_destination_id, Shapes::ShapeRef.new(shape: DestinationId, location_name: "ExclusiveStartDestinationId"))
|
143
|
+
DescribeDeliveryStreamInput.struct_class = Types::DescribeDeliveryStreamInput
|
144
|
+
|
145
|
+
DescribeDeliveryStreamOutput.add_member(:delivery_stream_description, Shapes::ShapeRef.new(shape: DeliveryStreamDescription, required: true, location_name: "DeliveryStreamDescription"))
|
146
|
+
DescribeDeliveryStreamOutput.struct_class = Types::DescribeDeliveryStreamOutput
|
147
|
+
|
148
|
+
DestinationDescription.add_member(:destination_id, Shapes::ShapeRef.new(shape: DestinationId, required: true, location_name: "DestinationId"))
|
149
|
+
DestinationDescription.add_member(:s3_destination_description, Shapes::ShapeRef.new(shape: S3DestinationDescription, location_name: "S3DestinationDescription"))
|
150
|
+
DestinationDescription.add_member(:redshift_destination_description, Shapes::ShapeRef.new(shape: RedshiftDestinationDescription, location_name: "RedshiftDestinationDescription"))
|
151
|
+
DestinationDescription.add_member(:elasticsearch_destination_description, Shapes::ShapeRef.new(shape: ElasticsearchDestinationDescription, location_name: "ElasticsearchDestinationDescription"))
|
152
|
+
DestinationDescription.struct_class = Types::DestinationDescription
|
153
|
+
|
154
|
+
DestinationDescriptionList.member = Shapes::ShapeRef.new(shape: DestinationDescription)
|
155
|
+
|
156
|
+
ElasticsearchBufferingHints.add_member(:interval_in_seconds, Shapes::ShapeRef.new(shape: ElasticsearchBufferingIntervalInSeconds, location_name: "IntervalInSeconds"))
|
157
|
+
ElasticsearchBufferingHints.add_member(:size_in_m_bs, Shapes::ShapeRef.new(shape: ElasticsearchBufferingSizeInMBs, location_name: "SizeInMBs"))
|
158
|
+
ElasticsearchBufferingHints.struct_class = Types::ElasticsearchBufferingHints
|
159
|
+
|
160
|
+
ElasticsearchDestinationConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleARN"))
|
161
|
+
ElasticsearchDestinationConfiguration.add_member(:domain_arn, Shapes::ShapeRef.new(shape: ElasticsearchDomainARN, required: true, location_name: "DomainARN"))
|
162
|
+
ElasticsearchDestinationConfiguration.add_member(:index_name, Shapes::ShapeRef.new(shape: ElasticsearchIndexName, required: true, location_name: "IndexName"))
|
163
|
+
ElasticsearchDestinationConfiguration.add_member(:type_name, Shapes::ShapeRef.new(shape: ElasticsearchTypeName, required: true, location_name: "TypeName"))
|
164
|
+
ElasticsearchDestinationConfiguration.add_member(:index_rotation_period, Shapes::ShapeRef.new(shape: ElasticsearchIndexRotationPeriod, location_name: "IndexRotationPeriod"))
|
165
|
+
ElasticsearchDestinationConfiguration.add_member(:buffering_hints, Shapes::ShapeRef.new(shape: ElasticsearchBufferingHints, location_name: "BufferingHints"))
|
166
|
+
ElasticsearchDestinationConfiguration.add_member(:retry_options, Shapes::ShapeRef.new(shape: ElasticsearchRetryOptions, location_name: "RetryOptions"))
|
167
|
+
ElasticsearchDestinationConfiguration.add_member(:s3_backup_mode, Shapes::ShapeRef.new(shape: ElasticsearchS3BackupMode, location_name: "S3BackupMode"))
|
168
|
+
ElasticsearchDestinationConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3DestinationConfiguration, required: true, location_name: "S3Configuration"))
|
169
|
+
ElasticsearchDestinationConfiguration.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
170
|
+
ElasticsearchDestinationConfiguration.struct_class = Types::ElasticsearchDestinationConfiguration
|
171
|
+
|
172
|
+
ElasticsearchDestinationDescription.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
173
|
+
ElasticsearchDestinationDescription.add_member(:domain_arn, Shapes::ShapeRef.new(shape: ElasticsearchDomainARN, location_name: "DomainARN"))
|
174
|
+
ElasticsearchDestinationDescription.add_member(:index_name, Shapes::ShapeRef.new(shape: ElasticsearchIndexName, location_name: "IndexName"))
|
175
|
+
ElasticsearchDestinationDescription.add_member(:type_name, Shapes::ShapeRef.new(shape: ElasticsearchTypeName, location_name: "TypeName"))
|
176
|
+
ElasticsearchDestinationDescription.add_member(:index_rotation_period, Shapes::ShapeRef.new(shape: ElasticsearchIndexRotationPeriod, location_name: "IndexRotationPeriod"))
|
177
|
+
ElasticsearchDestinationDescription.add_member(:buffering_hints, Shapes::ShapeRef.new(shape: ElasticsearchBufferingHints, location_name: "BufferingHints"))
|
178
|
+
ElasticsearchDestinationDescription.add_member(:retry_options, Shapes::ShapeRef.new(shape: ElasticsearchRetryOptions, location_name: "RetryOptions"))
|
179
|
+
ElasticsearchDestinationDescription.add_member(:s3_backup_mode, Shapes::ShapeRef.new(shape: ElasticsearchS3BackupMode, location_name: "S3BackupMode"))
|
180
|
+
ElasticsearchDestinationDescription.add_member(:s3_destination_description, Shapes::ShapeRef.new(shape: S3DestinationDescription, location_name: "S3DestinationDescription"))
|
181
|
+
ElasticsearchDestinationDescription.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
182
|
+
ElasticsearchDestinationDescription.struct_class = Types::ElasticsearchDestinationDescription
|
183
|
+
|
184
|
+
ElasticsearchDestinationUpdate.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
185
|
+
ElasticsearchDestinationUpdate.add_member(:domain_arn, Shapes::ShapeRef.new(shape: ElasticsearchDomainARN, location_name: "DomainARN"))
|
186
|
+
ElasticsearchDestinationUpdate.add_member(:index_name, Shapes::ShapeRef.new(shape: ElasticsearchIndexName, location_name: "IndexName"))
|
187
|
+
ElasticsearchDestinationUpdate.add_member(:type_name, Shapes::ShapeRef.new(shape: ElasticsearchTypeName, location_name: "TypeName"))
|
188
|
+
ElasticsearchDestinationUpdate.add_member(:index_rotation_period, Shapes::ShapeRef.new(shape: ElasticsearchIndexRotationPeriod, location_name: "IndexRotationPeriod"))
|
189
|
+
ElasticsearchDestinationUpdate.add_member(:buffering_hints, Shapes::ShapeRef.new(shape: ElasticsearchBufferingHints, location_name: "BufferingHints"))
|
190
|
+
ElasticsearchDestinationUpdate.add_member(:retry_options, Shapes::ShapeRef.new(shape: ElasticsearchRetryOptions, location_name: "RetryOptions"))
|
191
|
+
ElasticsearchDestinationUpdate.add_member(:s3_update, Shapes::ShapeRef.new(shape: S3DestinationUpdate, location_name: "S3Update"))
|
192
|
+
ElasticsearchDestinationUpdate.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
193
|
+
ElasticsearchDestinationUpdate.struct_class = Types::ElasticsearchDestinationUpdate
|
194
|
+
|
195
|
+
ElasticsearchRetryOptions.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: ElasticsearchRetryDurationInSeconds, location_name: "DurationInSeconds"))
|
196
|
+
ElasticsearchRetryOptions.struct_class = Types::ElasticsearchRetryOptions
|
197
|
+
|
198
|
+
EncryptionConfiguration.add_member(:no_encryption_config, Shapes::ShapeRef.new(shape: NoEncryptionConfig, location_name: "NoEncryptionConfig"))
|
199
|
+
EncryptionConfiguration.add_member(:kms_encryption_config, Shapes::ShapeRef.new(shape: KMSEncryptionConfig, location_name: "KMSEncryptionConfig"))
|
200
|
+
EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
|
201
|
+
|
202
|
+
KMSEncryptionConfig.add_member(:awskms_key_arn, Shapes::ShapeRef.new(shape: AWSKMSKeyARN, required: true, location_name: "AWSKMSKeyARN"))
|
203
|
+
KMSEncryptionConfig.struct_class = Types::KMSEncryptionConfig
|
204
|
+
|
205
|
+
ListDeliveryStreamsInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListDeliveryStreamsInputLimit, location_name: "Limit"))
|
206
|
+
ListDeliveryStreamsInput.add_member(:exclusive_start_delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, location_name: "ExclusiveStartDeliveryStreamName"))
|
207
|
+
ListDeliveryStreamsInput.struct_class = Types::ListDeliveryStreamsInput
|
208
|
+
|
209
|
+
ListDeliveryStreamsOutput.add_member(:delivery_stream_names, Shapes::ShapeRef.new(shape: DeliveryStreamNameList, required: true, location_name: "DeliveryStreamNames"))
|
210
|
+
ListDeliveryStreamsOutput.add_member(:has_more_delivery_streams, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "HasMoreDeliveryStreams"))
|
211
|
+
ListDeliveryStreamsOutput.struct_class = Types::ListDeliveryStreamsOutput
|
212
|
+
|
213
|
+
PutRecordBatchInput.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
214
|
+
PutRecordBatchInput.add_member(:records, Shapes::ShapeRef.new(shape: PutRecordBatchRequestEntryList, required: true, location_name: "Records"))
|
215
|
+
PutRecordBatchInput.struct_class = Types::PutRecordBatchInput
|
216
|
+
|
217
|
+
PutRecordBatchOutput.add_member(:failed_put_count, Shapes::ShapeRef.new(shape: NonNegativeIntegerObject, required: true, location_name: "FailedPutCount"))
|
218
|
+
PutRecordBatchOutput.add_member(:request_responses, Shapes::ShapeRef.new(shape: PutRecordBatchResponseEntryList, required: true, location_name: "RequestResponses"))
|
219
|
+
PutRecordBatchOutput.struct_class = Types::PutRecordBatchOutput
|
220
|
+
|
221
|
+
PutRecordBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: Record)
|
222
|
+
|
223
|
+
PutRecordBatchResponseEntry.add_member(:record_id, Shapes::ShapeRef.new(shape: PutResponseRecordId, location_name: "RecordId"))
|
224
|
+
PutRecordBatchResponseEntry.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
225
|
+
PutRecordBatchResponseEntry.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
226
|
+
PutRecordBatchResponseEntry.struct_class = Types::PutRecordBatchResponseEntry
|
227
|
+
|
228
|
+
PutRecordBatchResponseEntryList.member = Shapes::ShapeRef.new(shape: PutRecordBatchResponseEntry)
|
229
|
+
|
230
|
+
PutRecordInput.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
231
|
+
PutRecordInput.add_member(:record, Shapes::ShapeRef.new(shape: Record, required: true, location_name: "Record"))
|
232
|
+
PutRecordInput.struct_class = Types::PutRecordInput
|
233
|
+
|
234
|
+
PutRecordOutput.add_member(:record_id, Shapes::ShapeRef.new(shape: PutResponseRecordId, required: true, location_name: "RecordId"))
|
235
|
+
PutRecordOutput.struct_class = Types::PutRecordOutput
|
236
|
+
|
237
|
+
Record.add_member(:data, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "Data"))
|
238
|
+
Record.struct_class = Types::Record
|
239
|
+
|
240
|
+
RedshiftDestinationConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleARN"))
|
241
|
+
RedshiftDestinationConfiguration.add_member(:cluster_jdbcurl, Shapes::ShapeRef.new(shape: ClusterJDBCURL, required: true, location_name: "ClusterJDBCURL"))
|
242
|
+
RedshiftDestinationConfiguration.add_member(:copy_command, Shapes::ShapeRef.new(shape: CopyCommand, required: true, location_name: "CopyCommand"))
|
243
|
+
RedshiftDestinationConfiguration.add_member(:username, Shapes::ShapeRef.new(shape: Username, required: true, location_name: "Username"))
|
244
|
+
RedshiftDestinationConfiguration.add_member(:password, Shapes::ShapeRef.new(shape: Password, required: true, location_name: "Password"))
|
245
|
+
RedshiftDestinationConfiguration.add_member(:retry_options, Shapes::ShapeRef.new(shape: RedshiftRetryOptions, location_name: "RetryOptions"))
|
246
|
+
RedshiftDestinationConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3DestinationConfiguration, required: true, location_name: "S3Configuration"))
|
247
|
+
RedshiftDestinationConfiguration.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
248
|
+
RedshiftDestinationConfiguration.struct_class = Types::RedshiftDestinationConfiguration
|
249
|
+
|
250
|
+
RedshiftDestinationDescription.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleARN"))
|
251
|
+
RedshiftDestinationDescription.add_member(:cluster_jdbcurl, Shapes::ShapeRef.new(shape: ClusterJDBCURL, required: true, location_name: "ClusterJDBCURL"))
|
252
|
+
RedshiftDestinationDescription.add_member(:copy_command, Shapes::ShapeRef.new(shape: CopyCommand, required: true, location_name: "CopyCommand"))
|
253
|
+
RedshiftDestinationDescription.add_member(:username, Shapes::ShapeRef.new(shape: Username, required: true, location_name: "Username"))
|
254
|
+
RedshiftDestinationDescription.add_member(:retry_options, Shapes::ShapeRef.new(shape: RedshiftRetryOptions, location_name: "RetryOptions"))
|
255
|
+
RedshiftDestinationDescription.add_member(:s3_destination_description, Shapes::ShapeRef.new(shape: S3DestinationDescription, required: true, location_name: "S3DestinationDescription"))
|
256
|
+
RedshiftDestinationDescription.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
257
|
+
RedshiftDestinationDescription.struct_class = Types::RedshiftDestinationDescription
|
258
|
+
|
259
|
+
RedshiftDestinationUpdate.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
260
|
+
RedshiftDestinationUpdate.add_member(:cluster_jdbcurl, Shapes::ShapeRef.new(shape: ClusterJDBCURL, location_name: "ClusterJDBCURL"))
|
261
|
+
RedshiftDestinationUpdate.add_member(:copy_command, Shapes::ShapeRef.new(shape: CopyCommand, location_name: "CopyCommand"))
|
262
|
+
RedshiftDestinationUpdate.add_member(:username, Shapes::ShapeRef.new(shape: Username, location_name: "Username"))
|
263
|
+
RedshiftDestinationUpdate.add_member(:password, Shapes::ShapeRef.new(shape: Password, location_name: "Password"))
|
264
|
+
RedshiftDestinationUpdate.add_member(:retry_options, Shapes::ShapeRef.new(shape: RedshiftRetryOptions, location_name: "RetryOptions"))
|
265
|
+
RedshiftDestinationUpdate.add_member(:s3_update, Shapes::ShapeRef.new(shape: S3DestinationUpdate, location_name: "S3Update"))
|
266
|
+
RedshiftDestinationUpdate.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
267
|
+
RedshiftDestinationUpdate.struct_class = Types::RedshiftDestinationUpdate
|
268
|
+
|
269
|
+
RedshiftRetryOptions.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: RedshiftRetryDurationInSeconds, location_name: "DurationInSeconds"))
|
270
|
+
RedshiftRetryOptions.struct_class = Types::RedshiftRetryOptions
|
271
|
+
|
272
|
+
S3DestinationConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleARN"))
|
273
|
+
S3DestinationConfiguration.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: BucketARN, required: true, location_name: "BucketARN"))
|
274
|
+
S3DestinationConfiguration.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
|
275
|
+
S3DestinationConfiguration.add_member(:buffering_hints, Shapes::ShapeRef.new(shape: BufferingHints, location_name: "BufferingHints"))
|
276
|
+
S3DestinationConfiguration.add_member(:compression_format, Shapes::ShapeRef.new(shape: CompressionFormat, location_name: "CompressionFormat"))
|
277
|
+
S3DestinationConfiguration.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
278
|
+
S3DestinationConfiguration.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
279
|
+
S3DestinationConfiguration.struct_class = Types::S3DestinationConfiguration
|
280
|
+
|
281
|
+
S3DestinationDescription.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleARN"))
|
282
|
+
S3DestinationDescription.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: BucketARN, required: true, location_name: "BucketARN"))
|
283
|
+
S3DestinationDescription.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
|
284
|
+
S3DestinationDescription.add_member(:buffering_hints, Shapes::ShapeRef.new(shape: BufferingHints, required: true, location_name: "BufferingHints"))
|
285
|
+
S3DestinationDescription.add_member(:compression_format, Shapes::ShapeRef.new(shape: CompressionFormat, required: true, location_name: "CompressionFormat"))
|
286
|
+
S3DestinationDescription.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, required: true, location_name: "EncryptionConfiguration"))
|
287
|
+
S3DestinationDescription.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
288
|
+
S3DestinationDescription.struct_class = Types::S3DestinationDescription
|
289
|
+
|
290
|
+
S3DestinationUpdate.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
291
|
+
S3DestinationUpdate.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: BucketARN, location_name: "BucketARN"))
|
292
|
+
S3DestinationUpdate.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
|
293
|
+
S3DestinationUpdate.add_member(:buffering_hints, Shapes::ShapeRef.new(shape: BufferingHints, location_name: "BufferingHints"))
|
294
|
+
S3DestinationUpdate.add_member(:compression_format, Shapes::ShapeRef.new(shape: CompressionFormat, location_name: "CompressionFormat"))
|
295
|
+
S3DestinationUpdate.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
296
|
+
S3DestinationUpdate.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
297
|
+
S3DestinationUpdate.struct_class = Types::S3DestinationUpdate
|
298
|
+
|
299
|
+
UpdateDestinationInput.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
300
|
+
UpdateDestinationInput.add_member(:current_delivery_stream_version_id, Shapes::ShapeRef.new(shape: DeliveryStreamVersionId, required: true, location_name: "CurrentDeliveryStreamVersionId"))
|
301
|
+
UpdateDestinationInput.add_member(:destination_id, Shapes::ShapeRef.new(shape: DestinationId, required: true, location_name: "DestinationId"))
|
302
|
+
UpdateDestinationInput.add_member(:s3_destination_update, Shapes::ShapeRef.new(shape: S3DestinationUpdate, location_name: "S3DestinationUpdate"))
|
303
|
+
UpdateDestinationInput.add_member(:redshift_destination_update, Shapes::ShapeRef.new(shape: RedshiftDestinationUpdate, location_name: "RedshiftDestinationUpdate"))
|
304
|
+
UpdateDestinationInput.add_member(:elasticsearch_destination_update, Shapes::ShapeRef.new(shape: ElasticsearchDestinationUpdate, location_name: "ElasticsearchDestinationUpdate"))
|
305
|
+
UpdateDestinationInput.struct_class = Types::UpdateDestinationInput
|
306
|
+
|
307
|
+
UpdateDestinationOutput.struct_class = Types::UpdateDestinationOutput
|
308
|
+
|
309
|
+
|
310
|
+
# @api private
|
311
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
312
|
+
|
313
|
+
api.version = "2015-08-04"
|
314
|
+
|
315
|
+
api.metadata = {
|
316
|
+
"endpointPrefix" => "firehose",
|
317
|
+
"jsonVersion" => "1.1",
|
318
|
+
"protocol" => "json",
|
319
|
+
"serviceFullName" => "Amazon Kinesis Firehose",
|
320
|
+
"signatureVersion" => "v4",
|
321
|
+
"targetPrefix" => "Firehose_20150804",
|
322
|
+
}
|
323
|
+
|
324
|
+
api.add_operation(:create_delivery_stream, Seahorse::Model::Operation.new.tap do |o|
|
325
|
+
o.name = "CreateDeliveryStream"
|
326
|
+
o.http_method = "POST"
|
327
|
+
o.http_request_uri = "/"
|
328
|
+
o.input = Shapes::ShapeRef.new(shape: CreateDeliveryStreamInput)
|
329
|
+
o.output = Shapes::ShapeRef.new(shape: CreateDeliveryStreamOutput)
|
330
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
331
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
332
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
333
|
+
end)
|
334
|
+
|
335
|
+
api.add_operation(:delete_delivery_stream, Seahorse::Model::Operation.new.tap do |o|
|
336
|
+
o.name = "DeleteDeliveryStream"
|
337
|
+
o.http_method = "POST"
|
338
|
+
o.http_request_uri = "/"
|
339
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteDeliveryStreamInput)
|
340
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteDeliveryStreamOutput)
|
341
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
342
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
343
|
+
end)
|
344
|
+
|
345
|
+
api.add_operation(:describe_delivery_stream, Seahorse::Model::Operation.new.tap do |o|
|
346
|
+
o.name = "DescribeDeliveryStream"
|
347
|
+
o.http_method = "POST"
|
348
|
+
o.http_request_uri = "/"
|
349
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeDeliveryStreamInput)
|
350
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeDeliveryStreamOutput)
|
351
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
352
|
+
end)
|
353
|
+
|
354
|
+
api.add_operation(:list_delivery_streams, Seahorse::Model::Operation.new.tap do |o|
|
355
|
+
o.name = "ListDeliveryStreams"
|
356
|
+
o.http_method = "POST"
|
357
|
+
o.http_request_uri = "/"
|
358
|
+
o.input = Shapes::ShapeRef.new(shape: ListDeliveryStreamsInput)
|
359
|
+
o.output = Shapes::ShapeRef.new(shape: ListDeliveryStreamsOutput)
|
360
|
+
end)
|
361
|
+
|
362
|
+
api.add_operation(:put_record, Seahorse::Model::Operation.new.tap do |o|
|
363
|
+
o.name = "PutRecord"
|
364
|
+
o.http_method = "POST"
|
365
|
+
o.http_request_uri = "/"
|
366
|
+
o.input = Shapes::ShapeRef.new(shape: PutRecordInput)
|
367
|
+
o.output = Shapes::ShapeRef.new(shape: PutRecordOutput)
|
368
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
369
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
370
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
371
|
+
end)
|
372
|
+
|
373
|
+
api.add_operation(:put_record_batch, Seahorse::Model::Operation.new.tap do |o|
|
374
|
+
o.name = "PutRecordBatch"
|
375
|
+
o.http_method = "POST"
|
376
|
+
o.http_request_uri = "/"
|
377
|
+
o.input = Shapes::ShapeRef.new(shape: PutRecordBatchInput)
|
378
|
+
o.output = Shapes::ShapeRef.new(shape: PutRecordBatchOutput)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
382
|
+
end)
|
383
|
+
|
384
|
+
api.add_operation(:update_destination, Seahorse::Model::Operation.new.tap do |o|
|
385
|
+
o.name = "UpdateDestination"
|
386
|
+
o.http_method = "POST"
|
387
|
+
o.http_request_uri = "/"
|
388
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDestinationInput)
|
389
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateDestinationOutput)
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
392
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
393
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
394
|
+
end)
|
395
|
+
end
|
396
|
+
|
397
|
+
end
|
398
|
+
end
|
399
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing for info on making contributions:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module Firehose
|
10
|
+
module Errors
|
11
|
+
|
12
|
+
extend Aws::Errors::DynamicErrors
|
13
|
+
|
14
|
+
# Raised when calling #load or #data on a resource class that can not be
|
15
|
+
# loaded. This can happen when:
|
16
|
+
#
|
17
|
+
# * A resource class has identifiers, but no data attributes.
|
18
|
+
# * Resource data is only available when making an API call that
|
19
|
+
# enumerates all resources of that type.
|
20
|
+
class ResourceNotLoadable < RuntimeError; end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing for info on making contributions:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module Firehose
|
10
|
+
class Resource
|
11
|
+
|
12
|
+
# @param options ({})
|
13
|
+
# @option options [Client] :client
|
14
|
+
def initialize(options = {})
|
15
|
+
@client = options[:client] || Client.new(options)
|
16
|
+
end
|
17
|
+
|
18
|
+
# @return [Client]
|
19
|
+
def client
|
20
|
+
@client
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|