aws-sdk-chimesdkmessaging 1.15.0 → 1.17.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-chimesdkmessaging/client.rb +394 -156
- data/lib/aws-sdk-chimesdkmessaging/client_api.rb +116 -1
- data/lib/aws-sdk-chimesdkmessaging/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-chimesdkmessaging/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-chimesdkmessaging/endpoints.rb +56 -0
- data/lib/aws-sdk-chimesdkmessaging/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-chimesdkmessaging/types.rb +267 -55
- data/lib/aws-sdk-chimesdkmessaging.rb +1 -1
- metadata +2 -2
@@ -66,6 +66,7 @@ module Aws::ChimeSDKMessaging
|
|
66
66
|
ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
|
67
67
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
68
68
|
Content = Shapes::StringShape.new(name: 'Content')
|
69
|
+
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
69
70
|
CreateChannelBanRequest = Shapes::StructureShape.new(name: 'CreateChannelBanRequest')
|
70
71
|
CreateChannelBanResponse = Shapes::StructureShape.new(name: 'CreateChannelBanResponse')
|
71
72
|
CreateChannelFlowRequest = Shapes::StructureShape.new(name: 'CreateChannelFlowRequest')
|
@@ -82,6 +83,7 @@ module Aws::ChimeSDKMessaging
|
|
82
83
|
DeleteChannelMessageRequest = Shapes::StructureShape.new(name: 'DeleteChannelMessageRequest')
|
83
84
|
DeleteChannelModeratorRequest = Shapes::StructureShape.new(name: 'DeleteChannelModeratorRequest')
|
84
85
|
DeleteChannelRequest = Shapes::StructureShape.new(name: 'DeleteChannelRequest')
|
86
|
+
DeleteMessagingStreamingConfigurationsRequest = Shapes::StructureShape.new(name: 'DeleteMessagingStreamingConfigurationsRequest')
|
85
87
|
DescribeChannelBanRequest = Shapes::StructureShape.new(name: 'DescribeChannelBanRequest')
|
86
88
|
DescribeChannelBanResponse = Shapes::StructureShape.new(name: 'DescribeChannelBanResponse')
|
87
89
|
DescribeChannelFlowRequest = Shapes::StructureShape.new(name: 'DescribeChannelFlowRequest')
|
@@ -99,6 +101,9 @@ module Aws::ChimeSDKMessaging
|
|
99
101
|
DisassociateChannelFlowRequest = Shapes::StructureShape.new(name: 'DisassociateChannelFlowRequest')
|
100
102
|
ElasticChannelConfiguration = Shapes::StructureShape.new(name: 'ElasticChannelConfiguration')
|
101
103
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
104
|
+
ExpirationCriterion = Shapes::StringShape.new(name: 'ExpirationCriterion')
|
105
|
+
ExpirationDays = Shapes::IntegerShape.new(name: 'ExpirationDays')
|
106
|
+
ExpirationSettings = Shapes::StructureShape.new(name: 'ExpirationSettings')
|
102
107
|
FallbackAction = Shapes::StringShape.new(name: 'FallbackAction')
|
103
108
|
FilterRule = Shapes::StringShape.new(name: 'FilterRule')
|
104
109
|
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
@@ -110,6 +115,8 @@ module Aws::ChimeSDKMessaging
|
|
110
115
|
GetChannelMessageStatusResponse = Shapes::StructureShape.new(name: 'GetChannelMessageStatusResponse')
|
111
116
|
GetMessagingSessionEndpointRequest = Shapes::StructureShape.new(name: 'GetMessagingSessionEndpointRequest')
|
112
117
|
GetMessagingSessionEndpointResponse = Shapes::StructureShape.new(name: 'GetMessagingSessionEndpointResponse')
|
118
|
+
GetMessagingStreamingConfigurationsRequest = Shapes::StructureShape.new(name: 'GetMessagingStreamingConfigurationsRequest')
|
119
|
+
GetMessagingStreamingConfigurationsResponse = Shapes::StructureShape.new(name: 'GetMessagingStreamingConfigurationsResponse')
|
113
120
|
Identity = Shapes::StructureShape.new(name: 'Identity')
|
114
121
|
InvocationType = Shapes::StringShape.new(name: 'InvocationType')
|
115
122
|
LambdaConfiguration = Shapes::StructureShape.new(name: 'LambdaConfiguration')
|
@@ -147,6 +154,7 @@ module Aws::ChimeSDKMessaging
|
|
147
154
|
MessageAttributeStringValues = Shapes::ListShape.new(name: 'MessageAttributeStringValues')
|
148
155
|
MessageAttributeValue = Shapes::StructureShape.new(name: 'MessageAttributeValue')
|
149
156
|
MessageId = Shapes::StringShape.new(name: 'MessageId')
|
157
|
+
MessagingDataType = Shapes::StringShape.new(name: 'MessagingDataType')
|
150
158
|
MessagingSessionEndpoint = Shapes::StructureShape.new(name: 'MessagingSessionEndpoint')
|
151
159
|
Metadata = Shapes::StringShape.new(name: 'Metadata')
|
152
160
|
MinimumMembershipPercentage = Shapes::IntegerShape.new(name: 'MinimumMembershipPercentage')
|
@@ -163,8 +171,12 @@ module Aws::ChimeSDKMessaging
|
|
163
171
|
PushNotificationPreferences = Shapes::StructureShape.new(name: 'PushNotificationPreferences')
|
164
172
|
PushNotificationTitle = Shapes::StringShape.new(name: 'PushNotificationTitle')
|
165
173
|
PushNotificationType = Shapes::StringShape.new(name: 'PushNotificationType')
|
174
|
+
PutChannelExpirationSettingsRequest = Shapes::StructureShape.new(name: 'PutChannelExpirationSettingsRequest')
|
175
|
+
PutChannelExpirationSettingsResponse = Shapes::StructureShape.new(name: 'PutChannelExpirationSettingsResponse')
|
166
176
|
PutChannelMembershipPreferencesRequest = Shapes::StructureShape.new(name: 'PutChannelMembershipPreferencesRequest')
|
167
177
|
PutChannelMembershipPreferencesResponse = Shapes::StructureShape.new(name: 'PutChannelMembershipPreferencesResponse')
|
178
|
+
PutMessagingStreamingConfigurationsRequest = Shapes::StructureShape.new(name: 'PutMessagingStreamingConfigurationsRequest')
|
179
|
+
PutMessagingStreamingConfigurationsResponse = Shapes::StructureShape.new(name: 'PutMessagingStreamingConfigurationsResponse')
|
168
180
|
RedactChannelMessageRequest = Shapes::StructureShape.new(name: 'RedactChannelMessageRequest')
|
169
181
|
RedactChannelMessageResponse = Shapes::StructureShape.new(name: 'RedactChannelMessageResponse')
|
170
182
|
ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
|
@@ -183,6 +195,8 @@ module Aws::ChimeSDKMessaging
|
|
183
195
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
184
196
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
185
197
|
StatusDetail = Shapes::StringShape.new(name: 'StatusDetail')
|
198
|
+
StreamingConfiguration = Shapes::StructureShape.new(name: 'StreamingConfiguration')
|
199
|
+
StreamingConfigurationList = Shapes::ListShape.new(name: 'StreamingConfigurationList')
|
186
200
|
String = Shapes::StringShape.new(name: 'String')
|
187
201
|
SubChannelId = Shapes::StringShape.new(name: 'SubChannelId')
|
188
202
|
SubChannelSummary = Shapes::StructureShape.new(name: 'SubChannelSummary')
|
@@ -258,6 +272,7 @@ module Aws::ChimeSDKMessaging
|
|
258
272
|
Channel.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
|
259
273
|
Channel.add_member(:channel_flow_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelFlowArn"))
|
260
274
|
Channel.add_member(:elastic_channel_configuration, Shapes::ShapeRef.new(shape: ElasticChannelConfiguration, location_name: "ElasticChannelConfiguration"))
|
275
|
+
Channel.add_member(:expiration_settings, Shapes::ShapeRef.new(shape: ExpirationSettings, location_name: "ExpirationSettings"))
|
261
276
|
Channel.struct_class = Types::Channel
|
262
277
|
|
263
278
|
ChannelAssociatedWithFlowSummary.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName, location_name: "Name"))
|
@@ -343,6 +358,7 @@ module Aws::ChimeSDKMessaging
|
|
343
358
|
ChannelMessage.add_member(:status, Shapes::ShapeRef.new(shape: ChannelMessageStatusStructure, location_name: "Status"))
|
344
359
|
ChannelMessage.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageAttributeMap, location_name: "MessageAttributes"))
|
345
360
|
ChannelMessage.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
361
|
+
ChannelMessage.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, location_name: "ContentType"))
|
346
362
|
ChannelMessage.struct_class = Types::ChannelMessage
|
347
363
|
|
348
364
|
ChannelMessageCallback.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location_name: "MessageId"))
|
@@ -351,6 +367,7 @@ module Aws::ChimeSDKMessaging
|
|
351
367
|
ChannelMessageCallback.add_member(:push_notification, Shapes::ShapeRef.new(shape: PushNotificationConfiguration, location_name: "PushNotification"))
|
352
368
|
ChannelMessageCallback.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageAttributeMap, location_name: "MessageAttributes"))
|
353
369
|
ChannelMessageCallback.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
370
|
+
ChannelMessageCallback.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, location_name: "ContentType"))
|
354
371
|
ChannelMessageCallback.struct_class = Types::ChannelMessageCallback
|
355
372
|
|
356
373
|
ChannelMessageStatusStructure.add_member(:value, Shapes::ShapeRef.new(shape: ChannelMessageStatus, location_name: "Value"))
|
@@ -368,6 +385,7 @@ module Aws::ChimeSDKMessaging
|
|
368
385
|
ChannelMessageSummary.add_member(:redacted, Shapes::ShapeRef.new(shape: NonNullableBoolean, location_name: "Redacted"))
|
369
386
|
ChannelMessageSummary.add_member(:status, Shapes::ShapeRef.new(shape: ChannelMessageStatusStructure, location_name: "Status"))
|
370
387
|
ChannelMessageSummary.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageAttributeMap, location_name: "MessageAttributes"))
|
388
|
+
ChannelMessageSummary.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, location_name: "ContentType"))
|
371
389
|
ChannelMessageSummary.struct_class = Types::ChannelMessageSummary
|
372
390
|
|
373
391
|
ChannelMessageSummaryList.member = Shapes::ShapeRef.new(shape: ChannelMessageSummary)
|
@@ -456,6 +474,7 @@ module Aws::ChimeSDKMessaging
|
|
456
474
|
CreateChannelRequest.add_member(:member_arns, Shapes::ShapeRef.new(shape: ChannelMemberArns, location_name: "MemberArns"))
|
457
475
|
CreateChannelRequest.add_member(:moderator_arns, Shapes::ShapeRef.new(shape: ChannelModeratorArns, location_name: "ModeratorArns"))
|
458
476
|
CreateChannelRequest.add_member(:elastic_channel_configuration, Shapes::ShapeRef.new(shape: ElasticChannelConfiguration, location_name: "ElasticChannelConfiguration"))
|
477
|
+
CreateChannelRequest.add_member(:expiration_settings, Shapes::ShapeRef.new(shape: ExpirationSettings, location_name: "ExpirationSettings"))
|
459
478
|
CreateChannelRequest.struct_class = Types::CreateChannelRequest
|
460
479
|
|
461
480
|
CreateChannelResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
@@ -491,6 +510,9 @@ module Aws::ChimeSDKMessaging
|
|
491
510
|
DeleteChannelRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location: "querystring", location_name: "sub-channel-id"))
|
492
511
|
DeleteChannelRequest.struct_class = Types::DeleteChannelRequest
|
493
512
|
|
513
|
+
DeleteMessagingStreamingConfigurationsRequest.add_member(:app_instance_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "appInstanceArn"))
|
514
|
+
DeleteMessagingStreamingConfigurationsRequest.struct_class = Types::DeleteMessagingStreamingConfigurationsRequest
|
515
|
+
|
494
516
|
DescribeChannelBanRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
495
517
|
DescribeChannelBanRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "memberArn"))
|
496
518
|
DescribeChannelBanRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
@@ -555,6 +577,10 @@ module Aws::ChimeSDKMessaging
|
|
555
577
|
ElasticChannelConfiguration.add_member(:minimum_membership_percentage, Shapes::ShapeRef.new(shape: MinimumMembershipPercentage, required: true, location_name: "MinimumMembershipPercentage"))
|
556
578
|
ElasticChannelConfiguration.struct_class = Types::ElasticChannelConfiguration
|
557
579
|
|
580
|
+
ExpirationSettings.add_member(:expiration_days, Shapes::ShapeRef.new(shape: ExpirationDays, required: true, location_name: "ExpirationDays"))
|
581
|
+
ExpirationSettings.add_member(:expiration_criterion, Shapes::ShapeRef.new(shape: ExpirationCriterion, required: true, location_name: "ExpirationCriterion"))
|
582
|
+
ExpirationSettings.struct_class = Types::ExpirationSettings
|
583
|
+
|
558
584
|
ForbiddenException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
559
585
|
ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
560
586
|
ForbiddenException.struct_class = Types::ForbiddenException
|
@@ -592,6 +618,12 @@ module Aws::ChimeSDKMessaging
|
|
592
618
|
GetMessagingSessionEndpointResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: MessagingSessionEndpoint, location_name: "Endpoint"))
|
593
619
|
GetMessagingSessionEndpointResponse.struct_class = Types::GetMessagingSessionEndpointResponse
|
594
620
|
|
621
|
+
GetMessagingStreamingConfigurationsRequest.add_member(:app_instance_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "appInstanceArn"))
|
622
|
+
GetMessagingStreamingConfigurationsRequest.struct_class = Types::GetMessagingStreamingConfigurationsRequest
|
623
|
+
|
624
|
+
GetMessagingStreamingConfigurationsResponse.add_member(:streaming_configurations, Shapes::ShapeRef.new(shape: StreamingConfigurationList, location_name: "StreamingConfigurations"))
|
625
|
+
GetMessagingStreamingConfigurationsResponse.struct_class = Types::GetMessagingStreamingConfigurationsResponse
|
626
|
+
|
595
627
|
Identity.add_member(:arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "Arn"))
|
596
628
|
Identity.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "Name"))
|
597
629
|
Identity.struct_class = Types::Identity
|
@@ -756,6 +788,15 @@ module Aws::ChimeSDKMessaging
|
|
756
788
|
PushNotificationPreferences.add_member(:filter_rule, Shapes::ShapeRef.new(shape: FilterRule, location_name: "FilterRule"))
|
757
789
|
PushNotificationPreferences.struct_class = Types::PushNotificationPreferences
|
758
790
|
|
791
|
+
PutChannelExpirationSettingsRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
792
|
+
PutChannelExpirationSettingsRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, location: "header", location_name: "x-amz-chime-bearer"))
|
793
|
+
PutChannelExpirationSettingsRequest.add_member(:expiration_settings, Shapes::ShapeRef.new(shape: ExpirationSettings, location_name: "ExpirationSettings"))
|
794
|
+
PutChannelExpirationSettingsRequest.struct_class = Types::PutChannelExpirationSettingsRequest
|
795
|
+
|
796
|
+
PutChannelExpirationSettingsResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
797
|
+
PutChannelExpirationSettingsResponse.add_member(:expiration_settings, Shapes::ShapeRef.new(shape: ExpirationSettings, location_name: "ExpirationSettings"))
|
798
|
+
PutChannelExpirationSettingsResponse.struct_class = Types::PutChannelExpirationSettingsResponse
|
799
|
+
|
759
800
|
PutChannelMembershipPreferencesRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
760
801
|
PutChannelMembershipPreferencesRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "memberArn"))
|
761
802
|
PutChannelMembershipPreferencesRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
@@ -767,6 +808,13 @@ module Aws::ChimeSDKMessaging
|
|
767
808
|
PutChannelMembershipPreferencesResponse.add_member(:preferences, Shapes::ShapeRef.new(shape: ChannelMembershipPreferences, location_name: "Preferences"))
|
768
809
|
PutChannelMembershipPreferencesResponse.struct_class = Types::PutChannelMembershipPreferencesResponse
|
769
810
|
|
811
|
+
PutMessagingStreamingConfigurationsRequest.add_member(:app_instance_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "appInstanceArn"))
|
812
|
+
PutMessagingStreamingConfigurationsRequest.add_member(:streaming_configurations, Shapes::ShapeRef.new(shape: StreamingConfigurationList, required: true, location_name: "StreamingConfigurations"))
|
813
|
+
PutMessagingStreamingConfigurationsRequest.struct_class = Types::PutMessagingStreamingConfigurationsRequest
|
814
|
+
|
815
|
+
PutMessagingStreamingConfigurationsResponse.add_member(:streaming_configurations, Shapes::ShapeRef.new(shape: StreamingConfigurationList, location_name: "StreamingConfigurations"))
|
816
|
+
PutMessagingStreamingConfigurationsResponse.struct_class = Types::PutMessagingStreamingConfigurationsResponse
|
817
|
+
|
770
818
|
RedactChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
771
819
|
RedactChannelMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
|
772
820
|
RedactChannelMessageRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
@@ -811,6 +859,7 @@ module Aws::ChimeSDKMessaging
|
|
811
859
|
SendChannelMessageRequest.add_member(:push_notification, Shapes::ShapeRef.new(shape: PushNotificationConfiguration, location_name: "PushNotification"))
|
812
860
|
SendChannelMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageAttributeMap, location_name: "MessageAttributes"))
|
813
861
|
SendChannelMessageRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
862
|
+
SendChannelMessageRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, location_name: "ContentType"))
|
814
863
|
SendChannelMessageRequest.struct_class = Types::SendChannelMessageRequest
|
815
864
|
|
816
865
|
SendChannelMessageResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
@@ -827,6 +876,12 @@ module Aws::ChimeSDKMessaging
|
|
827
876
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
828
877
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
829
878
|
|
879
|
+
StreamingConfiguration.add_member(:data_type, Shapes::ShapeRef.new(shape: MessagingDataType, required: true, location_name: "DataType"))
|
880
|
+
StreamingConfiguration.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location_name: "ResourceArn"))
|
881
|
+
StreamingConfiguration.struct_class = Types::StreamingConfiguration
|
882
|
+
|
883
|
+
StreamingConfigurationList.member = Shapes::ShapeRef.new(shape: StreamingConfiguration)
|
884
|
+
|
830
885
|
SubChannelSummary.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
831
886
|
SubChannelSummary.add_member(:membership_count, Shapes::ShapeRef.new(shape: MembershipCount, location_name: "MembershipCount"))
|
832
887
|
SubChannelSummary.struct_class = Types::SubChannelSummary
|
@@ -867,10 +922,11 @@ module Aws::ChimeSDKMessaging
|
|
867
922
|
|
868
923
|
UpdateChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
869
924
|
UpdateChannelMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
|
870
|
-
UpdateChannelMessageRequest.add_member(:content, Shapes::ShapeRef.new(shape:
|
925
|
+
UpdateChannelMessageRequest.add_member(:content, Shapes::ShapeRef.new(shape: NonEmptyContent, required: true, location_name: "Content"))
|
871
926
|
UpdateChannelMessageRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
872
927
|
UpdateChannelMessageRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
873
928
|
UpdateChannelMessageRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
929
|
+
UpdateChannelMessageRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, location_name: "ContentType"))
|
874
930
|
UpdateChannelMessageRequest.struct_class = Types::UpdateChannelMessageRequest
|
875
931
|
|
876
932
|
UpdateChannelMessageResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
@@ -1129,6 +1185,19 @@ module Aws::ChimeSDKMessaging
|
|
1129
1185
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1130
1186
|
end)
|
1131
1187
|
|
1188
|
+
api.add_operation(:delete_messaging_streaming_configurations, Seahorse::Model::Operation.new.tap do |o|
|
1189
|
+
o.name = "DeleteMessagingStreamingConfigurations"
|
1190
|
+
o.http_method = "DELETE"
|
1191
|
+
o.http_request_uri = "/app-instances/{appInstanceArn}/streaming-configurations"
|
1192
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteMessagingStreamingConfigurationsRequest)
|
1193
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1194
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1195
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1196
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
1197
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1198
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1199
|
+
end)
|
1200
|
+
|
1132
1201
|
api.add_operation(:describe_channel, Seahorse::Model::Operation.new.tap do |o|
|
1133
1202
|
o.name = "DescribeChannel"
|
1134
1203
|
o.http_method = "GET"
|
@@ -1302,6 +1371,21 @@ module Aws::ChimeSDKMessaging
|
|
1302
1371
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1303
1372
|
end)
|
1304
1373
|
|
1374
|
+
api.add_operation(:get_messaging_streaming_configurations, Seahorse::Model::Operation.new.tap do |o|
|
1375
|
+
o.name = "GetMessagingStreamingConfigurations"
|
1376
|
+
o.http_method = "GET"
|
1377
|
+
o.http_request_uri = "/app-instances/{appInstanceArn}/streaming-configurations"
|
1378
|
+
o.input = Shapes::ShapeRef.new(shape: GetMessagingStreamingConfigurationsRequest)
|
1379
|
+
o.output = Shapes::ShapeRef.new(shape: GetMessagingStreamingConfigurationsResponse)
|
1380
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1381
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1382
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1383
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1384
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
1385
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1386
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1387
|
+
end)
|
1388
|
+
|
1305
1389
|
api.add_operation(:list_channel_bans, Seahorse::Model::Operation.new.tap do |o|
|
1306
1390
|
o.name = "ListChannelBans"
|
1307
1391
|
o.http_method = "GET"
|
@@ -1516,6 +1600,21 @@ module Aws::ChimeSDKMessaging
|
|
1516
1600
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1517
1601
|
end)
|
1518
1602
|
|
1603
|
+
api.add_operation(:put_channel_expiration_settings, Seahorse::Model::Operation.new.tap do |o|
|
1604
|
+
o.name = "PutChannelExpirationSettings"
|
1605
|
+
o.http_method = "PUT"
|
1606
|
+
o.http_request_uri = "/channels/{channelArn}/expiration-settings"
|
1607
|
+
o.input = Shapes::ShapeRef.new(shape: PutChannelExpirationSettingsRequest)
|
1608
|
+
o.output = Shapes::ShapeRef.new(shape: PutChannelExpirationSettingsResponse)
|
1609
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1610
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1611
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1612
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1613
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
1614
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1615
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1616
|
+
end)
|
1617
|
+
|
1519
1618
|
api.add_operation(:put_channel_membership_preferences, Seahorse::Model::Operation.new.tap do |o|
|
1520
1619
|
o.name = "PutChannelMembershipPreferences"
|
1521
1620
|
o.http_method = "PUT"
|
@@ -1531,6 +1630,22 @@ module Aws::ChimeSDKMessaging
|
|
1531
1630
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1532
1631
|
end)
|
1533
1632
|
|
1633
|
+
api.add_operation(:put_messaging_streaming_configurations, Seahorse::Model::Operation.new.tap do |o|
|
1634
|
+
o.name = "PutMessagingStreamingConfigurations"
|
1635
|
+
o.http_method = "PUT"
|
1636
|
+
o.http_request_uri = "/app-instances/{appInstanceArn}/streaming-configurations"
|
1637
|
+
o.input = Shapes::ShapeRef.new(shape: PutMessagingStreamingConfigurationsRequest)
|
1638
|
+
o.output = Shapes::ShapeRef.new(shape: PutMessagingStreamingConfigurationsResponse)
|
1639
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1640
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1641
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1642
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1643
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
1644
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1645
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1646
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1647
|
+
end)
|
1648
|
+
|
1534
1649
|
api.add_operation(:redact_channel_message, Seahorse::Model::Operation.new.tap do |o|
|
1535
1650
|
o.name = "RedactChannelMessage"
|
1536
1651
|
o.http_method = "POST"
|
@@ -50,9 +50,6 @@ module Aws::ChimeSDKMessaging
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::ChimeSDKMessaging
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://messaging-chime-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://messaging-chime-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://messaging-chime-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://messaging-chime-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://messaging-chime.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://messaging-chime.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://messaging-chime.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -207,6 +207,20 @@ module Aws::ChimeSDKMessaging
|
|
207
207
|
end
|
208
208
|
end
|
209
209
|
|
210
|
+
class DeleteMessagingStreamingConfigurations
|
211
|
+
def self.build(context)
|
212
|
+
unless context.config.regional_endpoint
|
213
|
+
endpoint = context.config.endpoint.to_s
|
214
|
+
end
|
215
|
+
Aws::ChimeSDKMessaging::EndpointParameters.new(
|
216
|
+
region: context.config.region,
|
217
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
218
|
+
use_fips: context.config.use_fips_endpoint,
|
219
|
+
endpoint: endpoint,
|
220
|
+
)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
210
224
|
class DescribeChannel
|
211
225
|
def self.build(context)
|
212
226
|
unless context.config.regional_endpoint
|
@@ -375,6 +389,20 @@ module Aws::ChimeSDKMessaging
|
|
375
389
|
end
|
376
390
|
end
|
377
391
|
|
392
|
+
class GetMessagingStreamingConfigurations
|
393
|
+
def self.build(context)
|
394
|
+
unless context.config.regional_endpoint
|
395
|
+
endpoint = context.config.endpoint.to_s
|
396
|
+
end
|
397
|
+
Aws::ChimeSDKMessaging::EndpointParameters.new(
|
398
|
+
region: context.config.region,
|
399
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
400
|
+
use_fips: context.config.use_fips_endpoint,
|
401
|
+
endpoint: endpoint,
|
402
|
+
)
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
378
406
|
class ListChannelBans
|
379
407
|
def self.build(context)
|
380
408
|
unless context.config.regional_endpoint
|
@@ -529,6 +557,20 @@ module Aws::ChimeSDKMessaging
|
|
529
557
|
end
|
530
558
|
end
|
531
559
|
|
560
|
+
class PutChannelExpirationSettings
|
561
|
+
def self.build(context)
|
562
|
+
unless context.config.regional_endpoint
|
563
|
+
endpoint = context.config.endpoint.to_s
|
564
|
+
end
|
565
|
+
Aws::ChimeSDKMessaging::EndpointParameters.new(
|
566
|
+
region: context.config.region,
|
567
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
568
|
+
use_fips: context.config.use_fips_endpoint,
|
569
|
+
endpoint: endpoint,
|
570
|
+
)
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
532
574
|
class PutChannelMembershipPreferences
|
533
575
|
def self.build(context)
|
534
576
|
unless context.config.regional_endpoint
|
@@ -543,6 +585,20 @@ module Aws::ChimeSDKMessaging
|
|
543
585
|
end
|
544
586
|
end
|
545
587
|
|
588
|
+
class PutMessagingStreamingConfigurations
|
589
|
+
def self.build(context)
|
590
|
+
unless context.config.regional_endpoint
|
591
|
+
endpoint = context.config.endpoint.to_s
|
592
|
+
end
|
593
|
+
Aws::ChimeSDKMessaging::EndpointParameters.new(
|
594
|
+
region: context.config.region,
|
595
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
596
|
+
use_fips: context.config.use_fips_endpoint,
|
597
|
+
endpoint: endpoint,
|
598
|
+
)
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
546
602
|
class RedactChannelMessage
|
547
603
|
def self.build(context)
|
548
604
|
unless context.config.regional_endpoint
|
@@ -84,6 +84,8 @@ module Aws::ChimeSDKMessaging
|
|
84
84
|
Aws::ChimeSDKMessaging::Endpoints::DeleteChannelMessage.build(context)
|
85
85
|
when :delete_channel_moderator
|
86
86
|
Aws::ChimeSDKMessaging::Endpoints::DeleteChannelModerator.build(context)
|
87
|
+
when :delete_messaging_streaming_configurations
|
88
|
+
Aws::ChimeSDKMessaging::Endpoints::DeleteMessagingStreamingConfigurations.build(context)
|
87
89
|
when :describe_channel
|
88
90
|
Aws::ChimeSDKMessaging::Endpoints::DescribeChannel.build(context)
|
89
91
|
when :describe_channel_ban
|
@@ -108,6 +110,8 @@ module Aws::ChimeSDKMessaging
|
|
108
110
|
Aws::ChimeSDKMessaging::Endpoints::GetChannelMessageStatus.build(context)
|
109
111
|
when :get_messaging_session_endpoint
|
110
112
|
Aws::ChimeSDKMessaging::Endpoints::GetMessagingSessionEndpoint.build(context)
|
113
|
+
when :get_messaging_streaming_configurations
|
114
|
+
Aws::ChimeSDKMessaging::Endpoints::GetMessagingStreamingConfigurations.build(context)
|
111
115
|
when :list_channel_bans
|
112
116
|
Aws::ChimeSDKMessaging::Endpoints::ListChannelBans.build(context)
|
113
117
|
when :list_channel_flows
|
@@ -130,8 +134,12 @@ module Aws::ChimeSDKMessaging
|
|
130
134
|
Aws::ChimeSDKMessaging::Endpoints::ListSubChannels.build(context)
|
131
135
|
when :list_tags_for_resource
|
132
136
|
Aws::ChimeSDKMessaging::Endpoints::ListTagsForResource.build(context)
|
137
|
+
when :put_channel_expiration_settings
|
138
|
+
Aws::ChimeSDKMessaging::Endpoints::PutChannelExpirationSettings.build(context)
|
133
139
|
when :put_channel_membership_preferences
|
134
140
|
Aws::ChimeSDKMessaging::Endpoints::PutChannelMembershipPreferences.build(context)
|
141
|
+
when :put_messaging_streaming_configurations
|
142
|
+
Aws::ChimeSDKMessaging::Endpoints::PutMessagingStreamingConfigurations.build(context)
|
135
143
|
when :redact_channel_message
|
136
144
|
Aws::ChimeSDKMessaging::Endpoints::RedactChannelMessage.build(context)
|
137
145
|
when :search_channels
|