aws-sdk-firehose 1.63.0 → 1.64.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-firehose/client.rb +240 -171
- data/lib/aws-sdk-firehose/client_api.rb +113 -0
- data/lib/aws-sdk-firehose/endpoints.rb +28 -0
- data/lib/aws-sdk-firehose/errors.rb +127 -0
- data/lib/aws-sdk-firehose/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-firehose/types.rb +722 -525
- data/lib/aws-sdk-firehose.rb +1 -1
- data/sig/client.rbs +66 -34
- data/sig/errors.rbs +24 -0
- data/sig/types.rbs +83 -2
- metadata +2 -2
@@ -14,6 +14,7 @@ module Aws::Firehose
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
AWSKMSKeyARN = Shapes::StringShape.new(name: 'AWSKMSKeyARN')
|
17
|
+
AccessKeyId = Shapes::StringShape.new(name: 'AccessKeyId')
|
17
18
|
AmazonOpenSearchServerlessBufferingHints = Shapes::StructureShape.new(name: 'AmazonOpenSearchServerlessBufferingHints')
|
18
19
|
AmazonOpenSearchServerlessBufferingIntervalInSeconds = Shapes::IntegerShape.new(name: 'AmazonOpenSearchServerlessBufferingIntervalInSeconds')
|
19
20
|
AmazonOpenSearchServerlessBufferingSizeInMBs = Shapes::IntegerShape.new(name: 'AmazonOpenSearchServerlessBufferingSizeInMBs')
|
@@ -55,6 +56,7 @@ module Aws::Firehose
|
|
55
56
|
CopyOptions = Shapes::StringShape.new(name: 'CopyOptions')
|
56
57
|
CreateDeliveryStreamInput = Shapes::StructureShape.new(name: 'CreateDeliveryStreamInput')
|
57
58
|
CreateDeliveryStreamOutput = Shapes::StructureShape.new(name: 'CreateDeliveryStreamOutput')
|
59
|
+
CustomTimeZone = Shapes::StringShape.new(name: 'CustomTimeZone')
|
58
60
|
Data = Shapes::BlobShape.new(name: 'Data')
|
59
61
|
DataFormatConversionConfiguration = Shapes::StructureShape.new(name: 'DataFormatConversionConfiguration')
|
60
62
|
DataTableColumns = Shapes::StringShape.new(name: 'DataTableColumns')
|
@@ -105,6 +107,10 @@ module Aws::Firehose
|
|
105
107
|
ExtendedS3DestinationDescription = Shapes::StructureShape.new(name: 'ExtendedS3DestinationDescription')
|
106
108
|
ExtendedS3DestinationUpdate = Shapes::StructureShape.new(name: 'ExtendedS3DestinationUpdate')
|
107
109
|
FailureDescription = Shapes::StructureShape.new(name: 'FailureDescription')
|
110
|
+
FileExtension = Shapes::StringShape.new(name: 'FileExtension')
|
111
|
+
FirehoseSource = Shapes::StringShape.new(name: 'FirehoseSource')
|
112
|
+
GetKinesisStreamInput = Shapes::StructureShape.new(name: 'GetKinesisStreamInput')
|
113
|
+
GetKinesisStreamOutput = Shapes::StructureShape.new(name: 'GetKinesisStreamOutput')
|
108
114
|
HECAcknowledgmentTimeoutInSeconds = Shapes::IntegerShape.new(name: 'HECAcknowledgmentTimeoutInSeconds')
|
109
115
|
HECEndpoint = Shapes::StringShape.new(name: 'HECEndpoint')
|
110
116
|
HECEndpointType = Shapes::StringShape.new(name: 'HECEndpointType')
|
@@ -134,6 +140,7 @@ module Aws::Firehose
|
|
134
140
|
InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
|
135
141
|
InvalidKMSResourceException = Shapes::StructureShape.new(name: 'InvalidKMSResourceException')
|
136
142
|
InvalidSourceException = Shapes::StructureShape.new(name: 'InvalidSourceException')
|
143
|
+
InvalidStreamTypeException = Shapes::StructureShape.new(name: 'InvalidStreamTypeException')
|
137
144
|
KMSEncryptionConfig = Shapes::StructureShape.new(name: 'KMSEncryptionConfig')
|
138
145
|
KeyType = Shapes::StringShape.new(name: 'KeyType')
|
139
146
|
KinesisStreamARN = Shapes::StringShape.new(name: 'KinesisStreamARN')
|
@@ -205,9 +212,12 @@ module Aws::Firehose
|
|
205
212
|
S3DestinationDescription = Shapes::StructureShape.new(name: 'S3DestinationDescription')
|
206
213
|
S3DestinationUpdate = Shapes::StructureShape.new(name: 'S3DestinationUpdate')
|
207
214
|
SchemaConfiguration = Shapes::StructureShape.new(name: 'SchemaConfiguration')
|
215
|
+
SecretAccessKey = Shapes::StringShape.new(name: 'SecretAccessKey')
|
208
216
|
SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
|
209
217
|
Serializer = Shapes::StructureShape.new(name: 'Serializer')
|
210
218
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
219
|
+
SessionCredentials = Shapes::StructureShape.new(name: 'SessionCredentials')
|
220
|
+
SessionToken = Shapes::StringShape.new(name: 'SessionToken')
|
211
221
|
SizeInMBs = Shapes::IntegerShape.new(name: 'SizeInMBs')
|
212
222
|
SnowflakeAccountUrl = Shapes::StringShape.new(name: 'SnowflakeAccountUrl')
|
213
223
|
SnowflakeContentColumnName = Shapes::StringShape.new(name: 'SnowflakeContentColumnName')
|
@@ -251,6 +261,23 @@ module Aws::Firehose
|
|
251
261
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
252
262
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
253
263
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
264
|
+
TagrisAccessDeniedException = Shapes::StructureShape.new(name: 'TagrisAccessDeniedException')
|
265
|
+
TagrisAccountId = Shapes::StringShape.new(name: 'TagrisAccountId')
|
266
|
+
TagrisAmazonResourceName = Shapes::StringShape.new(name: 'TagrisAmazonResourceName')
|
267
|
+
TagrisExceptionMessage = Shapes::StringShape.new(name: 'TagrisExceptionMessage')
|
268
|
+
TagrisInternalId = Shapes::StringShape.new(name: 'TagrisInternalId')
|
269
|
+
TagrisInternalServiceException = Shapes::StructureShape.new(name: 'TagrisInternalServiceException')
|
270
|
+
TagrisInvalidArnException = Shapes::StructureShape.new(name: 'TagrisInvalidArnException')
|
271
|
+
TagrisInvalidParameterException = Shapes::StructureShape.new(name: 'TagrisInvalidParameterException')
|
272
|
+
TagrisPartialResourcesExistResultsException = Shapes::StructureShape.new(name: 'TagrisPartialResourcesExistResultsException')
|
273
|
+
TagrisStatus = Shapes::StringShape.new(name: 'TagrisStatus')
|
274
|
+
TagrisSweepList = Shapes::ListShape.new(name: 'TagrisSweepList')
|
275
|
+
TagrisSweepListItem = Shapes::StructureShape.new(name: 'TagrisSweepListItem')
|
276
|
+
TagrisSweepListResult = Shapes::MapShape.new(name: 'TagrisSweepListResult')
|
277
|
+
TagrisThrottledException = Shapes::StructureShape.new(name: 'TagrisThrottledException')
|
278
|
+
TagrisVerifyResourcesExistInput = Shapes::StructureShape.new(name: 'TagrisVerifyResourcesExistInput')
|
279
|
+
TagrisVerifyResourcesExistOutput = Shapes::StructureShape.new(name: 'TagrisVerifyResourcesExistOutput')
|
280
|
+
TagrisVersion = Shapes::IntegerShape.new(name: 'TagrisVersion')
|
254
281
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
255
282
|
TopicName = Shapes::StringShape.new(name: 'TopicName')
|
256
283
|
UntagDeliveryStreamInput = Shapes::StructureShape.new(name: 'UntagDeliveryStreamInput')
|
@@ -540,6 +567,8 @@ module Aws::Firehose
|
|
540
567
|
ExtendedS3DestinationConfiguration.add_member(:s3_backup_configuration, Shapes::ShapeRef.new(shape: S3DestinationConfiguration, location_name: "S3BackupConfiguration"))
|
541
568
|
ExtendedS3DestinationConfiguration.add_member(:data_format_conversion_configuration, Shapes::ShapeRef.new(shape: DataFormatConversionConfiguration, location_name: "DataFormatConversionConfiguration"))
|
542
569
|
ExtendedS3DestinationConfiguration.add_member(:dynamic_partitioning_configuration, Shapes::ShapeRef.new(shape: DynamicPartitioningConfiguration, location_name: "DynamicPartitioningConfiguration"))
|
570
|
+
ExtendedS3DestinationConfiguration.add_member(:file_extension, Shapes::ShapeRef.new(shape: FileExtension, location_name: "FileExtension"))
|
571
|
+
ExtendedS3DestinationConfiguration.add_member(:custom_time_zone, Shapes::ShapeRef.new(shape: CustomTimeZone, location_name: "CustomTimeZone"))
|
543
572
|
ExtendedS3DestinationConfiguration.struct_class = Types::ExtendedS3DestinationConfiguration
|
544
573
|
|
545
574
|
ExtendedS3DestinationDescription.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleARN"))
|
@@ -555,6 +584,8 @@ module Aws::Firehose
|
|
555
584
|
ExtendedS3DestinationDescription.add_member(:s3_backup_description, Shapes::ShapeRef.new(shape: S3DestinationDescription, location_name: "S3BackupDescription"))
|
556
585
|
ExtendedS3DestinationDescription.add_member(:data_format_conversion_configuration, Shapes::ShapeRef.new(shape: DataFormatConversionConfiguration, location_name: "DataFormatConversionConfiguration"))
|
557
586
|
ExtendedS3DestinationDescription.add_member(:dynamic_partitioning_configuration, Shapes::ShapeRef.new(shape: DynamicPartitioningConfiguration, location_name: "DynamicPartitioningConfiguration"))
|
587
|
+
ExtendedS3DestinationDescription.add_member(:file_extension, Shapes::ShapeRef.new(shape: FileExtension, location_name: "FileExtension"))
|
588
|
+
ExtendedS3DestinationDescription.add_member(:custom_time_zone, Shapes::ShapeRef.new(shape: CustomTimeZone, location_name: "CustomTimeZone"))
|
558
589
|
ExtendedS3DestinationDescription.struct_class = Types::ExtendedS3DestinationDescription
|
559
590
|
|
560
591
|
ExtendedS3DestinationUpdate.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
@@ -570,12 +601,21 @@ module Aws::Firehose
|
|
570
601
|
ExtendedS3DestinationUpdate.add_member(:s3_backup_update, Shapes::ShapeRef.new(shape: S3DestinationUpdate, location_name: "S3BackupUpdate"))
|
571
602
|
ExtendedS3DestinationUpdate.add_member(:data_format_conversion_configuration, Shapes::ShapeRef.new(shape: DataFormatConversionConfiguration, location_name: "DataFormatConversionConfiguration"))
|
572
603
|
ExtendedS3DestinationUpdate.add_member(:dynamic_partitioning_configuration, Shapes::ShapeRef.new(shape: DynamicPartitioningConfiguration, location_name: "DynamicPartitioningConfiguration"))
|
604
|
+
ExtendedS3DestinationUpdate.add_member(:file_extension, Shapes::ShapeRef.new(shape: FileExtension, location_name: "FileExtension"))
|
605
|
+
ExtendedS3DestinationUpdate.add_member(:custom_time_zone, Shapes::ShapeRef.new(shape: CustomTimeZone, location_name: "CustomTimeZone"))
|
573
606
|
ExtendedS3DestinationUpdate.struct_class = Types::ExtendedS3DestinationUpdate
|
574
607
|
|
575
608
|
FailureDescription.add_member(:type, Shapes::ShapeRef.new(shape: DeliveryStreamFailureType, required: true, location_name: "Type"))
|
576
609
|
FailureDescription.add_member(:details, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Details"))
|
577
610
|
FailureDescription.struct_class = Types::FailureDescription
|
578
611
|
|
612
|
+
GetKinesisStreamInput.add_member(:delivery_stream_arn, Shapes::ShapeRef.new(shape: DeliveryStreamARN, required: true, location_name: "DeliveryStreamARN"))
|
613
|
+
GetKinesisStreamInput.struct_class = Types::GetKinesisStreamInput
|
614
|
+
|
615
|
+
GetKinesisStreamOutput.add_member(:kinesis_stream_arn, Shapes::ShapeRef.new(shape: KinesisStreamARN, location_name: "KinesisStreamARN"))
|
616
|
+
GetKinesisStreamOutput.add_member(:credentials_for_reading_kinesis_stream, Shapes::ShapeRef.new(shape: SessionCredentials, location_name: "CredentialsForReadingKinesisStream"))
|
617
|
+
GetKinesisStreamOutput.struct_class = Types::GetKinesisStreamOutput
|
618
|
+
|
579
619
|
HiveJsonSerDe.add_member(:timestamp_formats, Shapes::ShapeRef.new(shape: ListOfNonEmptyStrings, location_name: "TimestampFormats"))
|
580
620
|
HiveJsonSerDe.struct_class = Types::HiveJsonSerDe
|
581
621
|
|
@@ -652,6 +692,10 @@ module Aws::Firehose
|
|
652
692
|
InvalidSourceException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
653
693
|
InvalidSourceException.struct_class = Types::InvalidSourceException
|
654
694
|
|
695
|
+
InvalidStreamTypeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
696
|
+
InvalidStreamTypeException.add_member(:source, Shapes::ShapeRef.new(shape: FirehoseSource, location_name: "source"))
|
697
|
+
InvalidStreamTypeException.struct_class = Types::InvalidStreamTypeException
|
698
|
+
|
655
699
|
KMSEncryptionConfig.add_member(:awskms_key_arn, Shapes::ShapeRef.new(shape: AWSKMSKeyARN, required: true, location_name: "AWSKMSKeyARN"))
|
656
700
|
KMSEncryptionConfig.struct_class = Types::KMSEncryptionConfig
|
657
701
|
|
@@ -872,6 +916,12 @@ module Aws::Firehose
|
|
872
916
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
873
917
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
874
918
|
|
919
|
+
SessionCredentials.add_member(:access_key_id, Shapes::ShapeRef.new(shape: AccessKeyId, required: true, location_name: "AccessKeyId"))
|
920
|
+
SessionCredentials.add_member(:secret_access_key, Shapes::ShapeRef.new(shape: SecretAccessKey, required: true, location_name: "SecretAccessKey"))
|
921
|
+
SessionCredentials.add_member(:session_token, Shapes::ShapeRef.new(shape: SessionToken, required: true, location_name: "SessionToken"))
|
922
|
+
SessionCredentials.add_member(:expiration, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Expiration"))
|
923
|
+
SessionCredentials.struct_class = Types::SessionCredentials
|
924
|
+
|
875
925
|
SnowflakeDestinationConfiguration.add_member(:account_url, Shapes::ShapeRef.new(shape: SnowflakeAccountUrl, required: true, location_name: "AccountUrl"))
|
876
926
|
SnowflakeDestinationConfiguration.add_member(:private_key, Shapes::ShapeRef.new(shape: SnowflakePrivateKey, required: true, location_name: "PrivateKey"))
|
877
927
|
SnowflakeDestinationConfiguration.add_member(:key_passphrase, Shapes::ShapeRef.new(shape: SnowflakeKeyPassphrase, location_name: "KeyPassphrase"))
|
@@ -1013,6 +1063,43 @@ module Aws::Firehose
|
|
1013
1063
|
|
1014
1064
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
1015
1065
|
|
1066
|
+
TagrisAccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: TagrisExceptionMessage, location_name: "message"))
|
1067
|
+
TagrisAccessDeniedException.struct_class = Types::TagrisAccessDeniedException
|
1068
|
+
|
1069
|
+
TagrisInternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: TagrisExceptionMessage, location_name: "message"))
|
1070
|
+
TagrisInternalServiceException.struct_class = Types::TagrisInternalServiceException
|
1071
|
+
|
1072
|
+
TagrisInvalidArnException.add_member(:message, Shapes::ShapeRef.new(shape: TagrisExceptionMessage, location_name: "message"))
|
1073
|
+
TagrisInvalidArnException.add_member(:sweep_list_item, Shapes::ShapeRef.new(shape: TagrisSweepListItem, location_name: "sweepListItem"))
|
1074
|
+
TagrisInvalidArnException.struct_class = Types::TagrisInvalidArnException
|
1075
|
+
|
1076
|
+
TagrisInvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: TagrisExceptionMessage, location_name: "message"))
|
1077
|
+
TagrisInvalidParameterException.struct_class = Types::TagrisInvalidParameterException
|
1078
|
+
|
1079
|
+
TagrisPartialResourcesExistResultsException.add_member(:message, Shapes::ShapeRef.new(shape: TagrisExceptionMessage, location_name: "message"))
|
1080
|
+
TagrisPartialResourcesExistResultsException.add_member(:resource_existence_information, Shapes::ShapeRef.new(shape: TagrisSweepListResult, location_name: "resourceExistenceInformation"))
|
1081
|
+
TagrisPartialResourcesExistResultsException.struct_class = Types::TagrisPartialResourcesExistResultsException
|
1082
|
+
|
1083
|
+
TagrisSweepList.member = Shapes::ShapeRef.new(shape: TagrisSweepListItem)
|
1084
|
+
|
1085
|
+
TagrisSweepListItem.add_member(:tagris_account_id, Shapes::ShapeRef.new(shape: TagrisAccountId, location_name: "TagrisAccountId"))
|
1086
|
+
TagrisSweepListItem.add_member(:tagris_amazon_resource_name, Shapes::ShapeRef.new(shape: TagrisAmazonResourceName, location_name: "TagrisAmazonResourceName"))
|
1087
|
+
TagrisSweepListItem.add_member(:tagris_internal_id, Shapes::ShapeRef.new(shape: TagrisInternalId, location_name: "TagrisInternalId"))
|
1088
|
+
TagrisSweepListItem.add_member(:tagris_version, Shapes::ShapeRef.new(shape: TagrisVersion, location_name: "TagrisVersion"))
|
1089
|
+
TagrisSweepListItem.struct_class = Types::TagrisSweepListItem
|
1090
|
+
|
1091
|
+
TagrisSweepListResult.key = Shapes::ShapeRef.new(shape: TagrisAmazonResourceName)
|
1092
|
+
TagrisSweepListResult.value = Shapes::ShapeRef.new(shape: TagrisStatus)
|
1093
|
+
|
1094
|
+
TagrisThrottledException.add_member(:message, Shapes::ShapeRef.new(shape: TagrisExceptionMessage, location_name: "message"))
|
1095
|
+
TagrisThrottledException.struct_class = Types::TagrisThrottledException
|
1096
|
+
|
1097
|
+
TagrisVerifyResourcesExistInput.add_member(:tagris_sweep_list, Shapes::ShapeRef.new(shape: TagrisSweepList, required: true, location_name: "TagrisSweepList"))
|
1098
|
+
TagrisVerifyResourcesExistInput.struct_class = Types::TagrisVerifyResourcesExistInput
|
1099
|
+
|
1100
|
+
TagrisVerifyResourcesExistOutput.add_member(:tagris_sweep_list_result, Shapes::ShapeRef.new(shape: TagrisSweepListResult, required: true, location_name: "TagrisSweepListResult"))
|
1101
|
+
TagrisVerifyResourcesExistOutput.struct_class = Types::TagrisVerifyResourcesExistOutput
|
1102
|
+
|
1016
1103
|
UntagDeliveryStreamInput.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
1017
1104
|
UntagDeliveryStreamInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
1018
1105
|
UntagDeliveryStreamInput.struct_class = Types::UntagDeliveryStreamInput
|
@@ -1096,6 +1183,18 @@ module Aws::Firehose
|
|
1096
1183
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1097
1184
|
end)
|
1098
1185
|
|
1186
|
+
api.add_operation(:get_kinesis_stream, Seahorse::Model::Operation.new.tap do |o|
|
1187
|
+
o.name = "GetKinesisStream"
|
1188
|
+
o.http_method = "POST"
|
1189
|
+
o.http_request_uri = "/"
|
1190
|
+
o.input = Shapes::ShapeRef.new(shape: GetKinesisStreamInput)
|
1191
|
+
o.output = Shapes::ShapeRef.new(shape: GetKinesisStreamOutput)
|
1192
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1193
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1194
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStreamTypeException)
|
1195
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKMSResourceException)
|
1196
|
+
end)
|
1197
|
+
|
1099
1198
|
api.add_operation(:list_delivery_streams, Seahorse::Model::Operation.new.tap do |o|
|
1100
1199
|
o.name = "ListDeliveryStreams"
|
1101
1200
|
o.http_method = "POST"
|
@@ -1201,6 +1300,20 @@ module Aws::Firehose
|
|
1201
1300
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1202
1301
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1203
1302
|
end)
|
1303
|
+
|
1304
|
+
api.add_operation(:verify_resources_exist_for_tagris, Seahorse::Model::Operation.new.tap do |o|
|
1305
|
+
o.name = "VerifyResourcesExistForTagris"
|
1306
|
+
o.http_method = "POST"
|
1307
|
+
o.http_request_uri = "/"
|
1308
|
+
o.input = Shapes::ShapeRef.new(shape: TagrisVerifyResourcesExistInput)
|
1309
|
+
o.output = Shapes::ShapeRef.new(shape: TagrisVerifyResourcesExistOutput)
|
1310
|
+
o.errors << Shapes::ShapeRef.new(shape: TagrisAccessDeniedException)
|
1311
|
+
o.errors << Shapes::ShapeRef.new(shape: TagrisInternalServiceException)
|
1312
|
+
o.errors << Shapes::ShapeRef.new(shape: TagrisInvalidArnException)
|
1313
|
+
o.errors << Shapes::ShapeRef.new(shape: TagrisInvalidParameterException)
|
1314
|
+
o.errors << Shapes::ShapeRef.new(shape: TagrisPartialResourcesExistResultsException)
|
1315
|
+
o.errors << Shapes::ShapeRef.new(shape: TagrisThrottledException)
|
1316
|
+
end)
|
1204
1317
|
end
|
1205
1318
|
|
1206
1319
|
end
|
@@ -54,6 +54,20 @@ module Aws::Firehose
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
+
class GetKinesisStream
|
58
|
+
def self.build(context)
|
59
|
+
unless context.config.regional_endpoint
|
60
|
+
endpoint = context.config.endpoint.to_s
|
61
|
+
end
|
62
|
+
Aws::Firehose::EndpointParameters.new(
|
63
|
+
region: context.config.region,
|
64
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
65
|
+
use_fips: context.config.use_fips_endpoint,
|
66
|
+
endpoint: endpoint,
|
67
|
+
)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
57
71
|
class ListDeliveryStreams
|
58
72
|
def self.build(context)
|
59
73
|
unless context.config.regional_endpoint
|
@@ -180,5 +194,19 @@ module Aws::Firehose
|
|
180
194
|
end
|
181
195
|
end
|
182
196
|
|
197
|
+
class VerifyResourcesExistForTagris
|
198
|
+
def self.build(context)
|
199
|
+
unless context.config.regional_endpoint
|
200
|
+
endpoint = context.config.endpoint.to_s
|
201
|
+
end
|
202
|
+
Aws::Firehose::EndpointParameters.new(
|
203
|
+
region: context.config.region,
|
204
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
205
|
+
use_fips: context.config.use_fips_endpoint,
|
206
|
+
endpoint: endpoint,
|
207
|
+
)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
183
211
|
end
|
184
212
|
end
|
@@ -31,10 +31,17 @@ module Aws::Firehose
|
|
31
31
|
# * {InvalidArgumentException}
|
32
32
|
# * {InvalidKMSResourceException}
|
33
33
|
# * {InvalidSourceException}
|
34
|
+
# * {InvalidStreamTypeException}
|
34
35
|
# * {LimitExceededException}
|
35
36
|
# * {ResourceInUseException}
|
36
37
|
# * {ResourceNotFoundException}
|
37
38
|
# * {ServiceUnavailableException}
|
39
|
+
# * {TagrisAccessDeniedException}
|
40
|
+
# * {TagrisInternalServiceException}
|
41
|
+
# * {TagrisInvalidArnException}
|
42
|
+
# * {TagrisInvalidParameterException}
|
43
|
+
# * {TagrisPartialResourcesExistResultsException}
|
44
|
+
# * {TagrisThrottledException}
|
38
45
|
#
|
39
46
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
40
47
|
# if they are not defined above.
|
@@ -112,6 +119,26 @@ module Aws::Firehose
|
|
112
119
|
end
|
113
120
|
end
|
114
121
|
|
122
|
+
class InvalidStreamTypeException < ServiceError
|
123
|
+
|
124
|
+
# @param [Seahorse::Client::RequestContext] context
|
125
|
+
# @param [String] message
|
126
|
+
# @param [Aws::Firehose::Types::InvalidStreamTypeException] data
|
127
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
128
|
+
super(context, message, data)
|
129
|
+
end
|
130
|
+
|
131
|
+
# @return [String]
|
132
|
+
def message
|
133
|
+
@message || @data[:message]
|
134
|
+
end
|
135
|
+
|
136
|
+
# @return [String]
|
137
|
+
def source
|
138
|
+
@data[:source]
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
115
142
|
class LimitExceededException < ServiceError
|
116
143
|
|
117
144
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -172,5 +199,105 @@ module Aws::Firehose
|
|
172
199
|
end
|
173
200
|
end
|
174
201
|
|
202
|
+
class TagrisAccessDeniedException < ServiceError
|
203
|
+
|
204
|
+
# @param [Seahorse::Client::RequestContext] context
|
205
|
+
# @param [String] message
|
206
|
+
# @param [Aws::Firehose::Types::TagrisAccessDeniedException] data
|
207
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
208
|
+
super(context, message, data)
|
209
|
+
end
|
210
|
+
|
211
|
+
# @return [String]
|
212
|
+
def message
|
213
|
+
@message || @data[:message]
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
class TagrisInternalServiceException < ServiceError
|
218
|
+
|
219
|
+
# @param [Seahorse::Client::RequestContext] context
|
220
|
+
# @param [String] message
|
221
|
+
# @param [Aws::Firehose::Types::TagrisInternalServiceException] data
|
222
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
223
|
+
super(context, message, data)
|
224
|
+
end
|
225
|
+
|
226
|
+
# @return [String]
|
227
|
+
def message
|
228
|
+
@message || @data[:message]
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
class TagrisInvalidArnException < ServiceError
|
233
|
+
|
234
|
+
# @param [Seahorse::Client::RequestContext] context
|
235
|
+
# @param [String] message
|
236
|
+
# @param [Aws::Firehose::Types::TagrisInvalidArnException] data
|
237
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
238
|
+
super(context, message, data)
|
239
|
+
end
|
240
|
+
|
241
|
+
# @return [String]
|
242
|
+
def message
|
243
|
+
@message || @data[:message]
|
244
|
+
end
|
245
|
+
|
246
|
+
# @return [String]
|
247
|
+
def sweep_list_item
|
248
|
+
@data[:sweep_list_item]
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
class TagrisInvalidParameterException < ServiceError
|
253
|
+
|
254
|
+
# @param [Seahorse::Client::RequestContext] context
|
255
|
+
# @param [String] message
|
256
|
+
# @param [Aws::Firehose::Types::TagrisInvalidParameterException] data
|
257
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
258
|
+
super(context, message, data)
|
259
|
+
end
|
260
|
+
|
261
|
+
# @return [String]
|
262
|
+
def message
|
263
|
+
@message || @data[:message]
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
class TagrisPartialResourcesExistResultsException < ServiceError
|
268
|
+
|
269
|
+
# @param [Seahorse::Client::RequestContext] context
|
270
|
+
# @param [String] message
|
271
|
+
# @param [Aws::Firehose::Types::TagrisPartialResourcesExistResultsException] data
|
272
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
273
|
+
super(context, message, data)
|
274
|
+
end
|
275
|
+
|
276
|
+
# @return [String]
|
277
|
+
def message
|
278
|
+
@message || @data[:message]
|
279
|
+
end
|
280
|
+
|
281
|
+
# @return [String]
|
282
|
+
def resource_existence_information
|
283
|
+
@data[:resource_existence_information]
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
287
|
+
class TagrisThrottledException < ServiceError
|
288
|
+
|
289
|
+
# @param [Seahorse::Client::RequestContext] context
|
290
|
+
# @param [String] message
|
291
|
+
# @param [Aws::Firehose::Types::TagrisThrottledException] data
|
292
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
293
|
+
super(context, message, data)
|
294
|
+
end
|
295
|
+
|
296
|
+
# @return [String]
|
297
|
+
def message
|
298
|
+
@message || @data[:message]
|
299
|
+
end
|
300
|
+
end
|
301
|
+
|
175
302
|
end
|
176
303
|
end
|
@@ -64,6 +64,8 @@ module Aws::Firehose
|
|
64
64
|
Aws::Firehose::Endpoints::DeleteDeliveryStream.build(context)
|
65
65
|
when :describe_delivery_stream
|
66
66
|
Aws::Firehose::Endpoints::DescribeDeliveryStream.build(context)
|
67
|
+
when :get_kinesis_stream
|
68
|
+
Aws::Firehose::Endpoints::GetKinesisStream.build(context)
|
67
69
|
when :list_delivery_streams
|
68
70
|
Aws::Firehose::Endpoints::ListDeliveryStreams.build(context)
|
69
71
|
when :list_tags_for_delivery_stream
|
@@ -82,6 +84,8 @@ module Aws::Firehose
|
|
82
84
|
Aws::Firehose::Endpoints::UntagDeliveryStream.build(context)
|
83
85
|
when :update_destination
|
84
86
|
Aws::Firehose::Endpoints::UpdateDestination.build(context)
|
87
|
+
when :verify_resources_exist_for_tagris
|
88
|
+
Aws::Firehose::Endpoints::VerifyResourcesExistForTagris.build(context)
|
85
89
|
end
|
86
90
|
end
|
87
91
|
end
|