aws-sdk-chime 1.40.0 → 1.46.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -592,6 +592,36 @@ module Aws::Chime
592
592
  include Aws::Structure
593
593
  end
594
594
 
595
+ # The membership information, including member ARNs, the channel ARN,
596
+ # and membership types.
597
+ #
598
+ # @!attribute [rw] invited_by
599
+ # The details of a user.
600
+ # @return [Types::Identity]
601
+ #
602
+ # @!attribute [rw] type
603
+ # The membership types set for the channel users.
604
+ # @return [String]
605
+ #
606
+ # @!attribute [rw] members
607
+ # The users successfully added to the request.
608
+ # @return [Array<Types::Identity>]
609
+ #
610
+ # @!attribute [rw] channel_arn
611
+ # The ARN of the channel to which you're adding users.
612
+ # @return [String]
613
+ #
614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchChannelMemberships AWS API Documentation
615
+ #
616
+ class BatchChannelMemberships < Struct.new(
617
+ :invited_by,
618
+ :type,
619
+ :members,
620
+ :channel_arn)
621
+ SENSITIVE = []
622
+ include Aws::Structure
623
+ end
624
+
595
625
  # @note When making an API call, you may pass BatchCreateAttendeeRequest
596
626
  # data as a hash:
597
627
  #
@@ -646,6 +676,90 @@ module Aws::Chime
646
676
  include Aws::Structure
647
677
  end
648
678
 
679
+ # A list of failed member ARNs, error codes, and error messages.
680
+ #
681
+ # @!attribute [rw] member_arn
682
+ # The ARN of the member that the service couldn't add.
683
+ # @return [String]
684
+ #
685
+ # @!attribute [rw] error_code
686
+ # The error code.
687
+ # @return [String]
688
+ #
689
+ # @!attribute [rw] error_message
690
+ # The error message.
691
+ # @return [String]
692
+ #
693
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateChannelMembershipError AWS API Documentation
694
+ #
695
+ class BatchCreateChannelMembershipError < Struct.new(
696
+ :member_arn,
697
+ :error_code,
698
+ :error_message)
699
+ SENSITIVE = []
700
+ include Aws::Structure
701
+ end
702
+
703
+ # @note When making an API call, you may pass BatchCreateChannelMembershipRequest
704
+ # data as a hash:
705
+ #
706
+ # {
707
+ # channel_arn: "ChimeArn", # required
708
+ # type: "DEFAULT", # accepts DEFAULT, HIDDEN
709
+ # member_arns: ["ChimeArn"], # required
710
+ # chime_bearer: "ChimeArn",
711
+ # }
712
+ #
713
+ # @!attribute [rw] channel_arn
714
+ # The ARN of the channel to which you're adding users.
715
+ # @return [String]
716
+ #
717
+ # @!attribute [rw] type
718
+ # The membership type of a user, `DEFAULT` or `HIDDEN`. Default
719
+ # members are always returned as part of `ListChannelMemberships`.
720
+ # Hidden members are only returned if the type filter in
721
+ # `ListChannelMemberships` equals `HIDDEN`. Otherwise hidden members
722
+ # are not returned. This is only supported by moderators.
723
+ # @return [String]
724
+ #
725
+ # @!attribute [rw] member_arns
726
+ # The ARNs of the members you want to add to the channel.
727
+ # @return [Array<String>]
728
+ #
729
+ # @!attribute [rw] chime_bearer
730
+ # The `AppInstanceUserArn` of the user that makes the API call.
731
+ # @return [String]
732
+ #
733
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateChannelMembershipRequest AWS API Documentation
734
+ #
735
+ class BatchCreateChannelMembershipRequest < Struct.new(
736
+ :channel_arn,
737
+ :type,
738
+ :member_arns,
739
+ :chime_bearer)
740
+ SENSITIVE = []
741
+ include Aws::Structure
742
+ end
743
+
744
+ # @!attribute [rw] batch_channel_memberships
745
+ # The list of channel memberships in the response.
746
+ # @return [Types::BatchChannelMemberships]
747
+ #
748
+ # @!attribute [rw] errors
749
+ # If the action fails for one or more of the memberships in the
750
+ # request, a list of the memberships is returned, along with error
751
+ # codes and error messages.
752
+ # @return [Array<Types::BatchCreateChannelMembershipError>]
753
+ #
754
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateChannelMembershipResponse AWS API Documentation
755
+ #
756
+ class BatchCreateChannelMembershipResponse < Struct.new(
757
+ :batch_channel_memberships,
758
+ :errors)
759
+ SENSITIVE = []
760
+ include Aws::Structure
761
+ end
762
+
649
763
  # @note When making an API call, you may pass BatchCreateRoomMembershipRequest
