aws-sdk-wickr 1.3.0 → 1.4.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-wickr/client.rb +197 -1
- data/lib/aws-sdk-wickr/client_api.rb +59 -0
- data/lib/aws-sdk-wickr/errors.rb +5 -0
- data/lib/aws-sdk-wickr/types.rb +128 -2
- data/lib/aws-sdk-wickr.rb +1 -1
- data/sig/client.rbs +33 -1
- data/sig/errors.rbs +1 -0
- data/sig/types.rbs +33 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec6417f65a7835f0b3d238b7a3f1e850ed128a5d6341f2d5b7b21200e00e431b
|
|
4
|
+
data.tar.gz: 646e44642d84daf8ee29516929f421f712a5856a5dca1dcd9b36e80dacdd0fe9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b11bc7f8df019bcd557dd9d1f98f130fd5f2d5d6f8554090295e70d2489e8c0df84432887d025e97dc4650b60ea80596e350e4e806ff3d01833214b3b99243d1
|
|
7
|
+
data.tar.gz: '086f86607c29ac762abe5a7afcd807305c6e33d7988b1bb715364b4986617b17d11e1758822fd7585b3bb8e8c80286de690b7acd2a0201b1cfccf185f50e384a'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.4.0 (2026-02-23)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AWS Wickr now provides APIs to manage your Wickr OpenTDF integration. These APIs enable you to test and save your OpenTDF configuration allowing you to manage rooms based on Trusted Data Format attributes.
|
|
8
|
+
|
|
4
9
|
1.3.0 (2026-01-16)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.4.0
|
data/lib/aws-sdk-wickr/client.rb
CHANGED
|
@@ -2456,6 +2456,70 @@ module Aws::Wickr
|
|
|
2456
2456
|
req.send_request(options)
|
|
2457
2457
|
end
|
|
2458
2458
|
|
|
2459
|
+
# Retrieves the OpenTDF integration configuration for a Wickr network.
|
|
2460
|
+
#
|
|
2461
|
+
# @option params [required, String] :network_id
|
|
2462
|
+
# The ID of the Wickr network for which OpenTDF integration will be
|
|
2463
|
+
# retrieved.
|
|
2464
|
+
#
|
|
2465
|
+
# @return [Types::GetOpentdfConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2466
|
+
#
|
|
2467
|
+
# * {Types::GetOpentdfConfigResponse#client_id #client_id} => String
|
|
2468
|
+
# * {Types::GetOpentdfConfigResponse#domain #domain} => String
|
|
2469
|
+
# * {Types::GetOpentdfConfigResponse#client_secret #client_secret} => String
|
|
2470
|
+
# * {Types::GetOpentdfConfigResponse#provider #provider} => String
|
|
2471
|
+
#
|
|
2472
|
+
#
|
|
2473
|
+
# @example Example: Get OpenTDF info successfully
|
|
2474
|
+
#
|
|
2475
|
+
# resp = client.get_opentdf_config({
|
|
2476
|
+
# network_id: "12345678",
|
|
2477
|
+
# })
|
|
2478
|
+
#
|
|
2479
|
+
# resp.to_h outputs the following:
|
|
2480
|
+
# {
|
|
2481
|
+
# client_id: "client123",
|
|
2482
|
+
# client_secret: "secret456",
|
|
2483
|
+
# domain: "https://api.sample.com",
|
|
2484
|
+
# provider: "virtru",
|
|
2485
|
+
# }
|
|
2486
|
+
#
|
|
2487
|
+
# @example Example: Get OpenTDF info - not configured
|
|
2488
|
+
#
|
|
2489
|
+
# resp = client.get_opentdf_config({
|
|
2490
|
+
# network_id: "12345678",
|
|
2491
|
+
# })
|
|
2492
|
+
#
|
|
2493
|
+
# resp.to_h outputs the following:
|
|
2494
|
+
# {
|
|
2495
|
+
# client_id: "",
|
|
2496
|
+
# client_secret: "",
|
|
2497
|
+
# domain: "",
|
|
2498
|
+
# provider: "",
|
|
2499
|
+
# }
|
|
2500
|
+
#
|
|
2501
|
+
# @example Request syntax with placeholder values
|
|
2502
|
+
#
|
|
2503
|
+
# resp = client.get_opentdf_config({
|
|
2504
|
+
# network_id: "NetworkId", # required
|
|
2505
|
+
# })
|
|
2506
|
+
#
|
|
2507
|
+
# @example Response structure
|
|
2508
|
+
#
|
|
2509
|
+
# resp.client_id #=> String
|
|
2510
|
+
# resp.domain #=> String
|
|
2511
|
+
# resp.client_secret #=> String
|
|
2512
|
+
# resp.provider #=> String
|
|
2513
|
+
#
|
|
2514
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wickr-2024-02-01/GetOpentdfConfig AWS API Documentation
|
|
2515
|
+
#
|
|
2516
|
+
# @overload get_opentdf_config(params = {})
|
|
2517
|
+
# @param [Hash] params ({})
|
|
2518
|
+
def get_opentdf_config(params = {}, options = {})
|
|
2519
|
+
req = build_request(:get_opentdf_config, params)
|
|
2520
|
+
req.send_request(options)
|
|
2521
|
+
end
|
|
2522
|
+
|
|
2459
2523
|
# Retrieves detailed information about a specific security group in a
|
|
2460
2524
|
# Wickr network, including its settings, member counts, and
|
|
2461
2525
|
# configuration.
|
|
@@ -4156,6 +4220,137 @@ module Aws::Wickr
|
|
|
4156
4220
|
req.send_request(options)
|
|
4157
4221
|
end
|
|
4158
4222
|
|
|
4223
|
+
# Registers and saves OpenTDF configuration for a Wickr network,
|
|
4224
|
+
# enabling attribute-based access control for Wickr through an OpenTDF
|
|
4225
|
+
# provider.
|
|
4226
|
+
#
|
|
4227
|
+
# @option params [required, String] :network_id
|
|
4228
|
+
# The ID of the Wickr network for which OpenTDF integration will be
|
|
4229
|
+
# configured.
|
|
4230
|
+
#
|
|
4231
|
+
# @option params [required, String] :client_id
|
|
4232
|
+
# The OIDC client ID used for authenticating with the OpenTDF provider.
|
|
4233
|
+
#
|
|
4234
|
+
# @option params [required, String] :client_secret
|
|
4235
|
+
# The OIDC client secret used for authenticating with the OpenTDF
|
|
4236
|
+
# provider
|
|
4237
|
+
#
|
|
4238
|
+
# @option params [required, String] :domain
|
|
4239
|
+
# The domain of the OpenTDF server.
|
|
4240
|
+
#
|
|
4241
|
+
# @option params [required, String] :provider
|
|
4242
|
+
# The provider of the OpenTDF platform.
|
|
4243
|
+
#
|
|
4244
|
+
# <note markdown="1"> Currently only Virtru is supported as the OpenTDF provider.
|
|
4245
|
+
#
|
|
4246
|
+
# </note>
|
|
4247
|
+
#
|
|
4248
|
+
# @option params [Boolean] :dry_run
|
|
4249
|
+
# Perform dry-run test connection of OpenTDF configuration (optional).
|
|
4250
|
+
#
|
|
4251
|
+
# @return [Types::RegisterOpentdfConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4252
|
+
#
|
|
4253
|
+
# * {Types::RegisterOpentdfConfigResponse#client_id #client_id} => String
|
|
4254
|
+
# * {Types::RegisterOpentdfConfigResponse#domain #domain} => String
|
|
4255
|
+
# * {Types::RegisterOpentdfConfigResponse#client_secret #client_secret} => String
|
|
4256
|
+
# * {Types::RegisterOpentdfConfigResponse#provider #provider} => String
|
|
4257
|
+
#
|
|
4258
|
+
#
|
|
4259
|
+
# @example Example: Save OpenTDF config successfully
|
|
4260
|
+
#
|
|
4261
|
+
# resp = client.register_opentdf_config({
|
|
4262
|
+
# client_id: "client123",
|
|
4263
|
+
# client_secret: "secret456",
|
|
4264
|
+
# domain: "https://api.sample.com",
|
|
4265
|
+
# network_id: "12345678",
|
|
4266
|
+
# provider: "virtru",
|
|
4267
|
+
# })
|
|
4268
|
+
#
|
|
4269
|
+
# resp.to_h outputs the following:
|
|
4270
|
+
# {
|
|
4271
|
+
# client_id: "client123",
|
|
4272
|
+
# client_secret: "secret456",
|
|
4273
|
+
# domain: "https://api.sample.com",
|
|
4274
|
+
# provider: "virtru",
|
|
4275
|
+
# }
|
|
4276
|
+
#
|
|
4277
|
+
# @example Example: Dry run saving OpenTDF config
|
|
4278
|
+
#
|
|
4279
|
+
# resp = client.register_opentdf_config({
|
|
4280
|
+
# client_id: "client123",
|
|
4281
|
+
# client_secret: "secret456",
|
|
4282
|
+
# domain: "https://api.sample.com",
|
|
4283
|
+
# dry_run: true,
|
|
4284
|
+
# network_id: "12345678",
|
|
4285
|
+
# provider: "virtru",
|
|
4286
|
+
# })
|
|
4287
|
+
#
|
|
4288
|
+
# resp.to_h outputs the following:
|
|
4289
|
+
# {
|
|
4290
|
+
# client_id: "client123",
|
|
4291
|
+
# client_secret: "secret456",
|
|
4292
|
+
# domain: "https://api.sample.com",
|
|
4293
|
+
# provider: "virtru",
|
|
4294
|
+
# }
|
|
4295
|
+
#
|
|
4296
|
+
# @example Example: Dry run saving OpenTDF config - failed test
|
|
4297
|
+
#
|
|
4298
|
+
# resp = client.register_opentdf_config({
|
|
4299
|
+
# client_id: "client123",
|
|
4300
|
+
# client_secret: "secret456",
|
|
4301
|
+
# domain: "https://api.sample.com",
|
|
4302
|
+
# dry_run: true,
|
|
4303
|
+
# network_id: "12345678",
|
|
4304
|
+
# provider: "virtru",
|
|
4305
|
+
# })
|
|
4306
|
+
#
|
|
4307
|
+
# @example Example: Save OpenTDF config - invalid provider
|
|
4308
|
+
#
|
|
4309
|
+
# resp = client.register_opentdf_config({
|
|
4310
|
+
# client_id: "client123",
|
|
4311
|
+
# client_secret: "secret456",
|
|
4312
|
+
# domain: "https://api.sample.com",
|
|
4313
|
+
# network_id: "12345678",
|
|
4314
|
+
# provider: "invalid provider",
|
|
4315
|
+
# })
|
|
4316
|
+
#
|
|
4317
|
+
# @example Example: Save OpenTDF config - network not found
|
|
4318
|
+
#
|
|
4319
|
+
# resp = client.register_opentdf_config({
|
|
4320
|
+
# client_id: "client123",
|
|
4321
|
+
# client_secret: "secret456",
|
|
4322
|
+
# domain: "https://api.sample.com",
|
|
4323
|
+
# network_id: "99999999",
|
|
4324
|
+
# provider: "virtru",
|
|
4325
|
+
# })
|
|
4326
|
+
#
|
|
4327
|
+
# @example Request syntax with placeholder values
|
|
4328
|
+
#
|
|
4329
|
+
# resp = client.register_opentdf_config({
|
|
4330
|
+
# network_id: "NetworkId", # required
|
|
4331
|
+
# client_id: "GenericString", # required
|
|
4332
|
+
# client_secret: "SensitiveString", # required
|
|
4333
|
+
# domain: "GenericString", # required
|
|
4334
|
+
# provider: "GenericString", # required
|
|
4335
|
+
# dry_run: false,
|
|
4336
|
+
# })
|
|
4337
|
+
#
|
|
4338
|
+
# @example Response structure
|
|
4339
|
+
#
|
|
4340
|
+
# resp.client_id #=> String
|
|
4341
|
+
# resp.domain #=> String
|
|
4342
|
+
# resp.client_secret #=> String
|
|
4343
|
+
# resp.provider #=> String
|
|
4344
|
+
#
|
|
4345
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wickr-2024-02-01/RegisterOpentdfConfig AWS API Documentation
|
|
4346
|
+
#
|
|
4347
|
+
# @overload register_opentdf_config(params = {})
|
|
4348
|
+
# @param [Hash] params ({})
|
|
4349
|
+
def register_opentdf_config(params = {}, options = {})
|
|
4350
|
+
req = build_request(:register_opentdf_config, params)
|
|
4351
|
+
req.send_request(options)
|
|
4352
|
+
end
|
|
4353
|
+
|
|
4159
4354
|
# Updates the properties of an existing bot in a Wickr network. This
|
|
4160
4355
|
# operation allows you to modify the bot's display name, security
|
|
4161
4356
|
# group, password, or suspension status.
|
|
@@ -4568,6 +4763,7 @@ module Aws::Wickr
|
|
|
4568
4763
|
# status: "DISABLED", # accepts DISABLED, ENABLED, FORCE_ENABLED
|
|
4569
4764
|
# },
|
|
4570
4765
|
# data_retention: false,
|
|
4766
|
+
# enable_trusted_data_format: false,
|
|
4571
4767
|
# },
|
|
4572
4768
|
# })
|
|
4573
4769
|
#
|
|
@@ -4961,7 +5157,7 @@ module Aws::Wickr
|
|
|
4961
5157
|
tracer: tracer
|
|
4962
5158
|
)
|
|
4963
5159
|
context[:gem_name] = 'aws-sdk-wickr'
|
|
4964
|
-
context[:gem_version] = '1.
|
|
5160
|
+
context[:gem_version] = '1.4.0'
|
|
4965
5161
|
Seahorse::Client::Request.new(handlers, context)
|
|
4966
5162
|
end
|
|
4967
5163
|
|
|
@@ -91,6 +91,8 @@ module Aws::Wickr
|
|
|
91
91
|
GetNetworkSettingsResponse = Shapes::StructureShape.new(name: 'GetNetworkSettingsResponse')
|
|
92
92
|
GetOidcInfoRequest = Shapes::StructureShape.new(name: 'GetOidcInfoRequest')
|
|
93
93
|
GetOidcInfoResponse = Shapes::StructureShape.new(name: 'GetOidcInfoResponse')
|
|
94
|
+
GetOpentdfConfigRequest = Shapes::StructureShape.new(name: 'GetOpentdfConfigRequest')
|
|
95
|
+
GetOpentdfConfigResponse = Shapes::StructureShape.new(name: 'GetOpentdfConfigResponse')
|
|
94
96
|
GetSecurityGroupRequest = Shapes::StructureShape.new(name: 'GetSecurityGroupRequest')
|
|
95
97
|
GetSecurityGroupResponse = Shapes::StructureShape.new(name: 'GetSecurityGroupResponse')
|
|
96
98
|
GetUserRequest = Shapes::StructureShape.new(name: 'GetUserRequest')
|
|
@@ -138,6 +140,8 @@ module Aws::Wickr
|
|
|
138
140
|
RegisterOidcConfigResponseApplicationIdInteger = Shapes::IntegerShape.new(name: 'RegisterOidcConfigResponseApplicationIdInteger')
|
|
139
141
|
RegisterOidcConfigTestRequest = Shapes::StructureShape.new(name: 'RegisterOidcConfigTestRequest')
|
|
140
142
|
RegisterOidcConfigTestResponse = Shapes::StructureShape.new(name: 'RegisterOidcConfigTestResponse')
|
|
143
|
+
RegisterOpentdfConfigRequest = Shapes::StructureShape.new(name: 'RegisterOpentdfConfigRequest')
|
|
144
|
+
RegisterOpentdfConfigResponse = Shapes::StructureShape.new(name: 'RegisterOpentdfConfigResponse')
|
|
141
145
|
ResourceNotFoundError = Shapes::StructureShape.new(name: 'ResourceNotFoundError')
|
|
142
146
|
SecurityGroup = Shapes::StructureShape.new(name: 'SecurityGroup')
|
|
143
147
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
|
@@ -494,6 +498,15 @@ module Aws::Wickr
|
|
|
494
498
|
GetOidcInfoResponse.add_member(:token_info, Shapes::ShapeRef.new(shape: OidcTokenInfo, location_name: "tokenInfo"))
|
|
495
499
|
GetOidcInfoResponse.struct_class = Types::GetOidcInfoResponse
|
|
496
500
|
|
|
501
|
+
GetOpentdfConfigRequest.add_member(:network_id, Shapes::ShapeRef.new(shape: NetworkId, required: true, location: "uri", location_name: "networkId"))
|
|
502
|
+
GetOpentdfConfigRequest.struct_class = Types::GetOpentdfConfigRequest
|
|
503
|
+
|
|
504
|
+
GetOpentdfConfigResponse.add_member(:client_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "clientId"))
|
|
505
|
+
GetOpentdfConfigResponse.add_member(:domain, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "domain"))
|
|
506
|
+
GetOpentdfConfigResponse.add_member(:client_secret, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "clientSecret"))
|
|
507
|
+
GetOpentdfConfigResponse.add_member(:provider, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "provider"))
|
|
508
|
+
GetOpentdfConfigResponse.struct_class = Types::GetOpentdfConfigResponse
|
|
509
|
+
|
|
497
510
|
GetSecurityGroupRequest.add_member(:network_id, Shapes::ShapeRef.new(shape: NetworkId, required: true, location: "uri", location_name: "networkId"))
|
|
498
511
|
GetSecurityGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location: "uri", location_name: "groupId"))
|
|
499
512
|
GetSecurityGroupRequest.struct_class = Types::GetSecurityGroupRequest
|
|
@@ -663,6 +676,7 @@ module Aws::Wickr
|
|
|
663
676
|
NetworkSettings.add_member(:enable_client_metrics, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableClientMetrics"))
|
|
664
677
|
NetworkSettings.add_member(:read_receipt_config, Shapes::ShapeRef.new(shape: ReadReceiptConfig, location_name: "readReceiptConfig"))
|
|
665
678
|
NetworkSettings.add_member(:data_retention, Shapes::ShapeRef.new(shape: Boolean, location_name: "dataRetention"))
|
|
679
|
+
NetworkSettings.add_member(:enable_trusted_data_format, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableTrustedDataFormat"))
|
|
666
680
|
NetworkSettings.struct_class = Types::NetworkSettings
|
|
667
681
|
|
|
668
682
|
OidcConfigInfo.add_member(:application_name, Shapes::ShapeRef.new(shape: GenericString, location_name: "applicationName"))
|
|
@@ -759,6 +773,20 @@ module Aws::Wickr
|
|
|
759
773
|
RegisterOidcConfigTestResponse.add_member(:microsoft_multi_refresh_token, Shapes::ShapeRef.new(shape: Boolean, location_name: "microsoftMultiRefreshToken"))
|
|
760
774
|
RegisterOidcConfigTestResponse.struct_class = Types::RegisterOidcConfigTestResponse
|
|
761
775
|
|
|
776
|
+
RegisterOpentdfConfigRequest.add_member(:network_id, Shapes::ShapeRef.new(shape: NetworkId, required: true, location: "uri", location_name: "networkId"))
|
|
777
|
+
RegisterOpentdfConfigRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "clientId"))
|
|
778
|
+
RegisterOpentdfConfigRequest.add_member(:client_secret, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "clientSecret"))
|
|
779
|
+
RegisterOpentdfConfigRequest.add_member(:domain, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "domain"))
|
|
780
|
+
RegisterOpentdfConfigRequest.add_member(:provider, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "provider"))
|
|
781
|
+
RegisterOpentdfConfigRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "dryRun"))
|
|
782
|
+
RegisterOpentdfConfigRequest.struct_class = Types::RegisterOpentdfConfigRequest
|
|
783
|
+
|
|
784
|
+
RegisterOpentdfConfigResponse.add_member(:client_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "clientId"))
|
|
785
|
+
RegisterOpentdfConfigResponse.add_member(:domain, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "domain"))
|
|
786
|
+
RegisterOpentdfConfigResponse.add_member(:client_secret, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "clientSecret"))
|
|
787
|
+
RegisterOpentdfConfigResponse.add_member(:provider, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "provider"))
|
|
788
|
+
RegisterOpentdfConfigResponse.struct_class = Types::RegisterOpentdfConfigResponse
|
|
789
|
+
|
|
762
790
|
ResourceNotFoundError.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, location_name: "message"))
|
|
763
791
|
ResourceNotFoundError.struct_class = Types::ResourceNotFoundError
|
|
764
792
|
|
|
@@ -948,6 +976,7 @@ module Aws::Wickr
|
|
|
948
976
|
Users.member = Shapes::ShapeRef.new(shape: User)
|
|
949
977
|
|
|
950
978
|
ValidationError.add_member(:reasons, Shapes::ShapeRef.new(shape: ErrorDetailList, location_name: "reasons"))
|
|
979
|
+
ValidationError.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, location_name: "message"))
|
|
951
980
|
ValidationError.struct_class = Types::ValidationError
|
|
952
981
|
|
|
953
982
|
WickrAwsNetworks.add_member(:region, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "region"))
|
|
@@ -1305,6 +1334,21 @@ module Aws::Wickr
|
|
|
1305
1334
|
o.errors << Shapes::ShapeRef.new(shape: RateLimitError)
|
|
1306
1335
|
end)
|
|
1307
1336
|
|
|
1337
|
+
api.add_operation(:get_opentdf_config, Seahorse::Model::Operation.new.tap do |o|
|
|
1338
|
+
o.name = "GetOpentdfConfig"
|
|
1339
|
+
o.http_method = "GET"
|
|
1340
|
+
o.http_request_uri = "/networks/{networkId}/tdf"
|
|
1341
|
+
o.input = Shapes::ShapeRef.new(shape: GetOpentdfConfigRequest)
|
|
1342
|
+
o.output = Shapes::ShapeRef.new(shape: GetOpentdfConfigResponse)
|
|
1343
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationError)
|
|
1344
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestError)
|
|
1345
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundError)
|
|
1346
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenError)
|
|
1347
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedError)
|
|
1348
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
|
1349
|
+
o.errors << Shapes::ShapeRef.new(shape: RateLimitError)
|
|
1350
|
+
end)
|
|
1351
|
+
|
|
1308
1352
|
api.add_operation(:get_security_group, Seahorse::Model::Operation.new.tap do |o|
|
|
1309
1353
|
o.name = "GetSecurityGroup"
|
|
1310
1354
|
o.http_method = "GET"
|
|
@@ -1547,6 +1591,21 @@ module Aws::Wickr
|
|
|
1547
1591
|
o.errors << Shapes::ShapeRef.new(shape: RateLimitError)
|
|
1548
1592
|
end)
|
|
1549
1593
|
|
|
1594
|
+
api.add_operation(:register_opentdf_config, Seahorse::Model::Operation.new.tap do |o|
|
|
1595
|
+
o.name = "RegisterOpentdfConfig"
|
|
1596
|
+
o.http_method = "POST"
|
|
1597
|
+
o.http_request_uri = "/networks/{networkId}/tdf"
|
|
1598
|
+
o.input = Shapes::ShapeRef.new(shape: RegisterOpentdfConfigRequest)
|
|
1599
|
+
o.output = Shapes::ShapeRef.new(shape: RegisterOpentdfConfigResponse)
|
|
1600
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationError)
|
|
1601
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestError)
|
|
1602
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundError)
|
|
1603
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenError)
|
|
1604
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedError)
|
|
1605
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
|
1606
|
+
o.errors << Shapes::ShapeRef.new(shape: RateLimitError)
|
|
1607
|
+
end)
|
|
1608
|
+
|
|
1550
1609
|
api.add_operation(:update_bot, Seahorse::Model::Operation.new.tap do |o|
|
|
1551
1610
|
o.name = "UpdateBot"
|
|
1552
1611
|
o.http_method = "PATCH"
|
data/lib/aws-sdk-wickr/errors.rb
CHANGED
data/lib/aws-sdk-wickr/types.rb
CHANGED
|
@@ -1443,6 +1443,48 @@ module Aws::Wickr
|
|
|
1443
1443
|
include Aws::Structure
|
|
1444
1444
|
end
|
|
1445
1445
|
|
|
1446
|
+
# @!attribute [rw] network_id
|
|
1447
|
+
# The ID of the Wickr network for which OpenTDF integration will be
|
|
1448
|
+
# retrieved.
|
|
1449
|
+
# @return [String]
|
|
1450
|
+
#
|
|
1451
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wickr-2024-02-01/GetOpentdfConfigRequest AWS API Documentation
|
|
1452
|
+
#
|
|
1453
|
+
class GetOpentdfConfigRequest < Struct.new(
|
|
1454
|
+
:network_id)
|
|
1455
|
+
SENSITIVE = []
|
|
1456
|
+
include Aws::Structure
|
|
1457
|
+
end
|
|
1458
|
+
|
|
1459
|
+
# @!attribute [rw] client_id
|
|
1460
|
+
# The OIDC client ID used for authenticating with the OpenTDF
|
|
1461
|
+
# provider.
|
|
1462
|
+
# @return [String]
|
|
1463
|
+
#
|
|
1464
|
+
# @!attribute [rw] domain
|
|
1465
|
+
# The domain of the OpenTDF server.
|
|
1466
|
+
# @return [String]
|
|
1467
|
+
#
|
|
1468
|
+
# @!attribute [rw] client_secret
|
|
1469
|
+
# The OIDC client secret used for authenticating with the OpenTDF
|
|
1470
|
+
# provider.
|
|
1471
|
+
# @return [String]
|
|
1472
|
+
#
|
|
1473
|
+
# @!attribute [rw] provider
|
|
1474
|
+
# The provider of the OpenTDF platform.
|
|
1475
|
+
# @return [String]
|
|
1476
|
+
#
|
|
1477
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wickr-2024-02-01/GetOpentdfConfigResponse AWS API Documentation
|
|
1478
|
+
#
|
|
1479
|
+
class GetOpentdfConfigResponse < Struct.new(
|
|
1480
|
+
:client_id,
|
|
1481
|
+
:domain,
|
|
1482
|
+
:client_secret,
|
|
1483
|
+
:provider)
|
|
1484
|
+
SENSITIVE = [:client_secret]
|
|
1485
|
+
include Aws::Structure
|
|
1486
|
+
end
|
|
1487
|
+
|
|
1446
1488
|
# @!attribute [rw] network_id
|
|
1447
1489
|
# The ID of the Wickr network containing the security group.
|
|
1448
1490
|
# @return [String]
|
|
@@ -2281,12 +2323,18 @@ module Aws::Wickr
|
|
|
2281
2323
|
# for compliance and archiving purposes.
|
|
2282
2324
|
# @return [Boolean]
|
|
2283
2325
|
#
|
|
2326
|
+
# @!attribute [rw] enable_trusted_data_format
|
|
2327
|
+
# Configuration for OpenTDF integration at the network level,
|
|
2328
|
+
# enforcing ABAC decision making when operating in TDF enabled rooms.
|
|
2329
|
+
# @return [Boolean]
|
|
2330
|
+
#
|
|
2284
2331
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wickr-2024-02-01/NetworkSettings AWS API Documentation
|
|
2285
2332
|
#
|
|
2286
2333
|
class NetworkSettings < Struct.new(
|
|
2287
2334
|
:enable_client_metrics,
|
|
2288
2335
|
:read_receipt_config,
|
|
2289
|
-
:data_retention
|
|
2336
|
+
:data_retention,
|
|
2337
|
+
:enable_trusted_data_format)
|
|
2290
2338
|
SENSITIVE = []
|
|
2291
2339
|
include Aws::Structure
|
|
2292
2340
|
end
|
|
@@ -2779,6 +2827,79 @@ module Aws::Wickr
|
|
|
2779
2827
|
include Aws::Structure
|
|
2780
2828
|
end
|
|
2781
2829
|
|
|
2830
|
+
# @!attribute [rw] network_id
|
|
2831
|
+
# The ID of the Wickr network for which OpenTDF integration will be
|
|
2832
|
+
# configured.
|
|
2833
|
+
# @return [String]
|
|
2834
|
+
#
|
|
2835
|
+
# @!attribute [rw] client_id
|
|
2836
|
+
# The OIDC client ID used for authenticating with the OpenTDF
|
|
2837
|
+
# provider.
|
|
2838
|
+
# @return [String]
|
|
2839
|
+
#
|
|
2840
|
+
# @!attribute [rw] client_secret
|
|
2841
|
+
# The OIDC client secret used for authenticating with the OpenTDF
|
|
2842
|
+
# provider
|
|
2843
|
+
# @return [String]
|
|
2844
|
+
#
|
|
2845
|
+
# @!attribute [rw] domain
|
|
2846
|
+
# The domain of the OpenTDF server.
|
|
2847
|
+
# @return [String]
|
|
2848
|
+
#
|
|
2849
|
+
# @!attribute [rw] provider
|
|
2850
|
+
# The provider of the OpenTDF platform.
|
|
2851
|
+
#
|
|
2852
|
+
# <note markdown="1"> Currently only Virtru is supported as the OpenTDF provider.
|
|
2853
|
+
#
|
|
2854
|
+
# </note>
|
|
2855
|
+
# @return [String]
|
|
2856
|
+
#
|
|
2857
|
+
# @!attribute [rw] dry_run
|
|
2858
|
+
# Perform dry-run test connection of OpenTDF configuration (optional).
|
|
2859
|
+
# @return [Boolean]
|
|
2860
|
+
#
|
|
2861
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wickr-2024-02-01/RegisterOpentdfConfigRequest AWS API Documentation
|
|
2862
|
+
#
|
|
2863
|
+
class RegisterOpentdfConfigRequest < Struct.new(
|
|
2864
|
+
:network_id,
|
|
2865
|
+
:client_id,
|
|
2866
|
+
:client_secret,
|
|
2867
|
+
:domain,
|
|
2868
|
+
:provider,
|
|
2869
|
+
:dry_run)
|
|
2870
|
+
SENSITIVE = [:client_secret]
|
|
2871
|
+
include Aws::Structure
|
|
2872
|
+
end
|
|
2873
|
+
|
|
2874
|
+
# @!attribute [rw] client_id
|
|
2875
|
+
# The OIDC client ID used for authenticating with the OpenTDF
|
|
2876
|
+
# provider.
|
|
2877
|
+
# @return [String]
|
|
2878
|
+
#
|
|
2879
|
+
# @!attribute [rw] domain
|
|
2880
|
+
# The domain of the OpenTDF server.
|
|
2881
|
+
# @return [String]
|
|
2882
|
+
#
|
|
2883
|
+
# @!attribute [rw] client_secret
|
|
2884
|
+
# The OIDC client secret used for authenticating with the OpenTDF
|
|
2885
|
+
# provider.
|
|
2886
|
+
# @return [String]
|
|
2887
|
+
#
|
|
2888
|
+
# @!attribute [rw] provider
|
|
2889
|
+
# The provider of the OpenTDF platform.
|
|
2890
|
+
# @return [String]
|
|
2891
|
+
#
|
|
2892
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wickr-2024-02-01/RegisterOpentdfConfigResponse AWS API Documentation
|
|
2893
|
+
#
|
|
2894
|
+
class RegisterOpentdfConfigResponse < Struct.new(
|
|
2895
|
+
:client_id,
|
|
2896
|
+
:domain,
|
|
2897
|
+
:client_secret,
|
|
2898
|
+
:provider)
|
|
2899
|
+
SENSITIVE = [:client_secret]
|
|
2900
|
+
include Aws::Structure
|
|
2901
|
+
end
|
|
2902
|
+
|
|
2782
2903
|
# The requested resource could not be found. This error occurs when you
|
|
2783
2904
|
# try to access or modify a network, user, bot, security group, or other
|
|
2784
2905
|
# resource that doesn't exist or has been deleted.
|
|
@@ -3717,10 +3838,15 @@ module Aws::Wickr
|
|
|
3717
3838
|
# the failure.
|
|
3718
3839
|
# @return [Array<Types::ErrorDetail>]
|
|
3719
3840
|
#
|
|
3841
|
+
# @!attribute [rw] message
|
|
3842
|
+
# A message describing the validation error error that occurred.
|
|
3843
|
+
# @return [String]
|
|
3844
|
+
#
|
|
3720
3845
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wickr-2024-02-01/ValidationError AWS API Documentation
|
|
3721
3846
|
#
|
|
3722
3847
|
class ValidationError < Struct.new(
|
|
3723
|
-
:reasons
|
|
3848
|
+
:reasons,
|
|
3849
|
+
:message)
|
|
3724
3850
|
SENSITIVE = []
|
|
3725
3851
|
include Aws::Structure
|
|
3726
3852
|
end
|
data/lib/aws-sdk-wickr.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -409,6 +409,19 @@ module Aws
|
|
|
409
409
|
) -> _GetOidcInfoResponseSuccess
|
|
410
410
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOidcInfoResponseSuccess
|
|
411
411
|
|
|
412
|
+
interface _GetOpentdfConfigResponseSuccess
|
|
413
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetOpentdfConfigResponse]
|
|
414
|
+
def client_id: () -> ::String
|
|
415
|
+
def domain: () -> ::String
|
|
416
|
+
def client_secret: () -> ::String
|
|
417
|
+
def provider: () -> ::String
|
|
418
|
+
end
|
|
419
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Wickr/Client.html#get_opentdf_config-instance_method
|
|
420
|
+
def get_opentdf_config: (
|
|
421
|
+
network_id: ::String
|
|
422
|
+
) -> _GetOpentdfConfigResponseSuccess
|
|
423
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOpentdfConfigResponseSuccess
|
|
424
|
+
|
|
412
425
|
interface _GetSecurityGroupResponseSuccess
|
|
413
426
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetSecurityGroupResponse]
|
|
414
427
|
def security_group: () -> Types::SecurityGroup
|
|
@@ -646,6 +659,24 @@ module Aws
|
|
|
646
659
|
) -> _RegisterOidcConfigTestResponseSuccess
|
|
647
660
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterOidcConfigTestResponseSuccess
|
|
648
661
|
|
|
662
|
+
interface _RegisterOpentdfConfigResponseSuccess
|
|
663
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RegisterOpentdfConfigResponse]
|
|
664
|
+
def client_id: () -> ::String
|
|
665
|
+
def domain: () -> ::String
|
|
666
|
+
def client_secret: () -> ::String
|
|
667
|
+
def provider: () -> ::String
|
|
668
|
+
end
|
|
669
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Wickr/Client.html#register_opentdf_config-instance_method
|
|
670
|
+
def register_opentdf_config: (
|
|
671
|
+
network_id: ::String,
|
|
672
|
+
client_id: ::String,
|
|
673
|
+
client_secret: ::String,
|
|
674
|
+
domain: ::String,
|
|
675
|
+
provider: ::String,
|
|
676
|
+
?dry_run: bool
|
|
677
|
+
) -> _RegisterOpentdfConfigResponseSuccess
|
|
678
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterOpentdfConfigResponseSuccess
|
|
679
|
+
|
|
649
680
|
interface _UpdateBotResponseSuccess
|
|
650
681
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateBotResponse]
|
|
651
682
|
def message: () -> ::String
|
|
@@ -709,7 +740,8 @@ module Aws
|
|
|
709
740
|
read_receipt_config: {
|
|
710
741
|
status: ("DISABLED" | "ENABLED" | "FORCE_ENABLED")?
|
|
711
742
|
}?,
|
|
712
|
-
data_retention: bool
|
|
743
|
+
data_retention: bool?,
|
|
744
|
+
enable_trusted_data_format: bool?
|
|
713
745
|
}
|
|
714
746
|
) -> _UpdateNetworkSettingsResponseSuccess
|
|
715
747
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateNetworkSettingsResponseSuccess
|
data/sig/errors.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -413,6 +413,19 @@ module Aws::Wickr
|
|
|
413
413
|
SENSITIVE: []
|
|
414
414
|
end
|
|
415
415
|
|
|
416
|
+
class GetOpentdfConfigRequest
|
|
417
|
+
attr_accessor network_id: ::String
|
|
418
|
+
SENSITIVE: []
|
|
419
|
+
end
|
|
420
|
+
|
|
421
|
+
class GetOpentdfConfigResponse
|
|
422
|
+
attr_accessor client_id: ::String
|
|
423
|
+
attr_accessor domain: ::String
|
|
424
|
+
attr_accessor client_secret: ::String
|
|
425
|
+
attr_accessor provider: ::String
|
|
426
|
+
SENSITIVE: [:client_secret]
|
|
427
|
+
end
|
|
428
|
+
|
|
416
429
|
class GetSecurityGroupRequest
|
|
417
430
|
attr_accessor network_id: ::String
|
|
418
431
|
attr_accessor group_id: ::String
|
|
@@ -629,6 +642,7 @@ module Aws::Wickr
|
|
|
629
642
|
attr_accessor enable_client_metrics: bool
|
|
630
643
|
attr_accessor read_receipt_config: Types::ReadReceiptConfig
|
|
631
644
|
attr_accessor data_retention: bool
|
|
645
|
+
attr_accessor enable_trusted_data_format: bool
|
|
632
646
|
SENSITIVE: []
|
|
633
647
|
end
|
|
634
648
|
|
|
@@ -742,6 +756,24 @@ module Aws::Wickr
|
|
|
742
756
|
SENSITIVE: []
|
|
743
757
|
end
|
|
744
758
|
|
|
759
|
+
class RegisterOpentdfConfigRequest
|
|
760
|
+
attr_accessor network_id: ::String
|
|
761
|
+
attr_accessor client_id: ::String
|
|
762
|
+
attr_accessor client_secret: ::String
|
|
763
|
+
attr_accessor domain: ::String
|
|
764
|
+
attr_accessor provider: ::String
|
|
765
|
+
attr_accessor dry_run: bool
|
|
766
|
+
SENSITIVE: [:client_secret]
|
|
767
|
+
end
|
|
768
|
+
|
|
769
|
+
class RegisterOpentdfConfigResponse
|
|
770
|
+
attr_accessor client_id: ::String
|
|
771
|
+
attr_accessor domain: ::String
|
|
772
|
+
attr_accessor client_secret: ::String
|
|
773
|
+
attr_accessor provider: ::String
|
|
774
|
+
SENSITIVE: [:client_secret]
|
|
775
|
+
end
|
|
776
|
+
|
|
745
777
|
class ResourceNotFoundError
|
|
746
778
|
attr_accessor message: ::String
|
|
747
779
|
SENSITIVE: []
|
|
@@ -962,6 +994,7 @@ module Aws::Wickr
|
|
|
962
994
|
|
|
963
995
|
class ValidationError
|
|
964
996
|
attr_accessor reasons: ::Array[Types::ErrorDetail]
|
|
997
|
+
attr_accessor message: ::String
|
|
965
998
|
SENSITIVE: []
|
|
966
999
|
end
|
|
967
1000
|
|