aws-sdk-licensemanagerusersubscriptions 1.1.0 → 1.3.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-licensemanagerusersubscriptions/client.rb +101 -1
- data/lib/aws-sdk-licensemanagerusersubscriptions/client_api.rb +43 -0
- data/lib/aws-sdk-licensemanagerusersubscriptions/endpoint_provider.rb +35 -97
- data/lib/aws-sdk-licensemanagerusersubscriptions/endpoints.rb +14 -0
- data/lib/aws-sdk-licensemanagerusersubscriptions/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-licensemanagerusersubscriptions/types.rb +108 -160
- data/lib/aws-sdk-licensemanagerusersubscriptions.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd02a4bb4580bd4ffb889393967ed05745709fecb942a128c64c3cb4962646a7
|
4
|
+
data.tar.gz: e640e51c368334e337791c799eaf89a7954061a1527a30cea2542a33600831ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0567d0298d2135199723af4472b9410de802c6d6e21326d24c0e5ed0395fdd6f9197ce4612f9b7c1af64232fa5e4341a4c409d46fedd955d7bbdc6a7f19a6c7e
|
7
|
+
data.tar.gz: 55eaaa52a0a7ad0316c6bd80fe23e47f08875674f3a5c32769c9dbf381502bf1dc940fdb1a72f68bbc37cd407e2203e20129d8368e08c7f81035194c8e114978
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.3.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.2.0 (2022-11-29)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - AWS now offers fully-compliant, Amazon-provided licenses for Microsoft Office Professional Plus 2021 Amazon Machine Images (AMIs) on Amazon EC2. These AMIs are now available on the Amazon EC2 console and on AWS Marketplace to launch instances on-demand without any long-term licensing commitments.
|
15
|
+
|
4
16
|
1.1.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.3.0
|
@@ -371,6 +371,18 @@ module Aws::LicenseManagerUserSubscriptions
|
|
371
371
|
# Associates the user to an EC2 instance to utilize user-based
|
372
372
|
# subscriptions.
|
373
373
|
#
|
374
|
+
# <note markdown="1"> Your estimated bill for charges on the number of users and related
|
375
|
+
# costs will take 48 hours to appear for billing periods that haven't
|
376
|
+
# closed (marked as **Pending** billing status) in Amazon Web Services
|
377
|
+
# Billing. For more information, see [Viewing your monthly charges][1]
|
378
|
+
# in the *Amazon Web Services Billing User Guide*.
|
379
|
+
#
|
380
|
+
# </note>
|
381
|
+
#
|
382
|
+
#
|
383
|
+
#
|
384
|
+
# [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/invoice.html
|
385
|
+
#
|
374
386
|
# @option params [String] :domain
|
375
387
|
# The domain name of the user.
|
376
388
|
#
|
@@ -449,6 +461,9 @@ module Aws::LicenseManagerUserSubscriptions
|
|
449
461
|
# resp.identity_provider_summary.failure_message #=> String
|
450
462
|
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.directory_id #=> String
|
451
463
|
# resp.identity_provider_summary.product #=> String
|
464
|
+
# resp.identity_provider_summary.settings.security_group_id #=> String
|
465
|
+
# resp.identity_provider_summary.settings.subnets #=> Array
|
466
|
+
# resp.identity_provider_summary.settings.subnets[0] #=> String
|
452
467
|
# resp.identity_provider_summary.status #=> String
|
453
468
|
#
|
454
469
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/DeregisterIdentityProvider AWS API Documentation
|
@@ -540,6 +555,9 @@ module Aws::LicenseManagerUserSubscriptions
|
|
540
555
|
# resp.identity_provider_summaries[0].failure_message #=> String
|
541
556
|
# resp.identity_provider_summaries[0].identity_provider.active_directory_identity_provider.directory_id #=> String
|
542
557
|
# resp.identity_provider_summaries[0].product #=> String
|
558
|
+
# resp.identity_provider_summaries[0].settings.security_group_id #=> String
|
559
|
+
# resp.identity_provider_summaries[0].settings.subnets #=> Array
|
560
|
+
# resp.identity_provider_summaries[0].settings.subnets[0] #=> String
|
543
561
|
# resp.identity_provider_summaries[0].status #=> String
|
544
562
|
# resp.next_token #=> String
|
545
563
|
#
|
@@ -748,6 +766,10 @@ module Aws::LicenseManagerUserSubscriptions
|
|
748
766
|
# @option params [required, String] :product
|
749
767
|
# The name of the user-based subscription product.
|
750
768
|
#
|
769
|
+
# @option params [Types::Settings] :settings
|
770
|
+
# The registered identity provider’s product related configuration
|
771
|
+
# settings such as the subnets to provision VPC endpoints.
|
772
|
+
#
|
751
773
|
# @return [Types::RegisterIdentityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
752
774
|
#
|
753
775
|
# * {Types::RegisterIdentityProviderResponse#identity_provider_summary #identity_provider_summary} => Types::IdentityProviderSummary
|
@@ -761,6 +783,10 @@ module Aws::LicenseManagerUserSubscriptions
|
|
761
783
|
# },
|
762
784
|
# },
|
763
785
|
# product: "String", # required
|
786
|
+
# settings: {
|
787
|
+
# security_group_id: "SecurityGroup", # required
|
788
|
+
# subnets: ["Subnet"], # required
|
789
|
+
# },
|
764
790
|
# })
|
765
791
|
#
|
766
792
|
# @example Response structure
|
@@ -768,6 +794,9 @@ module Aws::LicenseManagerUserSubscriptions
|
|
768
794
|
# resp.identity_provider_summary.failure_message #=> String
|
769
795
|
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.directory_id #=> String
|
770
796
|
# resp.identity_provider_summary.product #=> String
|
797
|
+
# resp.identity_provider_summary.settings.security_group_id #=> String
|
798
|
+
# resp.identity_provider_summary.settings.subnets #=> Array
|
799
|
+
# resp.identity_provider_summary.settings.subnets[0] #=> String
|
771
800
|
# resp.identity_provider_summary.status #=> String
|
772
801
|
#
|
773
802
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/RegisterIdentityProvider AWS API Documentation
|
@@ -782,6 +811,18 @@ module Aws::LicenseManagerUserSubscriptions
|
|
782
811
|
# Starts a product subscription for a user with the specified identity
|
783
812
|
# provider.
|
784
813
|
#
|
814
|
+
# <note markdown="1"> Your estimated bill for charges on the number of users and related
|
815
|
+
# costs will take 48 hours to appear for billing periods that haven't
|
816
|
+
# closed (marked as **Pending** billing status) in Amazon Web Services
|
817
|
+
# Billing. For more information, see [Viewing your monthly charges][1]
|
818
|
+
# in the *Amazon Web Services Billing User Guide*.
|
819
|
+
#
|
820
|
+
# </note>
|
821
|
+
#
|
822
|
+
#
|
823
|
+
#
|
824
|
+
# [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/invoice.html
|
825
|
+
#
|
785
826
|
# @option params [String] :domain
|
786
827
|
# The domain name of the user.
|
787
828
|
#
|
@@ -883,6 +924,65 @@ module Aws::LicenseManagerUserSubscriptions
|
|
883
924
|
req.send_request(options)
|
884
925
|
end
|
885
926
|
|
927
|
+
# Updates additional product configuration settings for the registered
|
928
|
+
# identity provider.
|
929
|
+
#
|
930
|
+
# @option params [required, Types::IdentityProvider] :identity_provider
|
931
|
+
# Details about an identity provider.
|
932
|
+
#
|
933
|
+
# @option params [required, String] :product
|
934
|
+
# The name of the user-based subscription product.
|
935
|
+
#
|
936
|
+
# @option params [required, Types::UpdateSettings] :update_settings
|
937
|
+
# Updates the registered identity provider’s product related
|
938
|
+
# configuration settings. You can update any combination of settings in
|
939
|
+
# a single operation such as the:
|
940
|
+
#
|
941
|
+
# * Subnets which you want to add to provision VPC endpoints.
|
942
|
+
#
|
943
|
+
# * Subnets which you want to remove the VPC endpoints from.
|
944
|
+
#
|
945
|
+
# * Security group ID which permits traffic to the VPC endpoints.
|
946
|
+
#
|
947
|
+
# @return [Types::UpdateIdentityProviderSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
948
|
+
#
|
949
|
+
# * {Types::UpdateIdentityProviderSettingsResponse#identity_provider_summary #identity_provider_summary} => Types::IdentityProviderSummary
|
950
|
+
#
|
951
|
+
# @example Request syntax with placeholder values
|
952
|
+
#
|
953
|
+
# resp = client.update_identity_provider_settings({
|
954
|
+
# identity_provider: { # required
|
955
|
+
# active_directory_identity_provider: {
|
956
|
+
# directory_id: "String",
|
957
|
+
# },
|
958
|
+
# },
|
959
|
+
# product: "String", # required
|
960
|
+
# update_settings: { # required
|
961
|
+
# add_subnets: ["Subnet"], # required
|
962
|
+
# remove_subnets: ["Subnet"], # required
|
963
|
+
# security_group_id: "SecurityGroup",
|
964
|
+
# },
|
965
|
+
# })
|
966
|
+
#
|
967
|
+
# @example Response structure
|
968
|
+
#
|
969
|
+
# resp.identity_provider_summary.failure_message #=> String
|
970
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.directory_id #=> String
|
971
|
+
# resp.identity_provider_summary.product #=> String
|
972
|
+
# resp.identity_provider_summary.settings.security_group_id #=> String
|
973
|
+
# resp.identity_provider_summary.settings.subnets #=> Array
|
974
|
+
# resp.identity_provider_summary.settings.subnets[0] #=> String
|
975
|
+
# resp.identity_provider_summary.status #=> String
|
976
|
+
#
|
977
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/UpdateIdentityProviderSettings AWS API Documentation
|
978
|
+
#
|
979
|
+
# @overload update_identity_provider_settings(params = {})
|
980
|
+
# @param [Hash] params ({})
|
981
|
+
def update_identity_provider_settings(params = {}, options = {})
|
982
|
+
req = build_request(:update_identity_provider_settings, params)
|
983
|
+
req.send_request(options)
|
984
|
+
end
|
985
|
+
|
886
986
|
# @!endgroup
|
887
987
|
|
888
988
|
# @param params ({})
|
@@ -896,7 +996,7 @@ module Aws::LicenseManagerUserSubscriptions
|
|
896
996
|
params: params,
|
897
997
|
config: config)
|
898
998
|
context[:gem_name] = 'aws-sdk-licensemanagerusersubscriptions'
|
899
|
-
context[:gem_version] = '1.
|
999
|
+
context[:gem_version] = '1.3.0'
|
900
1000
|
Seahorse::Client::Request.new(handlers, context)
|
901
1001
|
end
|
902
1002
|
|
@@ -46,14 +46,22 @@ module Aws::LicenseManagerUserSubscriptions
|
|
46
46
|
RegisterIdentityProviderRequest = Shapes::StructureShape.new(name: 'RegisterIdentityProviderRequest')
|
47
47
|
RegisterIdentityProviderResponse = Shapes::StructureShape.new(name: 'RegisterIdentityProviderResponse')
|
48
48
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
49
|
+
SecurityGroup = Shapes::StringShape.new(name: 'SecurityGroup')
|
49
50
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
51
|
+
Settings = Shapes::StructureShape.new(name: 'Settings')
|
52
|
+
SettingsSubnetsList = Shapes::ListShape.new(name: 'SettingsSubnetsList')
|
50
53
|
StartProductSubscriptionRequest = Shapes::StructureShape.new(name: 'StartProductSubscriptionRequest')
|
51
54
|
StartProductSubscriptionResponse = Shapes::StructureShape.new(name: 'StartProductSubscriptionResponse')
|
52
55
|
StopProductSubscriptionRequest = Shapes::StructureShape.new(name: 'StopProductSubscriptionRequest')
|
53
56
|
StopProductSubscriptionResponse = Shapes::StructureShape.new(name: 'StopProductSubscriptionResponse')
|
54
57
|
String = Shapes::StringShape.new(name: 'String')
|
55
58
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
59
|
+
Subnet = Shapes::StringShape.new(name: 'Subnet')
|
60
|
+
Subnets = Shapes::ListShape.new(name: 'Subnets')
|
56
61
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
62
|
+
UpdateIdentityProviderSettingsRequest = Shapes::StructureShape.new(name: 'UpdateIdentityProviderSettingsRequest')
|
63
|
+
UpdateIdentityProviderSettingsResponse = Shapes::StructureShape.new(name: 'UpdateIdentityProviderSettingsResponse')
|
64
|
+
UpdateSettings = Shapes::StructureShape.new(name: 'UpdateSettings')
|
57
65
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
58
66
|
|
59
67
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -106,6 +114,7 @@ module Aws::LicenseManagerUserSubscriptions
|
|
106
114
|
IdentityProviderSummary.add_member(:failure_message, Shapes::ShapeRef.new(shape: String, location_name: "FailureMessage"))
|
107
115
|
IdentityProviderSummary.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, required: true, location_name: "IdentityProvider"))
|
108
116
|
IdentityProviderSummary.add_member(:product, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Product"))
|
117
|
+
IdentityProviderSummary.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, required: true, location_name: "Settings"))
|
109
118
|
IdentityProviderSummary.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Status"))
|
110
119
|
IdentityProviderSummary.struct_class = Types::IdentityProviderSummary
|
111
120
|
|
@@ -188,6 +197,7 @@ module Aws::LicenseManagerUserSubscriptions
|
|
188
197
|
|
189
198
|
RegisterIdentityProviderRequest.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, required: true, location_name: "IdentityProvider"))
|
190
199
|
RegisterIdentityProviderRequest.add_member(:product, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Product"))
|
200
|
+
RegisterIdentityProviderRequest.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "Settings"))
|
191
201
|
RegisterIdentityProviderRequest.struct_class = Types::RegisterIdentityProviderRequest
|
192
202
|
|
193
203
|
RegisterIdentityProviderResponse.add_member(:identity_provider_summary, Shapes::ShapeRef.new(shape: IdentityProviderSummary, required: true, location_name: "IdentityProviderSummary"))
|
@@ -199,6 +209,12 @@ module Aws::LicenseManagerUserSubscriptions
|
|
199
209
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
200
210
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
201
211
|
|
212
|
+
Settings.add_member(:security_group_id, Shapes::ShapeRef.new(shape: SecurityGroup, required: true, location_name: "SecurityGroupId"))
|
213
|
+
Settings.add_member(:subnets, Shapes::ShapeRef.new(shape: SettingsSubnetsList, required: true, location_name: "Subnets"))
|
214
|
+
Settings.struct_class = Types::Settings
|
215
|
+
|
216
|
+
SettingsSubnetsList.member = Shapes::ShapeRef.new(shape: Subnet)
|
217
|
+
|
202
218
|
StartProductSubscriptionRequest.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "Domain"))
|
203
219
|
StartProductSubscriptionRequest.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, required: true, location_name: "IdentityProvider"))
|
204
220
|
StartProductSubscriptionRequest.add_member(:product, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Product"))
|
@@ -219,9 +235,24 @@ module Aws::LicenseManagerUserSubscriptions
|
|
219
235
|
|
220
236
|
StringList.member = Shapes::ShapeRef.new(shape: String)
|
221
237
|
|
238
|
+
Subnets.member = Shapes::ShapeRef.new(shape: Subnet)
|
239
|
+
|
222
240
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
223
241
|
ThrottlingException.struct_class = Types::ThrottlingException
|
224
242
|
|
243
|
+
UpdateIdentityProviderSettingsRequest.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, required: true, location_name: "IdentityProvider"))
|
244
|
+
UpdateIdentityProviderSettingsRequest.add_member(:product, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Product"))
|
245
|
+
UpdateIdentityProviderSettingsRequest.add_member(:update_settings, Shapes::ShapeRef.new(shape: UpdateSettings, required: true, location_name: "UpdateSettings"))
|
246
|
+
UpdateIdentityProviderSettingsRequest.struct_class = Types::UpdateIdentityProviderSettingsRequest
|
247
|
+
|
248
|
+
UpdateIdentityProviderSettingsResponse.add_member(:identity_provider_summary, Shapes::ShapeRef.new(shape: IdentityProviderSummary, required: true, location_name: "IdentityProviderSummary"))
|
249
|
+
UpdateIdentityProviderSettingsResponse.struct_class = Types::UpdateIdentityProviderSettingsResponse
|
250
|
+
|
251
|
+
UpdateSettings.add_member(:add_subnets, Shapes::ShapeRef.new(shape: Subnets, required: true, location_name: "AddSubnets"))
|
252
|
+
UpdateSettings.add_member(:remove_subnets, Shapes::ShapeRef.new(shape: Subnets, required: true, location_name: "RemoveSubnets"))
|
253
|
+
UpdateSettings.add_member(:security_group_id, Shapes::ShapeRef.new(shape: SecurityGroup, location_name: "SecurityGroupId"))
|
254
|
+
UpdateSettings.struct_class = Types::UpdateSettings
|
255
|
+
|
225
256
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
226
257
|
ValidationException.struct_class = Types::ValidationException
|
227
258
|
|
@@ -416,6 +447,18 @@ module Aws::LicenseManagerUserSubscriptions
|
|
416
447
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
417
448
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
418
449
|
end)
|
450
|
+
|
451
|
+
api.add_operation(:update_identity_provider_settings, Seahorse::Model::Operation.new.tap do |o|
|
452
|
+
o.name = "UpdateIdentityProviderSettings"
|
453
|
+
o.http_method = "POST"
|
454
|
+
o.http_request_uri = "/identity-provider/UpdateIdentityProviderSettings"
|
455
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateIdentityProviderSettingsRequest)
|
456
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateIdentityProviderSettingsResponse)
|
457
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
458
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
459
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
460
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
461
|
+
end)
|
419
462
|
end
|
420
463
|
|
421
464
|
end
|
@@ -9,105 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::LicenseManagerUserSubscriptions
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
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://license-manager-user-subscriptions-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://license-manager-user-subscriptions-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://license-manager-user-subscriptions.#{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://license-manager-user-subscriptions.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cm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0cmVlIiwicnVsZXMiOlt7ImNvbmRp
|
96
|
-
dGlvbnMiOlt7ImZuIjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt0cnVlLHsi
|
97
|
-
Zm4iOiJnZXRBdHRyIiwiYXJndiI6W3sicmVmIjoiUGFydGl0aW9uUmVzdWx0
|
98
|
-
In0sInN1cHBvcnRzRHVhbFN0YWNrIl19XX1dLCJ0eXBlIjoidHJlZSIsInJ1
|
99
|
-
bGVzIjpbeyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0
|
100
|
-
cHM6Ly9saWNlbnNlLW1hbmFnZXItdXNlci1zdWJzY3JpcHRpb25zLntSZWdp
|
101
|
-
b259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInBy
|
102
|
-
b3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9
|
103
|
-
XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5h
|
104
|
-
YmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFs
|
105
|
-
U3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVu
|
106
|
-
ZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vbGljZW5zZS1tYW5hZ2VyLXVzZXIt
|
107
|
-
c3Vic2NyaXB0aW9ucy57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1
|
108
|
-
ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoi
|
109
|
-
ZW5kcG9pbnQifV19XX0=
|
110
|
-
|
111
|
-
JSON
|
112
50
|
end
|
113
51
|
end
|
@@ -151,5 +151,19 @@ module Aws::LicenseManagerUserSubscriptions
|
|
151
151
|
end
|
152
152
|
end
|
153
153
|
|
154
|
+
class UpdateIdentityProviderSettings
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::LicenseManagerUserSubscriptions::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
|
+
|
154
168
|
end
|
155
169
|
end
|
@@ -76,6 +76,8 @@ module Aws::LicenseManagerUserSubscriptions
|
|
76
76
|
Aws::LicenseManagerUserSubscriptions::Endpoints::StartProductSubscription.build(context)
|
77
77
|
when :stop_product_subscription
|
78
78
|
Aws::LicenseManagerUserSubscriptions::Endpoints::StopProductSubscription.build(context)
|
79
|
+
when :update_identity_provider_settings
|
80
|
+
Aws::LicenseManagerUserSubscriptions::Endpoints::UpdateIdentityProviderSettings.build(context)
|
79
81
|
end
|
80
82
|
end
|
81
83
|
end
|
@@ -25,13 +25,6 @@ module Aws::LicenseManagerUserSubscriptions
|
|
25
25
|
|
26
26
|
# Details about an Active Directory identity provider.
|
27
27
|
#
|
28
|
-
# @note When making an API call, you may pass ActiveDirectoryIdentityProvider
|
29
|
-
# data as a hash:
|
30
|
-
#
|
31
|
-
# {
|
32
|
-
# directory_id: "String",
|
33
|
-
# }
|
34
|
-
#
|
35
28
|
# @!attribute [rw] directory_id
|
36
29
|
# The directory ID for an Active Directory identity provider.
|
37
30
|
# @return [String]
|
@@ -44,20 +37,6 @@ module Aws::LicenseManagerUserSubscriptions
|
|
44
37
|
include Aws::Structure
|
45
38
|
end
|
46
39
|
|
47
|
-
# @note When making an API call, you may pass AssociateUserRequest
|
48
|
-
# data as a hash:
|
49
|
-
#
|
50
|
-
# {
|
51
|
-
# domain: "String",
|
52
|
-
# identity_provider: { # required
|
53
|
-
# active_directory_identity_provider: {
|
54
|
-
# directory_id: "String",
|
55
|
-
# },
|
56
|
-
# },
|
57
|
-
# instance_id: "String", # required
|
58
|
-
# username: "String", # required
|
59
|
-
# }
|
60
|
-
#
|
61
40
|
# @!attribute [rw] domain
|
62
41
|
# The domain name of the user.
|
63
42
|
# @return [String]
|
@@ -111,18 +90,6 @@ module Aws::LicenseManagerUserSubscriptions
|
|
111
90
|
include Aws::Structure
|
112
91
|
end
|
113
92
|
|
114
|
-
# @note When making an API call, you may pass DeregisterIdentityProviderRequest
|
115
|
-
# data as a hash:
|
116
|
-
#
|
117
|
-
# {
|
118
|
-
# identity_provider: { # required
|
119
|
-
# active_directory_identity_provider: {
|
120
|
-
# directory_id: "String",
|
121
|
-
# },
|
122
|
-
# },
|
123
|
-
# product: "String", # required
|
124
|
-
# }
|
125
|
-
#
|
126
93
|
# @!attribute [rw] identity_provider
|
127
94
|
# An object that specifies details for the identity provider.
|
128
95
|
# @return [Types::IdentityProvider]
|
@@ -153,20 +120,6 @@ module Aws::LicenseManagerUserSubscriptions
|
|
153
120
|
include Aws::Structure
|
154
121
|
end
|
155
122
|
|
156
|
-
# @note When making an API call, you may pass DisassociateUserRequest
|
157
|
-
# data as a hash:
|
158
|
-
#
|
159
|
-
# {
|
160
|
-
# domain: "String",
|
161
|
-
# identity_provider: { # required
|
162
|
-
# active_directory_identity_provider: {
|
163
|
-
# directory_id: "String",
|
164
|
-
# },
|
165
|
-
# },
|
166
|
-
# instance_id: "String", # required
|
167
|
-
# username: "String", # required
|
168
|
-
# }
|
169
|
-
#
|
170
123
|
# @!attribute [rw] domain
|
171
124
|
# The domain name of the user.
|
172
125
|
# @return [String]
|
@@ -210,15 +163,6 @@ module Aws::LicenseManagerUserSubscriptions
|
|
210
163
|
# results from a describe operation. Filters can be used to match a set
|
211
164
|
# of resources by specific criteria, such as tags, attributes, or IDs.
|
212
165
|
#
|
213
|
-
# @note When making an API call, you may pass Filter
|
214
|
-
# data as a hash:
|
215
|
-
#
|
216
|
-
# {
|
217
|
-
# attribute: "String",
|
218
|
-
# operation: "String",
|
219
|
-
# value: "String",
|
220
|
-
# }
|
221
|
-
#
|
222
166
|
# @!attribute [rw] attribute
|
223
167
|
# The name of an attribute to use as a filter.
|
224
168
|
# @return [String]
|
@@ -278,6 +222,12 @@ module Aws::LicenseManagerUserSubscriptions
|
|
278
222
|
# The name of the user-based subscription product.
|
279
223
|
# @return [String]
|
280
224
|
#
|
225
|
+
# @!attribute [rw] settings
|
226
|
+
# An object that details the registered identity provider’s product
|
227
|
+
# related configuration settings such as the subnets to provision VPC
|
228
|
+
# endpoints.
|
229
|
+
# @return [Types::Settings]
|
230
|
+
#
|
281
231
|
# @!attribute [rw] status
|
282
232
|
# The status of an identity provider.
|
283
233
|
# @return [String]
|
@@ -288,6 +238,7 @@ module Aws::LicenseManagerUserSubscriptions
|
|
288
238
|
:failure_message,
|
289
239
|
:identity_provider,
|
290
240
|
:product,
|
241
|
+
:settings,
|
291
242
|
:status)
|
292
243
|
SENSITIVE = []
|
293
244
|
include Aws::Structure
|
@@ -389,14 +340,6 @@ module Aws::LicenseManagerUserSubscriptions
|
|
389
340
|
include Aws::Structure
|
390
341
|
end
|
391
342
|
|
392
|
-
# @note When making an API call, you may pass ListIdentityProvidersRequest
|
393
|
-
# data as a hash:
|
394
|
-
#
|
395
|
-
# {
|
396
|
-
# max_results: 1,
|
397
|
-
# next_token: "String",
|
398
|
-
# }
|
399
|
-
#
|
400
343
|
# @!attribute [rw] max_results
|
401
344
|
# Maximum number of results to return in a single call.
|
402
345
|
# @return [Integer]
|
@@ -431,21 +374,6 @@ module Aws::LicenseManagerUserSubscriptions
|
|
431
374
|
include Aws::Structure
|
432
375
|
end
|
433
376
|
|
434
|
-
# @note When making an API call, you may pass ListInstancesRequest
|
435
|
-
# data as a hash:
|
436
|
-
#
|
437
|
-
# {
|
438
|
-
# filters: [
|
439
|
-
# {
|
440
|
-
# attribute: "String",
|
441
|
-
# operation: "String",
|
442
|
-
# value: "String",
|
443
|
-
# },
|
444
|
-
# ],
|
445
|
-
# max_results: 1,
|
446
|
-
# next_token: "String",
|
447
|
-
# }
|
448
|
-
#
|
449
377
|
# @!attribute [rw] filters
|
450
378
|
# An array of structures that you can use to filter the results to
|
451
379
|
# those that match one or more sets of key-value pairs that you
|
@@ -487,27 +415,6 @@ module Aws::LicenseManagerUserSubscriptions
|
|
487
415
|
include Aws::Structure
|
488
416
|
end
|
489
417
|
|
490
|
-
# @note When making an API call, you may pass ListProductSubscriptionsRequest
|
491
|
-
# data as a hash:
|
492
|
-
#
|
493
|
-
# {
|
494
|
-
# filters: [
|
495
|
-
# {
|
496
|
-
# attribute: "String",
|
497
|
-
# operation: "String",
|
498
|
-
# value: "String",
|
499
|
-
# },
|
500
|
-
# ],
|
501
|
-
# identity_provider: { # required
|
502
|
-
# active_directory_identity_provider: {
|
503
|
-
# directory_id: "String",
|
504
|
-
# },
|
505
|
-
# },
|
506
|
-
# max_results: 1,
|
507
|
-
# next_token: "String",
|
508
|
-
# product: "String", # required
|
509
|
-
# }
|
510
|
-
#
|
511
418
|
# @!attribute [rw] filters
|
512
419
|
# An array of structures that you can use to filter the results to
|
513
420
|
# those that match one or more sets of key-value pairs that you
|
@@ -559,27 +466,6 @@ module Aws::LicenseManagerUserSubscriptions
|
|
559
466
|
include Aws::Structure
|
560
467
|
end
|
561
468
|
|
562
|
-
# @note When making an API call, you may pass ListUserAssociationsRequest
|
563
|
-
# data as a hash:
|
564
|
-
#
|
565
|
-
# {
|
566
|
-
# filters: [
|
567
|
-
# {
|
568
|
-
# attribute: "String",
|
569
|
-
# operation: "String",
|
570
|
-
# value: "String",
|
571
|
-
# },
|
572
|
-
# ],
|
573
|
-
# identity_provider: { # required
|
574
|
-
# active_directory_identity_provider: {
|
575
|
-
# directory_id: "String",
|
576
|
-
# },
|
577
|
-
# },
|
578
|
-
# instance_id: "String", # required
|
579
|
-
# max_results: 1,
|
580
|
-
# next_token: "String",
|
581
|
-
# }
|
582
|
-
#
|
583
469
|
# @!attribute [rw] filters
|
584
470
|
# An array of structures that you can use to filter the results to
|
585
471
|
# those that match one or more sets of key-value pairs that you
|
@@ -680,18 +566,6 @@ module Aws::LicenseManagerUserSubscriptions
|
|
680
566
|
include Aws::Structure
|
681
567
|
end
|
682
568
|
|
683
|
-
# @note When making an API call, you may pass RegisterIdentityProviderRequest
|
684
|
-
# data as a hash:
|
685
|
-
#
|
686
|
-
# {
|
687
|
-
# identity_provider: { # required
|
688
|
-
# active_directory_identity_provider: {
|
689
|
-
# directory_id: "String",
|
690
|
-
# },
|
691
|
-
# },
|
692
|
-
# product: "String", # required
|
693
|
-
# }
|
694
|
-
#
|
695
569
|
# @!attribute [rw] identity_provider
|
696
570
|
# An object that specifies details for the identity provider.
|
697
571
|
# @return [Types::IdentityProvider]
|
@@ -700,11 +574,17 @@ module Aws::LicenseManagerUserSubscriptions
|
|
700
574
|
# The name of the user-based subscription product.
|
701
575
|
# @return [String]
|
702
576
|
#
|
577
|
+
# @!attribute [rw] settings
|
578
|
+
# The registered identity provider’s product related configuration
|
579
|
+
# settings such as the subnets to provision VPC endpoints.
|
580
|
+
# @return [Types::Settings]
|
581
|
+
#
|
703
582
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/RegisterIdentityProviderRequest AWS API Documentation
|
704
583
|
#
|
705
584
|
class RegisterIdentityProviderRequest < Struct.new(
|
706
585
|
:identity_provider,
|
707
|
-
:product
|
586
|
+
:product,
|
587
|
+
:settings)
|
708
588
|
SENSITIVE = []
|
709
589
|
include Aws::Structure
|
710
590
|
end
|
@@ -748,20 +628,31 @@ module Aws::LicenseManagerUserSubscriptions
|
|
748
628
|
include Aws::Structure
|
749
629
|
end
|
750
630
|
|
751
|
-
#
|
752
|
-
#
|
631
|
+
# The registered identity provider’s product related configuration
|
632
|
+
# settings such as the subnets to provision VPC endpoints, and the
|
633
|
+
# security group ID that is associated with the VPC endpoints. The
|
634
|
+
# security group should permit inbound TCP port 1688 communication from
|
635
|
+
# resources in the VPC.
|
636
|
+
#
|
637
|
+
# @!attribute [rw] security_group_id
|
638
|
+
# A security group ID that allows inbound TCP port 1688 communication
|
639
|
+
# between resources in your VPC and the VPC endpoint for activation
|
640
|
+
# servers.
|
641
|
+
# @return [String]
|
642
|
+
#
|
643
|
+
# @!attribute [rw] subnets
|
644
|
+
# The subnets defined for the registered identity provider.
|
645
|
+
# @return [Array<String>]
|
753
646
|
#
|
754
|
-
#
|
755
|
-
# domain: "String",
|
756
|
-
# identity_provider: { # required
|
757
|
-
# active_directory_identity_provider: {
|
758
|
-
# directory_id: "String",
|
759
|
-
# },
|
760
|
-
# },
|
761
|
-
# product: "String", # required
|
762
|
-
# username: "String", # required
|
763
|
-
# }
|
647
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/Settings AWS API Documentation
|
764
648
|
#
|
649
|
+
class Settings < Struct.new(
|
650
|
+
:security_group_id,
|
651
|
+
:subnets)
|
652
|
+
SENSITIVE = []
|
653
|
+
include Aws::Structure
|
654
|
+
end
|
655
|
+
|
765
656
|
# @!attribute [rw] domain
|
766
657
|
# The domain name of the user.
|
767
658
|
# @return [String]
|
@@ -801,20 +692,6 @@ module Aws::LicenseManagerUserSubscriptions
|
|
801
692
|
include Aws::Structure
|
802
693
|
end
|
803
694
|
|
804
|
-
# @note When making an API call, you may pass StopProductSubscriptionRequest
|
805
|
-
# data as a hash:
|
806
|
-
#
|
807
|
-
# {
|
808
|
-
# domain: "String",
|
809
|
-
# identity_provider: { # required
|
810
|
-
# active_directory_identity_provider: {
|
811
|
-
# directory_id: "String",
|
812
|
-
# },
|
813
|
-
# },
|
814
|
-
# product: "String", # required
|
815
|
-
# username: "String", # required
|
816
|
-
# }
|
817
|
-
#
|
818
695
|
# @!attribute [rw] domain
|
819
696
|
# The domain name of the user.
|
820
697
|
# @return [String]
|
@@ -868,6 +745,77 @@ module Aws::LicenseManagerUserSubscriptions
|
|
868
745
|
include Aws::Structure
|
869
746
|
end
|
870
747
|
|
748
|
+
# @!attribute [rw] identity_provider
|
749
|
+
# Details about an identity provider.
|
750
|
+
# @return [Types::IdentityProvider]
|
751
|
+
#
|
752
|
+
# @!attribute [rw] product
|
753
|
+
# The name of the user-based subscription product.
|
754
|
+
# @return [String]
|
755
|
+
#
|
756
|
+
# @!attribute [rw] update_settings
|
757
|
+
# Updates the registered identity provider’s product related
|
758
|
+
# configuration settings. You can update any combination of settings
|
759
|
+
# in a single operation such as the:
|
760
|
+
#
|
761
|
+
# * Subnets which you want to add to provision VPC endpoints.
|
762
|
+
#
|
763
|
+
# * Subnets which you want to remove the VPC endpoints from.
|
764
|
+
#
|
765
|
+
# * Security group ID which permits traffic to the VPC endpoints.
|
766
|
+
# @return [Types::UpdateSettings]
|
767
|
+
#
|
768
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/UpdateIdentityProviderSettingsRequest AWS API Documentation
|
769
|
+
#
|
770
|
+
class UpdateIdentityProviderSettingsRequest < Struct.new(
|
771
|
+
:identity_provider,
|
772
|
+
:product,
|
773
|
+
:update_settings)
|
774
|
+
SENSITIVE = []
|
775
|
+
include Aws::Structure
|
776
|
+
end
|
777
|
+
|
778
|
+
# @!attribute [rw] identity_provider_summary
|
779
|
+
# Describes an identity provider.
|
780
|
+
# @return [Types::IdentityProviderSummary]
|
781
|
+
#
|
782
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/UpdateIdentityProviderSettingsResponse AWS API Documentation
|
783
|
+
#
|
784
|
+
class UpdateIdentityProviderSettingsResponse < Struct.new(
|
785
|
+
:identity_provider_summary)
|
786
|
+
SENSITIVE = []
|
787
|
+
include Aws::Structure
|
788
|
+
end
|
789
|
+
|
790
|
+
# Updates the registered identity provider’s product related
|
791
|
+
# configuration settings such as the subnets to provision VPC endpoints.
|
792
|
+
#
|
793
|
+
# @!attribute [rw] add_subnets
|
794
|
+
# The ID of one or more subnets in which License Manager will create a
|
795
|
+
# VPC endpoint for products that require connectivity to activation
|
796
|
+
# servers.
|
797
|
+
# @return [Array<String>]
|
798
|
+
#
|
799
|
+
# @!attribute [rw] remove_subnets
|
800
|
+
# The ID of one or more subnets to remove.
|
801
|
+
# @return [Array<String>]
|
802
|
+
#
|
803
|
+
# @!attribute [rw] security_group_id
|
804
|
+
# A security group ID that allows inbound TCP port 1688 communication
|
805
|
+
# between resources in your VPC and the VPC endpoints for activation
|
806
|
+
# servers.
|
807
|
+
# @return [String]
|
808
|
+
#
|
809
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/UpdateSettings AWS API Documentation
|
810
|
+
#
|
811
|
+
class UpdateSettings < Struct.new(
|
812
|
+
:add_subnets,
|
813
|
+
:remove_subnets,
|
814
|
+
:security_group_id)
|
815
|
+
SENSITIVE = []
|
816
|
+
include Aws::Structure
|
817
|
+
end
|
818
|
+
|
871
819
|
# A parameter is not valid.
|
872
820
|
#
|
873
821
|
# @!attribute [rw] message
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-licensemanagerusersubscriptions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.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
|