650
764
  # data as a hash:
651
765
  #
@@ -814,7 +928,7 @@ module Aws::Chime
814
928
  # update_phone_number_request_items: [ # required
815
929
  # {
816
930
  # phone_number_id: "NonEmptyString", # required
817
- # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
931
+ # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
818
932
  # calling_name: "CallingName",
819
933
  # },
820
934
  # ],
@@ -2041,7 +2155,7 @@ module Aws::Chime
2041
2155
  #
2042
2156
  #
2043
2157
  #
2044
- # [1]: https://docs.aws.amazon.com/chime/latest/APIReference/API_Attendee.htmlCreateAttendee
2158
+ # [1]: https://docs.aws.amazon.com/chime/latest/APIReference/API_CreateAttendee.html
2045
2159
  # @return [String]
2046
2160
  #
2047
2161
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingDialOutRequest AWS API Documentation
@@ -2262,7 +2376,7 @@ module Aws::Chime
2262
2376
  # data as a hash:
2263
2377
  #
2264
2378
  # {
2265
- # product_type: "BusinessCalling", # required, accepts BusinessCalling, VoiceConnector
2379
+ # product_type: "BusinessCalling", # required, accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
2266
2380
  # e164_phone_numbers: ["E164PhoneNumber"], # required
2267
2381
  # }
2268
2382
  #
@@ -2478,12 +2592,12 @@ module Aws::Chime
2478
2592
  # }
2479
2593
  #
2480
2594
  # @!attribute [rw] from_phone_number
2481
- # The phone number that a user calls from.
2595
+ # The phone number that a user calls from. This is a phone number in
2596
+ # your Amazon Chime phone number inventory.
2482
2597
  # @return [String]
2483
2598
  #
2484
2599
  # @!attribute [rw] to_phone_number
2485
- # The phone number that the user dials in order to connect to a
2486
- # meeting.
2600
+ # The phone number that the service should call.
2487
2601
  # @return [String]
2488
2602
  #
2489
2603
  # @!attribute [rw] sip_media_application_id
@@ -3588,7 +3702,7 @@ module Aws::Chime
3588
3702
  end
3589
3703
 
3590
3704
  # @!attribute [rw] channel_ban
3591
- # The the details of the ban.
3705
+ # The details of the ban.
3592
3706
  # @return [Types::ChannelBan]
3593
3707
  #
3594
3708
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelBanResponse AWS API Documentation
@@ -6034,7 +6148,7 @@ module Aws::Chime
6034
6148
  #
6035
6149
  # {
6036
6150
  # status: "AcquireInProgress", # accepts AcquireInProgress, AcquireFailed, Unassigned, Assigned, ReleaseInProgress, DeleteInProgress, ReleaseFailed, DeleteFailed
6037
- # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
6151
+ # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
6038
6152
  # filter_name: "AccountId", # accepts AccountId, UserId, VoiceConnectorId, VoiceConnectorGroupId, SipRuleId
6039
6153
  # filter_value: "String",
6040
6154
  # max_results: 1,
@@ -6349,6 +6463,37 @@ module Aws::Chime
6349
6463
  include Aws::Structure
6350
6464
  end
6351
6465
 
6466
+ # @note When making an API call, you may pass ListSupportedPhoneNumberCountriesRequest
6467
+ # data as a hash:
6468
+ #
6469
+ # {
6470
+ # product_type: "BusinessCalling", # required, accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
6471
+ # }
6472
+ #
6473
+ # @!attribute [rw] product_type
6474
+ # The phone number product type.
6475
+ # @return [String]
6476
+ #
6477
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSupportedPhoneNumberCountriesRequest AWS API Documentation
6478
+ #
6479
+ class ListSupportedPhoneNumberCountriesRequest < Struct.new(
6480
+ :product_type)
6481
+ SENSITIVE = []
6482
+ include Aws::Structure
6483
+ end
6484
+
6485
+ # @!attribute [rw] phone_number_countries
6486
+ # The supported phone number countries.
6487
+ # @return [Array<Types::PhoneNumberCountry>]
6488
+ #
6489
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSupportedPhoneNumberCountriesResponse AWS API Documentation
6490
+ #
6491
+ class ListSupportedPhoneNumberCountriesResponse < Struct.new(
6492
+ :phone_number_countries)
6493
+ SENSITIVE = []
6494
+ include Aws::Structure
6495
+ end
6496
+
6352
6497
  # @note When making an API call, you may pass ListTagsForResourceRequest
