aws-sdk-worklink 1.7.0 → 1.8.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/lib/aws-sdk-worklink.rb +1 -1
- data/lib/aws-sdk-worklink/client.rb +121 -6
- data/lib/aws-sdk-worklink/client_api.rb +91 -2
- data/lib/aws-sdk-worklink/types.rb +172 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2958824ca6be5431d76ca5ea7def579611e0d3df
|
4
|
+
data.tar.gz: 1d0901668808e96994db9b599c0bb71ef79d7110
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2c6ccfed6dadae94fb58d47c334aa41107275da13e2399605614bc0f255fadc88c707ea9a898847ec2de2bda2a7d0730b4893e1bee292716ec55ac5750d9858
|
7
|
+
data.tar.gz: 623be34075679f6953767bdc163b1bbfaa7e36732dce68764776c37717771d318df2b09fb182e1820b178ca32ff4659879eb23e2944115e86cff94bfb0bc7b76
|
data/lib/aws-sdk-worklink.rb
CHANGED
@@ -258,13 +258,13 @@ module Aws::WorkLink
|
|
258
258
|
# @option params [required, String] :domain_name
|
259
259
|
# The fully qualified domain name (FQDN).
|
260
260
|
#
|
261
|
+
# @option params [String] :display_name
|
262
|
+
# The name to display.
|
263
|
+
#
|
261
264
|
# @option params [required, String] :acm_certificate_arn
|
262
265
|
# The ARN of an issued ACM certificate that is valid for the domain
|
263
266
|
# being associated.
|
264
267
|
#
|
265
|
-
# @option params [String] :display_name
|
266
|
-
# The name to display.
|
267
|
-
#
|
268
268
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
269
269
|
#
|
270
270
|
# @example Request syntax with placeholder values
|
@@ -272,8 +272,8 @@ module Aws::WorkLink
|
|
272
272
|
# resp = client.associate_domain({
|
273
273
|
# fleet_arn: "FleetArn", # required
|
274
274
|
# domain_name: "DomainName", # required
|
275
|
-
# acm_certificate_arn: "AcmCertificateArn", # required
|
276
275
|
# display_name: "DisplayName",
|
276
|
+
# acm_certificate_arn: "AcmCertificateArn", # required
|
277
277
|
# })
|
278
278
|
#
|
279
279
|
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateDomain AWS API Documentation
|
@@ -285,6 +285,45 @@ module Aws::WorkLink
|
|
285
285
|
req.send_request(options)
|
286
286
|
end
|
287
287
|
|
288
|
+
# Associates a website authorization provider with a specified fleet.
|
289
|
+
# This is used to authorize users against associated websites in the
|
290
|
+
# company network.
|
291
|
+
#
|
292
|
+
# @option params [required, String] :fleet_arn
|
293
|
+
# The ARN of the fleet.
|
294
|
+
#
|
295
|
+
# @option params [required, String] :authorization_provider_type
|
296
|
+
# The authorization provider type.
|
297
|
+
#
|
298
|
+
# @option params [String] :domain_name
|
299
|
+
# The domain name of the authorization provider. This applies only to
|
300
|
+
# SAML-based authorization providers.
|
301
|
+
#
|
302
|
+
# @return [Types::AssociateWebsiteAuthorizationProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
303
|
+
#
|
304
|
+
# * {Types::AssociateWebsiteAuthorizationProviderResponse#authorization_provider_id #authorization_provider_id} => String
|
305
|
+
#
|
306
|
+
# @example Request syntax with placeholder values
|
307
|
+
#
|
308
|
+
# resp = client.associate_website_authorization_provider({
|
309
|
+
# fleet_arn: "FleetArn", # required
|
310
|
+
# authorization_provider_type: "SAML", # required, accepts SAML
|
311
|
+
# domain_name: "DomainName",
|
312
|
+
# })
|
313
|
+
#
|
314
|
+
# @example Response structure
|
315
|
+
#
|
316
|
+
# resp.authorization_provider_id #=> String
|
317
|
+
#
|
318
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteAuthorizationProvider AWS API Documentation
|
319
|
+
#
|
320
|
+
# @overload associate_website_authorization_provider(params = {})
|
321
|
+
# @param [Hash] params ({})
|
322
|
+
def associate_website_authorization_provider(params = {}, options = {})
|
323
|
+
req = build_request(:associate_website_authorization_provider, params)
|
324
|
+
req.send_request(options)
|
325
|
+
end
|
326
|
+
|
288
327
|
# Imports the root certificate of a certificate authority (CA) used to
|
289
328
|
# obtain TLS certificates used by associated websites within the company
|
290
329
|
# network.
|
@@ -536,9 +575,11 @@ module Aws::WorkLink
|
|
536
575
|
#
|
537
576
|
# @return [Types::DescribeDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
538
577
|
#
|
578
|
+
# * {Types::DescribeDomainResponse#domain_name #domain_name} => String
|
539
579
|
# * {Types::DescribeDomainResponse#display_name #display_name} => String
|
540
580
|
# * {Types::DescribeDomainResponse#created_time #created_time} => Time
|
541
581
|
# * {Types::DescribeDomainResponse#domain_status #domain_status} => String
|
582
|
+
# * {Types::DescribeDomainResponse#acm_certificate_arn #acm_certificate_arn} => String
|
542
583
|
#
|
543
584
|
# @example Request syntax with placeholder values
|
544
585
|
#
|
@@ -549,9 +590,11 @@ module Aws::WorkLink
|
|
549
590
|
#
|
550
591
|
# @example Response structure
|
551
592
|
#
|
593
|
+
# resp.domain_name #=> String
|
552
594
|
# resp.display_name #=> String
|
553
595
|
# resp.created_time #=> Time
|
554
596
|
# resp.domain_status #=> String, one of "PENDING_VALIDATION", "ASSOCIATING", "ACTIVE", "INACTIVE", "DISASSOCIATING", "DISASSOCIATED", "FAILED_TO_ASSOCIATE", "FAILED_TO_DISASSOCIATE"
|
597
|
+
# resp.acm_certificate_arn #=> String
|
555
598
|
#
|
556
599
|
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDomain AWS API Documentation
|
557
600
|
#
|
@@ -698,6 +741,34 @@ module Aws::WorkLink
|
|
698
741
|
req.send_request(options)
|
699
742
|
end
|
700
743
|
|
744
|
+
# Disassociates a website authorization provider from a specified fleet.
|
745
|
+
# After the disassociation, users can't load any associated websites
|
746
|
+
# that require this authorization provider.
|
747
|
+
#
|
748
|
+
# @option params [required, String] :fleet_arn
|
749
|
+
# The ARN of the fleet.
|
750
|
+
#
|
751
|
+
# @option params [required, String] :authorization_provider_id
|
752
|
+
# A unique identifier for the authorization provider.
|
753
|
+
#
|
754
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
755
|
+
#
|
756
|
+
# @example Request syntax with placeholder values
|
757
|
+
#
|
758
|
+
# resp = client.disassociate_website_authorization_provider({
|
759
|
+
# fleet_arn: "FleetArn", # required
|
760
|
+
# authorization_provider_id: "Id", # required
|
761
|
+
# })
|
762
|
+
#
|
763
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteAuthorizationProvider AWS API Documentation
|
764
|
+
#
|
765
|
+
# @overload disassociate_website_authorization_provider(params = {})
|
766
|
+
# @param [Hash] params ({})
|
767
|
+
def disassociate_website_authorization_provider(params = {}, options = {})
|
768
|
+
req = build_request(:disassociate_website_authorization_provider, params)
|
769
|
+
req.send_request(options)
|
770
|
+
end
|
771
|
+
|
701
772
|
# Removes a certificate authority (CA).
|
702
773
|
#
|
703
774
|
# @option params [required, String] :fleet_arn
|
@@ -794,9 +865,9 @@ module Aws::WorkLink
|
|
794
865
|
#
|
795
866
|
# resp.domains #=> Array
|
796
867
|
# resp.domains[0].domain_name #=> String
|
868
|
+
# resp.domains[0].display_name #=> String
|
797
869
|
# resp.domains[0].created_time #=> Time
|
798
870
|
# resp.domains[0].domain_status #=> String, one of "PENDING_VALIDATION", "ASSOCIATING", "ACTIVE", "INACTIVE", "DISASSOCIATING", "DISASSOCIATED", "FAILED_TO_ASSOCIATE", "FAILED_TO_DISASSOCIATE"
|
799
|
-
# resp.domains[0].display_name #=> String
|
800
871
|
# resp.next_token #=> String
|
801
872
|
#
|
802
873
|
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDomains AWS API Documentation
|
@@ -850,6 +921,50 @@ module Aws::WorkLink
|
|
850
921
|
req.send_request(options)
|
851
922
|
end
|
852
923
|
|
924
|
+
# Retrieves a list of website authorization providers associated with a
|
925
|
+
# specified fleet.
|
926
|
+
#
|
927
|
+
# @option params [required, String] :fleet_arn
|
928
|
+
# The ARN of the fleet.
|
929
|
+
#
|
930
|
+
# @option params [String] :next_token
|
931
|
+
# The pagination token to use to retrieve the next page of results for
|
932
|
+
# this operation. If this value is null, it retrieves the first page.
|
933
|
+
#
|
934
|
+
# @option params [Integer] :max_results
|
935
|
+
# The maximum number of results to be included in the next page.
|
936
|
+
#
|
937
|
+
# @return [Types::ListWebsiteAuthorizationProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
938
|
+
#
|
939
|
+
# * {Types::ListWebsiteAuthorizationProvidersResponse#website_authorization_providers #website_authorization_providers} => Array<Types::WebsiteAuthorizationProviderSummary>
|
940
|
+
# * {Types::ListWebsiteAuthorizationProvidersResponse#next_token #next_token} => String
|
941
|
+
#
|
942
|
+
# @example Request syntax with placeholder values
|
943
|
+
#
|
944
|
+
# resp = client.list_website_authorization_providers({
|
945
|
+
# fleet_arn: "FleetArn", # required
|
946
|
+
# next_token: "NextToken",
|
947
|
+
# max_results: 1,
|
948
|
+
# })
|
949
|
+
#
|
950
|
+
# @example Response structure
|
951
|
+
#
|
952
|
+
# resp.website_authorization_providers #=> Array
|
953
|
+
# resp.website_authorization_providers[0].authorization_provider_id #=> String
|
954
|
+
# resp.website_authorization_providers[0].authorization_provider_type #=> String, one of "SAML"
|
955
|
+
# resp.website_authorization_providers[0].domain_name #=> String
|
956
|
+
# resp.website_authorization_providers[0].created_time #=> Time
|
957
|
+
# resp.next_token #=> String
|
958
|
+
#
|
959
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteAuthorizationProviders AWS API Documentation
|
960
|
+
#
|
961
|
+
# @overload list_website_authorization_providers(params = {})
|
962
|
+
# @param [Hash] params ({})
|
963
|
+
def list_website_authorization_providers(params = {}, options = {})
|
964
|
+
req = build_request(:list_website_authorization_providers, params)
|
965
|
+
req.send_request(options)
|
966
|
+
end
|
967
|
+
|
853
968
|
# Retrieves a list of certificate authorities added for the current
|
854
969
|
# account and Region.
|
855
970
|
#
|
@@ -1170,7 +1285,7 @@ module Aws::WorkLink
|
|
1170
1285
|
params: params,
|
1171
1286
|
config: config)
|
1172
1287
|
context[:gem_name] = 'aws-sdk-worklink'
|
1173
|
-
context[:gem_version] = '1.
|
1288
|
+
context[:gem_version] = '1.8.0'
|
1174
1289
|
Seahorse::Client::Request.new(handlers, context)
|
1175
1290
|
end
|
1176
1291
|
|
@@ -14,9 +14,12 @@ module Aws::WorkLink
|
|
14
14
|
AcmCertificateArn = Shapes::StringShape.new(name: 'AcmCertificateArn')
|
15
15
|
AssociateDomainRequest = Shapes::StructureShape.new(name: 'AssociateDomainRequest')
|
16
16
|
AssociateDomainResponse = Shapes::StructureShape.new(name: 'AssociateDomainResponse')
|
17
|
+
AssociateWebsiteAuthorizationProviderRequest = Shapes::StructureShape.new(name: 'AssociateWebsiteAuthorizationProviderRequest')
|
18
|
+
AssociateWebsiteAuthorizationProviderResponse = Shapes::StructureShape.new(name: 'AssociateWebsiteAuthorizationProviderResponse')
|
17
19
|
AssociateWebsiteCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'AssociateWebsiteCertificateAuthorityRequest')
|
18
20
|
AssociateWebsiteCertificateAuthorityResponse = Shapes::StructureShape.new(name: 'AssociateWebsiteCertificateAuthorityResponse')
|
19
21
|
AuditStreamArn = Shapes::StringShape.new(name: 'AuditStreamArn')
|
22
|
+
AuthorizationProviderType = Shapes::StringShape.new(name: 'AuthorizationProviderType')
|
20
23
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
21
24
|
Certificate = Shapes::StringShape.new(name: 'Certificate')
|
22
25
|
CertificateChain = Shapes::StringShape.new(name: 'CertificateChain')
|
@@ -52,6 +55,8 @@ module Aws::WorkLink
|
|
52
55
|
DeviceSummaryList = Shapes::ListShape.new(name: 'DeviceSummaryList')
|
53
56
|
DisassociateDomainRequest = Shapes::StructureShape.new(name: 'DisassociateDomainRequest')
|
54
57
|
DisassociateDomainResponse = Shapes::StructureShape.new(name: 'DisassociateDomainResponse')
|
58
|
+
DisassociateWebsiteAuthorizationProviderRequest = Shapes::StructureShape.new(name: 'DisassociateWebsiteAuthorizationProviderRequest')
|
59
|
+
DisassociateWebsiteAuthorizationProviderResponse = Shapes::StructureShape.new(name: 'DisassociateWebsiteAuthorizationProviderResponse')
|
55
60
|
DisassociateWebsiteCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'DisassociateWebsiteCertificateAuthorityRequest')
|
56
61
|
DisassociateWebsiteCertificateAuthorityResponse = Shapes::StructureShape.new(name: 'DisassociateWebsiteCertificateAuthorityResponse')
|
57
62
|
DisplayName = Shapes::StringShape.new(name: 'DisplayName')
|
@@ -75,6 +80,8 @@ module Aws::WorkLink
|
|
75
80
|
ListDomainsResponse = Shapes::StructureShape.new(name: 'ListDomainsResponse')
|
76
81
|
ListFleetsRequest = Shapes::StructureShape.new(name: 'ListFleetsRequest')
|
77
82
|
ListFleetsResponse = Shapes::StructureShape.new(name: 'ListFleetsResponse')
|
83
|
+
ListWebsiteAuthorizationProvidersRequest = Shapes::StructureShape.new(name: 'ListWebsiteAuthorizationProvidersRequest')
|
84
|
+
ListWebsiteAuthorizationProvidersResponse = Shapes::StructureShape.new(name: 'ListWebsiteAuthorizationProvidersResponse')
|
78
85
|
ListWebsiteCertificateAuthoritiesRequest = Shapes::StructureShape.new(name: 'ListWebsiteCertificateAuthoritiesRequest')
|
79
86
|
ListWebsiteCertificateAuthoritiesResponse = Shapes::StructureShape.new(name: 'ListWebsiteCertificateAuthoritiesResponse')
|
80
87
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
@@ -108,17 +115,27 @@ module Aws::WorkLink
|
|
108
115
|
UpdateIdentityProviderConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateIdentityProviderConfigurationResponse')
|
109
116
|
Username = Shapes::StringShape.new(name: 'Username')
|
110
117
|
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
118
|
+
WebsiteAuthorizationProviderSummary = Shapes::StructureShape.new(name: 'WebsiteAuthorizationProviderSummary')
|
119
|
+
WebsiteAuthorizationProvidersSummaryList = Shapes::ListShape.new(name: 'WebsiteAuthorizationProvidersSummaryList')
|
111
120
|
WebsiteCaSummary = Shapes::StructureShape.new(name: 'WebsiteCaSummary')
|
112
121
|
WebsiteCaSummaryList = Shapes::ListShape.new(name: 'WebsiteCaSummaryList')
|
113
122
|
|
114
123
|
AssociateDomainRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
|
115
124
|
AssociateDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
|
116
|
-
AssociateDomainRequest.add_member(:acm_certificate_arn, Shapes::ShapeRef.new(shape: AcmCertificateArn, required: true, location_name: "AcmCertificateArn"))
|
117
125
|
AssociateDomainRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
|
126
|
+
AssociateDomainRequest.add_member(:acm_certificate_arn, Shapes::ShapeRef.new(shape: AcmCertificateArn, required: true, location_name: "AcmCertificateArn"))
|
118
127
|
AssociateDomainRequest.struct_class = Types::AssociateDomainRequest
|
119
128
|
|
120
129
|
AssociateDomainResponse.struct_class = Types::AssociateDomainResponse
|
121
130
|
|
131
|
+
AssociateWebsiteAuthorizationProviderRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
|
132
|
+
AssociateWebsiteAuthorizationProviderRequest.add_member(:authorization_provider_type, Shapes::ShapeRef.new(shape: AuthorizationProviderType, required: true, location_name: "AuthorizationProviderType"))
|
133
|
+
AssociateWebsiteAuthorizationProviderRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
|
134
|
+
AssociateWebsiteAuthorizationProviderRequest.struct_class = Types::AssociateWebsiteAuthorizationProviderRequest
|
135
|
+
|
136
|
+
AssociateWebsiteAuthorizationProviderResponse.add_member(:authorization_provider_id, Shapes::ShapeRef.new(shape: Id, location_name: "AuthorizationProviderId"))
|
137
|
+
AssociateWebsiteAuthorizationProviderResponse.struct_class = Types::AssociateWebsiteAuthorizationProviderResponse
|
138
|
+
|
122
139
|
AssociateWebsiteCertificateAuthorityRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
|
123
140
|
AssociateWebsiteCertificateAuthorityRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: Certificate, required: true, location_name: "Certificate"))
|
124
141
|
AssociateWebsiteCertificateAuthorityRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
|
@@ -179,9 +196,11 @@ module Aws::WorkLink
|
|
179
196
|
DescribeDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
|
180
197
|
DescribeDomainRequest.struct_class = Types::DescribeDomainRequest
|
181
198
|
|
199
|
+
DescribeDomainResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
|
182
200
|
DescribeDomainResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
|
183
201
|
DescribeDomainResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime"))
|
184
202
|
DescribeDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DomainStatus"))
|
203
|
+
DescribeDomainResponse.add_member(:acm_certificate_arn, Shapes::ShapeRef.new(shape: AcmCertificateArn, location_name: "AcmCertificateArn"))
|
185
204
|
DescribeDomainResponse.struct_class = Types::DescribeDomainResponse
|
186
205
|
|
187
206
|
DescribeFleetMetadataRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
|
@@ -225,6 +244,12 @@ module Aws::WorkLink
|
|
225
244
|
|
226
245
|
DisassociateDomainResponse.struct_class = Types::DisassociateDomainResponse
|
227
246
|
|
247
|
+
DisassociateWebsiteAuthorizationProviderRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
|
248
|
+
DisassociateWebsiteAuthorizationProviderRequest.add_member(:authorization_provider_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "AuthorizationProviderId"))
|
249
|
+
DisassociateWebsiteAuthorizationProviderRequest.struct_class = Types::DisassociateWebsiteAuthorizationProviderRequest
|
250
|
+
|
251
|
+
DisassociateWebsiteAuthorizationProviderResponse.struct_class = Types::DisassociateWebsiteAuthorizationProviderResponse
|
252
|
+
|
228
253
|
DisassociateWebsiteCertificateAuthorityRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
|
229
254
|
DisassociateWebsiteCertificateAuthorityRequest.add_member(:website_ca_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "WebsiteCaId"))
|
230
255
|
DisassociateWebsiteCertificateAuthorityRequest.struct_class = Types::DisassociateWebsiteCertificateAuthorityRequest
|
@@ -232,9 +257,9 @@ module Aws::WorkLink
|
|
232
257
|
DisassociateWebsiteCertificateAuthorityResponse.struct_class = Types::DisassociateWebsiteCertificateAuthorityResponse
|
233
258
|
|
234
259
|
DomainSummary.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
|
260
|
+
DomainSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
|
235
261
|
DomainSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "CreatedTime"))
|
236
262
|
DomainSummary.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, required: true, location_name: "DomainStatus"))
|
237
|
-
DomainSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
|
238
263
|
DomainSummary.struct_class = Types::DomainSummary
|
239
264
|
|
240
265
|
DomainSummaryList.member = Shapes::ShapeRef.new(shape: DomainSummary)
|
@@ -282,6 +307,15 @@ module Aws::WorkLink
|
|
282
307
|
ListFleetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
283
308
|
ListFleetsResponse.struct_class = Types::ListFleetsResponse
|
284
309
|
|
310
|
+
ListWebsiteAuthorizationProvidersRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
|
311
|
+
ListWebsiteAuthorizationProvidersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
312
|
+
ListWebsiteAuthorizationProvidersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
313
|
+
ListWebsiteAuthorizationProvidersRequest.struct_class = Types::ListWebsiteAuthorizationProvidersRequest
|
314
|
+
|
315
|
+
ListWebsiteAuthorizationProvidersResponse.add_member(:website_authorization_providers, Shapes::ShapeRef.new(shape: WebsiteAuthorizationProvidersSummaryList, location_name: "WebsiteAuthorizationProviders"))
|
316
|
+
ListWebsiteAuthorizationProvidersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
317
|
+
ListWebsiteAuthorizationProvidersResponse.struct_class = Types::ListWebsiteAuthorizationProvidersResponse
|
318
|
+
|
285
319
|
ListWebsiteCertificateAuthoritiesRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
|
286
320
|
ListWebsiteCertificateAuthoritiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
287
321
|
ListWebsiteCertificateAuthoritiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
@@ -366,6 +400,14 @@ module Aws::WorkLink
|
|
366
400
|
|
367
401
|
UpdateIdentityProviderConfigurationResponse.struct_class = Types::UpdateIdentityProviderConfigurationResponse
|
368
402
|
|
403
|
+
WebsiteAuthorizationProviderSummary.add_member(:authorization_provider_id, Shapes::ShapeRef.new(shape: Id, location_name: "AuthorizationProviderId"))
|
404
|
+
WebsiteAuthorizationProviderSummary.add_member(:authorization_provider_type, Shapes::ShapeRef.new(shape: AuthorizationProviderType, required: true, location_name: "AuthorizationProviderType"))
|
405
|
+
WebsiteAuthorizationProviderSummary.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
|
406
|
+
WebsiteAuthorizationProviderSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime"))
|
407
|
+
WebsiteAuthorizationProviderSummary.struct_class = Types::WebsiteAuthorizationProviderSummary
|
408
|
+
|
409
|
+
WebsiteAuthorizationProvidersSummaryList.member = Shapes::ShapeRef.new(shape: WebsiteAuthorizationProviderSummary)
|
410
|
+
|
369
411
|
WebsiteCaSummary.add_member(:website_ca_id, Shapes::ShapeRef.new(shape: Id, location_name: "WebsiteCaId"))
|
370
412
|
WebsiteCaSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime"))
|
371
413
|
WebsiteCaSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
|
@@ -406,6 +448,20 @@ module Aws::WorkLink
|
|
406
448
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
407
449
|
end)
|
408
450
|
|
451
|
+
api.add_operation(:associate_website_authorization_provider, Seahorse::Model::Operation.new.tap do |o|
|
452
|
+
o.name = "AssociateWebsiteAuthorizationProvider"
|
453
|
+
o.http_method = "POST"
|
454
|
+
o.http_request_uri = "/associateWebsiteAuthorizationProvider"
|
455
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateWebsiteAuthorizationProviderRequest)
|
456
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateWebsiteAuthorizationProviderResponse)
|
457
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
458
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
459
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
460
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
461
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
462
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
463
|
+
end)
|
464
|
+
|
409
465
|
api.add_operation(:associate_website_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
410
466
|
o.name = "AssociateWebsiteCertificateAuthority"
|
411
467
|
o.http_method = "POST"
|
@@ -564,6 +620,20 @@ module Aws::WorkLink
|
|
564
620
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
565
621
|
end)
|
566
622
|
|
623
|
+
api.add_operation(:disassociate_website_authorization_provider, Seahorse::Model::Operation.new.tap do |o|
|
624
|
+
o.name = "DisassociateWebsiteAuthorizationProvider"
|
625
|
+
o.http_method = "POST"
|
626
|
+
o.http_request_uri = "/disassociateWebsiteAuthorizationProvider"
|
627
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateWebsiteAuthorizationProviderRequest)
|
628
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateWebsiteAuthorizationProviderResponse)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
634
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
635
|
+
end)
|
636
|
+
|
567
637
|
api.add_operation(:disassociate_website_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
568
638
|
o.name = "DisassociateWebsiteCertificateAuthority"
|
569
639
|
o.http_method = "POST"
|
@@ -632,6 +702,25 @@ module Aws::WorkLink
|
|
632
702
|
)
|
633
703
|
end)
|
634
704
|
|
705
|
+
api.add_operation(:list_website_authorization_providers, Seahorse::Model::Operation.new.tap do |o|
|
706
|
+
o.name = "ListWebsiteAuthorizationProviders"
|
707
|
+
o.http_method = "POST"
|
708
|
+
o.http_request_uri = "/listWebsiteAuthorizationProviders"
|
709
|
+
o.input = Shapes::ShapeRef.new(shape: ListWebsiteAuthorizationProvidersRequest)
|
710
|
+
o.output = Shapes::ShapeRef.new(shape: ListWebsiteAuthorizationProvidersResponse)
|
711
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
712
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
713
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
714
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
715
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
716
|
+
o[:pager] = Aws::Pager.new(
|
717
|
+
limit_key: "max_results",
|
718
|
+
tokens: {
|
719
|
+
"next_token" => "next_token"
|
720
|
+
}
|
721
|
+
)
|
722
|
+
end)
|
723
|
+
|
635
724
|
api.add_operation(:list_website_certificate_authorities, Seahorse::Model::Operation.new.tap do |o|
|
636
725
|
o.name = "ListWebsiteCertificateAuthorities"
|
637
726
|
o.http_method = "POST"
|
@@ -14,8 +14,8 @@ module Aws::WorkLink
|
|
14
14
|
# {
|
15
15
|
# fleet_arn: "FleetArn", # required
|
16
16
|
# domain_name: "DomainName", # required
|
17
|
-
# acm_certificate_arn: "AcmCertificateArn", # required
|
18
17
|
# display_name: "DisplayName",
|
18
|
+
# acm_certificate_arn: "AcmCertificateArn", # required
|
19
19
|
# }
|
20
20
|
#
|
21
21
|
# @!attribute [rw] fleet_arn
|
@@ -26,22 +26,22 @@ module Aws::WorkLink
|
|
26
26
|
# The fully qualified domain name (FQDN).
|
27
27
|
# @return [String]
|
28
28
|
#
|
29
|
+
# @!attribute [rw] display_name
|
30
|
+
# The name to display.
|
31
|
+
# @return [String]
|
32
|
+
#
|
29
33
|
# @!attribute [rw] acm_certificate_arn
|
30
34
|
# The ARN of an issued ACM certificate that is valid for the domain
|
31
35
|
# being associated.
|
32
36
|
# @return [String]
|
33
37
|
#
|
34
|
-
# @!attribute [rw] display_name
|
35
|
-
# The name to display.
|
36
|
-
# @return [String]
|
37
|
-
#
|
38
38
|
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateDomainRequest AWS API Documentation
|
39
39
|
#
|
40
40
|
class AssociateDomainRequest < Struct.new(
|
41
41
|
:fleet_arn,
|
42
42
|
:domain_name,
|
43
|
-
:
|
44
|
-
:
|
43
|
+
:display_name,
|
44
|
+
:acm_certificate_arn)
|
45
45
|
include Aws::Structure
|
46
46
|
end
|
47
47
|
|
@@ -49,6 +49,48 @@ module Aws::WorkLink
|
|
49
49
|
#
|
50
50
|
class AssociateDomainResponse < Aws::EmptyStructure; end
|
51
51
|
|
52
|
+
# @note When making an API call, you may pass AssociateWebsiteAuthorizationProviderRequest
|
53
|
+
# data as a hash:
|
54
|
+
#
|
55
|
+
# {
|
56
|
+
# fleet_arn: "FleetArn", # required
|
57
|
+
# authorization_provider_type: "SAML", # required, accepts SAML
|
58
|
+
# domain_name: "DomainName",
|
59
|
+
# }
|
60
|
+
#
|
61
|
+
# @!attribute [rw] fleet_arn
|
62
|
+
# The ARN of the fleet.
|
63
|
+
# @return [String]
|
64
|
+
#
|
65
|
+
# @!attribute [rw] authorization_provider_type
|
66
|
+
# The authorization provider type.
|
67
|
+
# @return [String]
|
68
|
+
#
|
69
|
+
# @!attribute [rw] domain_name
|
70
|
+
# The domain name of the authorization provider. This applies only to
|
71
|
+
# SAML-based authorization providers.
|
72
|
+
# @return [String]
|
73
|
+
#
|
74
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteAuthorizationProviderRequest AWS API Documentation
|
75
|
+
#
|
76
|
+
class AssociateWebsiteAuthorizationProviderRequest < Struct.new(
|
77
|
+
:fleet_arn,
|
78
|
+
:authorization_provider_type,
|
79
|
+
:domain_name)
|
80
|
+
include Aws::Structure
|
81
|
+
end
|
82
|
+
|
83
|
+
# @!attribute [rw] authorization_provider_id
|
84
|
+
# A unique identifier for the authorization provider.
|
85
|
+
# @return [String]
|
86
|
+
#
|
87
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteAuthorizationProviderResponse AWS API Documentation
|
88
|
+
#
|
89
|
+
class AssociateWebsiteAuthorizationProviderResponse < Struct.new(
|
90
|
+
:authorization_provider_id)
|
91
|
+
include Aws::Structure
|
92
|
+
end
|
93
|
+
|
52
94
|
# @note When making an API call, you may pass AssociateWebsiteCertificateAuthorityRequest
|
53
95
|
# data as a hash:
|
54
96
|
#
|
@@ -355,6 +397,10 @@ module Aws::WorkLink
|
|
355
397
|
include Aws::Structure
|
356
398
|
end
|
357
399
|
|
400
|
+
# @!attribute [rw] domain_name
|
401
|
+
# The name of the domain.
|
402
|
+
# @return [String]
|
403
|
+
#
|
358
404
|
# @!attribute [rw] display_name
|
359
405
|
# The name to display.
|
360
406
|
# @return [String]
|
@@ -367,12 +413,19 @@ module Aws::WorkLink
|
|
367
413
|
# The current state for the domain.
|
368
414
|
# @return [String]
|
369
415
|
#
|
416
|
+
# @!attribute [rw] acm_certificate_arn
|
417
|
+
# The ARN of an issued ACM certificate that is valid for the domain
|
418
|
+
# being associated.
|
419
|
+
# @return [String]
|
420
|
+
#
|
370
421
|
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDomainResponse AWS API Documentation
|
371
422
|
#
|
372
423
|
class DescribeDomainResponse < Struct.new(
|
424
|
+
:domain_name,
|
373
425
|
:display_name,
|
374
426
|
:created_time,
|
375
|
-
:domain_status
|
427
|
+
:domain_status,
|
428
|
+
:acm_certificate_arn)
|
376
429
|
include Aws::Structure
|
377
430
|
end
|
378
431
|
|
@@ -567,6 +620,34 @@ module Aws::WorkLink
|
|
567
620
|
#
|
568
621
|
class DisassociateDomainResponse < Aws::EmptyStructure; end
|
569
622
|
|
623
|
+
# @note When making an API call, you may pass DisassociateWebsiteAuthorizationProviderRequest
|
624
|
+
# data as a hash:
|
625
|
+
#
|
626
|
+
# {
|
627
|
+
# fleet_arn: "FleetArn", # required
|
628
|
+
# authorization_provider_id: "Id", # required
|
629
|
+
# }
|
630
|
+
#
|
631
|
+
# @!attribute [rw] fleet_arn
|
632
|
+
# The ARN of the fleet.
|
633
|
+
# @return [String]
|
634
|
+
#
|
635
|
+
# @!attribute [rw] authorization_provider_id
|
636
|
+
# A unique identifier for the authorization provider.
|
637
|
+
# @return [String]
|
638
|
+
#
|
639
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteAuthorizationProviderRequest AWS API Documentation
|
640
|
+
#
|
641
|
+
class DisassociateWebsiteAuthorizationProviderRequest < Struct.new(
|
642
|
+
:fleet_arn,
|
643
|
+
:authorization_provider_id)
|
644
|
+
include Aws::Structure
|
645
|
+
end
|
646
|
+
|
647
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteAuthorizationProviderResponse AWS API Documentation
|
648
|
+
#
|
649
|
+
class DisassociateWebsiteAuthorizationProviderResponse < Aws::EmptyStructure; end
|
650
|
+
|
570
651
|
# @note When making an API call, you may pass DisassociateWebsiteCertificateAuthorityRequest
|
571
652
|
# data as a hash:
|
572
653
|
#
|
@@ -601,6 +682,10 @@ module Aws::WorkLink
|
|
601
682
|
# The name of the domain.
|
602
683
|
# @return [String]
|
603
684
|
#
|
685
|
+
# @!attribute [rw] display_name
|
686
|
+
# The name to display.
|
687
|
+
# @return [String]
|
688
|
+
#
|
604
689
|
# @!attribute [rw] created_time
|
605
690
|
# The time that the domain was created.
|
606
691
|
# @return [Time]
|
@@ -609,17 +694,13 @@ module Aws::WorkLink
|
|
609
694
|
# The status of the domain.
|
610
695
|
# @return [String]
|
611
696
|
#
|
612
|
-
# @!attribute [rw] display_name
|
613
|
-
# The name to display.
|
614
|
-
# @return [String]
|
615
|
-
#
|
616
697
|
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DomainSummary AWS API Documentation
|
617
698
|
#
|
618
699
|
class DomainSummary < Struct.new(
|
619
700
|
:domain_name,
|
701
|
+
:display_name,
|
620
702
|
:created_time,
|
621
|
-
:domain_status
|
622
|
-
:display_name)
|
703
|
+
:domain_status)
|
623
704
|
include Aws::Structure
|
624
705
|
end
|
625
706
|
|
@@ -828,6 +909,54 @@ module Aws::WorkLink
|
|
828
909
|
include Aws::Structure
|
829
910
|
end
|
830
911
|
|
912
|
+
# @note When making an API call, you may pass ListWebsiteAuthorizationProvidersRequest
|
913
|
+
# data as a hash:
|
914
|
+
#
|
915
|
+
# {
|
916
|
+
# fleet_arn: "FleetArn", # required
|
917
|
+
# next_token: "NextToken",
|
918
|
+
# max_results: 1,
|
919
|
+
# }
|
920
|
+
#
|
921
|
+
# @!attribute [rw] fleet_arn
|
922
|
+
# The ARN of the fleet.
|
923
|
+
# @return [String]
|
924
|
+
#
|
925
|
+
# @!attribute [rw] next_token
|
926
|
+
# The pagination token to use to retrieve the next page of results for
|
927
|
+
# this operation. If this value is null, it retrieves the first page.
|
928
|
+
# @return [String]
|
929
|
+
#
|
930
|
+
# @!attribute [rw] max_results
|
931
|
+
# The maximum number of results to be included in the next page.
|
932
|
+
# @return [Integer]
|
933
|
+
#
|
934
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteAuthorizationProvidersRequest AWS API Documentation
|
935
|
+
#
|
936
|
+
class ListWebsiteAuthorizationProvidersRequest < Struct.new(
|
937
|
+
:fleet_arn,
|
938
|
+
:next_token,
|
939
|
+
:max_results)
|
940
|
+
include Aws::Structure
|
941
|
+
end
|
942
|
+
|
943
|
+
# @!attribute [rw] website_authorization_providers
|
944
|
+
# The website authorization providers.
|
945
|
+
# @return [Array<Types::WebsiteAuthorizationProviderSummary>]
|
946
|
+
#
|
947
|
+
# @!attribute [rw] next_token
|
948
|
+
# The pagination token to use to retrieve the next page of results for
|
949
|
+
# this operation. If this value is null, it retrieves the first page.
|
950
|
+
# @return [String]
|
951
|
+
#
|
952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteAuthorizationProvidersResponse AWS API Documentation
|
953
|
+
#
|
954
|
+
class ListWebsiteAuthorizationProvidersResponse < Struct.new(
|
955
|
+
:website_authorization_providers,
|
956
|
+
:next_token)
|
957
|
+
include Aws::Structure
|
958
|
+
end
|
959
|
+
|
831
960
|
# @note When making an API call, you may pass ListWebsiteCertificateAuthoritiesRequest
|
832
961
|
# data as a hash:
|
833
962
|
#
|
@@ -1215,6 +1344,35 @@ module Aws::WorkLink
|
|
1215
1344
|
#
|
1216
1345
|
class UpdateIdentityProviderConfigurationResponse < Aws::EmptyStructure; end
|
1217
1346
|
|
1347
|
+
# The summary of the website authorization provider.
|
1348
|
+
#
|
1349
|
+
# @!attribute [rw] authorization_provider_id
|
1350
|
+
# A unique identifier for the authorization provider.
|
1351
|
+
# @return [String]
|
1352
|
+
#
|
1353
|
+
# @!attribute [rw] authorization_provider_type
|
1354
|
+
# The authorization provider type.
|
1355
|
+
# @return [String]
|
1356
|
+
#
|
1357
|
+
# @!attribute [rw] domain_name
|
1358
|
+
# The domain name of the authorization provider. This applies only to
|
1359
|
+
# SAML-based authorization providers.
|
1360
|
+
# @return [String]
|
1361
|
+
#
|
1362
|
+
# @!attribute [rw] created_time
|
1363
|
+
# The time of creation.
|
1364
|
+
# @return [Time]
|
1365
|
+
#
|
1366
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/WebsiteAuthorizationProviderSummary AWS API Documentation
|
1367
|
+
#
|
1368
|
+
class WebsiteAuthorizationProviderSummary < Struct.new(
|
1369
|
+
:authorization_provider_id,
|
1370
|
+
:authorization_provider_type,
|
1371
|
+
:domain_name,
|
1372
|
+
:created_time)
|
1373
|
+
include Aws::Structure
|
1374
|
+
end
|
1375
|
+
|
1218
1376
|
# The summary of the certificate authority (CA).
|
1219
1377
|
#
|
1220
1378
|
# @!attribute [rw] website_ca_id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-worklink
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.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: 2019-05-
|
11
|
+
date: 2019-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|