aws-sdk-chimesdkidentity 1.9.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-chimesdkidentity/client.rb +20 -3
- data/lib/aws-sdk-chimesdkidentity/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-chimesdkidentity/endpoint_provider.rb +51 -0
- data/lib/aws-sdk-chimesdkidentity/endpoints.rb +351 -0
- data/lib/aws-sdk-chimesdkidentity/plugins/endpoints.rb +116 -0
- data/lib/aws-sdk-chimesdkidentity/types.rb +0 -258
- data/lib/aws-sdk-chimesdkidentity.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: 531e842c202cbb689b306754f9ffc93578c0ee41162404409d4221eca8dac8b5
|
4
|
+
data.tar.gz: 6249da19fe0d96375135287ae760c5caa46b0ae2da0236dcb0e036a25fddb380
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1e400e5d2a8467cc4f43ed98194787ff27f021d7d60aa178ad2e4e832650cfc93f34899015d990e59ea904dc144bf637d4989f9eb9ff24330a8739d61fc71bc
|
7
|
+
data.tar.gz: 435b54afa503e08a9dc745ac75edbb59c4daf7f74237451b09b281f49e0a19556154662847d606a77aec79fbb42d67b82276545e07765e66b3325588744dbb34
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.11.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.10.0 (2022-10-25)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
15
|
+
|
4
16
|
1.9.0 (2022-02-24)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.11.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(:chimesdkidentity)
|
@@ -79,8 +79,9 @@ module Aws::ChimeSDKIdentity
|
|
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::ChimeSDKIdentity::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -287,6 +288,19 @@ module Aws::ChimeSDKIdentity
|
|
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::ChimeSDKIdentity
|
|
300
314
|
# When `true`, request parameters are validated before
|
301
315
|
# sending the request.
|
302
316
|
#
|
317
|
+
# @option options [Aws::ChimeSDKIdentity::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::ChimeSDKIdentity::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
|
#
|
@@ -1287,7 +1304,7 @@ module Aws::ChimeSDKIdentity
|
|
1287
1304
|
params: params,
|
1288
1305
|
config: config)
|
1289
1306
|
context[:gem_name] = 'aws-sdk-chimesdkidentity'
|
1290
|
-
context[:gem_version] = '1.
|
1307
|
+
context[:gem_version] = '1.11.0'
|
1291
1308
|
Seahorse::Client::Request.new(handlers, context)
|
1292
1309
|
end
|
1293
1310
|
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::ChimeSDKIdentity
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
+
if self[:use_dual_stack].nil?
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
+
end
|
58
|
+
self[:use_fips] = options[:use_fips]
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
+
if self[:use_fips].nil?
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
+
end
|
63
|
+
self[:endpoint] = options[:endpoint]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::ChimeSDKIdentity
|
11
|
+
class EndpointProvider
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://identity-chime-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://identity-chime-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://identity-chime.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://identity-chime.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
|
+
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
48
|
+
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,351 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::ChimeSDKIdentity
|
12
|
+
module Endpoints
|
13
|
+
|
14
|
+
class CreateAppInstance
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
class CreateAppInstanceAdmin
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class CreateAppInstanceUser
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class DeleteAppInstance
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class DeleteAppInstanceAdmin
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
class DeleteAppInstanceUser
|
85
|
+
def self.build(context)
|
86
|
+
unless context.config.regional_endpoint
|
87
|
+
endpoint = context.config.endpoint.to_s
|
88
|
+
end
|
89
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
90
|
+
region: context.config.region,
|
91
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
92
|
+
use_fips: context.config.use_fips_endpoint,
|
93
|
+
endpoint: endpoint,
|
94
|
+
)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
class DeregisterAppInstanceUserEndpoint
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class DescribeAppInstance
|
113
|
+
def self.build(context)
|
114
|
+
unless context.config.regional_endpoint
|
115
|
+
endpoint = context.config.endpoint.to_s
|
116
|
+
end
|
117
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
118
|
+
region: context.config.region,
|
119
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
120
|
+
use_fips: context.config.use_fips_endpoint,
|
121
|
+
endpoint: endpoint,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class DescribeAppInstanceAdmin
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class DescribeAppInstanceUser
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class DescribeAppInstanceUserEndpoint
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
160
|
+
region: context.config.region,
|
161
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
162
|
+
use_fips: context.config.use_fips_endpoint,
|
163
|
+
endpoint: endpoint,
|
164
|
+
)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
class GetAppInstanceRetentionSettings
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
class ListAppInstanceAdmins
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class ListAppInstanceUserEndpoints
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
class ListAppInstanceUsers
|
211
|
+
def self.build(context)
|
212
|
+
unless context.config.regional_endpoint
|
213
|
+
endpoint = context.config.endpoint.to_s
|
214
|
+
end
|
215
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
216
|
+
region: context.config.region,
|
217
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
218
|
+
use_fips: context.config.use_fips_endpoint,
|
219
|
+
endpoint: endpoint,
|
220
|
+
)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class ListAppInstances
|
225
|
+
def self.build(context)
|
226
|
+
unless context.config.regional_endpoint
|
227
|
+
endpoint = context.config.endpoint.to_s
|
228
|
+
end
|
229
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
230
|
+
region: context.config.region,
|
231
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
232
|
+
use_fips: context.config.use_fips_endpoint,
|
233
|
+
endpoint: endpoint,
|
234
|
+
)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class ListTagsForResource
|
239
|
+
def self.build(context)
|
240
|
+
unless context.config.regional_endpoint
|
241
|
+
endpoint = context.config.endpoint.to_s
|
242
|
+
end
|
243
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
244
|
+
region: context.config.region,
|
245
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
246
|
+
use_fips: context.config.use_fips_endpoint,
|
247
|
+
endpoint: endpoint,
|
248
|
+
)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
class PutAppInstanceRetentionSettings
|
253
|
+
def self.build(context)
|
254
|
+
unless context.config.regional_endpoint
|
255
|
+
endpoint = context.config.endpoint.to_s
|
256
|
+
end
|
257
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
258
|
+
region: context.config.region,
|
259
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
260
|
+
use_fips: context.config.use_fips_endpoint,
|
261
|
+
endpoint: endpoint,
|
262
|
+
)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
class RegisterAppInstanceUserEndpoint
|
267
|
+
def self.build(context)
|
268
|
+
unless context.config.regional_endpoint
|
269
|
+
endpoint = context.config.endpoint.to_s
|
270
|
+
end
|
271
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
272
|
+
region: context.config.region,
|
273
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
274
|
+
use_fips: context.config.use_fips_endpoint,
|
275
|
+
endpoint: endpoint,
|
276
|
+
)
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class TagResource
|
281
|
+
def self.build(context)
|
282
|
+
unless context.config.regional_endpoint
|
283
|
+
endpoint = context.config.endpoint.to_s
|
284
|
+
end
|
285
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
286
|
+
region: context.config.region,
|
287
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
288
|
+
use_fips: context.config.use_fips_endpoint,
|
289
|
+
endpoint: endpoint,
|
290
|
+
)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
class UntagResource
|
295
|
+
def self.build(context)
|
296
|
+
unless context.config.regional_endpoint
|
297
|
+
endpoint = context.config.endpoint.to_s
|
298
|
+
end
|
299
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
300
|
+
region: context.config.region,
|
301
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
302
|
+
use_fips: context.config.use_fips_endpoint,
|
303
|
+
endpoint: endpoint,
|
304
|
+
)
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
class UpdateAppInstance
|
309
|
+
def self.build(context)
|
310
|
+
unless context.config.regional_endpoint
|
311
|
+
endpoint = context.config.endpoint.to_s
|
312
|
+
end
|
313
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
314
|
+
region: context.config.region,
|
315
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
316
|
+
use_fips: context.config.use_fips_endpoint,
|
317
|
+
endpoint: endpoint,
|
318
|
+
)
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
class UpdateAppInstanceUser
|
323
|
+
def self.build(context)
|
324
|
+
unless context.config.regional_endpoint
|
325
|
+
endpoint = context.config.endpoint.to_s
|
326
|
+
end
|
327
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
328
|
+
region: context.config.region,
|
329
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
330
|
+
use_fips: context.config.use_fips_endpoint,
|
331
|
+
endpoint: endpoint,
|
332
|
+
)
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
class UpdateAppInstanceUserEndpoint
|
337
|
+
def self.build(context)
|
338
|
+
unless context.config.regional_endpoint
|
339
|
+
endpoint = context.config.endpoint.to_s
|
340
|
+
end
|
341
|
+
Aws::ChimeSDKIdentity::EndpointParameters.new(
|
342
|
+
region: context.config.region,
|
343
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
344
|
+
use_fips: context.config.use_fips_endpoint,
|
345
|
+
endpoint: endpoint,
|
346
|
+
)
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
end
|
351
|
+
end
|
@@ -0,0 +1,116 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::ChimeSDKIdentity
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::ChimeSDKIdentity::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::ChimeSDKIdentity::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::ChimeSDKIdentity::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :create_app_instance
|
60
|
+
Aws::ChimeSDKIdentity::Endpoints::CreateAppInstance.build(context)
|
61
|
+
when :create_app_instance_admin
|
62
|
+
Aws::ChimeSDKIdentity::Endpoints::CreateAppInstanceAdmin.build(context)
|
63
|
+
when :create_app_instance_user
|
64
|
+
Aws::ChimeSDKIdentity::Endpoints::CreateAppInstanceUser.build(context)
|
65
|
+
when :delete_app_instance
|
66
|
+
Aws::ChimeSDKIdentity::Endpoints::DeleteAppInstance.build(context)
|
67
|
+
when :delete_app_instance_admin
|
68
|
+
Aws::ChimeSDKIdentity::Endpoints::DeleteAppInstanceAdmin.build(context)
|
69
|
+
when :delete_app_instance_user
|
70
|
+
Aws::ChimeSDKIdentity::Endpoints::DeleteAppInstanceUser.build(context)
|
71
|
+
when :deregister_app_instance_user_endpoint
|
72
|
+
Aws::ChimeSDKIdentity::Endpoints::DeregisterAppInstanceUserEndpoint.build(context)
|
73
|
+
when :describe_app_instance
|
74
|
+
Aws::ChimeSDKIdentity::Endpoints::DescribeAppInstance.build(context)
|
75
|
+
when :describe_app_instance_admin
|
76
|
+
Aws::ChimeSDKIdentity::Endpoints::DescribeAppInstanceAdmin.build(context)
|
77
|
+
when :describe_app_instance_user
|
78
|
+
Aws::ChimeSDKIdentity::Endpoints::DescribeAppInstanceUser.build(context)
|
79
|
+
when :describe_app_instance_user_endpoint
|
80
|
+
Aws::ChimeSDKIdentity::Endpoints::DescribeAppInstanceUserEndpoint.build(context)
|
81
|
+
when :get_app_instance_retention_settings
|
82
|
+
Aws::ChimeSDKIdentity::Endpoints::GetAppInstanceRetentionSettings.build(context)
|
83
|
+
when :list_app_instance_admins
|
84
|
+
Aws::ChimeSDKIdentity::Endpoints::ListAppInstanceAdmins.build(context)
|
85
|
+
when :list_app_instance_user_endpoints
|
86
|
+
Aws::ChimeSDKIdentity::Endpoints::ListAppInstanceUserEndpoints.build(context)
|
87
|
+
when :list_app_instance_users
|
88
|
+
Aws::ChimeSDKIdentity::Endpoints::ListAppInstanceUsers.build(context)
|
89
|
+
when :list_app_instances
|
90
|
+
Aws::ChimeSDKIdentity::Endpoints::ListAppInstances.build(context)
|
91
|
+
when :list_tags_for_resource
|
92
|
+
Aws::ChimeSDKIdentity::Endpoints::ListTagsForResource.build(context)
|
93
|
+
when :put_app_instance_retention_settings
|
94
|
+
Aws::ChimeSDKIdentity::Endpoints::PutAppInstanceRetentionSettings.build(context)
|
95
|
+
when :register_app_instance_user_endpoint
|
96
|
+
Aws::ChimeSDKIdentity::Endpoints::RegisterAppInstanceUserEndpoint.build(context)
|
97
|
+
when :tag_resource
|
98
|
+
Aws::ChimeSDKIdentity::Endpoints::TagResource.build(context)
|
99
|
+
when :untag_resource
|
100
|
+
Aws::ChimeSDKIdentity::Endpoints::UntagResource.build(context)
|
101
|
+
when :update_app_instance
|
102
|
+
Aws::ChimeSDKIdentity::Endpoints::UpdateAppInstance.build(context)
|
103
|
+
when :update_app_instance_user
|
104
|
+
Aws::ChimeSDKIdentity::Endpoints::UpdateAppInstanceUser.build(context)
|
105
|
+
when :update_app_instance_user_endpoint
|
106
|
+
Aws::ChimeSDKIdentity::Endpoints::UpdateAppInstanceUserEndpoint.build(context)
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
def add_handlers(handlers, _config)
|
112
|
+
handlers.add(Handler, step: :build, priority: 75)
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
@@ -86,15 +86,6 @@ module Aws::ChimeSDKIdentity
|
|
86
86
|
|
87
87
|
# The details of the data-retention settings for an `AppInstance`.
|
88
88
|
#
|
89
|
-
# @note When making an API call, you may pass AppInstanceRetentionSettings
|
90
|
-
# data as a hash:
|
91
|
-
#
|
92
|
-
# {
|
93
|
-
# channel_retention_settings: {
|
94
|
-
# retention_days: 1,
|
95
|
-
# },
|
96
|
-
# }
|
97
|
-
#
|
98
89
|
# @!attribute [rw] channel_retention_settings
|
99
90
|
# The length of time in days to retain the messages in a channel.
|
100
91
|
# @return [Types::ChannelRetentionSettings]
|
@@ -331,13 +322,6 @@ module Aws::ChimeSDKIdentity
|
|
331
322
|
|
332
323
|
# The details of the retention settings for a channel.
|
333
324
|
#
|
334
|
-
# @note When making an API call, you may pass ChannelRetentionSettings
|
335
|
-
# data as a hash:
|
336
|
-
#
|
337
|
-
# {
|
338
|
-
# retention_days: 1,
|
339
|
-
# }
|
340
|
-
#
|
341
325
|
# @!attribute [rw] retention_days
|
342
326
|
# The time in days to retain the messages in a channel.
|
343
327
|
# @return [Integer]
|
@@ -368,14 +352,6 @@ module Aws::ChimeSDKIdentity
|
|
368
352
|
include Aws::Structure
|
369
353
|
end
|
370
354
|
|
371
|
-
# @note When making an API call, you may pass CreateAppInstanceAdminRequest
|
372
|
-
# data as a hash:
|
373
|
-
#
|
374
|
-
# {
|
375
|
-
# app_instance_admin_arn: "ChimeArn", # required
|
376
|
-
# app_instance_arn: "ChimeArn", # required
|
377
|
-
# }
|
378
|
-
#
|
379
355
|
# @!attribute [rw] app_instance_admin_arn
|
380
356
|
# The ARN of the administrator of the current `AppInstance`.
|
381
357
|
# @return [String]
|
@@ -410,21 +386,6 @@ module Aws::ChimeSDKIdentity
|
|
410
386
|
include Aws::Structure
|
411
387
|
end
|
412
388
|
|
413
|
-
# @note When making an API call, you may pass CreateAppInstanceRequest
|
414
|
-
# data as a hash:
|
415
|
-
#
|
416
|
-
# {
|
417
|
-
# name: "NonEmptyResourceName", # required
|
418
|
-
# metadata: "Metadata",
|
419
|
-
# client_request_token: "ClientRequestToken", # required
|
420
|
-
# tags: [
|
421
|
-
# {
|
422
|
-
# key: "TagKey", # required
|
423
|
-
# value: "TagValue", # required
|
424
|
-
# },
|
425
|
-
# ],
|
426
|
-
# }
|
427
|
-
#
|
428
389
|
# @!attribute [rw] name
|
429
390
|
# The name of the `AppInstance`.
|
430
391
|
# @return [String]
|
@@ -467,23 +428,6 @@ module Aws::ChimeSDKIdentity
|
|
467
428
|
include Aws::Structure
|
468
429
|
end
|
469
430
|
|
470
|
-
# @note When making an API call, you may pass CreateAppInstanceUserRequest
|
471
|
-
# data as a hash:
|
472
|
-
#
|
473
|
-
# {
|
474
|
-
# app_instance_arn: "ChimeArn", # required
|
475
|
-
# app_instance_user_id: "UserId", # required
|
476
|
-
# name: "UserName", # required
|
477
|
-
# metadata: "Metadata",
|
478
|
-
# client_request_token: "ClientRequestToken", # required
|
479
|
-
# tags: [
|
480
|
-
# {
|
481
|
-
# key: "TagKey", # required
|
482
|
-
# value: "TagValue", # required
|
483
|
-
# },
|
484
|
-
# ],
|
485
|
-
# }
|
486
|
-
#
|
487
431
|
# @!attribute [rw] app_instance_arn
|
488
432
|
# The ARN of the `AppInstance` request.
|
489
433
|
# @return [String]
|
@@ -536,14 +480,6 @@ module Aws::ChimeSDKIdentity
|
|
536
480
|
include Aws::Structure
|
537
481
|
end
|
538
482
|
|
539
|
-
# @note When making an API call, you may pass DeleteAppInstanceAdminRequest
|
540
|
-
# data as a hash:
|
541
|
-
#
|
542
|
-
# {
|
543
|
-
# app_instance_admin_arn: "ChimeArn", # required
|
544
|
-
# app_instance_arn: "ChimeArn", # required
|
545
|
-
# }
|
546
|
-
#
|
547
483
|
# @!attribute [rw] app_instance_admin_arn
|
548
484
|
# The ARN of the `AppInstance`'s administrator.
|
549
485
|
# @return [String]
|
@@ -561,13 +497,6 @@ module Aws::ChimeSDKIdentity
|
|
561
497
|
include Aws::Structure
|
562
498
|
end
|
563
499
|
|
564
|
-
# @note When making an API call, you may pass DeleteAppInstanceRequest
|
565
|
-
# data as a hash:
|
566
|
-
#
|
567
|
-
# {
|
568
|
-
# app_instance_arn: "ChimeArn", # required
|
569
|
-
# }
|
570
|
-
#
|
571
500
|
# @!attribute [rw] app_instance_arn
|
572
501
|
# The ARN of the `AppInstance`.
|
573
502
|
# @return [String]
|
@@ -580,13 +509,6 @@ module Aws::ChimeSDKIdentity
|
|
580
509
|
include Aws::Structure
|
581
510
|
end
|
582
511
|
|
583
|
-
# @note When making an API call, you may pass DeleteAppInstanceUserRequest
|
584
|
-
# data as a hash:
|
585
|
-
#
|
586
|
-
# {
|
587
|
-
# app_instance_user_arn: "ChimeArn", # required
|
588
|
-
# }
|
589
|
-
#
|
590
512
|
# @!attribute [rw] app_instance_user_arn
|
591
513
|
# The ARN of the user request being deleted.
|
592
514
|
# @return [String]
|
@@ -599,14 +521,6 @@ module Aws::ChimeSDKIdentity
|
|
599
521
|
include Aws::Structure
|
600
522
|
end
|
601
523
|
|
602
|
-
# @note When making an API call, you may pass DeregisterAppInstanceUserEndpointRequest
|
603
|
-
# data as a hash:
|
604
|
-
#
|
605
|
-
# {
|
606
|
-
# app_instance_user_arn: "SensitiveChimeArn", # required
|
607
|
-
# endpoint_id: "SensitiveString64", # required
|
608
|
-
# }
|
609
|
-
#
|
610
524
|
# @!attribute [rw] app_instance_user_arn
|
611
525
|
# The ARN of the `AppInstanceUser`.
|
612
526
|
# @return [String]
|
@@ -624,14 +538,6 @@ module Aws::ChimeSDKIdentity
|
|
624
538
|
include Aws::Structure
|
625
539
|
end
|
626
540
|
|
627
|
-
# @note When making an API call, you may pass DescribeAppInstanceAdminRequest
|
628
|
-
# data as a hash:
|
629
|
-
#
|
630
|
-
# {
|
631
|
-
# app_instance_admin_arn: "ChimeArn", # required
|
632
|
-
# app_instance_arn: "ChimeArn", # required
|
633
|
-
# }
|
634
|
-
#
|
635
541
|
# @!attribute [rw] app_instance_admin_arn
|
636
542
|
# The ARN of the `AppInstanceAdmin`.
|
637
543
|
# @return [String]
|
@@ -663,13 +569,6 @@ module Aws::ChimeSDKIdentity
|
|
663
569
|
include Aws::Structure
|
664
570
|
end
|
665
571
|
|
666
|
-
# @note When making an API call, you may pass DescribeAppInstanceRequest
|
667
|
-
# data as a hash:
|
668
|
-
#
|
669
|
-
# {
|
670
|
-
# app_instance_arn: "ChimeArn", # required
|
671
|
-
# }
|
672
|
-
#
|
673
572
|
# @!attribute [rw] app_instance_arn
|
674
573
|
# The ARN of the `AppInstance`.
|
675
574
|
# @return [String]
|
@@ -695,14 +594,6 @@ module Aws::ChimeSDKIdentity
|
|
695
594
|
include Aws::Structure
|
696
595
|
end
|
697
596
|
|
698
|
-
# @note When making an API call, you may pass DescribeAppInstanceUserEndpointRequest
|
699
|
-
# data as a hash:
|
700
|
-
#
|
701
|
-
# {
|
702
|
-
# app_instance_user_arn: "SensitiveString1600", # required
|
703
|
-
# endpoint_id: "SensitiveString64", # required
|
704
|
-
# }
|
705
|
-
#
|
706
597
|
# @!attribute [rw] app_instance_user_arn
|
707
598
|
# The ARN of the `AppInstanceUser`.
|
708
599
|
# @return [String]
|
@@ -735,13 +626,6 @@ module Aws::ChimeSDKIdentity
|
|
735
626
|
include Aws::Structure
|
736
627
|
end
|
737
628
|
|
738
|
-
# @note When making an API call, you may pass DescribeAppInstanceUserRequest
|
739
|
-
# data as a hash:
|
740
|
-
#
|
741
|
-
# {
|
742
|
-
# app_instance_user_arn: "ChimeArn", # required
|
743
|
-
# }
|
744
|
-
#
|
745
629
|
# @!attribute [rw] app_instance_user_arn
|
746
630
|
# The ARN of the `AppInstanceUser`.
|
747
631
|
# @return [String]
|
@@ -768,14 +652,6 @@ module Aws::ChimeSDKIdentity
|
|
768
652
|
|
769
653
|
# The attributes of an `Endpoint`.
|
770
654
|
#
|
771
|
-
# @note When making an API call, you may pass EndpointAttributes
|
772
|
-
# data as a hash:
|
773
|
-
#
|
774
|
-
# {
|
775
|
-
# device_token: "NonEmptySensitiveString1600", # required
|
776
|
-
# voip_device_token: "NonEmptySensitiveString1600",
|
777
|
-
# }
|
778
|
-
#
|
779
655
|
# @!attribute [rw] device_token
|
780
656
|
# The device token for the GCM, APNS, and APNS\_SANDBOX endpoint
|
781
657
|
# types.
|
@@ -846,13 +722,6 @@ module Aws::ChimeSDKIdentity
|
|
846
722
|
include Aws::Structure
|
847
723
|
end
|
848
724
|
|
849
|
-
# @note When making an API call, you may pass GetAppInstanceRetentionSettingsRequest
|
850
|
-
# data as a hash:
|
851
|
-
#
|
852
|
-
# {
|
853
|
-
# app_instance_arn: "ChimeArn", # required
|
854
|
-
# }
|
855
|
-
#
|
856
725
|
# @!attribute [rw] app_instance_arn
|
857
726
|
# The ARN of the `AppInstance`.
|
858
727
|
# @return [String]
|
@@ -902,15 +771,6 @@ module Aws::ChimeSDKIdentity
|
|
902
771
|
include Aws::Structure
|
903
772
|
end
|
904
773
|
|
905
|
-
# @note When making an API call, you may pass ListAppInstanceAdminsRequest
|
906
|
-
# data as a hash:
|
907
|
-
#
|
908
|
-
# {
|
909
|
-
# app_instance_arn: "ChimeArn", # required
|
910
|
-
# max_results: 1,
|
911
|
-
# next_token: "NextToken",
|
912
|
-
# }
|
913
|
-
#
|
914
774
|
# @!attribute [rw] app_instance_arn
|
915
775
|
# The ARN of the `AppInstance`.
|
916
776
|
# @return [String]
|
@@ -957,15 +817,6 @@ module Aws::ChimeSDKIdentity
|
|
957
817
|
include Aws::Structure
|
958
818
|
end
|
959
819
|
|
960
|
-
# @note When making an API call, you may pass ListAppInstanceUserEndpointsRequest
|
961
|
-
# data as a hash:
|
962
|
-
#
|
963
|
-
# {
|
964
|
-
# app_instance_user_arn: "SensitiveChimeArn", # required
|
965
|
-
# max_results: 1,
|
966
|
-
# next_token: "NextToken",
|
967
|
-
# }
|
968
|
-
#
|
969
820
|
# @!attribute [rw] app_instance_user_arn
|
970
821
|
# The ARN of the `AppInstanceUser`.
|
971
822
|
# @return [String]
|
@@ -1007,15 +858,6 @@ module Aws::ChimeSDKIdentity
|
|
1007
858
|
include Aws::Structure
|
1008
859
|
end
|
1009
860
|
|
1010
|
-
# @note When making an API call, you may pass ListAppInstanceUsersRequest
|
1011
|
-
# data as a hash:
|
1012
|
-
#
|
1013
|
-
# {
|
1014
|
-
# app_instance_arn: "ChimeArn", # required
|
1015
|
-
# max_results: 1,
|
1016
|
-
# next_token: "NextToken",
|
1017
|
-
# }
|
1018
|
-
#
|
1019
861
|
# @!attribute [rw] app_instance_arn
|
1020
862
|
# The ARN of the `AppInstance`.
|
1021
863
|
# @return [String]
|
@@ -1062,14 +904,6 @@ module Aws::ChimeSDKIdentity
|
|
1062
904
|
include Aws::Structure
|
1063
905
|
end
|
1064
906
|
|
1065
|
-
# @note When making an API call, you may pass ListAppInstancesRequest
|
1066
|
-
# data as a hash:
|
1067
|
-
#
|
1068
|
-
# {
|
1069
|
-
# max_results: 1,
|
1070
|
-
# next_token: "NextToken",
|
1071
|
-
# }
|
1072
|
-
#
|
1073
907
|
# @!attribute [rw] max_results
|
1074
908
|
# The maximum number of `AppInstance`s that you want to return.
|
1075
909
|
# @return [Integer]
|
@@ -1106,13 +940,6 @@ module Aws::ChimeSDKIdentity
|
|
1106
940
|
include Aws::Structure
|
1107
941
|
end
|
1108
942
|
|
1109
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1110
|
-
# data as a hash:
|
1111
|
-
#
|
1112
|
-
# {
|
1113
|
-
# resource_arn: "ChimeArn", # required
|
1114
|
-
# }
|
1115
|
-
#
|
1116
943
|
# @!attribute [rw] resource_arn
|
1117
944
|
# The ARN of the resource.
|
1118
945
|
# @return [String]
|
@@ -1137,18 +964,6 @@ module Aws::ChimeSDKIdentity
|
|
1137
964
|
include Aws::Structure
|
1138
965
|
end
|
1139
966
|
|
1140
|
-
# @note When making an API call, you may pass PutAppInstanceRetentionSettingsRequest
|
1141
|
-
# data as a hash:
|
1142
|
-
#
|
1143
|
-
# {
|
1144
|
-
# app_instance_arn: "ChimeArn", # required
|
1145
|
-
# app_instance_retention_settings: { # required
|
1146
|
-
# channel_retention_settings: {
|
1147
|
-
# retention_days: 1,
|
1148
|
-
# },
|
1149
|
-
# },
|
1150
|
-
# }
|
1151
|
-
#
|
1152
967
|
# @!attribute [rw] app_instance_arn
|
1153
968
|
# The ARN of the `AppInstance`.
|
1154
969
|
# @return [String]
|
@@ -1183,22 +998,6 @@ module Aws::ChimeSDKIdentity
|
|
1183
998
|
include Aws::Structure
|
1184
999
|
end
|
1185
1000
|
|
1186
|
-
# @note When making an API call, you may pass RegisterAppInstanceUserEndpointRequest
|
1187
|
-
# data as a hash:
|
1188
|
-
#
|
1189
|
-
# {
|
1190
|
-
# app_instance_user_arn: "SensitiveChimeArn", # required
|
1191
|
-
# name: "SensitiveString1600",
|
1192
|
-
# type: "APNS", # required, accepts APNS, APNS_SANDBOX, GCM
|
1193
|
-
# resource_arn: "SensitiveChimeArn", # required
|
1194
|
-
# endpoint_attributes: { # required
|
1195
|
-
# device_token: "NonEmptySensitiveString1600", # required
|
1196
|
-
# voip_device_token: "NonEmptySensitiveString1600",
|
1197
|
-
# },
|
1198
|
-
# client_request_token: "ClientRequestToken", # required
|
1199
|
-
# allow_messages: "ALL", # accepts ALL, NONE
|
1200
|
-
# }
|
1201
|
-
#
|
1202
1001
|
# @!attribute [rw] app_instance_user_arn
|
1203
1002
|
# The ARN of the `AppInstanceUser`.
|
1204
1003
|
# @return [String]
|
@@ -1325,14 +1124,6 @@ module Aws::ChimeSDKIdentity
|
|
1325
1124
|
|
1326
1125
|
# A tag object containing a key-value pair.
|
1327
1126
|
#
|
1328
|
-
# @note When making an API call, you may pass Tag
|
1329
|
-
# data as a hash:
|
1330
|
-
#
|
1331
|
-
# {
|
1332
|
-
# key: "TagKey", # required
|
1333
|
-
# value: "TagValue", # required
|
1334
|
-
# }
|
1335
|
-
#
|
1336
1127
|
# @!attribute [rw] key
|
1337
1128
|
# The key in a tag.
|
1338
1129
|
# @return [String]
|
@@ -1350,19 +1141,6 @@ module Aws::ChimeSDKIdentity
|
|
1350
1141
|
include Aws::Structure
|
1351
1142
|
end
|
1352
1143
|
|
1353
|
-
# @note When making an API call, you may pass TagResourceRequest
|
1354
|
-
# data as a hash:
|
1355
|
-
#
|
1356
|
-
# {
|
1357
|
-
# resource_arn: "ChimeArn", # required
|
1358
|
-
# tags: [ # required
|
1359
|
-
# {
|
1360
|
-
# key: "TagKey", # required
|
1361
|
-
# value: "TagValue", # required
|
1362
|
-
# },
|
1363
|
-
# ],
|
1364
|
-
# }
|
1365
|
-
#
|
1366
1144
|
# @!attribute [rw] resource_arn
|
1367
1145
|
# The resource ARN.
|
1368
1146
|
# @return [String]
|
@@ -1414,14 +1192,6 @@ module Aws::ChimeSDKIdentity
|
|
1414
1192
|
include Aws::Structure
|
1415
1193
|
end
|
1416
1194
|
|
1417
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
1418
|
-
# data as a hash:
|
1419
|
-
#
|
1420
|
-
# {
|
1421
|
-
# resource_arn: "ChimeArn", # required
|
1422
|
-
# tag_keys: ["TagKey"], # required
|
1423
|
-
# }
|
1424
|
-
#
|
1425
1195
|
# @!attribute [rw] resource_arn
|
1426
1196
|
# The resource ARN.
|
1427
1197
|
# @return [String]
|
@@ -1439,15 +1209,6 @@ module Aws::ChimeSDKIdentity
|
|
1439
1209
|
include Aws::Structure
|
1440
1210
|
end
|
1441
1211
|
|
1442
|
-
# @note When making an API call, you may pass UpdateAppInstanceRequest
|
1443
|
-
# data as a hash:
|
1444
|
-
#
|
1445
|
-
# {
|
1446
|
-
# app_instance_arn: "ChimeArn", # required
|
1447
|
-
# name: "NonEmptyResourceName", # required
|
1448
|
-
# metadata: "Metadata", # required
|
1449
|
-
# }
|
1450
|
-
#
|
1451
1212
|
# @!attribute [rw] app_instance_arn
|
1452
1213
|
# The ARN of the `AppInstance`.
|
1453
1214
|
# @return [String]
|
@@ -1482,16 +1243,6 @@ module Aws::ChimeSDKIdentity
|
|
1482
1243
|
include Aws::Structure
|
1483
1244
|
end
|
1484
1245
|
|
1485
|
-
# @note When making an API call, you may pass UpdateAppInstanceUserEndpointRequest
|
1486
|
-
# data as a hash:
|
1487
|
-
#
|
1488
|
-
# {
|
1489
|
-
# app_instance_user_arn: "SensitiveChimeArn", # required
|
1490
|
-
# endpoint_id: "SensitiveString64", # required
|
1491
|
-
# name: "SensitiveString1600",
|
1492
|
-
# allow_messages: "ALL", # accepts ALL, NONE
|
1493
|
-
# }
|
1494
|
-
#
|
1495
1246
|
# @!attribute [rw] app_instance_user_arn
|
1496
1247
|
# The ARN of the `AppInstanceUser`.
|
1497
1248
|
# @return [String]
|
@@ -1539,15 +1290,6 @@ module Aws::ChimeSDKIdentity
|
|
1539
1290
|
include Aws::Structure
|
1540
1291
|
end
|
1541
1292
|
|
1542
|
-
# @note When making an API call, you may pass UpdateAppInstanceUserRequest
|
1543
|
-
# data as a hash:
|
1544
|
-
#
|
1545
|
-
# {
|
1546
|
-
# app_instance_user_arn: "ChimeArn", # required
|
1547
|
-
# name: "UserName", # required
|
1548
|
-
# metadata: "Metadata", # required
|
1549
|
-
# }
|
1550
|
-
#
|
1551
1293
|
# @!attribute [rw] app_instance_user_arn
|
1552
1294
|
# The ARN of the `AppInstanceUser`.
|
1553
1295
|
# @return [String]
|
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-chimesdkidentity/types'
|
15
15
|
require_relative 'aws-sdk-chimesdkidentity/client_api'
|
16
|
+
require_relative 'aws-sdk-chimesdkidentity/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-chimesdkidentity/client'
|
17
18
|
require_relative 'aws-sdk-chimesdkidentity/errors'
|
18
19
|
require_relative 'aws-sdk-chimesdkidentity/resource'
|
20
|
+
require_relative 'aws-sdk-chimesdkidentity/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-chimesdkidentity/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-chimesdkidentity/endpoints'
|
19
23
|
require_relative 'aws-sdk-chimesdkidentity/customizations'
|
20
24
|
|
21
25
|
# This module provides support for Amazon Chime SDK Identity. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-chimesdkidentity/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::ChimeSDKIdentity
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.11.0'
|
52
56
|
|
53
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-chimesdkidentity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.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:
|
11
|
+
date: 2023-01-18 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.
|
22
|
+
version: 3.165.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.
|
32
|
+
version: 3.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-chimesdkidentity/client.rb
|
60
60
|
- lib/aws-sdk-chimesdkidentity/client_api.rb
|
61
61
|
- lib/aws-sdk-chimesdkidentity/customizations.rb
|
62
|
+
- lib/aws-sdk-chimesdkidentity/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-chimesdkidentity/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-chimesdkidentity/endpoints.rb
|
62
65
|
- lib/aws-sdk-chimesdkidentity/errors.rb
|
66
|
+
- lib/aws-sdk-chimesdkidentity/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-chimesdkidentity/resource.rb
|
64
68
|
- lib/aws-sdk-chimesdkidentity/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|