6353
6498
  # data as a hash:
6354
6499
  #
@@ -6670,11 +6815,10 @@ module Aws::Chime
6670
6815
  #
6671
6816
  # @!attribute [rw] media_region
6672
6817
  # The Region in which you create the meeting. Available values:
6673
- # `af-south-1` , `ap-northeast-1` , `ap-northeast-2` , `ap-south-1` ,
6674
- # `ap-southeast-1` , `ap-southeast-2` , `ca-central-1` ,
6675
- # `eu-central-1` , `eu-north-1` , `eu-south-1` , `eu-west-1` ,
6676
- # `eu-west-2` , `eu-west-3` , `sa-east-1` , `us-east-1` , `us-east-2`
6677
- # , `us-west-1` , `us-west-2` .
6818
+ # `af-south-1`, `ap-northeast-1`, `ap-northeast-2`, `ap-south-1`,
6819
+ # `ap-southeast-1`, `ap-southeast-2`, `ca-central-1`, `eu-central-1`,
6820
+ # `eu-north-1`, `eu-south-1`, `eu-west-1`, `eu-west-2`, `eu-west-3`,
6821
+ # `sa-east-1`, `us-east-1`, `us-east-2`, `us-west-1`, `us-west-2`.
6678
6822
  # @return [String]
6679
6823
  #
6680
6824
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/Meeting AWS API Documentation
@@ -6975,6 +7119,10 @@ module Aws::Chime
6975
7119
  # The phone number, in E.164 format.
6976
7120
  # @return [String]
6977
7121
  #
7122
+ # @!attribute [rw] country
7123
+ # The phone number country. Format: ISO 3166-1 alpha-2.
7124
+ # @return [String]
7125
+ #
6978
7126
  # @!attribute [rw] type
6979
7127
  # The phone number type.
6980
7128
  # @return [String]
@@ -7020,6 +7168,7 @@ module Aws::Chime
7020
7168
  class PhoneNumber < Struct.new(
7021
7169
  :phone_number_id,
7022
7170
  :e164_phone_number,
7171
+ :country,
7023
7172
  :type,
7024
7173
  :product_type,
7025
7174
  :status,
@@ -7107,6 +7256,25 @@ module Aws::Chime
7107
7256
  include Aws::Structure
7108
7257
  end
7109
7258
 
7259
+ # The phone number country.
7260
+ #
7261
+ # @!attribute [rw] country_code
7262
+ # The phone number country code. Format: ISO 3166-1 alpha-2.
7263
+ # @return [String]
7264
+ #
7265
+ # @!attribute [rw] supported_phone_number_types
7266
+ # The supported phone number types.
7267
+ # @return [Array<String>]
7268
+ #
7269
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PhoneNumberCountry AWS API Documentation
7270
+ #
7271
+ class PhoneNumberCountry < Struct.new(
7272
+ :country_code,
7273
+ :supported_phone_number_types)
7274
+ SENSITIVE = []
7275
+ include Aws::Structure
7276
+ end
7277
+
7110
7278
  # If the phone number action fails for one or more of the phone numbers
7111
7279
  # in the request, a list of the phone numbers is returned, along with
7112
7280
  # error codes and error messages.
@@ -8190,31 +8358,40 @@ module Aws::Chime
8190
8358
  # {
8191
8359
  # area_code: "String",
8192
8360
  # city: "String",
8193
- # country: "String",
8361
+ # country: "Alpha2CountryCode",
8194
8362
  # state: "String",
8195
8363
  # toll_free_prefix: "TollFreePrefix",
8364
+ # phone_number_type: "Local", # accepts Local, TollFree
8196
8365
  # max_results: 1,
8197
8366
  # next_token: "String",
8198
8367
  # }
8199
8368
  #
8200
8369
  # @!attribute [rw] area_code
8201
- # The area code used to filter results.
8370
+ # The area code used to filter results. Only applies to the US.
8202
8371
  # @return [String]
8203
8372
  #
8204
8373
  # @!attribute [rw] city
8205
- # The city used to filter results.
8374
+ # The city used to filter results. Only applies to the US.
8206
8375
  # @return [String]
8207
8376
  #
8208
8377
  # @!attribute [rw] country
8209
- # The country used to filter results.
8378
+ # The country used to filter results. Defaults to the US Format: ISO
8379
+ # 3166-1 alpha-2.
8210
8380
  # @return [String]
8211
8381
  #
8212
8382
  # @!attribute [rw] state
8213
- # The state used to filter results.
8383
+ # The state used to filter results. Required only if you provide
8384
+ # `City`. Only applies to the US.
8214
8385
  # @return [String]
8215
8386
  #
8216
8387
  # @!attribute [rw] toll_free_prefix
8217
- # The toll-free prefix that you use to filter results.
8388
+ # The toll-free prefix that you use to filter results. Only applies to
8389
+ # the US.
8390
+ # @return [String]
8391
+ #
8392
+ # @!attribute [rw] phone_number_type
8393
+ # The phone number type used to filter results. Required for non-US
8394
+ # numbers.
8218
8395
  # @return [String]
8219
8396
  #
8220
8397
  # @!attribute [rw] max_results
@@ -8222,7 +8399,7 @@ module Aws::Chime
8222
8399
  # @return [Integer]
8223
8400
  #
8224
8401
  # @!attribute [rw] next_token
8225
- # The token to use to retrieve the next page of results.
8402
+ # The token used to retrieve the next page of results.
8226
8403
  # @return [String]
8227
8404
  #
8228
8405
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SearchAvailablePhoneNumbersRequest AWS API Documentation
@@ -8233,6 +8410,7 @@ module Aws::Chime
8233
8410
  :country,
8234
8411
  :state,
8235
8412
  :toll_free_prefix,
8413
+ :phone_number_type,
8236
8414
  :max_results,
8237
8415
  :next_token)
