aws-sdk-chimesdkmessaging 1.15.0 → 1.16.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bfe5790e536663cab3f6dc7131ccc6f357cc17bcb501107cd8bc396aa020955
4
- data.tar.gz: 3ba930a30bd8b7faded5bd6b81f271a7d0aaaeb4ae751063818d535ac6e3b8b1
3
+ metadata.gz: 6d66dd50204fb321ceda827807761a31f811460e83340d8c8ba92ac0cfefbc15
4
+ data.tar.gz: aeb7b7e349bd54ca29bb0d0e7190a5c964c802fc83b17db743b7b424ea8c4094
5
5
  SHA512:
6
- metadata.gz: 0b1a3225376fdcba97fc749dcedb32ab5d9023815080a3a66b36996d4fd2e1d5de199cd3618f5abb15b0e48c220a96e74d8b4bc590f2570cbcbe3164fc44a99c
7
- data.tar.gz: 837405c9d3ad2a2469267728be9d725be8f8dcd659408a90141ae2340c9074baf48616afa65373f9c83ea8a4027a6e0a9d85dc9576e1ba71317b58e17e877689
6
+ metadata.gz: b15a3d79bf40c29bca1b7eacb31f73d687efbbf33d95359913a623a627163ffad9db080e157425459651e5f5c8785a41f6a45493ff1598a9bdd2604f9203ed70
7
+ data.tar.gz: 4299cf112ec83fb244eb8a94d1e825f29b8c0070181c4cdd4d8b23bdeaef7843b20a8992b2104c4ccbc26c3fe18132f14eadb0b0f7f78cc55a4f4bb40cfc0f32
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.16.0 (2023-03-21)
5
+ ------------------
6
+
7
+ * Feature - Amazon Chime SDK messaging customers can now manage streaming configuration for messaging data for archival and analysis.
8
+
4
9
  1.15.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.0
1
+ 1.16.0
@@ -547,7 +547,7 @@ module Aws::ChimeSDKMessaging
547
547
 
548
548
  # Creates a channel to which you can add users and send messages.
549
549
  #
550
- # **Restriction**\: You can't change a channel's privacy.
550
+ # **Restriction**: You can't change a channel's privacy.
551
551
  #
552
552
  # <note markdown="1"> The `x-amz-chime-bearer` request header is mandatory. Use the
553
553
  # `AppInstanceUserArn` of the user that makes the API call as the value
@@ -1147,6 +1147,34 @@ module Aws::ChimeSDKMessaging
1147
1147
  req.send_request(options)
1148
1148
  end
1149
1149
 
1150
+ # Deletes the streaming configurations for an `AppInstance`. For more
1151
+ # information, see [Streaming messaging data][1] in the *Amazon Chime
1152
+ # SDK Developer Guide*.
1153
+ #
1154
+ #
1155
+ #
1156
+ # [1]: https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html
1157
+ #
1158
+ # @option params [required, String] :app_instance_arn
1159
+ # The ARN of the streaming configurations being deleted.
1160
+ #
1161
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1162
+ #
1163
+ # @example Request syntax with placeholder values
1164
+ #
1165
+ # resp = client.delete_messaging_streaming_configurations({
1166
+ # app_instance_arn: "ChimeArn", # required
1167
+ # })
1168
+ #
1169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurations AWS API Documentation
1170
+ #
1171
+ # @overload delete_messaging_streaming_configurations(params = {})
1172
+ # @param [Hash] params ({})
1173
+ def delete_messaging_streaming_configurations(params = {}, options = {})
1174
+ req = build_request(:delete_messaging_streaming_configurations, params)
1175
+ req.send_request(options)
1176
+ end
1177
+
1150
1178
  # Returns the full details of a channel in an Amazon Chime
1151
1179
  # `AppInstance`.
1152
1180
  #
@@ -1742,6 +1770,42 @@ module Aws::ChimeSDKMessaging
1742
1770
  req.send_request(options)
