aws-sdk-chimesdkidentity 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b1f90bc27d40a1834d0f256482214cb9413a28f0750d29720d34de999ba72c2
4
- data.tar.gz: fce05402157620a7d89efbd4ce9a104e0641e6bb61dff7b2b52ba77194f5cb9b
3
+ metadata.gz: 619b7c0f7bc1bf010c1b0e660315fa0fbf1ef05aba5b7ad2c508cbbf79e1a9c7
4
+ data.tar.gz: 8ead65f1bc4b76665930c34e62342e40c6900b9b0176f487a81a5a2370b1c271
5
5
  SHA512:
6
- metadata.gz: 65b2db019860771b491b5056aebbc6225f02cec4d09490779a6100f6b1ccdabcacbacbc5b3a6682ab07b24b873c2302d09d16e5eca01f63c8484268d9a707c7b
7
- data.tar.gz: c05c0266d0a4b8a7a9edfeb2fad8b728819984b6e569ca68afb19084642e6ddea3e46a0c07dfa473457cd2a7f1ed92bde4a2abd8a9e09be9ee33ebbe77d73602
6
+ metadata.gz: 3e920c30dc461f1a066eba4a993c7a199fb0b77cfa1289b4d9dd36f74f33e16a779a2b983268a5099bd017382bf315328ce4d7fe827eae16a87df7e952285d32
7
+ data.tar.gz: 5e54fe2f52620f0528a02632a9ab8245687158be797f6a3d1c4b5d6b782376cf927e9b7aa0bbea6e69aac148da68fa3da3069a7f48d0815b19524cbc25baafb6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.6.0 (2021-11-30)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.5.0 (2021-11-04)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.4.0 (2021-10-26)
15
+ ------------------
16
+
17
+ * Feature - The Amazon Chime SDK now supports push notifications through Amazon Pinpoint
18
+
19
+ 1.3.0 (2021-10-18)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.2.0 (2021-09-03)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.6.0
@@ -119,7 +119,9 @@ module Aws::ChimeSDKIdentity
119
119
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
120
  # are very aggressive. Construct and pass an instance of
121
121
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
122
+ # enable retries and extended timeouts. Instance profile credential
123
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
124
+ # to true.
123
125
  #
124
126
  # @option options [required, String] :region
125
127
  # The AWS region to connect to. The configured `:region` is
@@ -275,6 +277,15 @@ module Aws::ChimeSDKIdentity
275
277
  # ** Please note ** When response stubbing is enabled, no HTTP
276
278
  # requests are made, and retries are disabled.
277
279
  #
280
+ # @option options [Boolean] :use_dualstack_endpoint
281
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
282
+ # will be used if available.
283
+ #
284
+ # @option options [Boolean] :use_fips_endpoint
285
+ # When set to `true`, fips compatible endpoints will be used if available.
286
+ # When a `fips` region is used, the region is normalized and this config
287
+ # is set to `true`.
288
+ #
278
289
  # @option options [Boolean] :validate_params (true)
279
290
  # When `true`, request parameters are validated before
280
291
  # sending the request.
@@ -551,6 +562,32 @@ module Aws::ChimeSDKIdentity
551
562
  req.send_request(options)
552
563
  end
553
564
 
565
+ # Deregisters an `AppInstanceUserEndpoint`.
566
+ #
567
+ # @option params [required, String] :app_instance_user_arn
568
+ # The ARN of the `AppInstanceUser`.
569
+ #
570
+ # @option params [required, String] :endpoint_id
571
+ # The unique identifier of the `AppInstanceUserEndpoint`.
572
+ #
573
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
574
+ #
575
+ # @example Request syntax with placeholder values
576
+ #
577
+ # resp = client.deregister_app_instance_user_endpoint({
578
+ # app_instance_user_arn: "SensitiveChimeArn", # required
579
+ # endpoint_id: "SensitiveString64", # required
580
+ # })
581
+ #
582
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint AWS API Documentation
583
+ #
584
+ # @overload deregister_app_instance_user_endpoint(params = {})
585
+ # @param [Hash] params ({})
586
+ def deregister_app_instance_user_endpoint(params = {}, options = {})
587
+ req = build_request(:deregister_app_instance_user_endpoint, params)
588
+ req.send_request(options)
589
+ end
590
+
554
591
  # Returns the full details of an `AppInstance`.