8238
8416
  SENSITIVE = []
@@ -8243,10 +8421,15 @@ module Aws::Chime
8243
8421
  # List of phone numbers, in E.164 format.
8244
8422
  # @return [Array<String>]
8245
8423
  #
8424
+ # @!attribute [rw] next_token
8425
+ # The token used to retrieve the next page of search results.
8426
+ # @return [String]
8427
+ #
8246
8428
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SearchAvailablePhoneNumbersResponse AWS API Documentation
8247
8429
  #
8248
8430
  class SearchAvailablePhoneNumbersResponse < Struct.new(
8249
- :e164_phone_numbers)
8431
+ :e164_phone_numbers,
8432
+ :next_token)
8250
8433
  SENSITIVE = []
8251
8434
  include Aws::Structure
8252
8435
  end
@@ -9381,7 +9564,7 @@ module Aws::Chime
9381
9564
  #
9382
9565
  # {
9383
9566
  # phone_number_id: "String", # required
9384
- # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
9567
+ # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
9385
9568
  # calling_name: "CallingName",
9386
9569
  # }
9387
9570
  #
@@ -9415,7 +9598,7 @@ module Aws::Chime
9415
9598
  #
9416
9599
  # {
9417
9600
  # phone_number_id: "NonEmptyString", # required
9418
- # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
9601
+ # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
9419
9602
  # calling_name: "CallingName",
9420
9603
  # }
9421
9604
  #
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.40.0
4
+ version: 1.46.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: 2021-01-19 00:00:00.000000000 Z
11
+ date: 2021-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.109.0
22
+ version: 3.112.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.109.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for Amazon Chime. This gem is part of the AWS SDK
48
48
  for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-chime.rb
56
59
  - lib/aws-sdk-chime/client.rb
57
60
  - lib/aws-sdk-chime/client_api.rb
@@ -63,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
63
66
  licenses:
64
67
  - Apache-2.0
65
68
  metadata:
66
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-chime
67
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-chime/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-chime
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-chime/CHANGELOG.md
68
71
  post_install_message:
69
72
  rdoc_options: []
70
73
  require_paths:
@@ -80,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
83
  - !ruby/object:Gem::Version
81
84
  version: '0'
82
85
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
85
87
  signing_key:
86
88
  specification_version: 4
87
89
  summary: AWS SDK for Ruby - Amazon Chime