aws-sdk-chimesdkidentity 1.0.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13e7ae6a222f5c691e79efac91e423a8e3db5326621c585a804af828a317df2f
4
- data.tar.gz: 9aca154c86fe70a42d55eaf11c423e495d001524b2e21e7c5f819c6064e8e1b8
3
+ metadata.gz: '00539bdf52cd8b8053ae4a1841e30dd359593e62e71457c41cc83aff191bddc4'
4
+ data.tar.gz: 901e51cf1f32510232d2440399f7783d9e2a3ffb487614912a32e7914e68532a
5
5
  SHA512:
6
- metadata.gz: 05ded1e8f5931e1992259f59a4dc627a82fbeacf5aa15306d02f23519c504a456ecc76afcddece56cd351eae375a6dd0ba50673a5e9be34d202c0aad07d56425
7
- data.tar.gz: 39020d582fdba8063b158ab6129ee6d5484d54a874366a2dcf7ada109aeafe19c10dee1e41fb062cbc179f84410a757e688ebe321ac0f9e266b5295e5a004b43
6
+ metadata.gz: e88d98be07740d2239de8870d9d30dc7d88fc7630a1693c73cf3e55350509faa3be50c34f36d14e33b0136b316809f31713c1677c567865890bbeb98947bc0fb
7
+ data.tar.gz: b31ddc87240900ddec1470418bbb9e093fea7d3a422e35585cbc5a3b9fff2624fc1da90cab936ae920c767051d9cc7242d20d93aca2e7863f62c107995c314f3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2021-10-26)
5
+ ------------------
6
+
7
+ * Feature - The Amazon Chime SDK now supports push notifications through Amazon Pinpoint
8
+
9
+ 1.3.0 (2021-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.2.0 (2021-09-03)
15
+ ------------------
16
+
17
+ * Feature - Documentation updates for Chime
18
+
19
+ 1.1.0 (2021-09-01)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.0.0 (2021-08-06)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.4.0
@@ -551,6 +551,32 @@ module Aws::ChimeSDKIdentity
551
551
  req.send_request(options)
552
552
  end
553
553
 
554
+ # Deregisters an `AppInstanceUserEndpoint`.
555
+ #
556
+ # @option params [required, String] :app_instance_user_arn
557
+ # The ARN of the `AppInstanceUser`.
558
+ #
559
+ # @option params [required, String] :endpoint_id
560
+ # The unique identifier of the `AppInstanceUserEndpoint`.
561
+ #
562
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
563
+ #
564
+ # @example Request syntax with placeholder values
565
+ #
566
+ # resp = client.deregister_app_instance_user_endpoint({
567
+ # app_instance_user_arn: "SensitiveChimeArn", # required
568
+ # endpoint_id: "SensitiveString64", # required
569
+ # })
570
+ #
571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint AWS API Documentation
572
+ #
573
+ # @overload deregister_app_instance_user_endpoint(params = {})
574
+ # @param [Hash] params ({})
575
+ def deregister_app_instance_user_endpoint(params = {}, options = {})
576
+ req = build_request(:deregister_app_instance_user_endpoint, params)
577
+ req.send_request(options)
578
+ end
579
+
554
580
  # Returns the full details of an `AppInstance`.
555
581
  #
556
582
  # @option params [required, String] :app_instance_arn
@@ -650,6 +676,49 @@ module Aws::ChimeSDKIdentity
650
676
  req.send_request(options)
651
677
  end
652
678
 
679
+ # Returns the full details of an `AppInstanceUserEndpoint`.
680
+ #
681
+ # @option params [required, String] :app_instance_user_arn
682
+ # The ARN of the `AppInstanceUser`.
683
+ #
684
+ # @option params [required, String] :endpoint_id
685
+ # The unique identifier of the `AppInstanceUserEndpoint`.
686
+ #
687
+ # @return [Types::DescribeAppInstanceUserEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
688
+ #
689
+ # * {Types::DescribeAppInstanceUserEndpointResponse#app_instance_user_endpoint #app_instance_user_endpoint} => Types::AppInstanceUserEndpoint
690
+ #
691
+ # @example Request syntax with placeholder values
692
+ #
693
+ # resp = client.describe_app_instance_user_endpoint({
694
+ # app_instance_user_arn: "SensitiveString1600", # required
695
+ # endpoint_id: "SensitiveString64", # required
696
+ # })
697
+ #
698
+ # @example Response structure
699
+ #
700
+ # resp.app_instance_user_endpoint.app_instance_user_arn #=> String
701
+ # resp.app_instance_user_endpoint.endpoint_id #=> String
702
+ # resp.app_instance_user_endpoint.name #=> String
703
+ # resp.app_instance_user_endpoint.type #=> String, one of "APNS", "APNS_SANDBOX", "GCM"
704
+ # resp.app_instance_user_endpoint.resource_arn #=> String
705
+ # resp.app_instance_user_endpoint.endpoint_attributes.device_token #=> String
706
+ # resp.app_instance_user_endpoint.endpoint_attributes.voip_device_token #=> String
707
+ # resp.app_instance_user_endpoint.created_timestamp #=> Time
708
+ # resp.app_instance_user_endpoint.last_updated_timestamp #=> Time
709
+ # resp.app_instance_user_endpoint.allow_messages #=> String, one of "ALL", "NONE"
710
+ # resp.app_instance_user_endpoint.endpoint_state.status #=> String, one of "ACTIVE", "INACTIVE"
711
+ # resp.app_instance_user_endpoint.endpoint_state.status_reason #=> String, one of "INVALID_DEVICE_TOKEN", "INVALID_PINPOINT_ARN"
712
+ #
713
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint AWS API Documentation
714
+ #
715
+ # @overload describe_app_instance_user_endpoint(params = {})
716
+ # @param [Hash] params ({})
717
+ def describe_app_instance_user_endpoint(params = {}, options = {})
718
+ req = build_request(:describe_app_instance_user_endpoint, params)
719
+ req.send_request(options)
720
+ end
721
+
653
722
  # Gets the retention settings for an `AppInstance`.
654
723
  #
655
724
  # @option params [required, String] :app_instance_arn
@@ -725,6 +794,55 @@ module Aws::ChimeSDKIdentity
725
794
  req.send_request(options)
726
795
  end
727
796
 
797
+ # Lists all the `AppInstanceUserEndpoints` created under a single
798
+ # `AppInstanceUser`.
799
+ #
800
+ # @option params [required, String] :app_instance_user_arn
801
+ # The ARN of the `AppInstanceUser`.
802
+ #
803
+ # @option params [Integer] :max_results
804
+ # The maximum number of endpoints that you want to return.
805
+ #
806
+ # @option params [String] :next_token
807
+ # The token passed by previous API calls until all requested endpoints
808
+ # are returned.
809
+ #
810
+ # @return [Types::ListAppInstanceUserEndpointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
811
+ #
812
+ # * {Types::ListAppInstanceUserEndpointsResponse#app_instance_user_endpoints #app_instance_user_endpoints} => Array<Types::AppInstanceUserEndpointSummary>
813
+ # * {Types::ListAppInstanceUserEndpointsResponse#next_token #next_token} => String
814
+ #
815
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
816
+ #
817
+ # @example Request syntax with placeholder values
818
+ #
819
+ # resp = client.list_app_instance_user_endpoints({
820
+ # app_instance_user_arn: "SensitiveChimeArn", # required
821
+ # max_results: 1,
822
+ # next_token: "NextToken",
823
+ # })
824
+ #
825
+ # @example Response structure
826
+ #
827
+ # resp.app_instance_user_endpoints #=> Array
828
+ # resp.app_instance_user_endpoints[0].app_instance_user_arn #=> String
829
+ # resp.app_instance_user_endpoints[0].endpoint_id #=> String
830
+ # resp.app_instance_user_endpoints[0].name #=> String
831
+ # resp.app_instance_user_endpoints[0].type #=> String, one of "APNS", "APNS_SANDBOX", "GCM"
832
+ # resp.app_instance_user_endpoints[0].allow_messages #=> String, one of "ALL", "NONE"
833
+ # resp.app_instance_user_endpoints[0].endpoint_state.status #=> String, one of "ACTIVE", "INACTIVE"
834
+ # resp.app_instance_user_endpoints[0].endpoint_state.status_reason #=> String, one of "INVALID_DEVICE_TOKEN", "INVALID_PINPOINT_ARN"
835
+ # resp.next_token #=> String
836
+ #
837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints AWS API Documentation
838
+ #
839
+ # @overload list_app_instance_user_endpoints(params = {})
840
+ # @param [Hash] params ({})
841
+ def list_app_instance_user_endpoints(params = {}, options = {})
842
+ req = build_request(:list_app_instance_user_endpoints, params)
843
+ req.send_request(options)
844
+ end
845
+
728
846
  # List all `AppInstanceUsers` created under a single `AppInstance`.
729
847
  #
730
848
  # @option params [required, String] :app_instance_arn
@@ -812,6 +930,36 @@ module Aws::ChimeSDKIdentity
812
930
  req.send_request(options)
813
931
  end
814
932
 
933
+ # Lists the tags applied to an Amazon Chime SDK identity resource.
934
+ #
935
+ # @option params [required, String] :resource_arn
936
+ # The ARN of the resource.
937
+ #
938
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
939
+ #
940
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
941
+ #
942
+ # @example Request syntax with placeholder values
943
+ #
944
+ # resp = client.list_tags_for_resource({
945
+ # resource_arn: "ChimeArn", # required
946
+ # })
947
+ #
948
+ # @example Response structure
949
+ #
950
+ # resp.tags #=> Array
951
+ # resp.tags[0].key #=> String
952
+ # resp.tags[0].value #=> String
953
+ #
954
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListTagsForResource AWS API Documentation
955
+ #
956
+ # @overload list_tags_for_resource(params = {})
957
+ # @param [Hash] params ({})
958
+ def list_tags_for_resource(params = {}, options = {})
959
+ req = build_request(:list_tags_for_resource, params)
960
+ req.send_request(options)
961
+ end
962
+
815
963
  # Sets the amount of time in days that a given `AppInstance` retains
816
964
  # data.
817
965
  #
@@ -851,6 +999,139 @@ module Aws::ChimeSDKIdentity
851
999
  req.send_request(options)
852
1000
  end
853
1001
 
1002
+ # Registers an endpoint under an Amazon Chime `AppInstanceUser`. The
1003
+ # endpoint receives messages for a user. For push notifications, the
1004
+ # endpoint is a mobile device used to receive mobile push notifications
1005
+ # for a user.
1006
+ #
1007
+ # @option params [required, String] :app_instance_user_arn
1008
+ # The ARN of the `AppInstanceUser`.
1009
+ #
1010
+ # @option params [String] :name
1011
+ # The name of the `AppInstanceUserEndpoint`.
1012
+ #
1013
+ # @option params [required, String] :type
1014
+ # The type of the `AppInstanceUserEndpoint`. Supported types:
1015
+ #
1016
+ # * `APNS`\: The mobile notification service for an Apple device.
1017
+ #
1018
+ # * `APNS_SANDBOX`\: The sandbox environment of the mobile notification
1019
+ # service for an Apple device.
1020
+ #
1021
+ # * `GCM`\: The mobile notification service for an Android device.
1022
+ #
1023
+ # Populate the `ResourceArn` value of each type as `PinpointAppArn`.
1024
+ #
1025
+ # @option params [required, String] :resource_arn
1026
+ # The ARN of the resource to which the endpoint belongs.
1027
+ #
1028
+ # @option params [required, Types::EndpointAttributes] :endpoint_attributes
1029
+ # The attributes of an `Endpoint`.
1030
+ #
1031
+ # @option params [required, String] :client_request_token
1032
+ # The idempotency token for each client request.
1033
+ #
1034
+ # **A suitable default value is auto-generated.** You should normally
1035
+ # not need to pass this option.**
1036
+ #
1037
+ # @option params [String] :allow_messages
1038
+ # Boolean that controls whether the AppInstanceUserEndpoint is opted in
1039
+ # to receive messages. `ALL` indicates the endpoint receives all
1040
+ # messages. `NONE` indicates the endpoint receives no messages.
1041
+ #
1042
+ # @return [Types::RegisterAppInstanceUserEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1043
+ #
1044
+ # * {Types::RegisterAppInstanceUserEndpointResponse#app_instance_user_arn #app_instance_user_arn} => String
1045
+ # * {Types::RegisterAppInstanceUserEndpointResponse#endpoint_id #endpoint_id} => String
1046
+ #
1047
+ # @example Request syntax with placeholder values
1048
+ #
1049
+ # resp = client.register_app_instance_user_endpoint({
1050
+ # app_instance_user_arn: "SensitiveChimeArn", # required
1051
+ # name: "SensitiveString1600",
1052
+ # type: "APNS", # required, accepts APNS, APNS_SANDBOX, GCM
1053
+ # resource_arn: "SensitiveChimeArn", # required
1054
+ # endpoint_attributes: { # required
1055
+ # device_token: "NonEmptySensitiveString1600", # required
1056
+ # voip_device_token: "NonEmptySensitiveString1600",
1057
+ # },
1058
+ # client_request_token: "ClientRequestToken", # required
1059
+ # allow_messages: "ALL", # accepts ALL, NONE
1060
+ # })
1061
+ #
1062
+ # @example Response structure
1063
+ #
1064
+ # resp.app_instance_user_arn #=> String
1065
+ # resp.endpoint_id #=> String
1066
+ #
1067
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint AWS API Documentation
1068
+ #
1069
+ # @overload register_app_instance_user_endpoint(params = {})
1070
+ # @param [Hash] params ({})
1071
+ def register_app_instance_user_endpoint(params = {}, options = {})
1072
+ req = build_request(:register_app_instance_user_endpoint, params)
1073
+ req.send_request(options)
1074
+ end
1075
+
1076
+ # Applies the specified tags to the specified Amazon Chime SDK identity
1077
+ # resource.
1078
+ #
1079
+ # @option params [required, String] :resource_arn
1080
+ # The resource ARN.
1081
+ #
1082
+ # @option params [required, Array<Types::Tag>] :tags
1083
+ # The tag key-value pairs.
1084
+ #
1085
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1086
+ #
1087
+ # @example Request syntax with placeholder values
1088
+ #
1089
+ # resp = client.tag_resource({
1090
+ # resource_arn: "ChimeArn", # required
1091
+ # tags: [ # required
1092
+ # {
1093
+ # key: "TagKey", # required
1094
+ # value: "TagValue", # required
1095
+ # },
1096
+ # ],
1097
+ # })
1098
+ #
1099
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/TagResource AWS API Documentation
1100
+ #
1101
+ # @overload tag_resource(params = {})
1102
+ # @param [Hash] params ({})
1103
+ def tag_resource(params = {}, options = {})
1104
+ req = build_request(:tag_resource, params)
1105
+ req.send_request(options)
1106
+ end
1107
+
1108
+ # Removes the specified tags from the specified Amazon Chime SDK
1109
+ # identity resource.
1110
+ #
1111
+ # @option params [required, String] :resource_arn
1112
+ # The resource ARN.
1113
+ #
1114
+ # @option params [required, Array<String>] :tag_keys
1115
+ # The tag keys.
1116
+ #
1117
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1118
+ #
1119
+ # @example Request syntax with placeholder values
1120
+ #
1121
+ # resp = client.untag_resource({
1122
+ # resource_arn: "ChimeArn", # required
1123
+ # tag_keys: ["TagKey"], # required
1124
+ # })
1125
+ #
1126
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UntagResource AWS API Documentation
1127
+ #
1128
+ # @overload untag_resource(params = {})
1129
+ # @param [Hash] params ({})
1130
+ def untag_resource(params = {}, options = {})
1131
+ req = build_request(:untag_resource, params)
1132
+ req.send_request(options)
1133
+ end
1134
+
854
1135
  # Updates `AppInstance` metadata.
855
1136
  #
856
1137
  # @option params [required, String] :app_instance_arn
@@ -924,6 +1205,51 @@ module Aws::ChimeSDKIdentity
924
1205
  req.send_request(options)
925
1206
  end
926
1207
 
1208
+ # Updates the details of an `AppInstanceUserEndpoint`. You can update
1209
+ # the name and `AllowMessage` values.
1210
+ #
1211
+ # @option params [required, String] :app_instance_user_arn
1212
+ # The ARN of the `AppInstanceUser`.
1213
+ #
1214
+ # @option params [required, String] :endpoint_id
1215
+ # The unique identifier of the `AppInstanceUserEndpoint`.
1216
+ #
1217
+ # @option params [String] :name
1218
+ # The name of the `AppInstanceUserEndpoint`.
1219
+ #
1220
+ # @option params [String] :allow_messages
1221
+ # Boolean that controls whether the `AppInstanceUserEndpoint` is opted
1222
+ # in to receive messages. `ALL` indicates the endpoint will receive all
1223
+ # messages. `NONE` indicates the endpoint will receive no messages.
1224
+ #
1225
+ # @return [Types::UpdateAppInstanceUserEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1226
+ #
1227
+ # * {Types::UpdateAppInstanceUserEndpointResponse#app_instance_user_arn #app_instance_user_arn} => String
1228
+ # * {Types::UpdateAppInstanceUserEndpointResponse#endpoint_id #endpoint_id} => String
1229
+ #
1230
+ # @example Request syntax with placeholder values
1231
+ #
1232
+ # resp = client.update_app_instance_user_endpoint({
1233
+ # app_instance_user_arn: "SensitiveChimeArn", # required
1234
+ # endpoint_id: "SensitiveString64", # required
1235
+ # name: "SensitiveString1600",
1236
+ # allow_messages: "ALL", # accepts ALL, NONE
1237
+ # })
1238
+ #
1239
+ # @example Response structure
1240
+ #
1241
+ # resp.app_instance_user_arn #=> String
1242
+ # resp.endpoint_id #=> String
1243
+ #
1244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint AWS API Documentation
1245
+ #
1246
+ # @overload update_app_instance_user_endpoint(params = {})
1247
+ # @param [Hash] params ({})
1248
+ def update_app_instance_user_endpoint(params = {}, options = {})
1249
+ req = build_request(:update_app_instance_user_endpoint, params)
1250
+ req.send_request(options)
1251
+ end
1252
+
927
1253
  # @!endgroup
928
1254
 
929
1255
  # @param params ({})
@@ -937,7 +1263,7 @@ module Aws::ChimeSDKIdentity
937
1263
  params: params,
938
1264
  config: config)
939
1265
  context[:gem_name] = 'aws-sdk-chimesdkidentity'
940
- context[:gem_version] = '1.0.0'
1266
+ context[:gem_version] = '1.4.0'
941
1267
  Seahorse::Client::Request.new(handlers, context)
942
1268
  end
943
1269