555
592
  #
556
593
  # @option params [required, String] :app_instance_arn
@@ -650,6 +687,49 @@ module Aws::ChimeSDKIdentity
650
687
  req.send_request(options)
651
688
  end
652
689
 
690
+ # Returns the full details of an `AppInstanceUserEndpoint`.
691
+ #
692
+ # @option params [required, String] :app_instance_user_arn
693
+ # The ARN of the `AppInstanceUser`.
694
+ #
695
+ # @option params [required, String] :endpoint_id
696
+ # The unique identifier of the `AppInstanceUserEndpoint`.
697
+ #
698
+ # @return [Types::DescribeAppInstanceUserEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
699
+ #
700
+ # * {Types::DescribeAppInstanceUserEndpointResponse#app_instance_user_endpoint #app_instance_user_endpoint} => Types::AppInstanceUserEndpoint
701
+ #
702
+ # @example Request syntax with placeholder values
703
+ #
704
+ # resp = client.describe_app_instance_user_endpoint({
705
+ # app_instance_user_arn: "SensitiveString1600", # required
706
+ # endpoint_id: "SensitiveString64", # required
707
+ # })
708
+ #
709
+ # @example Response structure
710
+ #
711
+ # resp.app_instance_user_endpoint.app_instance_user_arn #=> String
712
+ # resp.app_instance_user_endpoint.endpoint_id #=> String
713
+ # resp.app_instance_user_endpoint.name #=> String
714
+ # resp.app_instance_user_endpoint.type #=> String, one of "APNS", "APNS_SANDBOX", "GCM"
715
+ # resp.app_instance_user_endpoint.resource_arn #=> String
716
+ # resp.app_instance_user_endpoint.endpoint_attributes.device_token #=> String
717
+ # resp.app_instance_user_endpoint.endpoint_attributes.voip_device_token #=> String
718
+ # resp.app_instance_user_endpoint.created_timestamp #=> Time
719
+ # resp.app_instance_user_endpoint.last_updated_timestamp #=> Time
720
+ # resp.app_instance_user_endpoint.allow_messages #=> String, one of "ALL", "NONE"
721
+ # resp.app_instance_user_endpoint.endpoint_state.status #=> String, one of "ACTIVE", "INACTIVE"
722
+ # resp.app_instance_user_endpoint.endpoint_state.status_reason #=> String, one of "INVALID_DEVICE_TOKEN", "INVALID_PINPOINT_ARN"
723
+ #
724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint AWS API Documentation
725
+ #
726
+ # @overload describe_app_instance_user_endpoint(params = {})
727
+ # @param [Hash] params ({})
728
+ def describe_app_instance_user_endpoint(params = {}, options = {})
729
+ req = build_request(:describe_app_instance_user_endpoint, params)
730
+ req.send_request(options)
731
+ end
732
+
653
733
  # Gets the retention settings for an `AppInstance`.
654
734
  #
655
735
  # @option params [required, String] :app_instance_arn
@@ -725,6 +805,55 @@ module Aws::ChimeSDKIdentity
725
805
  req.send_request(options)
726
806
  end
727
807
 
