aws-sdk-chime 1.24.0 → 1.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-chime.rb +1 -1
- data/lib/aws-sdk-chime/client.rb +63 -1
- data/lib/aws-sdk-chime/client_api.rb +48 -0
- data/lib/aws-sdk-chime/types.rb +68 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5ac8096ebc155ca08b8d12e9c6023a958a84803932d7d78d0a3802573265bf3
|
4
|
+
data.tar.gz: 2ebbe313933a793402adbbb8013a26f3951fc698a652e08c4817725849767de9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d853888deef77c56e84d039f281f125a60a98bc559fcad9512f219ddb87d9b67c14098610d391fcfa108af221ab14e79ede674e7c0873d810a40179e77ddaa46
|
7
|
+
data.tar.gz: ce0305189d5015e05836952a3df91a000570256d66eb817fd0d16fc9823289826a41db1512d91cef49db5953ddf708bf67567de4a3fd18e250c945f7441bc071
|
data/lib/aws-sdk-chime.rb
CHANGED
data/lib/aws-sdk-chime/client.rb
CHANGED
@@ -3849,6 +3849,68 @@ module Aws::Chime
|
|
3849
3849
|
req.send_request(options)
|
3850
3850
|
end
|
3851
3851
|
|
3852
|
+
# Redacts the specified message from the specified Amazon Chime
|
3853
|
+
# conversation.
|
3854
|
+
#
|
3855
|
+
# @option params [required, String] :account_id
|
3856
|
+
# The Amazon Chime account ID.
|
3857
|
+
#
|
3858
|
+
# @option params [required, String] :conversation_id
|
3859
|
+
# The conversation ID.
|
3860
|
+
#
|
3861
|
+
# @option params [required, String] :message_id
|
3862
|
+
# The message ID.
|
3863
|
+
#
|
3864
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3865
|
+
#
|
3866
|
+
# @example Request syntax with placeholder values
|
3867
|
+
#
|
3868
|
+
# resp = client.redact_conversation_message({
|
3869
|
+
# account_id: "NonEmptyString", # required
|
3870
|
+
# conversation_id: "NonEmptyString", # required
|
3871
|
+
# message_id: "NonEmptyString", # required
|
3872
|
+
# })
|
3873
|
+
#
|
3874
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessage AWS API Documentation
|
3875
|
+
#
|
3876
|
+
# @overload redact_conversation_message(params = {})
|
3877
|
+
# @param [Hash] params ({})
|
3878
|
+
def redact_conversation_message(params = {}, options = {})
|
3879
|
+
req = build_request(:redact_conversation_message, params)
|
3880
|
+
req.send_request(options)
|
3881
|
+
end
|
3882
|
+
|
3883
|
+
# Redacts the specified message from the specified Amazon Chime chat
|
3884
|
+
# room.
|
3885
|
+
#
|
3886
|
+
# @option params [required, String] :account_id
|
3887
|
+
# The Amazon Chime account ID.
|
3888
|
+
#
|
3889
|
+
# @option params [required, String] :room_id
|
3890
|
+
# The room ID.
|
3891
|
+
#
|
3892
|
+
# @option params [required, String] :message_id
|
3893
|
+
# The message ID.
|
3894
|
+
#
|
3895
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3896
|
+
#
|
3897
|
+
# @example Request syntax with placeholder values
|
3898
|
+
#
|
3899
|
+
# resp = client.redact_room_message({
|
3900
|
+
# account_id: "NonEmptyString", # required
|
3901
|
+
# room_id: "NonEmptyString", # required
|
3902
|
+
# message_id: "NonEmptyString", # required
|
3903
|
+
# })
|
3904
|
+
#
|
3905
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessage AWS API Documentation
|
3906
|
+
#
|
3907
|
+
# @overload redact_room_message(params = {})
|
3908
|
+
# @param [Hash] params ({})
|
3909
|
+
def redact_room_message(params = {}, options = {})
|
3910
|
+
req = build_request(:redact_room_message, params)
|
3911
|
+
req.send_request(options)
|
3912
|
+
end
|
3913
|
+
|
3852
3914
|
# Regenerates the security token for a bot.
|
3853
3915
|
#
|
3854
3916
|
# @option params [required, String] :account_id
|
@@ -4817,7 +4879,7 @@ module Aws::Chime
|
|
4817
4879
|
params: params,
|
4818
4880
|
config: config)
|
4819
4881
|
context[:gem_name] = 'aws-sdk-chime'
|
4820
|
-
context[:gem_version] = '1.
|
4882
|
+
context[:gem_version] = '1.25.0'
|
4821
4883
|
Seahorse::Client::Request.new(handlers, context)
|
4822
4884
|
end
|
4823
4885
|
|
@@ -282,6 +282,10 @@ module Aws::Chime
|
|
282
282
|
PutVoiceConnectorTerminationCredentialsRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorTerminationCredentialsRequest')
|
283
283
|
PutVoiceConnectorTerminationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorTerminationRequest')
|
284
284
|
PutVoiceConnectorTerminationResponse = Shapes::StructureShape.new(name: 'PutVoiceConnectorTerminationResponse')
|
285
|
+
RedactConversationMessageRequest = Shapes::StructureShape.new(name: 'RedactConversationMessageRequest')
|
286
|
+
RedactConversationMessageResponse = Shapes::StructureShape.new(name: 'RedactConversationMessageResponse')
|
287
|
+
RedactRoomMessageRequest = Shapes::StructureShape.new(name: 'RedactRoomMessageRequest')
|
288
|
+
RedactRoomMessageResponse = Shapes::StructureShape.new(name: 'RedactRoomMessageResponse')
|
285
289
|
RegenerateSecurityTokenRequest = Shapes::StructureShape.new(name: 'RegenerateSecurityTokenRequest')
|
286
290
|
RegenerateSecurityTokenResponse = Shapes::StructureShape.new(name: 'RegenerateSecurityTokenResponse')
|
287
291
|
RegistrationStatus = Shapes::StringShape.new(name: 'RegistrationStatus')
|
@@ -1225,6 +1229,20 @@ module Aws::Chime
|
|
1225
1229
|
PutVoiceConnectorTerminationResponse.add_member(:termination, Shapes::ShapeRef.new(shape: Termination, location_name: "Termination"))
|
1226
1230
|
PutVoiceConnectorTerminationResponse.struct_class = Types::PutVoiceConnectorTerminationResponse
|
1227
1231
|
|
1232
|
+
RedactConversationMessageRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
1233
|
+
RedactConversationMessageRequest.add_member(:conversation_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "conversationId"))
|
1234
|
+
RedactConversationMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "messageId"))
|
1235
|
+
RedactConversationMessageRequest.struct_class = Types::RedactConversationMessageRequest
|
1236
|
+
|
1237
|
+
RedactConversationMessageResponse.struct_class = Types::RedactConversationMessageResponse
|
1238
|
+
|
1239
|
+
RedactRoomMessageRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
1240
|
+
RedactRoomMessageRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
|
1241
|
+
RedactRoomMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "messageId"))
|
1242
|
+
RedactRoomMessageRequest.struct_class = Types::RedactRoomMessageRequest
|
1243
|
+
|
1244
|
+
RedactRoomMessageResponse.struct_class = Types::RedactRoomMessageResponse
|
1245
|
+
|
1228
1246
|
RegenerateSecurityTokenRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
1229
1247
|
RegenerateSecurityTokenRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "botId"))
|
1230
1248
|
RegenerateSecurityTokenRequest.struct_class = Types::RegenerateSecurityTokenRequest
|
@@ -2948,6 +2966,36 @@ module Aws::Chime
|
|
2948
2966
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
2949
2967
|
end)
|
2950
2968
|
|
2969
|
+
api.add_operation(:redact_conversation_message, Seahorse::Model::Operation.new.tap do |o|
|
2970
|
+
o.name = "RedactConversationMessage"
|
2971
|
+
o.http_method = "POST"
|
2972
|
+
o.http_request_uri = "/accounts/{accountId}/conversations/{conversationId}/messages/{messageId}?operation=redact"
|
2973
|
+
o.input = Shapes::ShapeRef.new(shape: RedactConversationMessageRequest)
|
2974
|
+
o.output = Shapes::ShapeRef.new(shape: RedactConversationMessageResponse)
|
2975
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2976
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2977
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
2978
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
2979
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2980
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2981
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
2982
|
+
end)
|
2983
|
+
|
2984
|
+
api.add_operation(:redact_room_message, Seahorse::Model::Operation.new.tap do |o|
|
2985
|
+
o.name = "RedactRoomMessage"
|
2986
|
+
o.http_method = "POST"
|
2987
|
+
o.http_request_uri = "/accounts/{accountId}/rooms/{roomId}/messages/{messageId}?operation=redact"
|
2988
|
+
o.input = Shapes::ShapeRef.new(shape: RedactRoomMessageRequest)
|
2989
|
+
o.output = Shapes::ShapeRef.new(shape: RedactRoomMessageResponse)
|
2990
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2991
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2992
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
2993
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
2994
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2995
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2996
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
2997
|
+
end)
|
2998
|
+
|
2951
2999
|
api.add_operation(:regenerate_security_token, Seahorse::Model::Operation.new.tap do |o|
|
2952
3000
|
o.name = "RegenerateSecurityToken"
|
2953
3001
|
o.http_method = "POST"
|
data/lib/aws-sdk-chime/types.rb
CHANGED
@@ -4277,6 +4277,74 @@ module Aws::Chime
|
|
4277
4277
|
include Aws::Structure
|
4278
4278
|
end
|
4279
4279
|
|
4280
|
+
# @note When making an API call, you may pass RedactConversationMessageRequest
|
4281
|
+
# data as a hash:
|
4282
|
+
#
|
4283
|
+
# {
|
4284
|
+
# account_id: "NonEmptyString", # required
|
4285
|
+
# conversation_id: "NonEmptyString", # required
|
4286
|
+
# message_id: "NonEmptyString", # required
|
4287
|
+
# }
|
4288
|
+
#
|
4289
|
+
# @!attribute [rw] account_id
|
4290
|
+
# The Amazon Chime account ID.
|
4291
|
+
# @return [String]
|
4292
|
+
#
|
4293
|
+
# @!attribute [rw] conversation_id
|
4294
|
+
# The conversation ID.
|
4295
|
+
# @return [String]
|
4296
|
+
#
|
4297
|
+
# @!attribute [rw] message_id
|
4298
|
+
# The message ID.
|
4299
|
+
# @return [String]
|
4300
|
+
#
|
4301
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessageRequest AWS API Documentation
|
4302
|
+
#
|
4303
|
+
class RedactConversationMessageRequest < Struct.new(
|
4304
|
+
:account_id,
|
4305
|
+
:conversation_id,
|
4306
|
+
:message_id)
|
4307
|
+
include Aws::Structure
|
4308
|
+
end
|
4309
|
+
|
4310
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessageResponse AWS API Documentation
|
4311
|
+
#
|
4312
|
+
class RedactConversationMessageResponse < Aws::EmptyStructure; end
|
4313
|
+
|
4314
|
+
# @note When making an API call, you may pass RedactRoomMessageRequest
|
4315
|
+
# data as a hash:
|
4316
|
+
#
|
4317
|
+
# {
|
4318
|
+
# account_id: "NonEmptyString", # required
|
4319
|
+
# room_id: "NonEmptyString", # required
|
4320
|
+
# message_id: "NonEmptyString", # required
|
4321
|
+
# }
|
4322
|
+
#
|
4323
|
+
# @!attribute [rw] account_id
|
4324
|
+
# The Amazon Chime account ID.
|
4325
|
+
# @return [String]
|
4326
|
+
#
|
4327
|
+
# @!attribute [rw] room_id
|
4328
|
+
# The room ID.
|
4329
|
+
# @return [String]
|
4330
|
+
#
|
4331
|
+
# @!attribute [rw] message_id
|
4332
|
+
# The message ID.
|
4333
|
+
# @return [String]
|
4334
|
+
#
|
4335
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessageRequest AWS API Documentation
|
4336
|
+
#
|
4337
|
+
class RedactRoomMessageRequest < Struct.new(
|
4338
|
+
:account_id,
|
4339
|
+
:room_id,
|
4340
|
+
:message_id)
|
4341
|
+
include Aws::Structure
|
4342
|
+
end
|
4343
|
+
|
4344
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessageResponse AWS API Documentation
|
4345
|
+
#
|
4346
|
+
class RedactRoomMessageResponse < Aws::EmptyStructure; end
|
4347
|
+
|
4280
4348
|
# @note When making an API call, you may pass RegenerateSecurityTokenRequest
|
4281
4349
|
# data as a hash:
|
4282
4350
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-chime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.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: 2020-05-
|
11
|
+
date: 2020-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|