Class: Aws::WorkLink::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::WorkLink::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb
Overview
An API client for WorkLink. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::WorkLink::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#associate_domain(params = {}) ⇒ Struct
Specifies a domain to be associated to Amazon WorkLink.
-
#associate_website_authorization_provider(params = {}) ⇒ Types::AssociateWebsiteAuthorizationProviderResponse
Associates a website authorization provider with a specified fleet.
-
#associate_website_certificate_authority(params = {}) ⇒ Types::AssociateWebsiteCertificateAuthorityResponse
Imports the root certificate of a certificate authority (CA) used to obtain TLS certificates used by associated websites within the company network.
-
#create_fleet(params = {}) ⇒ Types::CreateFleetResponse
Creates a fleet.
-
#delete_fleet(params = {}) ⇒ Struct
Deletes a fleet.
-
#describe_audit_stream_configuration(params = {}) ⇒ Types::DescribeAuditStreamConfigurationResponse
Describes the configuration for delivering audit streams to the customer account.
-
#describe_company_network_configuration(params = {}) ⇒ Types::DescribeCompanyNetworkConfigurationResponse
Describes the networking configuration to access the internal websites associated with the specified fleet.
-
#describe_device(params = {}) ⇒ Types::DescribeDeviceResponse
Provides information about a user's device.
-
#describe_device_policy_configuration(params = {}) ⇒ Types::DescribeDevicePolicyConfigurationResponse
Describes the device policy configuration for the specified fleet.
-
#describe_domain(params = {}) ⇒ Types::DescribeDomainResponse
Provides information about the domain.
-
#describe_fleet_metadata(params = {}) ⇒ Types::DescribeFleetMetadataResponse
Provides basic information for the specified fleet, excluding identity provider, networking, and device configuration details.
-
#describe_identity_provider_configuration(params = {}) ⇒ Types::DescribeIdentityProviderConfigurationResponse
Describes the identity provider configuration of the specified fleet.
-
#describe_website_certificate_authority(params = {}) ⇒ Types::DescribeWebsiteCertificateAuthorityResponse
Provides information about the certificate authority.
-
#disassociate_domain(params = {}) ⇒ Struct
Disassociates a domain from Amazon WorkLink.
-
#disassociate_website_authorization_provider(params = {}) ⇒ Struct
Disassociates a website authorization provider from a specified fleet.
-
#disassociate_website_certificate_authority(params = {}) ⇒ Struct
Removes a certificate authority (CA).
-
#list_devices(params = {}) ⇒ Types::ListDevicesResponse
Retrieves a list of devices registered with the specified fleet.
-
#list_domains(params = {}) ⇒ Types::ListDomainsResponse
Retrieves a list of domains associated to a specified fleet.
-
#list_fleets(params = {}) ⇒ Types::ListFleetsResponse
Retrieves a list of fleets for the current account and Region.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Retrieves a list of tags for the specified resource.
-
#list_website_authorization_providers(params = {}) ⇒ Types::ListWebsiteAuthorizationProvidersResponse
Retrieves a list of website authorization providers associated with a specified fleet.
-
#list_website_certificate_authorities(params = {}) ⇒ Types::ListWebsiteCertificateAuthoritiesResponse
Retrieves a list of certificate authorities added for the current account and Region.
-
#restore_domain_access(params = {}) ⇒ Struct
Moves a domain to ACTIVE status if it was in the INACTIVE status.
-
#revoke_domain_access(params = {}) ⇒ Struct
Moves a domain to INACTIVE status if it was in the ACTIVE status.
-
#sign_out_user(params = {}) ⇒ Struct
Signs the user out from all of their devices.
-
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites one or more tags for the specified resource, such as a fleet.
-
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from the specified resource.
-
#update_audit_stream_configuration(params = {}) ⇒ Struct
Updates the audit stream configuration for the fleet.
-
#update_company_network_configuration(params = {}) ⇒ Struct
Updates the company network configuration for the fleet.
-
#update_device_policy_configuration(params = {}) ⇒ Struct
Updates the device policy configuration for the fleet.
-
#update_domain_metadata(params = {}) ⇒ Struct
Updates domain metadata, such as DisplayName.
-
#update_fleet_metadata(params = {}) ⇒ Struct
Updates fleet metadata, such as DisplayName.
-
#update_identity_provider_configuration(params = {}) ⇒ Struct
Updates the identity provider configuration for the fleet.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
348 349 350 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 348 def initialize(*args) super end |
Instance Method Details
#associate_domain(params = {}) ⇒ Struct
Specifies a domain to be associated to Amazon WorkLink.
384 385 386 387 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 384 def associate_domain(params = {}, = {}) req = build_request(:associate_domain, params) req.send_request() end |
#associate_website_authorization_provider(params = {}) ⇒ Types::AssociateWebsiteAuthorizationProviderResponse
Associates a website authorization provider with a specified fleet. This is used to authorize users against associated websites in the company network.
423 424 425 426 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 423 def (params = {}, = {}) req = build_request(:associate_website_authorization_provider, params) req.send_request() end |
#associate_website_certificate_authority(params = {}) ⇒ Types::AssociateWebsiteCertificateAuthorityResponse
Imports the root certificate of a certificate authority (CA) used to obtain TLS certificates used by associated websites within the company network.
461 462 463 464 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 461 def (params = {}, = {}) req = build_request(:associate_website_certificate_authority, params) req.send_request() end |
#create_fleet(params = {}) ⇒ Types::CreateFleetResponse
Creates a fleet. A fleet consists of resources and the configuration that delivers associated websites to authorized users who download and set up the Amazon WorkLink app.
507 508 509 510 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 507 def create_fleet(params = {}, = {}) req = build_request(:create_fleet, params) req.send_request() end |
#delete_fleet(params = {}) ⇒ Struct
Deletes a fleet. Prevents users from accessing previously associated websites.
530 531 532 533 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 530 def delete_fleet(params = {}, = {}) req = build_request(:delete_fleet, params) req.send_request() end |
#describe_audit_stream_configuration(params = {}) ⇒ Types::DescribeAuditStreamConfigurationResponse
Describes the configuration for delivering audit streams to the customer account.
559 560 561 562 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 559 def describe_audit_stream_configuration(params = {}, = {}) req = build_request(:describe_audit_stream_configuration, params) req.send_request() end |
#describe_company_network_configuration(params = {}) ⇒ Types::DescribeCompanyNetworkConfigurationResponse
Describes the networking configuration to access the internal websites associated with the specified fleet.
594 595 596 597 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 594 def describe_company_network_configuration(params = {}, = {}) req = build_request(:describe_company_network_configuration, params) req.send_request() end |
#describe_device(params = {}) ⇒ Types::DescribeDeviceResponse
Provides information about a user's device.
642 643 644 645 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 642 def describe_device(params = {}, = {}) req = build_request(:describe_device, params) req.send_request() end |
#describe_device_policy_configuration(params = {}) ⇒ Types::DescribeDevicePolicyConfigurationResponse
Describes the device policy configuration for the specified fleet.
670 671 672 673 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 670 def describe_device_policy_configuration(params = {}, = {}) req = build_request(:describe_device_policy_configuration, params) req.send_request() end |
#describe_domain(params = {}) ⇒ Types::DescribeDomainResponse
Provides information about the domain.
710 711 712 713 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 710 def describe_domain(params = {}, = {}) req = build_request(:describe_domain, params) req.send_request() end |
#describe_fleet_metadata(params = {}) ⇒ Types::DescribeFleetMetadataResponse
Provides basic information for the specified fleet, excluding identity provider, networking, and device configuration details.
754 755 756 757 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 754 def (params = {}, = {}) req = build_request(:describe_fleet_metadata, params) req.send_request() end |
#describe_identity_provider_configuration(params = {}) ⇒ Types::DescribeIdentityProviderConfigurationResponse
Describes the identity provider configuration of the specified fleet.
786 787 788 789 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 786 def describe_identity_provider_configuration(params = {}, = {}) req = build_request(:describe_identity_provider_configuration, params) req.send_request() end |
#describe_website_certificate_authority(params = {}) ⇒ Types::DescribeWebsiteCertificateAuthorityResponse
Provides information about the certificate authority.
822 823 824 825 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 822 def (params = {}, = {}) req = build_request(:describe_website_certificate_authority, params) req.send_request() end |
#disassociate_domain(params = {}) ⇒ Struct
Disassociates a domain from Amazon WorkLink. End users lose the ability to access the domain with Amazon WorkLink.
849 850 851 852 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 849 def disassociate_domain(params = {}, = {}) req = build_request(:disassociate_domain, params) req.send_request() end |
#disassociate_website_authorization_provider(params = {}) ⇒ Struct
Disassociates a website authorization provider from a specified fleet. After the disassociation, users can't load any associated websites that require this authorization provider.
877 878 879 880 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 877 def (params = {}, = {}) req = build_request(:disassociate_website_authorization_provider, params) req.send_request() end |
#disassociate_website_certificate_authority(params = {}) ⇒ Struct
Removes a certificate authority (CA).
903 904 905 906 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 903 def (params = {}, = {}) req = build_request(:disassociate_website_certificate_authority, params) req.send_request() end |
#list_devices(params = {}) ⇒ Types::ListDevicesResponse
Retrieves a list of devices registered with the specified fleet.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
946 947 948 949 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 946 def list_devices(params = {}, = {}) req = build_request(:list_devices, params) req.send_request() end |
#list_domains(params = {}) ⇒ Types::ListDomainsResponse
Retrieves a list of domains associated to a specified fleet.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
991 992 993 994 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 991 def list_domains(params = {}, = {}) req = build_request(:list_domains, params) req.send_request() end |
#list_fleets(params = {}) ⇒ Types::ListFleetsResponse
Retrieves a list of fleets for the current account and Region.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1037 1038 1039 1040 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1037 def list_fleets(params = {}, = {}) req = build_request(:list_fleets, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Retrieves a list of tags for the specified resource.
1066 1067 1068 1069 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1066 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_website_authorization_providers(params = {}) ⇒ Types::ListWebsiteAuthorizationProvidersResponse
Retrieves a list of website authorization providers associated with a specified fleet.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1112 1113 1114 1115 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1112 def (params = {}, = {}) req = build_request(:list_website_authorization_providers, params) req.send_request() end |
#list_website_certificate_authorities(params = {}) ⇒ Types::ListWebsiteCertificateAuthoritiesResponse
Retrieves a list of certificate authorities added for the current account and Region.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1157 1158 1159 1160 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1157 def (params = {}, = {}) req = build_request(:list_website_certificate_authorities, params) req.send_request() end |
#restore_domain_access(params = {}) ⇒ Struct
Moves a domain to ACTIVE status if it was in the INACTIVE status.
1183 1184 1185 1186 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1183 def restore_domain_access(params = {}, = {}) req = build_request(:restore_domain_access, params) req.send_request() end |
#revoke_domain_access(params = {}) ⇒ Struct
Moves a domain to INACTIVE status if it was in the ACTIVE status.
1209 1210 1211 1212 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1209 def revoke_domain_access(params = {}, = {}) req = build_request(:revoke_domain_access, params) req.send_request() end |
#sign_out_user(params = {}) ⇒ Struct
Signs the user out from all of their devices. The user can sign in again if they have valid credentials.
1236 1237 1238 1239 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1236 def sign_out_user(params = {}, = {}) req = build_request(:sign_out_user, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites one or more tags for the specified resource, such as a fleet. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.
1267 1268 1269 1270 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1267 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from the specified resource.
1293 1294 1295 1296 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1293 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_audit_stream_configuration(params = {}) ⇒ Struct
Updates the audit stream configuration for the fleet.
1320 1321 1322 1323 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1320 def update_audit_stream_configuration(params = {}, = {}) req = build_request(:update_audit_stream_configuration, params) req.send_request() end |
#update_company_network_configuration(params = {}) ⇒ Struct
Updates the company network configuration for the fleet.
1355 1356 1357 1358 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1355 def update_company_network_configuration(params = {}, = {}) req = build_request(:update_company_network_configuration, params) req.send_request() end |
#update_device_policy_configuration(params = {}) ⇒ Struct
Updates the device policy configuration for the fleet.
1383 1384 1385 1386 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1383 def update_device_policy_configuration(params = {}, = {}) req = build_request(:update_device_policy_configuration, params) req.send_request() end |
#update_domain_metadata(params = {}) ⇒ Struct
Updates domain metadata, such as DisplayName.
1413 1414 1415 1416 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1413 def (params = {}, = {}) req = build_request(:update_domain_metadata, params) req.send_request() end |
#update_fleet_metadata(params = {}) ⇒ Struct
Updates fleet metadata, such as DisplayName.
1446 1447 1448 1449 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1446 def (params = {}, = {}) req = build_request(:update_fleet_metadata, params) req.send_request() end |
#update_identity_provider_configuration(params = {}) ⇒ Struct
Updates the identity provider configuration for the fleet.
1478 1479 1480 1481 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1478 def update_identity_provider_configuration(params = {}, = {}) req = build_request(:update_identity_provider_configuration, params) req.send_request() end |