Class: Aws::WorkLink::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::WorkLink::Client
- Includes:
- ClientStubs
- Defined in:
- 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](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
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.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
440 441 442 |
# File 'lib/aws-sdk-worklink/client.rb', line 440 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1606 1607 1608 |
# File 'lib/aws-sdk-worklink/client.rb', line 1606 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1609 1610 1611 |
# File 'lib/aws-sdk-worklink/client.rb', line 1609 def errors_module Errors end |
Instance Method Details
#associate_domain(params = {}) ⇒ Struct
Specifies a domain to be associated to Amazon WorkLink.
476 477 478 479 |
# File 'lib/aws-sdk-worklink/client.rb', line 476 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.
515 516 517 518 |
# File 'lib/aws-sdk-worklink/client.rb', line 515 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.
553 554 555 556 |
# File 'lib/aws-sdk-worklink/client.rb', line 553 def (params = {}, = {}) req = build_request(:associate_website_certificate_authority, params) req.send_request() end |
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 |
# File 'lib/aws-sdk-worklink/client.rb', line 1579 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::WorkLink') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-worklink' context[:gem_version] = '1.55.0' Seahorse::Client::Request.new(handlers, context) 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.
599 600 601 602 |
# File 'lib/aws-sdk-worklink/client.rb', line 599 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.
622 623 624 625 |
# File 'lib/aws-sdk-worklink/client.rb', line 622 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.
651 652 653 654 |
# File 'lib/aws-sdk-worklink/client.rb', line 651 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.
686 687 688 689 |
# File 'lib/aws-sdk-worklink/client.rb', line 686 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.
734 735 736 737 |
# File 'lib/aws-sdk-worklink/client.rb', line 734 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.
762 763 764 765 |
# File 'lib/aws-sdk-worklink/client.rb', line 762 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.
802 803 804 805 |
# File 'lib/aws-sdk-worklink/client.rb', line 802 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.
846 847 848 849 |
# File 'lib/aws-sdk-worklink/client.rb', line 846 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.
878 879 880 881 |
# File 'lib/aws-sdk-worklink/client.rb', line 878 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.
914 915 916 917 |
# File 'lib/aws-sdk-worklink/client.rb', line 914 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.
941 942 943 944 |
# File 'lib/aws-sdk-worklink/client.rb', line 941 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.
969 970 971 972 |
# File 'lib/aws-sdk-worklink/client.rb', line 969 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).
995 996 997 998 |
# File 'lib/aws-sdk-worklink/client.rb', line 995 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.
1038 1039 1040 1041 |
# File 'lib/aws-sdk-worklink/client.rb', line 1038 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.
1083 1084 1085 1086 |
# File 'lib/aws-sdk-worklink/client.rb', line 1083 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.
1129 1130 1131 1132 |
# File 'lib/aws-sdk-worklink/client.rb', line 1129 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.
1158 1159 1160 1161 |
# File 'lib/aws-sdk-worklink/client.rb', line 1158 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.
1204 1205 1206 1207 |
# File 'lib/aws-sdk-worklink/client.rb', line 1204 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.
1249 1250 1251 1252 |
# File 'lib/aws-sdk-worklink/client.rb', line 1249 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.
1275 1276 1277 1278 |
# File 'lib/aws-sdk-worklink/client.rb', line 1275 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.
1301 1302 1303 1304 |
# File 'lib/aws-sdk-worklink/client.rb', line 1301 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.
1328 1329 1330 1331 |
# File 'lib/aws-sdk-worklink/client.rb', line 1328 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.
1359 1360 1361 1362 |
# File 'lib/aws-sdk-worklink/client.rb', line 1359 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.
1385 1386 1387 1388 |
# File 'lib/aws-sdk-worklink/client.rb', line 1385 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.
1412 1413 1414 1415 |
# File 'lib/aws-sdk-worklink/client.rb', line 1412 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.
1447 1448 1449 1450 |
# File 'lib/aws-sdk-worklink/client.rb', line 1447 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.
1475 1476 1477 1478 |
# File 'lib/aws-sdk-worklink/client.rb', line 1475 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.
1505 1506 1507 1508 |
# File 'lib/aws-sdk-worklink/client.rb', line 1505 def (params = {}, = {}) req = build_request(:update_domain_metadata, params) req.send_request() end |
#update_fleet_metadata(params = {}) ⇒ Struct
Updates fleet metadata, such as DisplayName.
1538 1539 1540 1541 |
# File 'lib/aws-sdk-worklink/client.rb', line 1538 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.
1570 1571 1572 1573 |
# File 'lib/aws-sdk-worklink/client.rb', line 1570 def update_identity_provider_configuration(params = {}, = {}) req = build_request(:update_identity_provider_configuration, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1599 1600 1601 |
# File 'lib/aws-sdk-worklink/client.rb', line 1599 def waiter_names [] end |