808
+ # Lists all the `AppInstanceUserEndpoints` created under a single
809
+ # `AppInstanceUser`.
810
+ #
811
+ # @option params [required, String] :app_instance_user_arn
812
+ # The ARN of the `AppInstanceUser`.
813
+ #
814
+ # @option params [Integer] :max_results
815
+ # The maximum number of endpoints that you want to return.
816
+ #
817
+ # @option params [String] :next_token
818
+ # The token passed by previous API calls until all requested endpoints
819
+ # are returned.
820
+ #
821
+ # @return [Types::ListAppInstanceUserEndpointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
822
+ #
823
+ # * {Types::ListAppInstanceUserEndpointsResponse#app_instance_user_endpoints #app_instance_user_endpoints} => Array<Types::AppInstanceUserEndpointSummary>
824
+ # * {Types::ListAppInstanceUserEndpointsResponse#next_token #next_token} => String
825
+ #
826
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
827
+ #
828
+ # @example Request syntax with placeholder values
829
+ #
830
+ # resp = client.list_app_instance_user_endpoints({
831
+ # app_instance_user_arn: "SensitiveChimeArn", # required
832
+ # max_results: 1,
833
+ # next_token: "NextToken",
834
+ # })
835
+ #
836
+ # @example Response structure
837
+ #
838
+ # resp.app_instance_user_endpoints #=> Array
839
+ # resp.app_instance_user_endpoints[0].app_instance_user_arn #=> String
840
+ # resp.app_instance_user_endpoints[0].endpoint_id #=> String
841
+ # resp.app_instance_user_endpoints[0].name #=> String
842
+ # resp.app_instance_user_endpoints[0].type #=> String, one of "APNS", "APNS_SANDBOX", "GCM"
843
+ # resp.app_instance_user_endpoints[0].allow_messages #=> String, one of "ALL", "NONE"
844
+ # resp.app_instance_user_endpoints[0].endpoint_state.status #=> String, one of "ACTIVE", "INACTIVE"
845
+ # resp.app_instance_user_endpoints[0].endpoint_state.status_reason #=> String, one of "INVALID_DEVICE_TOKEN", "INVALID_PINPOINT_ARN"
846
+ # resp.next_token #=> String
847
+ #
848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints AWS API Documentation
849
+ #
850
+ # @overload list_app_instance_user_endpoints(params = {})
851
+ # @param [Hash] params ({})
852
+ def list_app_instance_user_endpoints(params = {}, options = {})
853
+ req = build_request(:list_app_instance_user_endpoints, params)
854
+ req.send_request(options)
855
+ end
856
+
728
857
  # List all `AppInstanceUsers` created under a single `AppInstance`.
729
858
  #
730
859
  # @option params [required, String] :app_instance_arn
@@ -812,6 +941,36 @@ module Aws::ChimeSDKIdentity
812
941
  req.send_request(options)
813
942
  end
814
943
 
944
+ # Lists the tags applied to an Amazon Chime SDK identity resource.
945
+ #
946
+ # @option params [required, String] :resource_arn
947
+ # The ARN of the resource.
948
+ #
949
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
950
+ #
951
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
952
+ #
953
+ # @example Request syntax with placeholder values
954
+ #
955
+ # resp = client.list_tags_for_resource({
956
+ # resource_arn: "ChimeArn", # required
957
+ # })
958
+ #
959
+ # @example Response structure
960
+ #
961
+ # resp.tags #=> Array
962
+ # resp.tags[0].key #=> String
963
+ # resp.tags[0].value #=> String
964
+ #
965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListTagsForResource AWS API Documentation
966
+ #
967
+ # @overload list_tags_for_resource(params = {})
968
+ # @param [Hash] params ({})
969
+ def list_tags_for_resource(params = {}, options = {})
970
+ req = build_request(:list_tags_for_resource, params)
971
+ req.send_request(options)
972
+ end
973
+
815
974
  # Sets the amount of time in days that a given `AppInstance` retains
816
975
  # data.
817
976
  #
@@ -851,6 +1010,139 @@ module Aws::ChimeSDKIdentity
851
1010
  req.send_request(options)
852
1011
  end
853
1012
 
