aws-sdk-chime 1.21.0 → 1.22.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.
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::Chime
9
- # This class provides a resource oriented interface for Chime.
10
- # To create a resource object:
11
- # resource = Aws::Chime::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::Chime::Client.new(region: 'us-west-2')
15
- # resource = Aws::Chime::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -980,6 +980,71 @@ module Aws::Chime
980
980
  include Aws::Structure
981
981
  end
982
982
 
983
+ # @note When making an API call, you may pass CreateProxySessionRequest
984
+ # data as a hash:
985
+ #
986
+ # {
987
+ # voice_connector_id: "NonEmptyString128", # required
988
+ # participant_phone_numbers: ["E164PhoneNumber"], # required
989
+ # name: "ProxySessionNameString",
990
+ # expiry_minutes: 1,
991
+ # capabilities: ["Voice"], # required, accepts Voice, SMS
992
+ # number_selection_behavior: "PreferSticky", # accepts PreferSticky, AvoidSticky
993
+ # geo_match_level: "Country", # accepts Country, AreaCode
994
+ # geo_match_params: {
995
+ # country: "Country", # required
996
+ # area_code: "AreaCode", # required
997
+ # },
998
+ # }
999
+ #
1000
+ # @!attribute [rw] voice_connector_id
1001
+ # @return [String]
1002
+ #
1003
+ # @!attribute [rw] participant_phone_numbers
1004
+ # @return [Array<String>]
1005
+ #
1006
+ # @!attribute [rw] name
1007
+ # @return [String]
1008
+ #
1009
+ # @!attribute [rw] expiry_minutes
1010
+ # @return [Integer]
1011
+ #
1012
+ # @!attribute [rw] capabilities
1013
+ # @return [Array<String>]
1014
+ #
1015
+ # @!attribute [rw] number_selection_behavior
1016
+ # @return [String]
1017
+ #
1018
+ # @!attribute [rw] geo_match_level
1019
+ # @return [String]
1020
+ #
1021
+ # @!attribute [rw] geo_match_params
1022
+ # @return [Types::GeoMatchParams]
1023
+ #
1024
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateProxySessionRequest AWS API Documentation
1025
+ #
1026
+ class CreateProxySessionRequest < Struct.new(
1027
+ :voice_connector_id,
1028
+ :participant_phone_numbers,
1029
+ :name,
1030
+ :expiry_minutes,
1031
+ :capabilities,
1032
+ :number_selection_behavior,
1033
+ :geo_match_level,
1034
+ :geo_match_params)
1035
+ include Aws::Structure
1036
+ end
1037
+
1038
+ # @!attribute [rw] proxy_session
1039
+ # @return [Types::ProxySession]
1040
+ #
1041
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateProxySessionResponse AWS API Documentation
1042
+ #
1043
+ class CreateProxySessionResponse < Struct.new(
1044
+ :proxy_session)
1045
+ include Aws::Structure
1046
+ end
1047
+
983
1048
  # @note When making an API call, you may pass CreateRoomMembershipRequest
984
1049
  # data as a hash:
985
1050
  #
@@ -1336,6 +1401,28 @@ module Aws::Chime
1336
1401
  include Aws::Structure
1337
1402
  end
1338
1403
 
1404
+ # @note When making an API call, you may pass DeleteProxySessionRequest
1405
+ # data as a hash:
1406
+ #
1407
+ # {
1408
+ # voice_connector_id: "NonEmptyString128", # required
1409
+ # proxy_session_id: "NonEmptyString128", # required
1410
+ # }
1411
+ #
1412
+ # @!attribute [rw] voice_connector_id
1413
+ # @return [String]
1414
+ #
1415
+ # @!attribute [rw] proxy_session_id
1416
+ # @return [String]
1417
+ #
1418
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteProxySessionRequest AWS API Documentation
1419
+ #
1420
+ class DeleteProxySessionRequest < Struct.new(
1421
+ :voice_connector_id,
1422
+ :proxy_session_id)
1423
+ include Aws::Structure
1424
+ end
1425
+
1339
1426
  # @note When making an API call, you may pass DeleteRoomMembershipRequest
1340
1427
  # data as a hash:
1341
1428
  #
@@ -1426,6 +1513,23 @@ module Aws::Chime
1426
1513
  include Aws::Structure
1427
1514
  end
1428
1515
 
