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.
385 386 387 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 385 def initialize(*args) super end |
Instance Method Details
#associate_domain(params = {}) ⇒ Struct
Specifies a domain to be associated to Amazon WorkLink.
421 422 423 424 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 421 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.
460 461 462 463 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 460 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.
498 499 500 501 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 498 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.
544 545 546 547 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 544 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.
567 568 569 570 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 567 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.
596 597 598 599 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 596 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.
631 632 633 634 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 631 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.
679 680 681 682 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 679 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.
707 708 709 710 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 707 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.
747 748 749 750 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 747 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.
791 792 793 794 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 791 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.
823 824 825 826 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 823 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.
859 860 861 862 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 859 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.
886 887 888 889 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 886 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.
914 915 916 917 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 914 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).
940 941 942 943 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 940 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.
983 984 985 986 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 983 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.
1028 1029 1030 1031 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1028 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.
1074 1075 1076 1077 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1074 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.
1103 1104 1105 1106 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1103 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.
1149 1150 1151 1152 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1149 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.
1194 1195 1196 1197 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1194 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.
1220 1221 1222 1223 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1220 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.
1246 1247 1248 1249 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1246 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.
1273 1274 1275 1276 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1273 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.
1304 1305 1306 1307 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1304 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.
1330 1331 1332 1333 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1330 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.
1357 1358 1359 1360 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1357 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.
1392 1393 1394 1395 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1392 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.
1420 1421 1422 1423 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1420 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.
1450 1451 1452 1453 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1450 def (params = {}, = {}) req = build_request(:update_domain_metadata, params) req.send_request() end |
#update_fleet_metadata(params = {}) ⇒ Struct
Updates fleet metadata, such as DisplayName.
1483 1484 1485 1486 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1483 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.
1515 1516 1517 1518 |
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb', line 1515 def update_identity_provider_configuration(params = {}, = {}) req = build_request(:update_identity_provider_configuration, params) req.send_request() end |