1013
+ # Registers an endpoint under an Amazon Chime `AppInstanceUser`. The
1014
+ # endpoint receives messages for a user. For push notifications, the
1015
+ # endpoint is a mobile device used to receive mobile push notifications
1016
+ # for a user.
1017
+ #
1018
+ # @option params [required, String] :app_instance_user_arn
1019
+ # The ARN of the `AppInstanceUser`.
1020
+ #
1021
+ # @option params [String] :name
1022
+ # The name of the `AppInstanceUserEndpoint`.
1023
+ #
1024
+ # @option params [required, String] :type
1025
+ # The type of the `AppInstanceUserEndpoint`. Supported types:
1026
+ #
1027
+ # * `APNS`\: The mobile notification service for an Apple device.
1028
+ #
1029
+ # * `APNS_SANDBOX`\: The sandbox environment of the mobile notification
1030
+ # service for an Apple device.
1031
+ #
1032
+ # * `GCM`\: The mobile notification service for an Android device.
1033
+ #
1034
+ # Populate the `ResourceArn` value of each type as `PinpointAppArn`.
1035
+ #
1036
+ # @option params [required, String] :resource_arn
1037
+ # The ARN of the resource to which the endpoint belongs.
1038
+ #
1039
+ # @option params [required, Types::EndpointAttributes] :endpoint_attributes
1040
+ # The attributes of an `Endpoint`.
1041
+ #
1042
+ # @option params [required, String] :client_request_token
1043
+ # The idempotency token for each client request.
1044
+ #
1045
+ # **A suitable default value is auto-generated.** You should normally
1046
+ # not need to pass this option.**
1047
+ #
1048
+ # @option params [String] :allow_messages
1049
+ # Boolean that controls whether the AppInstanceUserEndpoint is opted in
1050
+ # to receive messages. `ALL` indicates the endpoint receives all
1051
+ # messages. `NONE` indicates the endpoint receives no messages.
1052
+ #
1053
+ # @return [Types::RegisterAppInstanceUserEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1054
+ #
1055
+ # * {Types::RegisterAppInstanceUserEndpointResponse#app_instance_user_arn #app_instance_user_arn} => String
1056
+ # * {Types::RegisterAppInstanceUserEndpointResponse#endpoint_id #endpoint_id} => String
1057
+ #
1058
+ # @example Request syntax with placeholder values
1059
+ #
1060
+ # resp = client.register_app_instance_user_endpoint({
1061
+ # app_instance_user_arn: "SensitiveChimeArn", # required
1062
+ # name: "SensitiveString1600",
1063
+ # type: "APNS", # required, accepts APNS, APNS_SANDBOX, GCM
1064
+ # resource_arn: "SensitiveChimeArn", # required
1065
+ # endpoint_attributes: { # required
1066
+ # device_token: "NonEmptySensitiveString1600", # required
1067
+ # voip_device_token: "NonEmptySensitiveString1600",
1068
+ # },
1069
+ # client_request_token: "ClientRequestToken", # required
1070
+ # allow_messages: "ALL", # accepts ALL, NONE
1071
+ # })
1072
+ #
1073
+ # @example Response structure
1074
+ #
1075
+ # resp.app_instance_user_arn #=> String
1076
+ # resp.endpoint_id #=> String
1077
+ #
1078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint AWS API Documentation
1079
+ #
1080
+ # @overload register_app_instance_user_endpoint(params = {})
1081
+ # @param [Hash] params ({})
1082
+ def register_app_instance_user_endpoint(params = {}, options = {})
1083
+ req = build_request(:register_app_instance_user_endpoint, params)
1084
+ req.send_request(options)
1085
+ end
1086
+
1087
+ # Applies the specified tags to the specified Amazon Chime SDK identity
1088
+ # resource.
1089
+ #
1090
+ # @option params [required, String] :resource_arn
1091
+ # The resource ARN.
1092
+ #
1093
+ # @option params [required, Array<Types::Tag>] :tags
1094
+ # The tag key-value pairs.
1095
+ #
1096
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1097
+ #
1098
+ # @example Request syntax with placeholder values
1099
+ #
1100
+ # resp = client.tag_resource({
1101
+ # resource_arn: "ChimeArn", # required
1102
+ # tags: [ # required
1103
+ # {
1104
+ # key: "TagKey", # required
1105
+ # value: "TagValue", # required
1106
+ # },
1107
+ # ],
1108
+ # })
1109
+ #
1110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/TagResource AWS API Documentation
1111
+ #
1112
+ # @overload tag_resource(params = {})
1113
+ # @param [Hash] params ({})
1114
+ def tag_resource(params = {}, options = {})
1115
+ req = build_request(:tag_resource, params)
1116
+ req.send_request(options)
1117
+ end
1118
+
1119
+ # Removes the specified tags from the specified Amazon Chime SDK
1120
+ # identity resource.
1121
+ #
1122
+ # @option params [required, String] :resource_arn
1123
+ # The resource ARN.
1124
+ #
1125
+ # @option params [required, Array<String>] :tag_keys
1126
+ # The tag keys.
1127
+ #
1128
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1129
+ #
1130
+ # @example Request syntax with placeholder values
1131
+ #
1132
+ # resp = client.untag_resource({
1133
+ # resource_arn: "ChimeArn", # required
1134
+ # tag_keys: ["TagKey"], # required
1135
+ # })
1136
+ #
1137
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UntagResource AWS API Documentation
1138
+ #
1139
+ # @overload untag_resource(params = {})
1140
+ # @param [Hash] params ({})
1141
+ def untag_resource(params = {}, options = {})
1142
+ req = build_request(:untag_resource, params)
1143
+ req.send_request(options)
1144
+ end
1145
+
854
1146
  # Updates `AppInstance` metadata.