1743
1771
  end
1744
1772
 
1773
+ # Retrieves the data streaming configuration for an `AppInstance`. For
1774
+ # more information, see [Streaming messaging data][1] in the *Amazon
1775
+ # Chime SDK Developer Guide*.
1776
+ #
1777
+ #
1778
+ #
1779
+ # [1]: https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html
1780
+ #
1781
+ # @option params [required, String] :app_instance_arn
1782
+ # The ARN of the streaming configurations.
1783
+ #
1784
+ # @return [Types::GetMessagingStreamingConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1785
+ #
1786
+ # * {Types::GetMessagingStreamingConfigurationsResponse#streaming_configurations #streaming_configurations} => Array&lt;Types::StreamingConfiguration&gt;
1787
+ #
1788
+ # @example Request syntax with placeholder values
1789
+ #
1790
+ # resp = client.get_messaging_streaming_configurations({
1791
+ # app_instance_arn: "ChimeArn", # required
1792
+ # })
1793
+ #
1794
+ # @example Response structure
1795
+ #
1796
+ # resp.streaming_configurations #=> Array
1797
+ # resp.streaming_configurations[0].data_type #=> String, one of "Channel", "ChannelMessage"
1798
+ # resp.streaming_configurations[0].resource_arn #=> String
1799
+ #
1800
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurations AWS API Documentation
1801
+ #
1802
+ # @overload get_messaging_streaming_configurations(params = {})
1803
+ # @param [Hash] params ({})
1804
+ def get_messaging_streaming_configurations(params = {}, options = {})
1805
+ req = build_request(:get_messaging_streaming_configurations, params)
1806
+ req.send_request(options)
1807
+ end
1808
+
1745
1809
  # Lists all the users banned from a particular channel.
1746
1810
  #
1747
1811
  # <note markdown="1"> The `x-amz-chime-bearer` request header is mandatory. Use the
@@ -2454,6 +2518,51 @@ module Aws::ChimeSDKMessaging
2454
2518
  req.send_request(options)
2455
2519
  end
2456
2520
 
2521
+ # Sets the data streaming configuration for an `AppInstance`. For more
2522
+ # information, see [Streaming messaging data][1] in the *Amazon Chime
2523
+ # SDK Developer Guide*.
2524
+ #
2525
+ #
2526
+ #
2527
+ # [1]: https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html
2528
+ #
2529
+ # @option params [required, String] :app_instance_arn
2530
+ # The ARN of the streaming configuration.
2531
+ #
2532
+ # @option params [required, Array<Types::StreamingConfiguration>] :streaming_configurations
2533
+ # The streaming configurations.
2534
+ #
2535
+ # @return [Types::PutMessagingStreamingConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2536
+ #
2537
+ # * {Types::PutMessagingStreamingConfigurationsResponse#streaming_configurations #streaming_configurations} => Array&lt;Types::StreamingConfiguration&gt;
2538
+ #
2539
+ # @example Request syntax with placeholder values
2540
+ #
2541
+ # resp = client.put_messaging_streaming_configurations({
2542
+ # app_instance_arn: "ChimeArn", # required
2543
+ # streaming_configurations: [ # required
2544
+ # {
2545
+ # data_type: "Channel", # required, accepts Channel, ChannelMessage
2546
+ # resource_arn: "ChimeArn", # required
2547
+ # },
2548
+ # ],
2549
+ # })
2550
+ #
2551
+ # @example Response structure
2552
+ #
2553
+ # resp.streaming_configurations #=> Array
2554
+ # resp.streaming_configurations[0].data_type #=> String, one of "Channel", "ChannelMessage"
2555
+ # resp.streaming_configurations[0].resource_arn #=> String
2556
+ #
2557
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurations AWS API Documentation
2558
+ #
2559
+ # @overload put_messaging_streaming_configurations(params = {})
2560
+ # @param [Hash] params ({})
2561
+ def put_messaging_streaming_configurations(params = {}, options = {})
2562
+ req = build_request(:put_messaging_streaming_configurations, params)
2563
+ req.send_request(options)
2564
+ end
2565
+
2457
2566
  # Redacts message content, but not metadata. The message exists in the
