aws-sdk-ivschat 1.5.0 → 1.6.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ivschat/client.rb +304 -10
- data/lib/aws-sdk-ivschat/client_api.rb +187 -0
- data/lib/aws-sdk-ivschat/endpoints.rb +70 -0
- data/lib/aws-sdk-ivschat/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-ivschat/types.rb +581 -14
- data/lib/aws-sdk-ivschat.rb +1 -1
- 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: 1674c7be1d9f7ddf10d366140305a60809f560b36be3ea4e26b3f3b55fc1efeb
|
4
|
+
data.tar.gz: 458798bb9627af44a3816c1ec7f1b443d23ff8899e94a1cec9adb975f52d3858
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19b4ea0b5cc2254ac2677d1c7b52751e7d228703f8383362ee74b54492281cf6aff127db3a6247b1e1db9d2bfe1f33301d6285e677255d0ceaa073c104f80719
|
7
|
+
data.tar.gz: 65540f0cb36396d2240a3f3caa6d5d3758b9ba6cca680b5af34141bf0d79fc174e84c4ad86591febe3f1613d5df8208cd24d22ca001ab42b0ccc2f8bd8d865d4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.6.0 (2022-11-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds LoggingConfiguration APIs for IVS Chat - a feature that allows customers to store and record sent messages in a chat room to S3 buckets, CloudWatch logs, or Kinesis firehose.
|
8
|
+
|
4
9
|
1.5.0 (2022-10-25)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.6.0
|
@@ -368,10 +368,20 @@ module Aws::Ivschat
|
|
368
368
|
|
369
369
|
# @!group API Operations
|
370
370
|
|
371
|
-
# Creates an encrypted token that is used
|
372
|
-
# WebSocket connection to a room.
|
373
|
-
#
|
374
|
-
# specified
|
371
|
+
# Creates an encrypted token that is used by a chat participant to
|
372
|
+
# establish an individual WebSocket chat connection to a room. When the
|
373
|
+
# token is used to connect to chat, the connection is valid for the
|
374
|
+
# session duration specified in the request. The token becomes invalid
|
375
|
+
# at the token-expiration timestamp included in the response.
|
376
|
+
#
|
377
|
+
# Use the `capabilities` field to permit an end user to send messages or
|
378
|
+
# moderate a room.
|
379
|
+
#
|
380
|
+
# The `attributes` field securely attaches structured data to the chat
|
381
|
+
# session; the data is included within each message sent by the end user
|
382
|
+
# and received by other participants in the room. Common use cases for
|
383
|
+
# attributes include passing end-user profile data like an icon, display
|
384
|
+
# name, colors, badges, and other display features.
|
375
385
|
#
|
376
386
|
# Encryption keys are owned by Amazon IVS Chat and never used directly
|
377
387
|
# by your application.
|
@@ -431,8 +441,88 @@ module Aws::Ivschat
|
|
431
441
|
req.send_request(options)
|
432
442
|
end
|
433
443
|
|
444
|
+
# Creates a logging configuration that allows clients to store and
|
445
|
+
# record sent messages.
|
446
|
+
#
|
447
|
+
# @option params [required, Types::DestinationConfiguration] :destination_configuration
|
448
|
+
# A complex type that contains a destination configuration for where
|
449
|
+
# chat content will be logged. There can be only one type of destination
|
450
|
+
# (`cloudWatchLogs`, `firehose`, or `s3`) in a
|
451
|
+
# `destinationConfiguration`.
|
452
|
+
#
|
453
|
+
# @option params [String] :name
|
454
|
+
# Logging-configuration name. The value does not need to be unique.
|
455
|
+
#
|
456
|
+
# @option params [Hash<String,String>] :tags
|
457
|
+
# Tags to attach to the resource. Array of maps, each of the form
|
458
|
+
# `string:string (key:value)`. See [Tagging AWS Resources][1] for
|
459
|
+
# details, including restrictions that apply to tags and "Tag naming
|
460
|
+
# limits and requirements"; Amazon IVS Chat has no constraints on tags
|
461
|
+
# beyond what is documented there.
|
462
|
+
#
|
463
|
+
#
|
464
|
+
#
|
465
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
466
|
+
#
|
467
|
+
# @return [Types::CreateLoggingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
468
|
+
#
|
469
|
+
# * {Types::CreateLoggingConfigurationResponse#arn #arn} => String
|
470
|
+
# * {Types::CreateLoggingConfigurationResponse#create_time #create_time} => Time
|
471
|
+
# * {Types::CreateLoggingConfigurationResponse#destination_configuration #destination_configuration} => Types::DestinationConfiguration
|
472
|
+
# * {Types::CreateLoggingConfigurationResponse#id #id} => String
|
473
|
+
# * {Types::CreateLoggingConfigurationResponse#name #name} => String
|
474
|
+
# * {Types::CreateLoggingConfigurationResponse#state #state} => String
|
475
|
+
# * {Types::CreateLoggingConfigurationResponse#tags #tags} => Hash<String,String>
|
476
|
+
# * {Types::CreateLoggingConfigurationResponse#update_time #update_time} => Time
|
477
|
+
#
|
478
|
+
# @example Request syntax with placeholder values
|
479
|
+
#
|
480
|
+
# resp = client.create_logging_configuration({
|
481
|
+
# destination_configuration: { # required
|
482
|
+
# cloud_watch_logs: {
|
483
|
+
# log_group_name: "LogGroupName", # required
|
484
|
+
# },
|
485
|
+
# firehose: {
|
486
|
+
# delivery_stream_name: "DeliveryStreamName", # required
|
487
|
+
# },
|
488
|
+
# s3: {
|
489
|
+
# bucket_name: "BucketName", # required
|
490
|
+
# },
|
491
|
+
# },
|
492
|
+
# name: "LoggingConfigurationName",
|
493
|
+
# tags: {
|
494
|
+
# "TagKey" => "TagValue",
|
495
|
+
# },
|
496
|
+
# })
|
497
|
+
#
|
498
|
+
# @example Response structure
|
499
|
+
#
|
500
|
+
# resp.arn #=> String
|
501
|
+
# resp.create_time #=> Time
|
502
|
+
# resp.destination_configuration.cloud_watch_logs.log_group_name #=> String
|
503
|
+
# resp.destination_configuration.firehose.delivery_stream_name #=> String
|
504
|
+
# resp.destination_configuration.s3.bucket_name #=> String
|
505
|
+
# resp.id #=> String
|
506
|
+
# resp.name #=> String
|
507
|
+
# resp.state #=> String, one of "ACTIVE"
|
508
|
+
# resp.tags #=> Hash
|
509
|
+
# resp.tags["TagKey"] #=> String
|
510
|
+
# resp.update_time #=> Time
|
511
|
+
#
|
512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/CreateLoggingConfiguration AWS API Documentation
|
513
|
+
#
|
514
|
+
# @overload create_logging_configuration(params = {})
|
515
|
+
# @param [Hash] params ({})
|
516
|
+
def create_logging_configuration(params = {}, options = {})
|
517
|
+
req = build_request(:create_logging_configuration, params)
|
518
|
+
req.send_request(options)
|
519
|
+
end
|
520
|
+
|
434
521
|
# Creates a room that allows clients to connect and pass messages.
|
435
522
|
#
|
523
|
+
# @option params [Array<String>] :logging_configuration_identifiers
|
524
|
+
# Array of logging-configuration identifiers attached to the room.
|
525
|
+
#
|
436
526
|
# @option params [Integer] :maximum_message_length
|
437
527
|
# Maximum number of characters in a single message. Messages are
|
438
528
|
# expected to be UTF-8 encoded and this limit applies specifically to
|
@@ -464,6 +554,7 @@ module Aws::Ivschat
|
|
464
554
|
# * {Types::CreateRoomResponse#arn #arn} => String
|
465
555
|
# * {Types::CreateRoomResponse#create_time #create_time} => Time
|
466
556
|
# * {Types::CreateRoomResponse#id #id} => String
|
557
|
+
# * {Types::CreateRoomResponse#logging_configuration_identifiers #logging_configuration_identifiers} => Array<String>
|
467
558
|
# * {Types::CreateRoomResponse#maximum_message_length #maximum_message_length} => Integer
|
468
559
|
# * {Types::CreateRoomResponse#maximum_message_rate_per_second #maximum_message_rate_per_second} => Integer
|
469
560
|
# * {Types::CreateRoomResponse#message_review_handler #message_review_handler} => Types::MessageReviewHandler
|
@@ -474,6 +565,7 @@ module Aws::Ivschat
|
|
474
565
|
# @example Request syntax with placeholder values
|
475
566
|
#
|
476
567
|
# resp = client.create_room({
|
568
|
+
# logging_configuration_identifiers: ["LoggingConfigurationIdentifier"],
|
477
569
|
# maximum_message_length: 1,
|
478
570
|
# maximum_message_rate_per_second: 1,
|
479
571
|
# message_review_handler: {
|
@@ -491,6 +583,8 @@ module Aws::Ivschat
|
|
491
583
|
# resp.arn #=> String
|
492
584
|
# resp.create_time #=> Time
|
493
585
|
# resp.id #=> String
|
586
|
+
# resp.logging_configuration_identifiers #=> Array
|
587
|
+
# resp.logging_configuration_identifiers[0] #=> String
|
494
588
|
# resp.maximum_message_length #=> Integer
|
495
589
|
# resp.maximum_message_rate_per_second #=> Integer
|
496
590
|
# resp.message_review_handler.fallback_result #=> String, one of "ALLOW", "DENY"
|
@@ -509,6 +603,28 @@ module Aws::Ivschat
|
|
509
603
|
req.send_request(options)
|
510
604
|
end
|
511
605
|
|
606
|
+
# Deletes the specified logging configuration.
|
607
|
+
#
|
608
|
+
# @option params [required, String] :identifier
|
609
|
+
# Identifier of the logging configuration to be deleted.
|
610
|
+
#
|
611
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
612
|
+
#
|
613
|
+
# @example Request syntax with placeholder values
|
614
|
+
#
|
615
|
+
# resp = client.delete_logging_configuration({
|
616
|
+
# identifier: "LoggingConfigurationIdentifier", # required
|
617
|
+
# })
|
618
|
+
#
|
619
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/DeleteLoggingConfiguration AWS API Documentation
|
620
|
+
#
|
621
|
+
# @overload delete_logging_configuration(params = {})
|
622
|
+
# @param [Hash] params ({})
|
623
|
+
def delete_logging_configuration(params = {}, options = {})
|
624
|
+
req = build_request(:delete_logging_configuration, params)
|
625
|
+
req.send_request(options)
|
626
|
+
end
|
627
|
+
|
512
628
|
# Sends an event to a specific room which directs clients to delete a
|
513
629
|
# specific message; that is, unrender it from view and delete it from
|
514
630
|
# the client’s chat history. This event’s `EventName` is
|
@@ -619,6 +735,51 @@ module Aws::Ivschat
|
|
619
735
|
req.send_request(options)
|
620
736
|
end
|
621
737
|
|
738
|
+
# Gets the specified logging configuration.
|
739
|
+
#
|
740
|
+
# @option params [required, String] :identifier
|
741
|
+
# Identifier of the logging configuration to be retrieved.
|
742
|
+
#
|
743
|
+
# @return [Types::GetLoggingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
744
|
+
#
|
745
|
+
# * {Types::GetLoggingConfigurationResponse#arn #arn} => String
|
746
|
+
# * {Types::GetLoggingConfigurationResponse#create_time #create_time} => Time
|
747
|
+
# * {Types::GetLoggingConfigurationResponse#destination_configuration #destination_configuration} => Types::DestinationConfiguration
|
748
|
+
# * {Types::GetLoggingConfigurationResponse#id #id} => String
|
749
|
+
# * {Types::GetLoggingConfigurationResponse#name #name} => String
|
750
|
+
# * {Types::GetLoggingConfigurationResponse#state #state} => String
|
751
|
+
# * {Types::GetLoggingConfigurationResponse#tags #tags} => Hash<String,String>
|
752
|
+
# * {Types::GetLoggingConfigurationResponse#update_time #update_time} => Time
|
753
|
+
#
|
754
|
+
# @example Request syntax with placeholder values
|
755
|
+
#
|
756
|
+
# resp = client.get_logging_configuration({
|
757
|
+
# identifier: "LoggingConfigurationIdentifier", # required
|
758
|
+
# })
|
759
|
+
#
|
760
|
+
# @example Response structure
|
761
|
+
#
|
762
|
+
# resp.arn #=> String
|
763
|
+
# resp.create_time #=> Time
|
764
|
+
# resp.destination_configuration.cloud_watch_logs.log_group_name #=> String
|
765
|
+
# resp.destination_configuration.firehose.delivery_stream_name #=> String
|
766
|
+
# resp.destination_configuration.s3.bucket_name #=> String
|
767
|
+
# resp.id #=> String
|
768
|
+
# resp.name #=> String
|
769
|
+
# resp.state #=> String, one of "CREATING", "CREATE_FAILED", "DELETING", "DELETE_FAILED", "UPDATING", "UPDATE_FAILED", "ACTIVE"
|
770
|
+
# resp.tags #=> Hash
|
771
|
+
# resp.tags["TagKey"] #=> String
|
772
|
+
# resp.update_time #=> Time
|
773
|
+
#
|
774
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/GetLoggingConfiguration AWS API Documentation
|
775
|
+
#
|
776
|
+
# @overload get_logging_configuration(params = {})
|
777
|
+
# @param [Hash] params ({})
|
778
|
+
def get_logging_configuration(params = {}, options = {})
|
779
|
+
req = build_request(:get_logging_configuration, params)
|
780
|
+
req.send_request(options)
|
781
|
+
end
|
782
|
+
|
622
783
|
# Gets the specified room.
|
623
784
|
#
|
624
785
|
# @option params [required, String] :identifier
|
@@ -630,6 +791,7 @@ module Aws::Ivschat
|
|
630
791
|
# * {Types::GetRoomResponse#arn #arn} => String
|
631
792
|
# * {Types::GetRoomResponse#create_time #create_time} => Time
|
632
793
|
# * {Types::GetRoomResponse#id #id} => String
|
794
|
+
# * {Types::GetRoomResponse#logging_configuration_identifiers #logging_configuration_identifiers} => Array<String>
|
633
795
|
# * {Types::GetRoomResponse#maximum_message_length #maximum_message_length} => Integer
|
634
796
|
# * {Types::GetRoomResponse#maximum_message_rate_per_second #maximum_message_rate_per_second} => Integer
|
635
797
|
# * {Types::GetRoomResponse#message_review_handler #message_review_handler} => Types::MessageReviewHandler
|
@@ -648,6 +810,8 @@ module Aws::Ivschat
|
|
648
810
|
# resp.arn #=> String
|
649
811
|
# resp.create_time #=> Time
|
650
812
|
# resp.id #=> String
|
813
|
+
# resp.logging_configuration_identifiers #=> Array
|
814
|
+
# resp.logging_configuration_identifiers[0] #=> String
|
651
815
|
# resp.maximum_message_length #=> Integer
|
652
816
|
# resp.maximum_message_rate_per_second #=> Integer
|
653
817
|
# resp.message_review_handler.fallback_result #=> String, one of "ALLOW", "DENY"
|
@@ -666,10 +830,62 @@ module Aws::Ivschat
|
|
666
830
|
req.send_request(options)
|
667
831
|
end
|
668
832
|
|
833
|
+
# Gets summary information about all your logging configurations in the
|
834
|
+
# AWS region where the API request is processed.
|
835
|
+
#
|
836
|
+
# @option params [Integer] :max_results
|
837
|
+
# Maximum number of logging configurations to return. Default: 50.
|
838
|
+
#
|
839
|
+
# @option params [String] :next_token
|
840
|
+
# The first logging configurations to retrieve. This is used for
|
841
|
+
# pagination; see the `nextToken` response field.
|
842
|
+
#
|
843
|
+
# @return [Types::ListLoggingConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
844
|
+
#
|
845
|
+
# * {Types::ListLoggingConfigurationsResponse#logging_configurations #logging_configurations} => Array<Types::LoggingConfigurationSummary>
|
846
|
+
# * {Types::ListLoggingConfigurationsResponse#next_token #next_token} => String
|
847
|
+
#
|
848
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
849
|
+
#
|
850
|
+
# @example Request syntax with placeholder values
|
851
|
+
#
|
852
|
+
# resp = client.list_logging_configurations({
|
853
|
+
# max_results: 1,
|
854
|
+
# next_token: "PaginationToken",
|
855
|
+
# })
|
856
|
+
#
|
857
|
+
# @example Response structure
|
858
|
+
#
|
859
|
+
# resp.logging_configurations #=> Array
|
860
|
+
# resp.logging_configurations[0].arn #=> String
|
861
|
+
# resp.logging_configurations[0].create_time #=> Time
|
862
|
+
# resp.logging_configurations[0].destination_configuration.cloud_watch_logs.log_group_name #=> String
|
863
|
+
# resp.logging_configurations[0].destination_configuration.firehose.delivery_stream_name #=> String
|
864
|
+
# resp.logging_configurations[0].destination_configuration.s3.bucket_name #=> String
|
865
|
+
# resp.logging_configurations[0].id #=> String
|
866
|
+
# resp.logging_configurations[0].name #=> String
|
867
|
+
# resp.logging_configurations[0].state #=> String, one of "CREATING", "CREATE_FAILED", "DELETING", "DELETE_FAILED", "UPDATING", "UPDATE_FAILED", "ACTIVE"
|
868
|
+
# resp.logging_configurations[0].tags #=> Hash
|
869
|
+
# resp.logging_configurations[0].tags["TagKey"] #=> String
|
870
|
+
# resp.logging_configurations[0].update_time #=> Time
|
871
|
+
# resp.next_token #=> String
|
872
|
+
#
|
873
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/ListLoggingConfigurations AWS API Documentation
|
874
|
+
#
|
875
|
+
# @overload list_logging_configurations(params = {})
|
876
|
+
# @param [Hash] params ({})
|
877
|
+
def list_logging_configurations(params = {}, options = {})
|
878
|
+
req = build_request(:list_logging_configurations, params)
|
879
|
+
req.send_request(options)
|
880
|
+
end
|
881
|
+
|
669
882
|
# Gets summary information about all your rooms in the AWS region where
|
670
883
|
# the API request is processed. Results are sorted in descending order
|
671
884
|
# of `updateTime`.
|
672
885
|
#
|
886
|
+
# @option params [String] :logging_configuration_identifier
|
887
|
+
# Logging-configuration identifier.
|
888
|
+
#
|
673
889
|
# @option params [Integer] :max_results
|
674
890
|
# Maximum number of rooms to return. Default: 50.
|
675
891
|
#
|
@@ -693,6 +909,7 @@ module Aws::Ivschat
|
|
693
909
|
# @example Request syntax with placeholder values
|
694
910
|
#
|
695
911
|
# resp = client.list_rooms({
|
912
|
+
# logging_configuration_identifier: "LoggingConfigurationIdentifier",
|
696
913
|
# max_results: 1,
|
697
914
|
# message_review_handler_uri: "LambdaArn",
|
698
915
|
# name: "RoomName",
|
@@ -706,6 +923,8 @@ module Aws::Ivschat
|
|
706
923
|
# resp.rooms[0].arn #=> String
|
707
924
|
# resp.rooms[0].create_time #=> Time
|
708
925
|
# resp.rooms[0].id #=> String
|
926
|
+
# resp.rooms[0].logging_configuration_identifiers #=> Array
|
927
|
+
# resp.rooms[0].logging_configuration_identifiers[0] #=> String
|
709
928
|
# resp.rooms[0].message_review_handler.fallback_result #=> String, one of "ALLOW", "DENY"
|
710
929
|
# resp.rooms[0].message_review_handler.uri #=> String
|
711
930
|
# resp.rooms[0].name #=> String
|
@@ -799,10 +1018,11 @@ module Aws::Ivschat
|
|
799
1018
|
# The ARN of the resource to be tagged. The ARN must be URL-encoded.
|
800
1019
|
#
|
801
1020
|
# @option params [required, Hash<String,String>] :tags
|
802
|
-
# Array of tags to be added or updated.
|
803
|
-
#
|
804
|
-
#
|
805
|
-
#
|
1021
|
+
# Array of tags to be added or updated. Array of maps, each of the form
|
1022
|
+
# `string:string (key:value)`. See [Tagging AWS Resources][1] for
|
1023
|
+
# details, including restrictions that apply to tags and "Tag naming
|
1024
|
+
# limits and requirements"; Amazon IVS Chat has no constraints beyond
|
1025
|
+
# what is documented there.
|
806
1026
|
#
|
807
1027
|
#
|
808
1028
|
#
|
@@ -834,7 +1054,8 @@ module Aws::Ivschat
|
|
834
1054
|
# The ARN of the resource to be untagged. The ARN must be URL-encoded.
|
835
1055
|
#
|
836
1056
|
# @option params [required, Array<String>] :tag_keys
|
837
|
-
# Array of tags to be removed.
|
1057
|
+
# Array of tags to be removed. Array of maps, each of the form
|
1058
|
+
# `string:string (key:value)`. See [Tagging AWS Resources][1] for
|
838
1059
|
# details, including restrictions that apply to tags and "Tag naming
|
839
1060
|
# limits and requirements"; Amazon IVS Chat has no constraints beyond
|
840
1061
|
# what is documented there.
|
@@ -861,11 +1082,80 @@ module Aws::Ivschat
|
|
861
1082
|
req.send_request(options)
|
862
1083
|
end
|
863
1084
|
|
1085
|
+
# Updates a specified logging configuration.
|
1086
|
+
#
|
1087
|
+
# @option params [Types::DestinationConfiguration] :destination_configuration
|
1088
|
+
# A complex type that contains a destination configuration for where
|
1089
|
+
# chat content will be logged. There can be only one type of destination
|
1090
|
+
# (`cloudWatchLogs`, `firehose`, or `s3`) in a
|
1091
|
+
# `destinationConfiguration`.
|
1092
|
+
#
|
1093
|
+
# @option params [required, String] :identifier
|
1094
|
+
# Identifier of the logging configuration to be updated.
|
1095
|
+
#
|
1096
|
+
# @option params [String] :name
|
1097
|
+
# Logging-configuration name. The value does not need to be unique.
|
1098
|
+
#
|
1099
|
+
# @return [Types::UpdateLoggingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1100
|
+
#
|
1101
|
+
# * {Types::UpdateLoggingConfigurationResponse#arn #arn} => String
|
1102
|
+
# * {Types::UpdateLoggingConfigurationResponse#create_time #create_time} => Time
|
1103
|
+
# * {Types::UpdateLoggingConfigurationResponse#destination_configuration #destination_configuration} => Types::DestinationConfiguration
|
1104
|
+
# * {Types::UpdateLoggingConfigurationResponse#id #id} => String
|
1105
|
+
# * {Types::UpdateLoggingConfigurationResponse#name #name} => String
|
1106
|
+
# * {Types::UpdateLoggingConfigurationResponse#state #state} => String
|
1107
|
+
# * {Types::UpdateLoggingConfigurationResponse#tags #tags} => Hash<String,String>
|
1108
|
+
# * {Types::UpdateLoggingConfigurationResponse#update_time #update_time} => Time
|
1109
|
+
#
|
1110
|
+
# @example Request syntax with placeholder values
|
1111
|
+
#
|
1112
|
+
# resp = client.update_logging_configuration({
|
1113
|
+
# destination_configuration: {
|
1114
|
+
# cloud_watch_logs: {
|
1115
|
+
# log_group_name: "LogGroupName", # required
|
1116
|
+
# },
|
1117
|
+
# firehose: {
|
1118
|
+
# delivery_stream_name: "DeliveryStreamName", # required
|
1119
|
+
# },
|
1120
|
+
# s3: {
|
1121
|
+
# bucket_name: "BucketName", # required
|
1122
|
+
# },
|
1123
|
+
# },
|
1124
|
+
# identifier: "LoggingConfigurationIdentifier", # required
|
1125
|
+
# name: "LoggingConfigurationName",
|
1126
|
+
# })
|
1127
|
+
#
|
1128
|
+
# @example Response structure
|
1129
|
+
#
|
1130
|
+
# resp.arn #=> String
|
1131
|
+
# resp.create_time #=> Time
|
1132
|
+
# resp.destination_configuration.cloud_watch_logs.log_group_name #=> String
|
1133
|
+
# resp.destination_configuration.firehose.delivery_stream_name #=> String
|
1134
|
+
# resp.destination_configuration.s3.bucket_name #=> String
|
1135
|
+
# resp.id #=> String
|
1136
|
+
# resp.name #=> String
|
1137
|
+
# resp.state #=> String, one of "ACTIVE"
|
1138
|
+
# resp.tags #=> Hash
|
1139
|
+
# resp.tags["TagKey"] #=> String
|
1140
|
+
# resp.update_time #=> Time
|
1141
|
+
#
|
1142
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/UpdateLoggingConfiguration AWS API Documentation
|
1143
|
+
#
|
1144
|
+
# @overload update_logging_configuration(params = {})
|
1145
|
+
# @param [Hash] params ({})
|
1146
|
+
def update_logging_configuration(params = {}, options = {})
|
1147
|
+
req = build_request(:update_logging_configuration, params)
|
1148
|
+
req.send_request(options)
|
1149
|
+
end
|
1150
|
+
|
864
1151
|
# Updates a room’s configuration.
|
865
1152
|
#
|
866
1153
|
# @option params [required, String] :identifier
|
867
1154
|
# Identifier of the room to be updated. Currently this must be an ARN.
|
868
1155
|
#
|
1156
|
+
# @option params [Array<String>] :logging_configuration_identifiers
|
1157
|
+
# Array of logging-configuration identifiers attached to the room.
|
1158
|
+
#
|
869
1159
|
# @option params [Integer] :maximum_message_length
|
870
1160
|
# The maximum number of characters in a single message. Messages are
|
871
1161
|
# expected to be UTF-8 encoded and this limit applies specifically to
|
@@ -888,6 +1178,7 @@ module Aws::Ivschat
|
|
888
1178
|
# * {Types::UpdateRoomResponse#arn #arn} => String
|
889
1179
|
# * {Types::UpdateRoomResponse#create_time #create_time} => Time
|
890
1180
|
# * {Types::UpdateRoomResponse#id #id} => String
|
1181
|
+
# * {Types::UpdateRoomResponse#logging_configuration_identifiers #logging_configuration_identifiers} => Array<String>
|
891
1182
|
# * {Types::UpdateRoomResponse#maximum_message_length #maximum_message_length} => Integer
|
892
1183
|
# * {Types::UpdateRoomResponse#maximum_message_rate_per_second #maximum_message_rate_per_second} => Integer
|
893
1184
|
# * {Types::UpdateRoomResponse#message_review_handler #message_review_handler} => Types::MessageReviewHandler
|
@@ -899,6 +1190,7 @@ module Aws::Ivschat
|
|
899
1190
|
#
|
900
1191
|
# resp = client.update_room({
|
901
1192
|
# identifier: "RoomIdentifier", # required
|
1193
|
+
# logging_configuration_identifiers: ["LoggingConfigurationIdentifier"],
|
902
1194
|
# maximum_message_length: 1,
|
903
1195
|
# maximum_message_rate_per_second: 1,
|
904
1196
|
# message_review_handler: {
|
@@ -913,6 +1205,8 @@ module Aws::Ivschat
|
|
913
1205
|
# resp.arn #=> String
|
914
1206
|
# resp.create_time #=> Time
|
915
1207
|
# resp.id #=> String
|
1208
|
+
# resp.logging_configuration_identifiers #=> Array
|
1209
|
+
# resp.logging_configuration_identifiers[0] #=> String
|
916
1210
|
# resp.maximum_message_length #=> Integer
|
917
1211
|
# resp.maximum_message_rate_per_second #=> Integer
|
918
1212
|
# resp.message_review_handler.fallback_result #=> String, one of "ALLOW", "DENY"
|
@@ -944,7 +1238,7 @@ module Aws::Ivschat
|
|
944
1238
|
params: params,
|
945
1239
|
config: config)
|
946
1240
|
context[:gem_name] = 'aws-sdk-ivschat'
|
947
|
-
context[:gem_version] = '1.
|
1241
|
+
context[:gem_version] = '1.6.0'
|
948
1242
|
Seahorse::Client::Request.new(handlers, context)
|
949
1243
|
end
|
950
1244
|
|