855
1147
  #
856
1148
  # @option params [required, String] :app_instance_arn
@@ -924,6 +1216,51 @@ module Aws::ChimeSDKIdentity
924
1216
  req.send_request(options)
925
1217
  end
926
1218
 
1219
+ # Updates the details of an `AppInstanceUserEndpoint`. You can update
1220
+ # the name and `AllowMessage` values.
1221
+ #
1222
+ # @option params [required, String] :app_instance_user_arn
1223
+ # The ARN of the `AppInstanceUser`.
1224
+ #
1225
+ # @option params [required, String] :endpoint_id
1226
+ # The unique identifier of the `AppInstanceUserEndpoint`.
1227
+ #
1228
+ # @option params [String] :name
1229
+ # The name of the `AppInstanceUserEndpoint`.
1230
+ #
1231
+ # @option params [String] :allow_messages
1232
+ # Boolean that controls whether the `AppInstanceUserEndpoint` is opted
1233
+ # in to receive messages. `ALL` indicates the endpoint will receive all
1234
+ # messages. `NONE` indicates the endpoint will receive no messages.
1235
+ #
1236
+ # @return [Types::UpdateAppInstanceUserEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1237
+ #
1238
+ # * {Types::UpdateAppInstanceUserEndpointResponse#app_instance_user_arn #app_instance_user_arn} => String
1239
+ # * {Types::UpdateAppInstanceUserEndpointResponse#endpoint_id #endpoint_id} => String
1240
+ #
1241
+ # @example Request syntax with placeholder values
1242
+ #
1243
+ # resp = client.update_app_instance_user_endpoint({
1244
+ # app_instance_user_arn: "SensitiveChimeArn", # required
1245
+ # endpoint_id: "SensitiveString64", # required
1246
+ # name: "SensitiveString1600",
1247
+ # allow_messages: "ALL", # accepts ALL, NONE
1248
+ # })
1249
+ #
1250
+ # @example Response structure
1251
+ #
1252
+ # resp.app_instance_user_arn #=> String
1253
+ # resp.endpoint_id #=> String
1254
+ #
1255
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint AWS API Documentation
1256
+ #
1257
+ # @overload update_app_instance_user_endpoint(params = {})
1258
+ # @param [Hash] params ({})
1259
+ def update_app_instance_user_endpoint(params = {}, options = {})
1260
+ req = build_request(:update_app_instance_user_endpoint, params)
1261
+ req.send_request(options)
1262
+ end
1263
+
927
1264
  # @!endgroup
928
1265
 
929
1266
  # @param params ({})
@@ -937,7 +1274,7 @@ module Aws::ChimeSDKIdentity
937
1274
  params: params,
938
1275
  config: config)
939
1276
  context[:gem_name] = 'aws-sdk-chimesdkidentity'
940
- context[:gem_version] = '1.2.0'
1277
+ context[:gem_version] = '1.6.0'
941
1278
  Seahorse::Client::Request.new(handlers, context)
942
1279
  end
943
1280