2458
2567
  # back end, but the action returns null content, and the state shows as
2459
2568
  # redacted.
@@ -2721,7 +2830,7 @@ module Aws::ChimeSDKMessaging
2721
2830
 
2722
2831
  # Update a channel's attributes.
2723
2832
  #
2724
- # **Restriction**\: You can't change a channel's privacy.
2833
+ # **Restriction**: You can't change a channel's privacy.
2725
2834
  #
2726
2835
  # <note markdown="1"> The `x-amz-chime-bearer` request header is mandatory. Use the
2727
2836
  # `AppInstanceUserArn` of the user that makes the API call as the value
@@ -2942,7 +3051,7 @@ module Aws::ChimeSDKMessaging
2942
3051
  params: params,
2943
3052
  config: config)
2944
3053
  context[:gem_name] = 'aws-sdk-chimesdkmessaging'
2945
- context[:gem_version] = '1.15.0'
3054
+ context[:gem_version] = '1.16.0'
2946
3055
  Seahorse::Client::Request.new(handlers, context)
2947
3056
  end
2948
3057
 
@@ -82,6 +82,7 @@ module Aws::ChimeSDKMessaging
82
82
  DeleteChannelMessageRequest = Shapes::StructureShape.new(name: 'DeleteChannelMessageRequest')
83
83
  DeleteChannelModeratorRequest = Shapes::StructureShape.new(name: 'DeleteChannelModeratorRequest')
84
84
  DeleteChannelRequest = Shapes::StructureShape.new(name: 'DeleteChannelRequest')
85
+ DeleteMessagingStreamingConfigurationsRequest = Shapes::StructureShape.new(name: 'DeleteMessagingStreamingConfigurationsRequest')
85
86
  DescribeChannelBanRequest = Shapes::StructureShape.new(name: 'DescribeChannelBanRequest')
86
87
  DescribeChannelBanResponse = Shapes::StructureShape.new(name: 'DescribeChannelBanResponse')
87
88
  DescribeChannelFlowRequest = Shapes::StructureShape.new(name: 'DescribeChannelFlowRequest')
@@ -110,6 +111,8 @@ module Aws::ChimeSDKMessaging
110
111
  GetChannelMessageStatusResponse = Shapes::StructureShape.new(name: 'GetChannelMessageStatusResponse')
111
112
  GetMessagingSessionEndpointRequest = Shapes::StructureShape.new(name: 'GetMessagingSessionEndpointRequest')
112
113
  GetMessagingSessionEndpointResponse = Shapes::StructureShape.new(name: 'GetMessagingSessionEndpointResponse')
114
+ GetMessagingStreamingConfigurationsRequest = Shapes::StructureShape.new(name: 'GetMessagingStreamingConfigurationsRequest')
115
+ GetMessagingStreamingConfigurationsResponse = Shapes::StructureShape.new(name: 'GetMessagingStreamingConfigurationsResponse')
113
116
  Identity = Shapes::StructureShape.new(name: 'Identity')
114
117
  InvocationType = Shapes::StringShape.new(name: 'InvocationType')
115
118
  LambdaConfiguration = Shapes::StructureShape.new(name: 'LambdaConfiguration')
@@ -147,6 +150,7 @@ module Aws::ChimeSDKMessaging
147
150
  MessageAttributeStringValues = Shapes::ListShape.new(name: 'MessageAttributeStringValues')
148
151
  MessageAttributeValue = Shapes::StructureShape.new(name: 'MessageAttributeValue')
149
152
  MessageId = Shapes::StringShape.new(name: 'MessageId')
153
+ MessagingDataType = Shapes::StringShape.new(name: 'MessagingDataType')
150
154
  MessagingSessionEndpoint = Shapes::StructureShape.new(name: 'MessagingSessionEndpoint')
