aws-sdk-ivschat 1.4.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ivschat/client.rb +323 -12
- data/lib/aws-sdk-ivschat/client_api.rb +187 -0
- data/lib/aws-sdk-ivschat/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-ivschat/endpoint_provider.rb +111 -0
- data/lib/aws-sdk-ivschat/endpoints.rb +253 -0
- data/lib/aws-sdk-ivschat/plugins/endpoints.rb +102 -0
- data/lib/aws-sdk-ivschat/types.rb +581 -14
- data/lib/aws-sdk-ivschat.rb +5 -1
- metadata +8 -4
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,16 @@
|
|
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
|
+
|
9
|
+
1.5.0 (2022-10-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.4.0 (2022-08-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.6.0
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:ivschat)
|
@@ -79,8 +79,9 @@ module Aws::Ivschat
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
84
|
+
add_plugin(Aws::Ivschat::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -287,6 +288,19 @@ module Aws::Ivschat
|
|
287
288
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
288
289
|
# requests are made, and retries are disabled.
|
289
290
|
#
|
291
|
+
# @option options [Aws::TokenProvider] :token_provider
|
292
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
293
|
+
# following classes:
|
294
|
+
#
|
295
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
296
|
+
# tokens.
|
297
|
+
#
|
298
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
299
|
+
# access token generated from `aws login`.
|
300
|
+
#
|
301
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
302
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
303
|
+
#
|
290
304
|
# @option options [Boolean] :use_dualstack_endpoint
|
291
305
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
306
|
# will be used if available.
|
@@ -300,6 +314,9 @@ module Aws::Ivschat
|
|
300
314
|
# When `true`, request parameters are validated before
|
301
315
|
# sending the request.
|
302
316
|
#
|
317
|
+
# @option options [Aws::Ivschat::EndpointProvider] :endpoint_provider
|
318
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Ivschat::EndpointParameters`
|
319
|
+
#
|
303
320
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
304
321
|
# requests through. Formatted like 'http://proxy.com:123'.
|
305
322
|
#
|
@@ -351,10 +368,20 @@ module Aws::Ivschat
|
|
351
368
|
|
352
369
|
# @!group API Operations
|
353
370
|
|
354
|
-
# Creates an encrypted token that is used
|
355
|
-
# WebSocket connection to a room.
|
356
|
-
#
|
357
|
-
# 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.
|
358
385
|
#
|
359
386
|
# Encryption keys are owned by Amazon IVS Chat and never used directly
|
360
387
|
# by your application.
|
@@ -414,8 +441,88 @@ module Aws::Ivschat
|
|
414
441
|
req.send_request(options)
|
415
442
|
end
|
416
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
|
+
|
417
521
|
# Creates a room that allows clients to connect and pass messages.
|
418
522
|
#
|
523
|
+
# @option params [Array<String>] :logging_configuration_identifiers
|
524
|
+
# Array of logging-configuration identifiers attached to the room.
|
525
|
+
#
|
419
526
|
# @option params [Integer] :maximum_message_length
|
420
527
|
# Maximum number of characters in a single message. Messages are
|
421
528
|
# expected to be UTF-8 encoded and this limit applies specifically to
|
@@ -447,6 +554,7 @@ module Aws::Ivschat
|
|
447
554
|
# * {Types::CreateRoomResponse#arn #arn} => String
|
448
555
|
# * {Types::CreateRoomResponse#create_time #create_time} => Time
|
449
556
|
# * {Types::CreateRoomResponse#id #id} => String
|
557
|
+
# * {Types::CreateRoomResponse#logging_configuration_identifiers #logging_configuration_identifiers} => Array<String>
|
450
558
|
# * {Types::CreateRoomResponse#maximum_message_length #maximum_message_length} => Integer
|
451
559
|
# * {Types::CreateRoomResponse#maximum_message_rate_per_second #maximum_message_rate_per_second} => Integer
|
452
560
|
# * {Types::CreateRoomResponse#message_review_handler #message_review_handler} => Types::MessageReviewHandler
|
@@ -457,6 +565,7 @@ module Aws::Ivschat
|
|
457
565
|
# @example Request syntax with placeholder values
|
458
566
|
#
|
459
567
|
# resp = client.create_room({
|
568
|
+
# logging_configuration_identifiers: ["LoggingConfigurationIdentifier"],
|
460
569
|
# maximum_message_length: 1,
|
461
570
|
# maximum_message_rate_per_second: 1,
|
462
571
|
# message_review_handler: {
|
@@ -474,6 +583,8 @@ module Aws::Ivschat
|
|
474
583
|
# resp.arn #=> String
|
475
584
|
# resp.create_time #=> Time
|
476
585
|
# resp.id #=> String
|
586
|
+
# resp.logging_configuration_identifiers #=> Array
|
587
|
+
# resp.logging_configuration_identifiers[0] #=> String
|
477
588
|
# resp.maximum_message_length #=> Integer
|
478
589
|
# resp.maximum_message_rate_per_second #=> Integer
|
479
590
|
# resp.message_review_handler.fallback_result #=> String, one of "ALLOW", "DENY"
|
@@ -492,6 +603,28 @@ module Aws::Ivschat
|
|
492
603
|
req.send_request(options)
|
493
604
|
end
|
494
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
|
+
|
495
628
|
# Sends an event to a specific room which directs clients to delete a
|
496
629
|
# specific message; that is, unrender it from view and delete it from
|
497
630
|
# the client’s chat history. This event’s `EventName` is
|
@@ -602,6 +735,51 @@ module Aws::Ivschat
|
|
602
735
|
req.send_request(options)
|
603
736
|
end
|
604
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
|
+
|
605
783
|
# Gets the specified room.
|
606
784
|
#
|
607
785
|
# @option params [required, String] :identifier
|
@@ -613,6 +791,7 @@ module Aws::Ivschat
|
|
613
791
|
# * {Types::GetRoomResponse#arn #arn} => String
|
614
792
|
# * {Types::GetRoomResponse#create_time #create_time} => Time
|
615
793
|
# * {Types::GetRoomResponse#id #id} => String
|
794
|
+
# * {Types::GetRoomResponse#logging_configuration_identifiers #logging_configuration_identifiers} => Array<String>
|
616
795
|
# * {Types::GetRoomResponse#maximum_message_length #maximum_message_length} => Integer
|
617
796
|
# * {Types::GetRoomResponse#maximum_message_rate_per_second #maximum_message_rate_per_second} => Integer
|
618
797
|
# * {Types::GetRoomResponse#message_review_handler #message_review_handler} => Types::MessageReviewHandler
|
@@ -631,6 +810,8 @@ module Aws::Ivschat
|
|
631
810
|
# resp.arn #=> String
|
632
811
|
# resp.create_time #=> Time
|
633
812
|
# resp.id #=> String
|
813
|
+
# resp.logging_configuration_identifiers #=> Array
|
814
|
+
# resp.logging_configuration_identifiers[0] #=> String
|
634
815
|
# resp.maximum_message_length #=> Integer
|
635
816
|
# resp.maximum_message_rate_per_second #=> Integer
|
636
817
|
# resp.message_review_handler.fallback_result #=> String, one of "ALLOW", "DENY"
|
@@ -649,10 +830,62 @@ module Aws::Ivschat
|
|
649
830
|
req.send_request(options)
|
650
831
|
end
|
651
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
|
+
|
652
882
|
# Gets summary information about all your rooms in the AWS region where
|
653
883
|
# the API request is processed. Results are sorted in descending order
|
654
884
|
# of `updateTime`.
|
655
885
|
#
|
886
|
+
# @option params [String] :logging_configuration_identifier
|
887
|
+
# Logging-configuration identifier.
|
888
|
+
#
|
656
889
|
# @option params [Integer] :max_results
|
657
890
|
# Maximum number of rooms to return. Default: 50.
|
658
891
|
#
|
@@ -676,6 +909,7 @@ module Aws::Ivschat
|
|
676
909
|
# @example Request syntax with placeholder values
|
677
910
|
#
|
678
911
|
# resp = client.list_rooms({
|
912
|
+
# logging_configuration_identifier: "LoggingConfigurationIdentifier",
|
679
913
|
# max_results: 1,
|
680
914
|
# message_review_handler_uri: "LambdaArn",
|
681
915
|
# name: "RoomName",
|
@@ -689,6 +923,8 @@ module Aws::Ivschat
|
|
689
923
|
# resp.rooms[0].arn #=> String
|
690
924
|
# resp.rooms[0].create_time #=> Time
|
691
925
|
# resp.rooms[0].id #=> String
|
926
|
+
# resp.rooms[0].logging_configuration_identifiers #=> Array
|
927
|
+
# resp.rooms[0].logging_configuration_identifiers[0] #=> String
|
692
928
|
# resp.rooms[0].message_review_handler.fallback_result #=> String, one of "ALLOW", "DENY"
|
693
929
|
# resp.rooms[0].message_review_handler.uri #=> String
|
694
930
|
# resp.rooms[0].name #=> String
|
@@ -782,10 +1018,11 @@ module Aws::Ivschat
|
|
782
1018
|
# The ARN of the resource to be tagged. The ARN must be URL-encoded.
|
783
1019
|
#
|
784
1020
|
# @option params [required, Hash<String,String>] :tags
|
785
|
-
# Array of tags to be added or updated.
|
786
|
-
#
|
787
|
-
#
|
788
|
-
#
|
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.
|
789
1026
|
#
|
790
1027
|
#
|
791
1028
|
#
|
@@ -817,7 +1054,8 @@ module Aws::Ivschat
|
|
817
1054
|
# The ARN of the resource to be untagged. The ARN must be URL-encoded.
|
818
1055
|
#
|
819
1056
|
# @option params [required, Array<String>] :tag_keys
|
820
|
-
# 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
|
821
1059
|
# details, including restrictions that apply to tags and "Tag naming
|
822
1060
|
# limits and requirements"; Amazon IVS Chat has no constraints beyond
|
823
1061
|
# what is documented there.
|
@@ -844,11 +1082,80 @@ module Aws::Ivschat
|
|
844
1082
|
req.send_request(options)
|
845
1083
|
end
|
846
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
|
+
|
847
1151
|
# Updates a room’s configuration.
|
848
1152
|
#
|
849
1153
|
# @option params [required, String] :identifier
|
850
1154
|
# Identifier of the room to be updated. Currently this must be an ARN.
|
851
1155
|
#
|
1156
|
+
# @option params [Array<String>] :logging_configuration_identifiers
|
1157
|
+
# Array of logging-configuration identifiers attached to the room.
|
1158
|
+
#
|
852
1159
|
# @option params [Integer] :maximum_message_length
|
853
1160
|
# The maximum number of characters in a single message. Messages are
|
854
1161
|
# expected to be UTF-8 encoded and this limit applies specifically to
|
@@ -871,6 +1178,7 @@ module Aws::Ivschat
|
|
871
1178
|
# * {Types::UpdateRoomResponse#arn #arn} => String
|
872
1179
|
# * {Types::UpdateRoomResponse#create_time #create_time} => Time
|
873
1180
|
# * {Types::UpdateRoomResponse#id #id} => String
|
1181
|
+
# * {Types::UpdateRoomResponse#logging_configuration_identifiers #logging_configuration_identifiers} => Array<String>
|
874
1182
|
# * {Types::UpdateRoomResponse#maximum_message_length #maximum_message_length} => Integer
|
875
1183
|
# * {Types::UpdateRoomResponse#maximum_message_rate_per_second #maximum_message_rate_per_second} => Integer
|
876
1184
|
# * {Types::UpdateRoomResponse#message_review_handler #message_review_handler} => Types::MessageReviewHandler
|
@@ -882,6 +1190,7 @@ module Aws::Ivschat
|
|
882
1190
|
#
|
883
1191
|
# resp = client.update_room({
|
884
1192
|
# identifier: "RoomIdentifier", # required
|
1193
|
+
# logging_configuration_identifiers: ["LoggingConfigurationIdentifier"],
|
885
1194
|
# maximum_message_length: 1,
|
886
1195
|
# maximum_message_rate_per_second: 1,
|
887
1196
|
# message_review_handler: {
|
@@ -896,6 +1205,8 @@ module Aws::Ivschat
|
|
896
1205
|
# resp.arn #=> String
|
897
1206
|
# resp.create_time #=> Time
|
898
1207
|
# resp.id #=> String
|
1208
|
+
# resp.logging_configuration_identifiers #=> Array
|
1209
|
+
# resp.logging_configuration_identifiers[0] #=> String
|
899
1210
|
# resp.maximum_message_length #=> Integer
|
900
1211
|
# resp.maximum_message_rate_per_second #=> Integer
|
901
1212
|
# resp.message_review_handler.fallback_result #=> String, one of "ALLOW", "DENY"
|
@@ -927,7 +1238,7 @@ module Aws::Ivschat
|
|
927
1238
|
params: params,
|
928
1239
|
config: config)
|
929
1240
|
context[:gem_name] = 'aws-sdk-ivschat'
|
930
|
-
context[:gem_version] = '1.
|
1241
|
+
context[:gem_version] = '1.6.0'
|
931
1242
|
Seahorse::Client::Request.new(handlers, context)
|
932
1243
|
end
|
933
1244
|
|