1516
+ # @note When making an API call, you may pass DeleteVoiceConnectorProxyRequest
1517
+ # data as a hash:
1518
+ #
1519
+ # {
1520
+ # voice_connector_id: "NonEmptyString128", # required
1521
+ # }
1522
+ #
1523
+ # @!attribute [rw] voice_connector_id
1524
+ # @return [String]
1525
+ #
1526
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorProxyRequest AWS API Documentation
1527
+ #
1528
+ class DeleteVoiceConnectorProxyRequest < Struct.new(
1529
+ :voice_connector_id)
1530
+ include Aws::Structure
1531
+ end
1532
+
1429
1533
  # @note When making an API call, you may pass DeleteVoiceConnectorRequest
1430
1534
  # data as a hash:
1431
1535
  #
@@ -1677,6 +1781,28 @@ module Aws::Chime
1677
1781
  include Aws::Structure
1678
1782
  end
1679
1783
 
1784
+ # @note When making an API call, you may pass GeoMatchParams
1785
+ # data as a hash:
1786
+ #
1787
+ # {
1788
+ # country: "Country", # required
1789
+ # area_code: "AreaCode", # required
1790
+ # }
1791
+ #
1792
+ # @!attribute [rw] country
1793
+ # @return [String]
1794
+ #
1795
+ # @!attribute [rw] area_code
1796
+ # @return [String]
1797
+ #
1798
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GeoMatchParams AWS API Documentation
1799
+ #
1800
+ class GeoMatchParams < Struct.new(
1801
+ :country,
1802
+ :area_code)
1803
+ include Aws::Structure
1804
+ end
1805
+
1680
1806
  # @note When making an API call, you may pass GetAccountRequest
1681
1807
  # data as a hash:
1682
1808
  #
@@ -1959,6 +2085,38 @@ module Aws::Chime
1959
2085
  include Aws::Structure
1960
2086
  end
1961
2087
 
2088
+ # @note When making an API call, you may pass GetProxySessionRequest
2089
+ # data as a hash:
2090
+ #
2091
+ # {
2092
+ # voice_connector_id: "NonEmptyString128", # required
2093
+ # proxy_session_id: "NonEmptyString128", # required
2094
+ # }
2095
+ #
2096
+ # @!attribute [rw] voice_connector_id
2097
+ # @return [String]
2098
+ #
2099
+ # @!attribute [rw] proxy_session_id
2100
+ # @return [String]
2101
+ #
2102
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetProxySessionRequest AWS API Documentation
2103
+ #
2104
+ class GetProxySessionRequest < Struct.new(
2105
+ :voice_connector_id,
2106
+ :proxy_session_id)
2107
+ include Aws::Structure
2108
+ end
2109
+
2110
+ # @!attribute [rw] proxy_session
2111
+ # @return [Types::ProxySession]
2112
+ #
2113
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetProxySessionResponse AWS API Documentation
2114
+ #
2115
+ class GetProxySessionResponse < Struct.new(
2116
+ :proxy_session)
2117
+ include Aws::Structure
2118
+ end
2119
+
1962
2120
  # @note When making an API call, you may pass GetRoomRequest
1963
2121
  # data as a hash:
1964
2122
  #
@@ -2151,6 +2309,33 @@ module Aws::Chime
2151
2309
  include Aws::Structure
2152
2310
  end
2153
2311
 
2312
+ # @note When making an API call, you may pass GetVoiceConnectorProxyRequest
2313
+ # data as a hash:
2314
+ #
2315
+ # {
2316
+ # voice_connector_id: "NonEmptyString128", # required
2317
+ # }
2318
+ #
2319
+ # @!attribute [rw] voice_connector_id
2320
+ # @return [String]
2321
+ #
2322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorProxyRequest AWS API Documentation
2323
+ #
2324
+ class GetVoiceConnectorProxyRequest < Struct.new(
2325
+ :voice_connector_id)
2326
+ include Aws::Structure
2327
+ end
2328
+
2329
+ # @!attribute [rw] proxy
2330
+ # @return [Types::Proxy]
2331
+ #
2332
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorProxyResponse AWS API Documentation
2333
+ #
2334
+ class GetVoiceConnectorProxyResponse < Struct.new(
2335
+ :proxy)
2336
+ include Aws::Structure
2337
+ end
2338
+
2154
2339
  # @note When making an API call, you may pass GetVoiceConnectorRequest
2155
2340
  # data as a hash:
2156
2341
  #
@@ -2627,6 +2812,52 @@ module Aws::Chime
2627
2812
  include Aws::Structure
2628
2813
  end
2629
2814
 