151
155
  Metadata = Shapes::StringShape.new(name: 'Metadata')
152
156
  MinimumMembershipPercentage = Shapes::IntegerShape.new(name: 'MinimumMembershipPercentage')
@@ -165,6 +169,8 @@ module Aws::ChimeSDKMessaging
165
169
  PushNotificationType = Shapes::StringShape.new(name: 'PushNotificationType')
166
170
  PutChannelMembershipPreferencesRequest = Shapes::StructureShape.new(name: 'PutChannelMembershipPreferencesRequest')
167
171
  PutChannelMembershipPreferencesResponse = Shapes::StructureShape.new(name: 'PutChannelMembershipPreferencesResponse')
172
+ PutMessagingStreamingConfigurationsRequest = Shapes::StructureShape.new(name: 'PutMessagingStreamingConfigurationsRequest')
173
+ PutMessagingStreamingConfigurationsResponse = Shapes::StructureShape.new(name: 'PutMessagingStreamingConfigurationsResponse')
168
174
  RedactChannelMessageRequest = Shapes::StructureShape.new(name: 'RedactChannelMessageRequest')
169
175
  RedactChannelMessageResponse = Shapes::StructureShape.new(name: 'RedactChannelMessageResponse')
170
176
  ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
@@ -183,6 +189,8 @@ module Aws::ChimeSDKMessaging
183
189
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
184
190
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
185
191
  StatusDetail = Shapes::StringShape.new(name: 'StatusDetail')
192
+ StreamingConfiguration = Shapes::StructureShape.new(name: 'StreamingConfiguration')
193
+ StreamingConfigurationList = Shapes::ListShape.new(name: 'StreamingConfigurationList')
186
194
  String = Shapes::StringShape.new(name: 'String')
187
195
  SubChannelId = Shapes::StringShape.new(name: 'SubChannelId')
188
196
  SubChannelSummary = Shapes::StructureShape.new(name: 'SubChannelSummary')
@@ -491,6 +499,9 @@ module Aws::ChimeSDKMessaging
491
499
  DeleteChannelRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location: "querystring", location_name: "sub-channel-id"))
492
500
  DeleteChannelRequest.struct_class = Types::DeleteChannelRequest
493
501
 
502
+ DeleteMessagingStreamingConfigurationsRequest.add_member(:app_instance_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "appInstanceArn"))
503
+ DeleteMessagingStreamingConfigurationsRequest.struct_class = Types::DeleteMessagingStreamingConfigurationsRequest
504
+
494
505
  DescribeChannelBanRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
495
506
  DescribeChannelBanRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "memberArn"))
496
507
  DescribeChannelBanRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
@@ -592,6 +603,12 @@ module Aws::ChimeSDKMessaging
592
603
  GetMessagingSessionEndpointResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: MessagingSessionEndpoint, location_name: "Endpoint"))
593
604
  GetMessagingSessionEndpointResponse.struct_class = Types::GetMessagingSessionEndpointResponse
594
605
 
606
+ GetMessagingStreamingConfigurationsRequest.add_member(:app_instance_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "appInstanceArn"))
607
+ GetMessagingStreamingConfigurationsRequest.struct_class = Types::GetMessagingStreamingConfigurationsRequest
608
+
609
+ GetMessagingStreamingConfigurationsResponse.add_member(:streaming_configurations, Shapes::ShapeRef.new(shape: StreamingConfigurationList, location_name: "StreamingConfigurations"))
610
+ GetMessagingStreamingConfigurationsResponse.struct_class = Types::GetMessagingStreamingConfigurationsResponse
611
+
595
612
  Identity.add_member(:arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "Arn"))
596
613
  Identity.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "Name"))
597
614
  Identity.struct_class = Types::Identity
