aws-sdk-licensemanagerusersubscriptions 1.25.0 → 1.27.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-licensemanagerusersubscriptions/client.rb +604 -62
- data/lib/aws-sdk-licensemanagerusersubscriptions/client_api.rb +255 -12
- data/lib/aws-sdk-licensemanagerusersubscriptions/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-licensemanagerusersubscriptions/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-licensemanagerusersubscriptions/endpoints.rb +2 -119
- data/lib/aws-sdk-licensemanagerusersubscriptions/plugins/endpoints.rb +1 -28
- data/lib/aws-sdk-licensemanagerusersubscriptions/types.rb +636 -57
- data/lib/aws-sdk-licensemanagerusersubscriptions.rb +1 -1
- data/sig/client.rbs +230 -15
- data/sig/types.rbs +157 -3
- metadata +6 -6
@@ -16,14 +16,26 @@ module Aws::LicenseManagerUserSubscriptions
|
|
16
16
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
18
|
ActiveDirectoryIdentityProvider = Shapes::StructureShape.new(name: 'ActiveDirectoryIdentityProvider')
|
19
|
+
ActiveDirectorySettings = Shapes::StructureShape.new(name: 'ActiveDirectorySettings')
|
20
|
+
ActiveDirectorySettingsDomainIpv4ListList = Shapes::ListShape.new(name: 'ActiveDirectorySettingsDomainIpv4ListList')
|
21
|
+
ActiveDirectoryType = Shapes::StringShape.new(name: 'ActiveDirectoryType')
|
22
|
+
Arn = Shapes::StringShape.new(name: 'Arn')
|
19
23
|
AssociateUserRequest = Shapes::StructureShape.new(name: 'AssociateUserRequest')
|
20
24
|
AssociateUserResponse = Shapes::StructureShape.new(name: 'AssociateUserResponse')
|
21
25
|
BoxInteger = Shapes::IntegerShape.new(name: 'BoxInteger')
|
22
26
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
27
|
+
CreateLicenseServerEndpointRequest = Shapes::StructureShape.new(name: 'CreateLicenseServerEndpointRequest')
|
28
|
+
CreateLicenseServerEndpointResponse = Shapes::StructureShape.new(name: 'CreateLicenseServerEndpointResponse')
|
29
|
+
CredentialsProvider = Shapes::UnionShape.new(name: 'CredentialsProvider')
|
30
|
+
DeleteLicenseServerEndpointRequest = Shapes::StructureShape.new(name: 'DeleteLicenseServerEndpointRequest')
|
31
|
+
DeleteLicenseServerEndpointResponse = Shapes::StructureShape.new(name: 'DeleteLicenseServerEndpointResponse')
|
23
32
|
DeregisterIdentityProviderRequest = Shapes::StructureShape.new(name: 'DeregisterIdentityProviderRequest')
|
24
33
|
DeregisterIdentityProviderResponse = Shapes::StructureShape.new(name: 'DeregisterIdentityProviderResponse')
|
34
|
+
Directory = Shapes::StringShape.new(name: 'Directory')
|
25
35
|
DisassociateUserRequest = Shapes::StructureShape.new(name: 'DisassociateUserRequest')
|
26
36
|
DisassociateUserResponse = Shapes::StructureShape.new(name: 'DisassociateUserResponse')
|
37
|
+
DomainNetworkSettings = Shapes::StructureShape.new(name: 'DomainNetworkSettings')
|
38
|
+
DomainNetworkSettingsSubnetsList = Shapes::ListShape.new(name: 'DomainNetworkSettingsSubnetsList')
|
27
39
|
Filter = Shapes::StructureShape.new(name: 'Filter')
|
28
40
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
29
41
|
IdentityProvider = Shapes::UnionShape.new(name: 'IdentityProvider')
|
@@ -34,20 +46,41 @@ module Aws::LicenseManagerUserSubscriptions
|
|
34
46
|
InstanceUserSummary = Shapes::StructureShape.new(name: 'InstanceUserSummary')
|
35
47
|
InstanceUserSummaryList = Shapes::ListShape.new(name: 'InstanceUserSummaryList')
|
36
48
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
49
|
+
IpV4 = Shapes::StringShape.new(name: 'IpV4')
|
50
|
+
LicenseServer = Shapes::StructureShape.new(name: 'LicenseServer')
|
51
|
+
LicenseServerEndpoint = Shapes::StructureShape.new(name: 'LicenseServerEndpoint')
|
52
|
+
LicenseServerEndpointId = Shapes::StringShape.new(name: 'LicenseServerEndpointId')
|
53
|
+
LicenseServerEndpointList = Shapes::ListShape.new(name: 'LicenseServerEndpointList')
|
54
|
+
LicenseServerEndpointProvisioningStatus = Shapes::StringShape.new(name: 'LicenseServerEndpointProvisioningStatus')
|
55
|
+
LicenseServerHealthStatus = Shapes::StringShape.new(name: 'LicenseServerHealthStatus')
|
56
|
+
LicenseServerList = Shapes::ListShape.new(name: 'LicenseServerList')
|
57
|
+
LicenseServerSettings = Shapes::StructureShape.new(name: 'LicenseServerSettings')
|
37
58
|
ListIdentityProvidersRequest = Shapes::StructureShape.new(name: 'ListIdentityProvidersRequest')
|
38
59
|
ListIdentityProvidersResponse = Shapes::StructureShape.new(name: 'ListIdentityProvidersResponse')
|
39
60
|
ListInstancesRequest = Shapes::StructureShape.new(name: 'ListInstancesRequest')
|
40
61
|
ListInstancesResponse = Shapes::StructureShape.new(name: 'ListInstancesResponse')
|
62
|
+
ListLicenseServerEndpointsRequest = Shapes::StructureShape.new(name: 'ListLicenseServerEndpointsRequest')
|
63
|
+
ListLicenseServerEndpointsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListLicenseServerEndpointsRequestMaxResultsInteger')
|
64
|
+
ListLicenseServerEndpointsResponse = Shapes::StructureShape.new(name: 'ListLicenseServerEndpointsResponse')
|
41
65
|
ListProductSubscriptionsRequest = Shapes::StructureShape.new(name: 'ListProductSubscriptionsRequest')
|
42
66
|
ListProductSubscriptionsResponse = Shapes::StructureShape.new(name: 'ListProductSubscriptionsResponse')
|
67
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
68
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
43
69
|
ListUserAssociationsRequest = Shapes::StructureShape.new(name: 'ListUserAssociationsRequest')
|
44
70
|
ListUserAssociationsResponse = Shapes::StructureShape.new(name: 'ListUserAssociationsResponse')
|
45
71
|
ProductUserSummary = Shapes::StructureShape.new(name: 'ProductUserSummary')
|
46
72
|
ProductUserSummaryList = Shapes::ListShape.new(name: 'ProductUserSummaryList')
|
73
|
+
RdsSalSettings = Shapes::StructureShape.new(name: 'RdsSalSettings')
|
47
74
|
RegisterIdentityProviderRequest = Shapes::StructureShape.new(name: 'RegisterIdentityProviderRequest')
|
48
75
|
RegisterIdentityProviderResponse = Shapes::StructureShape.new(name: 'RegisterIdentityProviderResponse')
|
76
|
+
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
49
77
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
78
|
+
SecretsManagerCredentialsProvider = Shapes::StructureShape.new(name: 'SecretsManagerCredentialsProvider')
|
79
|
+
SecretsManagerCredentialsProviderSecretIdString = Shapes::StringShape.new(name: 'SecretsManagerCredentialsProviderSecretIdString')
|
50
80
|
SecurityGroup = Shapes::StringShape.new(name: 'SecurityGroup')
|
81
|
+
ServerEndpoint = Shapes::StructureShape.new(name: 'ServerEndpoint')
|
82
|
+
ServerSettings = Shapes::UnionShape.new(name: 'ServerSettings')
|
83
|
+
ServerType = Shapes::StringShape.new(name: 'ServerType')
|
51
84
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
52
85
|
Settings = Shapes::StructureShape.new(name: 'Settings')
|
53
86
|
SettingsSubnetsList = Shapes::ListShape.new(name: 'SettingsSubnetsList')
|
@@ -59,7 +92,14 @@ module Aws::LicenseManagerUserSubscriptions
|
|
59
92
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
60
93
|
Subnet = Shapes::StringShape.new(name: 'Subnet')
|
61
94
|
Subnets = Shapes::ListShape.new(name: 'Subnets')
|
95
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
96
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
97
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
98
|
+
Tags = Shapes::MapShape.new(name: 'Tags')
|
62
99
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
100
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
101
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
102
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
63
103
|
UpdateIdentityProviderSettingsRequest = Shapes::StructureShape.new(name: 'UpdateIdentityProviderSettingsRequest')
|
64
104
|
UpdateIdentityProviderSettingsResponse = Shapes::StructureShape.new(name: 'UpdateIdentityProviderSettingsResponse')
|
65
105
|
UpdateSettings = Shapes::StructureShape.new(name: 'UpdateSettings')
|
@@ -68,12 +108,23 @@ module Aws::LicenseManagerUserSubscriptions
|
|
68
108
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
69
109
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
70
110
|
|
71
|
-
ActiveDirectoryIdentityProvider.add_member(:
|
111
|
+
ActiveDirectoryIdentityProvider.add_member(:active_directory_settings, Shapes::ShapeRef.new(shape: ActiveDirectorySettings, location_name: "ActiveDirectorySettings"))
|
112
|
+
ActiveDirectoryIdentityProvider.add_member(:active_directory_type, Shapes::ShapeRef.new(shape: ActiveDirectoryType, location_name: "ActiveDirectoryType"))
|
113
|
+
ActiveDirectoryIdentityProvider.add_member(:directory_id, Shapes::ShapeRef.new(shape: Directory, location_name: "DirectoryId"))
|
72
114
|
ActiveDirectoryIdentityProvider.struct_class = Types::ActiveDirectoryIdentityProvider
|
73
115
|
|
116
|
+
ActiveDirectorySettings.add_member(:domain_credentials_provider, Shapes::ShapeRef.new(shape: CredentialsProvider, location_name: "DomainCredentialsProvider"))
|
117
|
+
ActiveDirectorySettings.add_member(:domain_ipv_4_list, Shapes::ShapeRef.new(shape: ActiveDirectorySettingsDomainIpv4ListList, location_name: "DomainIpv4List"))
|
118
|
+
ActiveDirectorySettings.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainName"))
|
119
|
+
ActiveDirectorySettings.add_member(:domain_network_settings, Shapes::ShapeRef.new(shape: DomainNetworkSettings, location_name: "DomainNetworkSettings"))
|
120
|
+
ActiveDirectorySettings.struct_class = Types::ActiveDirectorySettings
|
121
|
+
|
122
|
+
ActiveDirectorySettingsDomainIpv4ListList.member = Shapes::ShapeRef.new(shape: IpV4)
|
123
|
+
|
74
124
|
AssociateUserRequest.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "Domain"))
|
75
125
|
AssociateUserRequest.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, required: true, location_name: "IdentityProvider"))
|
76
126
|
AssociateUserRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceId"))
|
127
|
+
AssociateUserRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
77
128
|
AssociateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Username"))
|
78
129
|
AssociateUserRequest.struct_class = Types::AssociateUserRequest
|
79
130
|
|
@@ -83,22 +134,51 @@ module Aws::LicenseManagerUserSubscriptions
|
|
83
134
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
84
135
|
ConflictException.struct_class = Types::ConflictException
|
85
136
|
|
86
|
-
|
87
|
-
|
137
|
+
CreateLicenseServerEndpointRequest.add_member(:identity_provider_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "IdentityProviderArn"))
|
138
|
+
CreateLicenseServerEndpointRequest.add_member(:license_server_settings, Shapes::ShapeRef.new(shape: LicenseServerSettings, required: true, location_name: "LicenseServerSettings"))
|
139
|
+
CreateLicenseServerEndpointRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
140
|
+
CreateLicenseServerEndpointRequest.struct_class = Types::CreateLicenseServerEndpointRequest
|
141
|
+
|
142
|
+
CreateLicenseServerEndpointResponse.add_member(:identity_provider_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "IdentityProviderArn"))
|
143
|
+
CreateLicenseServerEndpointResponse.add_member(:license_server_endpoint_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "LicenseServerEndpointArn"))
|
144
|
+
CreateLicenseServerEndpointResponse.struct_class = Types::CreateLicenseServerEndpointResponse
|
145
|
+
|
146
|
+
CredentialsProvider.add_member(:secrets_manager_credentials_provider, Shapes::ShapeRef.new(shape: SecretsManagerCredentialsProvider, location_name: "SecretsManagerCredentialsProvider"))
|
147
|
+
CredentialsProvider.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
148
|
+
CredentialsProvider.add_member_subclass(:secrets_manager_credentials_provider, Types::CredentialsProvider::SecretsManagerCredentialsProvider)
|
149
|
+
CredentialsProvider.add_member_subclass(:unknown, Types::CredentialsProvider::Unknown)
|
150
|
+
CredentialsProvider.struct_class = Types::CredentialsProvider
|
151
|
+
|
152
|
+
DeleteLicenseServerEndpointRequest.add_member(:license_server_endpoint_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "LicenseServerEndpointArn"))
|
153
|
+
DeleteLicenseServerEndpointRequest.add_member(:server_type, Shapes::ShapeRef.new(shape: ServerType, required: true, location_name: "ServerType"))
|
154
|
+
DeleteLicenseServerEndpointRequest.struct_class = Types::DeleteLicenseServerEndpointRequest
|
155
|
+
|
156
|
+
DeleteLicenseServerEndpointResponse.add_member(:license_server_endpoint, Shapes::ShapeRef.new(shape: LicenseServerEndpoint, location_name: "LicenseServerEndpoint"))
|
157
|
+
DeleteLicenseServerEndpointResponse.struct_class = Types::DeleteLicenseServerEndpointResponse
|
158
|
+
|
159
|
+
DeregisterIdentityProviderRequest.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, location_name: "IdentityProvider"))
|
160
|
+
DeregisterIdentityProviderRequest.add_member(:identity_provider_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "IdentityProviderArn"))
|
161
|
+
DeregisterIdentityProviderRequest.add_member(:product, Shapes::ShapeRef.new(shape: String, location_name: "Product"))
|
88
162
|
DeregisterIdentityProviderRequest.struct_class = Types::DeregisterIdentityProviderRequest
|
89
163
|
|
90
164
|
DeregisterIdentityProviderResponse.add_member(:identity_provider_summary, Shapes::ShapeRef.new(shape: IdentityProviderSummary, required: true, location_name: "IdentityProviderSummary"))
|
91
165
|
DeregisterIdentityProviderResponse.struct_class = Types::DeregisterIdentityProviderResponse
|
92
166
|
|
93
167
|
DisassociateUserRequest.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "Domain"))
|
94
|
-
DisassociateUserRequest.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider,
|
95
|
-
DisassociateUserRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: String,
|
96
|
-
DisassociateUserRequest.add_member(:
|
168
|
+
DisassociateUserRequest.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, location_name: "IdentityProvider"))
|
169
|
+
DisassociateUserRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "InstanceId"))
|
170
|
+
DisassociateUserRequest.add_member(:instance_user_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "InstanceUserArn"))
|
171
|
+
DisassociateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "Username"))
|
97
172
|
DisassociateUserRequest.struct_class = Types::DisassociateUserRequest
|
98
173
|
|
99
174
|
DisassociateUserResponse.add_member(:instance_user_summary, Shapes::ShapeRef.new(shape: InstanceUserSummary, required: true, location_name: "InstanceUserSummary"))
|
100
175
|
DisassociateUserResponse.struct_class = Types::DisassociateUserResponse
|
101
176
|
|
177
|
+
DomainNetworkSettings.add_member(:subnets, Shapes::ShapeRef.new(shape: DomainNetworkSettingsSubnetsList, required: true, location_name: "Subnets"))
|
178
|
+
DomainNetworkSettings.struct_class = Types::DomainNetworkSettings
|
179
|
+
|
180
|
+
DomainNetworkSettingsSubnetsList.member = Shapes::ShapeRef.new(shape: Subnet)
|
181
|
+
|
102
182
|
Filter.add_member(:attribute, Shapes::ShapeRef.new(shape: String, location_name: "Attribute"))
|
103
183
|
Filter.add_member(:operation, Shapes::ShapeRef.new(shape: String, location_name: "Operation"))
|
104
184
|
Filter.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
@@ -114,6 +194,7 @@ module Aws::LicenseManagerUserSubscriptions
|
|
114
194
|
|
115
195
|
IdentityProviderSummary.add_member(:failure_message, Shapes::ShapeRef.new(shape: String, location_name: "FailureMessage"))
|
116
196
|
IdentityProviderSummary.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, required: true, location_name: "IdentityProvider"))
|
197
|
+
IdentityProviderSummary.add_member(:identity_provider_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "IdentityProviderArn"))
|
117
198
|
IdentityProviderSummary.add_member(:product, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Product"))
|
118
199
|
IdentityProviderSummary.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, required: true, location_name: "Settings"))
|
119
200
|
IdentityProviderSummary.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Status"))
|
@@ -135,6 +216,7 @@ module Aws::LicenseManagerUserSubscriptions
|
|
135
216
|
InstanceUserSummary.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "Domain"))
|
136
217
|
InstanceUserSummary.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, required: true, location_name: "IdentityProvider"))
|
137
218
|
InstanceUserSummary.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceId"))
|
219
|
+
InstanceUserSummary.add_member(:instance_user_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "InstanceUserArn"))
|
138
220
|
InstanceUserSummary.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Status"))
|
139
221
|
InstanceUserSummary.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
|
140
222
|
InstanceUserSummary.add_member(:username, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Username"))
|
@@ -145,6 +227,31 @@ module Aws::LicenseManagerUserSubscriptions
|
|
145
227
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
146
228
|
InternalServerException.struct_class = Types::InternalServerException
|
147
229
|
|
230
|
+
LicenseServer.add_member(:health_status, Shapes::ShapeRef.new(shape: LicenseServerHealthStatus, location_name: "HealthStatus"))
|
231
|
+
LicenseServer.add_member(:ipv_4_address, Shapes::ShapeRef.new(shape: String, location_name: "Ipv4Address"))
|
232
|
+
LicenseServer.add_member(:provisioning_status, Shapes::ShapeRef.new(shape: LicenseServerEndpointProvisioningStatus, location_name: "ProvisioningStatus"))
|
233
|
+
LicenseServer.struct_class = Types::LicenseServer
|
234
|
+
|
235
|
+
LicenseServerEndpoint.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
236
|
+
LicenseServerEndpoint.add_member(:identity_provider_arn, Shapes::ShapeRef.new(shape: String, location_name: "IdentityProviderArn"))
|
237
|
+
LicenseServerEndpoint.add_member(:license_server_endpoint_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "LicenseServerEndpointArn"))
|
238
|
+
LicenseServerEndpoint.add_member(:license_server_endpoint_id, Shapes::ShapeRef.new(shape: LicenseServerEndpointId, location_name: "LicenseServerEndpointId"))
|
239
|
+
LicenseServerEndpoint.add_member(:license_server_endpoint_provisioning_status, Shapes::ShapeRef.new(shape: LicenseServerEndpointProvisioningStatus, location_name: "LicenseServerEndpointProvisioningStatus"))
|
240
|
+
LicenseServerEndpoint.add_member(:license_servers, Shapes::ShapeRef.new(shape: LicenseServerList, location_name: "LicenseServers"))
|
241
|
+
LicenseServerEndpoint.add_member(:server_endpoint, Shapes::ShapeRef.new(shape: ServerEndpoint, location_name: "ServerEndpoint"))
|
242
|
+
LicenseServerEndpoint.add_member(:server_type, Shapes::ShapeRef.new(shape: ServerType, location_name: "ServerType"))
|
243
|
+
LicenseServerEndpoint.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
|
244
|
+
LicenseServerEndpoint.struct_class = Types::LicenseServerEndpoint
|
245
|
+
|
246
|
+
LicenseServerEndpointList.member = Shapes::ShapeRef.new(shape: LicenseServerEndpoint)
|
247
|
+
|
248
|
+
LicenseServerList.member = Shapes::ShapeRef.new(shape: LicenseServer)
|
249
|
+
|
250
|
+
LicenseServerSettings.add_member(:server_settings, Shapes::ShapeRef.new(shape: ServerSettings, required: true, location_name: "ServerSettings"))
|
251
|
+
LicenseServerSettings.add_member(:server_type, Shapes::ShapeRef.new(shape: ServerType, required: true, location_name: "ServerType"))
|
252
|
+
LicenseServerSettings.struct_class = Types::LicenseServerSettings
|
253
|
+
|
254
|
+
ListIdentityProvidersRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
148
255
|
ListIdentityProvidersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxInteger, location_name: "MaxResults"))
|
149
256
|
ListIdentityProvidersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
150
257
|
ListIdentityProvidersRequest.struct_class = Types::ListIdentityProvidersRequest
|
@@ -162,17 +269,32 @@ module Aws::LicenseManagerUserSubscriptions
|
|
162
269
|
ListInstancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
163
270
|
ListInstancesResponse.struct_class = Types::ListInstancesResponse
|
164
271
|
|
272
|
+
ListLicenseServerEndpointsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
273
|
+
ListLicenseServerEndpointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLicenseServerEndpointsRequestMaxResultsInteger, location_name: "MaxResults"))
|
274
|
+
ListLicenseServerEndpointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
275
|
+
ListLicenseServerEndpointsRequest.struct_class = Types::ListLicenseServerEndpointsRequest
|
276
|
+
|
277
|
+
ListLicenseServerEndpointsResponse.add_member(:license_server_endpoints, Shapes::ShapeRef.new(shape: LicenseServerEndpointList, location_name: "LicenseServerEndpoints"))
|
278
|
+
ListLicenseServerEndpointsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
279
|
+
ListLicenseServerEndpointsResponse.struct_class = Types::ListLicenseServerEndpointsResponse
|
280
|
+
|
165
281
|
ListProductSubscriptionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
166
282
|
ListProductSubscriptionsRequest.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, required: true, location_name: "IdentityProvider"))
|
167
283
|
ListProductSubscriptionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxInteger, location_name: "MaxResults"))
|
168
284
|
ListProductSubscriptionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
169
|
-
ListProductSubscriptionsRequest.add_member(:product, Shapes::ShapeRef.new(shape: String,
|
285
|
+
ListProductSubscriptionsRequest.add_member(:product, Shapes::ShapeRef.new(shape: String, location_name: "Product"))
|
170
286
|
ListProductSubscriptionsRequest.struct_class = Types::ListProductSubscriptionsRequest
|
171
287
|
|
172
288
|
ListProductSubscriptionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
173
289
|
ListProductSubscriptionsResponse.add_member(:product_user_summaries, Shapes::ShapeRef.new(shape: ProductUserSummaryList, location_name: "ProductUserSummaries"))
|
174
290
|
ListProductSubscriptionsResponse.struct_class = Types::ListProductSubscriptionsResponse
|
175
291
|
|
292
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
293
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
294
|
+
|
295
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
296
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
297
|
+
|
176
298
|
ListUserAssociationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
177
299
|
ListUserAssociationsRequest.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, required: true, location_name: "IdentityProvider"))
|
178
300
|
ListUserAssociationsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceId"))
|
@@ -187,6 +309,7 @@ module Aws::LicenseManagerUserSubscriptions
|
|
187
309
|
ProductUserSummary.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "Domain"))
|
188
310
|
ProductUserSummary.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, required: true, location_name: "IdentityProvider"))
|
189
311
|
ProductUserSummary.add_member(:product, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Product"))
|
312
|
+
ProductUserSummary.add_member(:product_user_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ProductUserArn"))
|
190
313
|
ProductUserSummary.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Status"))
|
191
314
|
ProductUserSummary.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
|
192
315
|
ProductUserSummary.add_member(:subscription_end_date, Shapes::ShapeRef.new(shape: String, location_name: "SubscriptionEndDate"))
|
@@ -196,9 +319,13 @@ module Aws::LicenseManagerUserSubscriptions
|
|
196
319
|
|
197
320
|
ProductUserSummaryList.member = Shapes::ShapeRef.new(shape: ProductUserSummary)
|
198
321
|
|
322
|
+
RdsSalSettings.add_member(:rds_sal_credentials_provider, Shapes::ShapeRef.new(shape: CredentialsProvider, required: true, location_name: "RdsSalCredentialsProvider"))
|
323
|
+
RdsSalSettings.struct_class = Types::RdsSalSettings
|
324
|
+
|
199
325
|
RegisterIdentityProviderRequest.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, required: true, location_name: "IdentityProvider"))
|
200
326
|
RegisterIdentityProviderRequest.add_member(:product, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Product"))
|
201
327
|
RegisterIdentityProviderRequest.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "Settings"))
|
328
|
+
RegisterIdentityProviderRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
202
329
|
RegisterIdentityProviderRequest.struct_class = Types::RegisterIdentityProviderRequest
|
203
330
|
|
204
331
|
RegisterIdentityProviderResponse.add_member(:identity_provider_summary, Shapes::ShapeRef.new(shape: IdentityProviderSummary, required: true, location_name: "IdentityProviderSummary"))
|
@@ -207,6 +334,18 @@ module Aws::LicenseManagerUserSubscriptions
|
|
207
334
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
208
335
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
209
336
|
|
337
|
+
SecretsManagerCredentialsProvider.add_member(:secret_id, Shapes::ShapeRef.new(shape: SecretsManagerCredentialsProviderSecretIdString, location_name: "SecretId"))
|
338
|
+
SecretsManagerCredentialsProvider.struct_class = Types::SecretsManagerCredentialsProvider
|
339
|
+
|
340
|
+
ServerEndpoint.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "Endpoint"))
|
341
|
+
ServerEndpoint.struct_class = Types::ServerEndpoint
|
342
|
+
|
343
|
+
ServerSettings.add_member(:rds_sal_settings, Shapes::ShapeRef.new(shape: RdsSalSettings, location_name: "RdsSalSettings"))
|
344
|
+
ServerSettings.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
345
|
+
ServerSettings.add_member_subclass(:rds_sal_settings, Types::ServerSettings::RdsSalSettings)
|
346
|
+
ServerSettings.add_member_subclass(:unknown, Types::ServerSettings::Unknown)
|
347
|
+
ServerSettings.struct_class = Types::ServerSettings
|
348
|
+
|
210
349
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
211
350
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
212
351
|
|
@@ -219,6 +358,7 @@ module Aws::LicenseManagerUserSubscriptions
|
|
219
358
|
StartProductSubscriptionRequest.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "Domain"))
|
220
359
|
StartProductSubscriptionRequest.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, required: true, location_name: "IdentityProvider"))
|
221
360
|
StartProductSubscriptionRequest.add_member(:product, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Product"))
|
361
|
+
StartProductSubscriptionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
222
362
|
StartProductSubscriptionRequest.add_member(:username, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Username"))
|
223
363
|
StartProductSubscriptionRequest.struct_class = Types::StartProductSubscriptionRequest
|
224
364
|
|
@@ -226,9 +366,10 @@ module Aws::LicenseManagerUserSubscriptions
|
|
226
366
|
StartProductSubscriptionResponse.struct_class = Types::StartProductSubscriptionResponse
|
227
367
|
|
228
368
|
StopProductSubscriptionRequest.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "Domain"))
|
229
|
-
StopProductSubscriptionRequest.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider,
|
230
|
-
StopProductSubscriptionRequest.add_member(:product, Shapes::ShapeRef.new(shape: String,
|
231
|
-
StopProductSubscriptionRequest.add_member(:
|
369
|
+
StopProductSubscriptionRequest.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, location_name: "IdentityProvider"))
|
370
|
+
StopProductSubscriptionRequest.add_member(:product, Shapes::ShapeRef.new(shape: String, location_name: "Product"))
|
371
|
+
StopProductSubscriptionRequest.add_member(:product_user_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ProductUserArn"))
|
372
|
+
StopProductSubscriptionRequest.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "Username"))
|
232
373
|
StopProductSubscriptionRequest.struct_class = Types::StopProductSubscriptionRequest
|
233
374
|
|
234
375
|
StopProductSubscriptionResponse.add_member(:product_user_summary, Shapes::ShapeRef.new(shape: ProductUserSummary, required: true, location_name: "ProductUserSummary"))
|
@@ -238,11 +379,29 @@ module Aws::LicenseManagerUserSubscriptions
|
|
238
379
|
|
239
380
|
Subnets.member = Shapes::ShapeRef.new(shape: Subnet)
|
240
381
|
|
382
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: String)
|
383
|
+
|
384
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
385
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
|
386
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
387
|
+
|
388
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
389
|
+
|
390
|
+
Tags.key = Shapes::ShapeRef.new(shape: String)
|
391
|
+
Tags.value = Shapes::ShapeRef.new(shape: String)
|
392
|
+
|
241
393
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
242
394
|
ThrottlingException.struct_class = Types::ThrottlingException
|
243
395
|
|
244
|
-
|
245
|
-
|
396
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
397
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
398
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
399
|
+
|
400
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
401
|
+
|
402
|
+
UpdateIdentityProviderSettingsRequest.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, location_name: "IdentityProvider"))
|
403
|
+
UpdateIdentityProviderSettingsRequest.add_member(:identity_provider_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "IdentityProviderArn"))
|
404
|
+
UpdateIdentityProviderSettingsRequest.add_member(:product, Shapes::ShapeRef.new(shape: String, location_name: "Product"))
|
246
405
|
UpdateIdentityProviderSettingsRequest.add_member(:update_settings, Shapes::ShapeRef.new(shape: UpdateSettings, required: true, location_name: "UpdateSettings"))
|
247
406
|
UpdateIdentityProviderSettingsRequest.struct_class = Types::UpdateIdentityProviderSettingsRequest
|
248
407
|
|
@@ -265,9 +424,11 @@ module Aws::LicenseManagerUserSubscriptions
|
|
265
424
|
|
266
425
|
api.metadata = {
|
267
426
|
"apiVersion" => "2018-05-10",
|
427
|
+
"auth" => ["aws.auth#sigv4"],
|
268
428
|
"endpointPrefix" => "license-manager-user-subscriptions",
|
269
429
|
"jsonVersion" => "1.1",
|
270
430
|
"protocol" => "rest-json",
|
431
|
+
"protocols" => ["rest-json"],
|
271
432
|
"serviceFullName" => "AWS License Manager User Subscriptions",
|
272
433
|
"serviceId" => "License Manager User Subscriptions",
|
273
434
|
"signatureVersion" => "v4",
|
@@ -290,6 +451,36 @@ module Aws::LicenseManagerUserSubscriptions
|
|
290
451
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
291
452
|
end)
|
292
453
|
|
454
|
+
api.add_operation(:create_license_server_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
455
|
+
o.name = "CreateLicenseServerEndpoint"
|
456
|
+
o.http_method = "POST"
|
457
|
+
o.http_request_uri = "/license-server/CreateLicenseServerEndpoint"
|
458
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLicenseServerEndpointRequest)
|
459
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLicenseServerEndpointResponse)
|
460
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
461
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
462
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
467
|
+
end)
|
468
|
+
|
469
|
+
api.add_operation(:delete_license_server_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
470
|
+
o.name = "DeleteLicenseServerEndpoint"
|
471
|
+
o.http_method = "POST"
|
472
|
+
o.http_request_uri = "/license-server/DeleteLicenseServerEndpoint"
|
473
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteLicenseServerEndpointRequest)
|
474
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteLicenseServerEndpointResponse)
|
475
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
476
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
477
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
478
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
479
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
480
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
481
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
482
|
+
end)
|
483
|
+
|
293
484
|
api.add_operation(:deregister_identity_provider, Seahorse::Model::Operation.new.tap do |o|
|
294
485
|
o.name = "DeregisterIdentityProvider"
|
295
486
|
o.http_method = "POST"
|
@@ -362,6 +553,26 @@ module Aws::LicenseManagerUserSubscriptions
|
|
362
553
|
)
|
363
554
|
end)
|
364
555
|
|
556
|
+
api.add_operation(:list_license_server_endpoints, Seahorse::Model::Operation.new.tap do |o|
|
557
|
+
o.name = "ListLicenseServerEndpoints"
|
558
|
+
o.http_method = "POST"
|
559
|
+
o.http_request_uri = "/license-server/ListLicenseServerEndpoints"
|
560
|
+
o.input = Shapes::ShapeRef.new(shape: ListLicenseServerEndpointsRequest)
|
561
|
+
o.output = Shapes::ShapeRef.new(shape: ListLicenseServerEndpointsResponse)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
565
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
566
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
567
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
568
|
+
o[:pager] = Aws::Pager.new(
|
569
|
+
limit_key: "max_results",
|
570
|
+
tokens: {
|
571
|
+
"next_token" => "next_token"
|
572
|
+
}
|
573
|
+
)
|
574
|
+
end)
|
575
|
+
|
365
576
|
api.add_operation(:list_product_subscriptions, Seahorse::Model::Operation.new.tap do |o|
|
366
577
|
o.name = "ListProductSubscriptions"
|
367
578
|
o.http_method = "POST"
|
@@ -383,6 +594,17 @@ module Aws::LicenseManagerUserSubscriptions
|
|
383
594
|
)
|
384
595
|
end)
|
385
596
|
|
597
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
598
|
+
o.name = "ListTagsForResource"
|
599
|
+
o.http_method = "GET"
|
600
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
601
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
602
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
605
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
606
|
+
end)
|
607
|
+
|
386
608
|
api.add_operation(:list_user_associations, Seahorse::Model::Operation.new.tap do |o|
|
387
609
|
o.name = "ListUserAssociations"
|
388
610
|
o.http_method = "POST"
|
@@ -449,6 +671,27 @@ module Aws::LicenseManagerUserSubscriptions
|
|
449
671
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
450
672
|
end)
|
451
673
|
|
674
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
675
|
+
o.name = "TagResource"
|
676
|
+
o.http_method = "PUT"
|
677
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
678
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
679
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
682
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
683
|
+
end)
|
684
|
+
|
685
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
686
|
+
o.name = "UntagResource"
|
687
|
+
o.http_method = "DELETE"
|
688
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
689
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
690
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
691
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
693
|
+
end)
|
694
|
+
|
452
695
|
api.add_operation(:update_identity_provider_settings, Seahorse::Model::Operation.new.tap do |o|
|
453
696
|
o.name = "UpdateIdentityProviderSettings"
|
454
697
|
o.http_method = "POST"
|
@@ -52,15 +52,18 @@ module Aws::LicenseManagerUserSubscriptions
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
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
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
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
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|
@@ -32,7 +32,7 @@ module Aws::LicenseManagerUserSubscriptions
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://license-manager-user-subscriptions-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -12,126 +12,9 @@ module Aws::LicenseManagerUserSubscriptions
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
-
class AssociateUser
|
16
|
-
def self.build(context)
|
17
|
-
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
|
18
|
-
region: context.config.region,
|
19
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
20
|
-
use_fips: context.config.use_fips_endpoint,
|
21
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
22
|
-
)
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
class DeregisterIdentityProvider
|
27
|
-
def self.build(context)
|
28
|
-
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
|
29
|
-
region: context.config.region,
|
30
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
31
|
-
use_fips: context.config.use_fips_endpoint,
|
32
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
33
|
-
)
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
class DisassociateUser
|
38
|
-
def self.build(context)
|
39
|
-
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
|
40
|
-
region: context.config.region,
|
41
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
42
|
-
use_fips: context.config.use_fips_endpoint,
|
43
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
44
|
-
)
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
class ListIdentityProviders
|
49
|
-
def self.build(context)
|
50
|
-
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
|
51
|
-
region: context.config.region,
|
52
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
53
|
-
use_fips: context.config.use_fips_endpoint,
|
54
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
55
|
-
)
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
class ListInstances
|
60
|
-
def self.build(context)
|
61
|
-
Aws::LicenseManagerUserSubscriptions::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: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
66
|
-
)
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
class ListProductSubscriptions
|
71
|
-
def self.build(context)
|
72
|
-
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
|
73
|
-
region: context.config.region,
|
74
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
75
|
-
use_fips: context.config.use_fips_endpoint,
|
76
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
77
|
-
)
|
78
|
-
end
|
79
|
-
end
|
80
|
-
|
81
|
-
class ListUserAssociations
|
82
|
-
def self.build(context)
|
83
|
-
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
|
84
|
-
region: context.config.region,
|
85
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
86
|
-
use_fips: context.config.use_fips_endpoint,
|
87
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
88
|
-
)
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
class RegisterIdentityProvider
|
93
|
-
def self.build(context)
|
94
|
-
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
|
95
|
-
region: context.config.region,
|
96
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
97
|
-
use_fips: context.config.use_fips_endpoint,
|
98
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
99
|
-
)
|
100
|
-
end
|
101
|
-
end
|
102
15
|
|
103
|
-
|
104
|
-
|
105
|
-
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
|
106
|
-
region: context.config.region,
|
107
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
108
|
-
use_fips: context.config.use_fips_endpoint,
|
109
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
110
|
-
)
|
111
|
-
end
|
16
|
+
def self.parameters_for_operation(context)
|
17
|
+
Aws::LicenseManagerUserSubscriptions::EndpointParameters.create(context.config)
|
112
18
|
end
|
113
|
-
|
114
|
-
class StopProductSubscription
|
115
|
-
def self.build(context)
|
116
|
-
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
|
117
|
-
region: context.config.region,
|
118
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
119
|
-
use_fips: context.config.use_fips_endpoint,
|
120
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
121
|
-
)
|
122
|
-
end
|
123
|
-
end
|
124
|
-
|
125
|
-
class UpdateIdentityProviderSettings
|
126
|
-
def self.build(context)
|
127
|
-
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
|
128
|
-
region: context.config.region,
|
129
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
130
|
-
use_fips: context.config.use_fips_endpoint,
|
131
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
132
|
-
)
|
133
|
-
end
|
134
|
-
end
|
135
|
-
|
136
19
|
end
|
137
20
|
end
|