2815
+ # @note When making an API call, you may pass ListProxySessionsRequest
2816
+ # data as a hash:
2817
+ #
2818
+ # {
2819
+ # voice_connector_id: "NonEmptyString128", # required
2820
+ # status: "Open", # accepts Open, InProgress, Closed
2821
+ # next_token: "NextTokenString",
2822
+ # max_results: 1,
2823
+ # }
2824
+ #
2825
+ # @!attribute [rw] voice_connector_id
2826
+ # @return [String]
2827
+ #
2828
+ # @!attribute [rw] status
2829
+ # @return [String]
2830
+ #
2831
+ # @!attribute [rw] next_token
2832
+ # @return [String]
2833
+ #
2834
+ # @!attribute [rw] max_results
2835
+ # @return [Integer]
2836
+ #
2837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListProxySessionsRequest AWS API Documentation
2838
+ #
2839
+ class ListProxySessionsRequest < Struct.new(
2840
+ :voice_connector_id,
2841
+ :status,
2842
+ :next_token,
2843
+ :max_results)
2844
+ include Aws::Structure
2845
+ end
2846
+
2847
+ # @!attribute [rw] proxy_sessions
2848
+ # @return [Array<Types::ProxySession>]
2849
+ #
2850
+ # @!attribute [rw] next_token
2851
+ # @return [String]
2852
+ #
2853
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListProxySessionsResponse AWS API Documentation
2854
+ #
2855
+ class ListProxySessionsResponse < Struct.new(
2856
+ :proxy_sessions,
2857
+ :next_token)
2858
+ include Aws::Structure
2859
+ end
2860
+
2630
2861
  # @note When making an API call, you may pass ListRoomMembershipsRequest
2631
2862
  # data as a hash:
2632
2863
  #
@@ -3253,6 +3484,20 @@ module Aws::Chime
3253
3484
  include Aws::Structure
3254
3485
  end
3255
3486
 
3487
+ # @!attribute [rw] phone_number
3488
+ # @return [String]
3489
+ #
3490
+ # @!attribute [rw] proxy_phone_number
3491
+ # @return [String]
3492
+ #
3493
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/Participant AWS API Documentation
3494
+ #
3495
+ class Participant < Struct.new(
3496
+ :phone_number,
3497
+ :proxy_phone_number)
3498
+ include Aws::Structure
3499
+ end
3500
+
3256
3501
  # A phone number used for Amazon Chime Business Calling or an Amazon
3257
3502
  # Chime Voice Connector.
3258
3503
  #
@@ -3457,6 +3702,86 @@ module Aws::Chime
3457
3702
  include Aws::Structure
3458
3703
  end
3459
3704
 
3705
+ # @!attribute [rw] default_session_expiry_minutes
3706
+ # @return [Integer]
3707
+ #
3708
+ # @!attribute [rw] disabled
3709
+ # @return [Boolean]
3710
+ #
3711
+ # @!attribute [rw] fall_back_phone_number
3712
+ # @return [String]
3713
+ #
3714
+ # @!attribute [rw] phone_number_countries
3715
+ # @return [Array<String>]
3716
+ #
3717
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/Proxy AWS API Documentation
3718
+ #
3719
+ class Proxy < Struct.new(
3720
+ :default_session_expiry_minutes,
3721
+ :disabled,
3722
+ :fall_back_phone_number,
3723
+ :phone_number_countries)
3724
+ include Aws::Structure
3725
+ end
3726
+
3727
+ # @!attribute [rw] voice_connector_id
3728
+ # @return [String]
3729
+ #
3730
+ # @!attribute [rw] proxy_session_id
3731
+ # @return [String]
3732
+ #
3733
+ # @!attribute [rw] name
3734
+ # @return [String]
3735
+ #
3736
+ # @!attribute [rw] status
3737
+ # @return [String]
3738
+ #
3739
+ # @!attribute [rw] expiry_minutes
3740
+ # @return [Integer]
3741
+ #
3742
+ # @!attribute [rw] capabilities
3743
+ # @return [Array<String>]
3744
+ #
3745
+ # @!attribute [rw] created_timestamp
3746
+ # @return [Time]
3747
+ #
3748
+ # @!attribute [rw] updated_timestamp
3749
+ # @return [Time]
3750
+ #
3751
+ # @!attribute [rw] ended_timestamp
3752
+ # @return [Time]
3753
+ #
3754
+ # @!attribute [rw] participants
3755
+ # @return [Array<Types::Participant>]
3756
+ #
3757
+ # @!attribute [rw] number_selection_behavior
3758
+ # @return [String]
3759
+ #
3760
+ # @!attribute [rw] geo_match_level
3761
+ # @return [String]
3762
+ #
3763
+ # @!attribute [rw] geo_match_params
3764
+ # @return [Types::GeoMatchParams]
3765
+ #
3766
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ProxySession AWS API Documentation
3767
+ #
3768
+ class ProxySession < Struct.new(
3769
+ :voice_connector_id,
3770
+ :proxy_session_id,
3771
+ :name,
3772
+ :status,
3773
+ :expiry_minutes,
3774
+ :capabilities,
3775
+ :created_timestamp,
3776
+ :updated_timestamp,
3777
+ :ended_timestamp,
3778
+ :participants,
3779
+ :number_selection_behavior,
3780
+ :geo_match_level,
3781
+ :geo_match_params)
3782
+ include Aws::Structure
3783
+ end
3784
+
3460
3785
  # @note When making an API call, you may pass PutEventsConfigurationRequest