@@ -767,6 +784,13 @@ module Aws::ChimeSDKMessaging
767
784
  PutChannelMembershipPreferencesResponse.add_member(:preferences, Shapes::ShapeRef.new(shape: ChannelMembershipPreferences, location_name: "Preferences"))
768
785
  PutChannelMembershipPreferencesResponse.struct_class = Types::PutChannelMembershipPreferencesResponse
769
786
 
787
+ PutMessagingStreamingConfigurationsRequest.add_member(:app_instance_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "appInstanceArn"))
788
+ PutMessagingStreamingConfigurationsRequest.add_member(:streaming_configurations, Shapes::ShapeRef.new(shape: StreamingConfigurationList, required: true, location_name: "StreamingConfigurations"))
789
+ PutMessagingStreamingConfigurationsRequest.struct_class = Types::PutMessagingStreamingConfigurationsRequest
790
+
791
+ PutMessagingStreamingConfigurationsResponse.add_member(:streaming_configurations, Shapes::ShapeRef.new(shape: StreamingConfigurationList, location_name: "StreamingConfigurations"))
792
+ PutMessagingStreamingConfigurationsResponse.struct_class = Types::PutMessagingStreamingConfigurationsResponse
793
+
770
794
  RedactChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
771
795
  RedactChannelMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
772
796
  RedactChannelMessageRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
@@ -827,6 +851,12 @@ module Aws::ChimeSDKMessaging
827
851
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
828
852
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
829
853
 
854
+ StreamingConfiguration.add_member(:data_type, Shapes::ShapeRef.new(shape: MessagingDataType, required: true, location_name: "DataType"))
855
+ StreamingConfiguration.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location_name: "ResourceArn"))
856
+ StreamingConfiguration.struct_class = Types::StreamingConfiguration
857
+
858
+ StreamingConfigurationList.member = Shapes::ShapeRef.new(shape: StreamingConfiguration)
859
+
830
860
  SubChannelSummary.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
831
861
  SubChannelSummary.add_member(:membership_count, Shapes::ShapeRef.new(shape: MembershipCount, location_name: "MembershipCount"))
832
862
  SubChannelSummary.struct_class = Types::SubChannelSummary
@@ -1129,6 +1159,19 @@ module Aws::ChimeSDKMessaging
1129
1159
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1130
1160
  end)
1131
1161
 
1162
+ api.add_operation(:delete_messaging_streaming_configurations, Seahorse::Model::Operation.new.tap do |o|
1163
+ o.name = "DeleteMessagingStreamingConfigurations"
1164
+ o.http_method = "DELETE"
1165
+ o.http_request_uri = "/app-instances/{appInstanceArn}/streaming-configurations"
1166
+ o.input = Shapes::ShapeRef.new(shape: DeleteMessagingStreamingConfigurationsRequest)
1167
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1168
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1169
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1170
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1171
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1172
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1173
+ end)
1174
+
1132
1175
  api.add_operation(:describe_channel, Seahorse::Model::Operation.new.tap do |o|
1133
1176
  o.name = "DescribeChannel"
1134
1177
  o.http_method = "GET"
@@ -1302,6 +1345,21 @@ module Aws::ChimeSDKMessaging
1302
1345
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1303
1346
  end)
1304
1347
 
1348
+ api.add_operation(:get_messaging_streaming_configurations, Seahorse::Model::Operation.new.tap do |o|
1349
+ o.name = "GetMessagingStreamingConfigurations"
1350
+ o.http_method = "GET"
1351
+ o.http_request_uri = "/app-instances/{appInstanceArn}/streaming-configurations"
1352
+ o.input = Shapes::ShapeRef.new(shape: GetMessagingStreamingConfigurationsRequest)
1353
+ o.output = Shapes::ShapeRef.new(shape: GetMessagingStreamingConfigurationsResponse)
1354
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1355
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1356
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1357
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1358
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1359
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1360
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1361
+ end)
1362
+
1305
1363
  api.add_operation(:list_channel_bans, Seahorse::Model::Operation.new.tap do |o|
1306
1364
  o.name = "ListChannelBans"
1307
1365
  o.http_method = "GET"
@@ -1531,6 +1589,22 @@ module Aws::ChimeSDKMessaging
1531
1589
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1532
1590
  end)
1533
1591
 
1592
+ api.add_operation(:put_messaging_streaming_configurations, Seahorse::Model::Operation.new.tap do |o|
1593
+ o.name = "PutMessagingStreamingConfigurations"
1594
+ o.http_method = "PUT"
1595
+ o.http_request_uri = "/app-instances/{appInstanceArn}/streaming-configurations"
1596
+ o.input = Shapes::ShapeRef.new(shape: PutMessagingStreamingConfigurationsRequest)
1597
+ o.output = Shapes::ShapeRef.new(shape: PutMessagingStreamingConfigurationsResponse)
1598
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1599
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1600
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1601
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1602
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1603
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1604
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1605
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1606
+ end)
1607
+
1534
1608
  api.add_operation(:redact_channel_message, Seahorse::Model::Operation.new.tap do |o|
1535
1609
  o.name = "RedactChannelMessage"
1536
1610
  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 (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://messaging-chime.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
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
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
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
@@ -543,6 +571,20 @@ module Aws::ChimeSDKMessaging
543
571
  end
544
572
  end
545
573
 
574
+ class PutMessagingStreamingConfigurations
575
+ def self.build(context)
576
+ unless context.config.regional_endpoint
577
+ endpoint = context.config.endpoint.to_s
578
+ end
579
+ Aws::ChimeSDKMessaging::EndpointParameters.new(
580
+ region: context.config.region,
581
+ use_dual_stack: context.config.use_dualstack_endpoint,
582
+ use_fips: context.config.use_fips_endpoint,
583
+ endpoint: endpoint,
584
+ )
585
+ end
586
+ end
587
+
546
588
  class RedactChannelMessage
547
589
  def self.build(context)
548
590
  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
@@ -132,6 +136,8 @@ module Aws::ChimeSDKMessaging
132
136
  Aws::ChimeSDKMessaging::Endpoints::ListTagsForResource.build(context)
133
137
  when :put_channel_membership_preferences
134
138
  Aws::ChimeSDKMessaging::Endpoints::PutChannelMembershipPreferences.build(context)
139
+ when :put_messaging_streaming_configurations
140
+ Aws::ChimeSDKMessaging::Endpoints::PutMessagingStreamingConfigurations.build(context)
135
141
  when :redact_channel_message
136
142
  Aws::ChimeSDKMessaging::Endpoints::RedactChannelMessage.build(context)
137
143
  when :search_channels
@@ -1272,6 +1272,18 @@ module Aws::ChimeSDKMessaging
1272
1272
  include Aws::Structure
1273
1273
  end
1274
1274
 
1275
+ # @!attribute [rw] app_instance_arn
1276
+ # The ARN of the streaming configurations being deleted.
1277
+ # @return [String]
1278
+ #
1279
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurationsRequest AWS API Documentation
1280
+ #
1281
+ class DeleteMessagingStreamingConfigurationsRequest < Struct.new(
1282
+ :app_instance_arn)
1283
+ SENSITIVE = []
1284
+ include Aws::Structure
1285
+ end
1286
+
1275
1287
  # @!attribute [rw] channel_arn
1276
1288
  # The ARN of the channel from which the user is banned.
1277
1289
  # @return [String]
@@ -1722,6 +1734,30 @@ module Aws::ChimeSDKMessaging
1722
1734
  include Aws::Structure
1723
1735
  end
1724
1736
 
1737
+ # @!attribute [rw] app_instance_arn
1738
+ # The ARN of the streaming configurations.
1739
+ # @return [String]
1740
+ #
1741
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurationsRequest AWS API Documentation
1742
+ #
1743
+ class GetMessagingStreamingConfigurationsRequest < Struct.new(
1744
+ :app_instance_arn)
1745
+ SENSITIVE = []
1746
+ include Aws::Structure
1747
+ end
1748
+
1749
+ # @!attribute [rw] streaming_configurations
1750
+ # The streaming settings.
1751
+ # @return [Array<Types::StreamingConfiguration>]
1752
+ #
1753
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurationsResponse AWS API Documentation
1754
+ #
1755
+ class GetMessagingStreamingConfigurationsResponse < Struct.new(
1756
+ :streaming_configurations)
1757
+ SENSITIVE = []
1758
+ include Aws::Structure
1759
+ end
1760
+
1725
1761
  # The details of a user.
1726
1762
  #
1727
1763
  # @!attribute [rw] arn
@@ -2426,7 +2462,7 @@ module Aws::ChimeSDKMessaging
2426
2462
  #
2427
2463
  # @!attribute [rw] type
2428
2464
  # Enum value that indicates the type of the push notification for a
2429
- # message. `DEFAULT`\: Normal mobile push notification. `VOIP`\: VOIP
2465
+ # message. `DEFAULT`: Normal mobile push notification. `VOIP`: VOIP
2430
2466
  # mobile push notification.
2431
2467
  # @return [String]
2432
2468
  #
@@ -2512,6 +2548,35 @@ module Aws::ChimeSDKMessaging
2512
2548
  include Aws::Structure
2513
2549
  end
2514
2550
 
2551
+ # @!attribute [rw] app_instance_arn
2552
+ # The ARN of the streaming configuration.
2553
+ # @return [String]
2554
+ #
2555
+ # @!attribute [rw] streaming_configurations
2556
+ # The streaming configurations.
2557
+ # @return [Array<Types::StreamingConfiguration>]
2558
+ #
2559
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurationsRequest AWS API Documentation
2560
+ #
2561
+ class PutMessagingStreamingConfigurationsRequest < Struct.new(
2562
+ :app_instance_arn,
2563
+ :streaming_configurations)
2564
+ SENSITIVE = []
2565
+ include Aws::Structure
2566
+ end
2567
+
2568
+ # @!attribute [rw] streaming_configurations
2569
+ # The requested streaming configurations.
2570
+ # @return [Array<Types::StreamingConfiguration>]
2571
+ #
2572
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurationsResponse AWS API Documentation
2573
+ #
2574
+ class PutMessagingStreamingConfigurationsResponse < Struct.new(
2575
+ :streaming_configurations)
2576
+ SENSITIVE = []
2577
+ include Aws::Structure
2578
+ end
2579
+
2515
2580
  # @!attribute [rw] channel_arn
2516
2581
  # The ARN of the channel containing the messages that you want to
2517
2582
  # redact.
@@ -2792,6 +2857,25 @@ module Aws::ChimeSDKMessaging
2792
2857
  include Aws::Structure
2793
2858
  end
2794
2859
 
2860
+ # The configuration for connecting a messaging stream to Amazon Kinesis.
2861
+ #
2862
+ # @!attribute [rw] data_type
2863
+ # The data type of the configuration.
2864
+ # @return [String]
2865
+ #
2866
+ # @!attribute [rw] resource_arn
2867
+ # The ARN of the resource in the configuration.
2868
+ # @return [String]
2869
+ #
2870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/StreamingConfiguration AWS API Documentation
2871
+ #
2872
+ class StreamingConfiguration < Struct.new(
2873
+ :data_type,
2874
+ :resource_arn)
2875
+ SENSITIVE = []
2876
+ include Aws::Structure
2877
+ end
2878
+
2795
2879
  # Summary of the sub-channels associated with the elastic channel.
2796
2880
  #
2797
2881
  # @!attribute [rw] sub_channel_id
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-chimesdkmessaging/customizations'
52
52
  # @!group service
53
53
  module Aws::ChimeSDKMessaging
54
54
 
55
- GEM_VERSION = '1.15.0'
55
+ GEM_VERSION = '1.16.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-chimesdkmessaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core