3461
3786
  # data as a hash:
3462
3787
  #
@@ -3588,6 +3913,53 @@ module Aws::Chime
3588
3913
  include Aws::Structure
3589
3914
  end
3590
3915
 
3916
+ # @note When making an API call, you may pass PutVoiceConnectorProxyRequest
3917
+ # data as a hash:
3918
+ #
3919
+ # {
3920
+ # voice_connector_id: "NonEmptyString128", # required
3921
+ # default_session_expiry_minutes: 1, # required
3922
+ # phone_number_pool_countries: ["Country"], # required
3923
+ # fall_back_phone_number: "E164PhoneNumber",
3924
+ # disabled: false,
3925
+ # }
3926
+ #
3927
+ # @!attribute [rw] voice_connector_id
3928
+ # @return [String]
3929
+ #
3930
+ # @!attribute [rw] default_session_expiry_minutes
3931
+ # @return [Integer]
3932
+ #
3933
+ # @!attribute [rw] phone_number_pool_countries
3934
+ # @return [Array<String>]
3935
+ #
3936
+ # @!attribute [rw] fall_back_phone_number
3937
+ # @return [String]
3938
+ #
3939
+ # @!attribute [rw] disabled
3940
+ # @return [Boolean]
3941
+ #
3942
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorProxyRequest AWS API Documentation
3943
+ #
3944
+ class PutVoiceConnectorProxyRequest < Struct.new(
3945
+ :voice_connector_id,
3946
+ :default_session_expiry_minutes,
3947
+ :phone_number_pool_countries,
3948
+ :fall_back_phone_number,
3949
+ :disabled)
3950
+ include Aws::Structure
3951
+ end
3952
+
3953
+ # @!attribute [rw] proxy
3954
+ # @return [Types::Proxy]
3955
+ #
3956
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorProxyResponse AWS API Documentation
3957
+ #
3958
+ class PutVoiceConnectorProxyResponse < Struct.new(
3959
+ :proxy)
3960
+ include Aws::Structure
3961
+ end
3962
+
3591
3963
  # @note When making an API call, you may pass PutVoiceConnectorStreamingConfigurationRequest
3592
3964
  # data as a hash:
3593
3965
  #
@@ -4408,6 +4780,48 @@ module Aws::Chime
4408
4780
  include Aws::Structure
4409
4781
  end
4410
4782
 
4783
+ # @note When making an API call, you may pass UpdateProxySessionRequest
4784
+ # data as a hash:
4785
+ #
4786
+ # {
4787
+ # voice_connector_id: "NonEmptyString128", # required
4788
+ # proxy_session_id: "NonEmptyString128", # required
4789
+ # capabilities: ["Voice"], # required, accepts Voice, SMS
4790
+ # expiry_minutes: 1,
4791
+ # }
4792
+ #
4793
+ # @!attribute [rw] voice_connector_id
4794
+ # @return [String]
4795
+ #
4796
+ # @!attribute [rw] proxy_session_id
4797
+ # @return [String]
4798
+ #
4799
+ # @!attribute [rw] capabilities
4800
+ # @return [Array<String>]
4801
+ #
4802
+ # @!attribute [rw] expiry_minutes
4803
+ # @return [Integer]
4804
+ #
4805
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateProxySessionRequest AWS API Documentation
4806
+ #
4807
+ class UpdateProxySessionRequest < Struct.new(
4808
+ :voice_connector_id,
4809
+ :proxy_session_id,
4810
+ :capabilities,
4811
+ :expiry_minutes)
4812
+ include Aws::Structure
4813
+ end
4814
+
4815
+ # @!attribute [rw] proxy_session
4816
+ # @return [Types::ProxySession]
4817
+ #
4818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateProxySessionResponse AWS API Documentation
4819
+ #
4820
+ class UpdateProxySessionResponse < Struct.new(
4821
+ :proxy_session)
4822
+ include Aws::Structure
4823
+ end
4824
+
4411
4825
  # @note When making an API call, you may pass UpdateRoomMembershipRequest
4412
4826
  # data as a hash:
4413
4827
  #