From 9c09d35bb83779ed320cdaa68a935962eb126189 Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Wed, 11 Sep 2024 18:26:57 -0400 Subject: [PATCH] Deprecate WorkLink 2 [two-way-validation skip] --- apis/worklink/2018-09-25/api-2.json | 1461 --------------- apis/worklink/2018-09-25/docs-2.json | 789 -------- .../2018-09-25/endpoint-rule-set-1.json | 314 ---- .../worklink/2018-09-25/endpoint-tests-1.json | 314 ---- apis/worklink/2018-09-25/examples-1.json | 5 - apis/worklink/2018-09-25/paginators-1.json | 29 - gems/aws-sdk-worklink/CHANGELOG.md | 292 --- gems/aws-sdk-worklink/LICENSE.txt | 202 --- gems/aws-sdk-worklink/VERSION | 1 - .../aws-sdk-worklink/aws-sdk-worklink.gemspec | 33 - gems/aws-sdk-worklink/features/env.rb | 18 - .../features/step_definitions.rb | 10 - gems/aws-sdk-worklink/lib/aws-sdk-worklink.rb | 57 - .../lib/aws-sdk-worklink/client.rb | 1615 ----------------- .../lib/aws-sdk-worklink/client_api.rb | 962 ---------- .../lib/aws-sdk-worklink/customizations.rb | 0 .../aws-sdk-worklink/endpoint_parameters.rb | 66 - .../lib/aws-sdk-worklink/endpoint_provider.rb | 54 - .../lib/aws-sdk-worklink/endpoints.rb | 379 ---- .../lib/aws-sdk-worklink/errors.rb | 134 -- .../lib/aws-sdk-worklink/plugins/endpoints.rb | 145 -- .../lib/aws-sdk-worklink/resource.rb | 26 - .../lib/aws-sdk-worklink/types.rb | 1292 ------------- gems/aws-sdk-worklink/sig/client.rbs | 464 ----- gems/aws-sdk-worklink/sig/errors.rbs | 34 - gems/aws-sdk-worklink/sig/resource.rbs | 81 - gems/aws-sdk-worklink/sig/types.rbs | 451 ----- gems/aws-sdk-worklink/sig/waiters.rbs | 13 - .../spec/endpoint_provider_spec.rb | 361 ---- gems/aws-sdk-worklink/spec/spec_helper.rb | 18 - services.json | 4 - 31 files changed, 9624 deletions(-) delete mode 100644 apis/worklink/2018-09-25/api-2.json delete mode 100644 apis/worklink/2018-09-25/docs-2.json delete mode 100644 apis/worklink/2018-09-25/endpoint-rule-set-1.json delete mode 100644 apis/worklink/2018-09-25/endpoint-tests-1.json delete mode 100644 apis/worklink/2018-09-25/examples-1.json delete mode 100644 apis/worklink/2018-09-25/paginators-1.json delete mode 100644 gems/aws-sdk-worklink/CHANGELOG.md delete mode 100644 gems/aws-sdk-worklink/LICENSE.txt delete mode 100644 gems/aws-sdk-worklink/VERSION delete mode 100644 gems/aws-sdk-worklink/aws-sdk-worklink.gemspec delete mode 100644 gems/aws-sdk-worklink/features/env.rb delete mode 100644 gems/aws-sdk-worklink/features/step_definitions.rb delete mode 100644 gems/aws-sdk-worklink/lib/aws-sdk-worklink.rb delete mode 100644 gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb delete mode 100644 gems/aws-sdk-worklink/lib/aws-sdk-worklink/client_api.rb delete mode 100644 gems/aws-sdk-worklink/lib/aws-sdk-worklink/customizations.rb delete mode 100644 gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoint_parameters.rb delete mode 100644 gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoint_provider.rb delete mode 100644 gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoints.rb delete mode 100644 gems/aws-sdk-worklink/lib/aws-sdk-worklink/errors.rb delete mode 100644 gems/aws-sdk-worklink/lib/aws-sdk-worklink/plugins/endpoints.rb delete mode 100644 gems/aws-sdk-worklink/lib/aws-sdk-worklink/resource.rb delete mode 100644 gems/aws-sdk-worklink/lib/aws-sdk-worklink/types.rb delete mode 100644 gems/aws-sdk-worklink/sig/client.rbs delete mode 100644 gems/aws-sdk-worklink/sig/errors.rbs delete mode 100644 gems/aws-sdk-worklink/sig/resource.rbs delete mode 100644 gems/aws-sdk-worklink/sig/types.rbs delete mode 100644 gems/aws-sdk-worklink/sig/waiters.rbs delete mode 100644 gems/aws-sdk-worklink/spec/endpoint_provider_spec.rb delete mode 100644 gems/aws-sdk-worklink/spec/spec_helper.rb diff --git a/apis/worklink/2018-09-25/api-2.json b/apis/worklink/2018-09-25/api-2.json deleted file mode 100644 index 99d110fefca..00000000000 --- a/apis/worklink/2018-09-25/api-2.json +++ /dev/null @@ -1,1461 +0,0 @@ -{ - "version":"2.0", - "metadata":{ - "apiVersion":"2018-09-25", - "endpointPrefix":"worklink", - "jsonVersion":"1.1", - "protocol":"rest-json", - "protocols":["rest-json"], - "serviceAbbreviation":"WorkLink", - "serviceFullName":"Amazon WorkLink", - "serviceId":"WorkLink", - "signatureVersion":"v4", - "signingName":"worklink", - "uid":"worklink-2018-09-25", - "auth":["aws.auth#sigv4"] - }, - "operations":{ - "AssociateDomain":{ - "name":"AssociateDomain", - "http":{ - "method":"POST", - "requestUri":"/associateDomain" - }, - "input":{"shape":"AssociateDomainRequest"}, - "output":{"shape":"AssociateDomainResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ResourceAlreadyExistsException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "AssociateWebsiteAuthorizationProvider":{ - "name":"AssociateWebsiteAuthorizationProvider", - "http":{ - "method":"POST", - "requestUri":"/associateWebsiteAuthorizationProvider" - }, - "input":{"shape":"AssociateWebsiteAuthorizationProviderRequest"}, - "output":{"shape":"AssociateWebsiteAuthorizationProviderResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ResourceAlreadyExistsException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "AssociateWebsiteCertificateAuthority":{ - "name":"AssociateWebsiteCertificateAuthority", - "http":{ - "method":"POST", - "requestUri":"/associateWebsiteCertificateAuthority" - }, - "input":{"shape":"AssociateWebsiteCertificateAuthorityRequest"}, - "output":{"shape":"AssociateWebsiteCertificateAuthorityResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ResourceAlreadyExistsException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "CreateFleet":{ - "name":"CreateFleet", - "http":{ - "method":"POST", - "requestUri":"/createFleet" - }, - "input":{"shape":"CreateFleetRequest"}, - "output":{"shape":"CreateFleetResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ResourceAlreadyExistsException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "DeleteFleet":{ - "name":"DeleteFleet", - "http":{ - "method":"POST", - "requestUri":"/deleteFleet" - }, - "input":{"shape":"DeleteFleetRequest"}, - "output":{"shape":"DeleteFleetResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "DescribeAuditStreamConfiguration":{ - "name":"DescribeAuditStreamConfiguration", - "http":{ - "method":"POST", - "requestUri":"/describeAuditStreamConfiguration" - }, - "input":{"shape":"DescribeAuditStreamConfigurationRequest"}, - "output":{"shape":"DescribeAuditStreamConfigurationResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "DescribeCompanyNetworkConfiguration":{ - "name":"DescribeCompanyNetworkConfiguration", - "http":{ - "method":"POST", - "requestUri":"/describeCompanyNetworkConfiguration" - }, - "input":{"shape":"DescribeCompanyNetworkConfigurationRequest"}, - "output":{"shape":"DescribeCompanyNetworkConfigurationResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "DescribeDevice":{ - "name":"DescribeDevice", - "http":{ - "method":"POST", - "requestUri":"/describeDevice" - }, - "input":{"shape":"DescribeDeviceRequest"}, - "output":{"shape":"DescribeDeviceResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "DescribeDevicePolicyConfiguration":{ - "name":"DescribeDevicePolicyConfiguration", - "http":{ - "method":"POST", - "requestUri":"/describeDevicePolicyConfiguration" - }, - "input":{"shape":"DescribeDevicePolicyConfigurationRequest"}, - "output":{"shape":"DescribeDevicePolicyConfigurationResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "DescribeDomain":{ - "name":"DescribeDomain", - "http":{ - "method":"POST", - "requestUri":"/describeDomain" - }, - "input":{"shape":"DescribeDomainRequest"}, - "output":{"shape":"DescribeDomainResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "DescribeFleetMetadata":{ - "name":"DescribeFleetMetadata", - "http":{ - "method":"POST", - "requestUri":"/describeFleetMetadata" - }, - "input":{"shape":"DescribeFleetMetadataRequest"}, - "output":{"shape":"DescribeFleetMetadataResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "DescribeIdentityProviderConfiguration":{ - "name":"DescribeIdentityProviderConfiguration", - "http":{ - "method":"POST", - "requestUri":"/describeIdentityProviderConfiguration" - }, - "input":{"shape":"DescribeIdentityProviderConfigurationRequest"}, - "output":{"shape":"DescribeIdentityProviderConfigurationResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "DescribeWebsiteCertificateAuthority":{ - "name":"DescribeWebsiteCertificateAuthority", - "http":{ - "method":"POST", - "requestUri":"/describeWebsiteCertificateAuthority" - }, - "input":{"shape":"DescribeWebsiteCertificateAuthorityRequest"}, - "output":{"shape":"DescribeWebsiteCertificateAuthorityResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "DisassociateDomain":{ - "name":"DisassociateDomain", - "http":{ - "method":"POST", - "requestUri":"/disassociateDomain" - }, - "input":{"shape":"DisassociateDomainRequest"}, - "output":{"shape":"DisassociateDomainResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "DisassociateWebsiteAuthorizationProvider":{ - "name":"DisassociateWebsiteAuthorizationProvider", - "http":{ - "method":"POST", - "requestUri":"/disassociateWebsiteAuthorizationProvider" - }, - "input":{"shape":"DisassociateWebsiteAuthorizationProviderRequest"}, - "output":{"shape":"DisassociateWebsiteAuthorizationProviderResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ResourceAlreadyExistsException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "DisassociateWebsiteCertificateAuthority":{ - "name":"DisassociateWebsiteCertificateAuthority", - "http":{ - "method":"POST", - "requestUri":"/disassociateWebsiteCertificateAuthority" - }, - "input":{"shape":"DisassociateWebsiteCertificateAuthorityRequest"}, - "output":{"shape":"DisassociateWebsiteCertificateAuthorityResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "ListDevices":{ - "name":"ListDevices", - "http":{ - "method":"POST", - "requestUri":"/listDevices" - }, - "input":{"shape":"ListDevicesRequest"}, - "output":{"shape":"ListDevicesResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "ListDomains":{ - "name":"ListDomains", - "http":{ - "method":"POST", - "requestUri":"/listDomains" - }, - "input":{"shape":"ListDomainsRequest"}, - "output":{"shape":"ListDomainsResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "ListFleets":{ - "name":"ListFleets", - "http":{ - "method":"POST", - "requestUri":"/listFleets" - }, - "input":{"shape":"ListFleetsRequest"}, - "output":{"shape":"ListFleetsResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "ListTagsForResource":{ - "name":"ListTagsForResource", - "http":{ - "method":"GET", - "requestUri":"/tags/{ResourceArn}" - }, - "input":{"shape":"ListTagsForResourceRequest"}, - "output":{"shape":"ListTagsForResourceResponse"}, - "errors":[ - {"shape":"InvalidRequestException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "ListWebsiteAuthorizationProviders":{ - "name":"ListWebsiteAuthorizationProviders", - "http":{ - "method":"POST", - "requestUri":"/listWebsiteAuthorizationProviders" - }, - "input":{"shape":"ListWebsiteAuthorizationProvidersRequest"}, - "output":{"shape":"ListWebsiteAuthorizationProvidersResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "ListWebsiteCertificateAuthorities":{ - "name":"ListWebsiteCertificateAuthorities", - "http":{ - "method":"POST", - "requestUri":"/listWebsiteCertificateAuthorities" - }, - "input":{"shape":"ListWebsiteCertificateAuthoritiesRequest"}, - "output":{"shape":"ListWebsiteCertificateAuthoritiesResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "RestoreDomainAccess":{ - "name":"RestoreDomainAccess", - "http":{ - "method":"POST", - "requestUri":"/restoreDomainAccess" - }, - "input":{"shape":"RestoreDomainAccessRequest"}, - "output":{"shape":"RestoreDomainAccessResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "RevokeDomainAccess":{ - "name":"RevokeDomainAccess", - "http":{ - "method":"POST", - "requestUri":"/revokeDomainAccess" - }, - "input":{"shape":"RevokeDomainAccessRequest"}, - "output":{"shape":"RevokeDomainAccessResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "SignOutUser":{ - "name":"SignOutUser", - "http":{ - "method":"POST", - "requestUri":"/signOutUser" - }, - "input":{"shape":"SignOutUserRequest"}, - "output":{"shape":"SignOutUserResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "TagResource":{ - "name":"TagResource", - "http":{ - "method":"POST", - "requestUri":"/tags/{ResourceArn}" - }, - "input":{"shape":"TagResourceRequest"}, - "output":{"shape":"TagResourceResponse"}, - "errors":[ - {"shape":"InvalidRequestException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "UntagResource":{ - "name":"UntagResource", - "http":{ - "method":"DELETE", - "requestUri":"/tags/{ResourceArn}" - }, - "input":{"shape":"UntagResourceRequest"}, - "output":{"shape":"UntagResourceResponse"}, - "errors":[ - {"shape":"InvalidRequestException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "UpdateAuditStreamConfiguration":{ - "name":"UpdateAuditStreamConfiguration", - "http":{ - "method":"POST", - "requestUri":"/updateAuditStreamConfiguration" - }, - "input":{"shape":"UpdateAuditStreamConfigurationRequest"}, - "output":{"shape":"UpdateAuditStreamConfigurationResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "UpdateCompanyNetworkConfiguration":{ - "name":"UpdateCompanyNetworkConfiguration", - "http":{ - "method":"POST", - "requestUri":"/updateCompanyNetworkConfiguration" - }, - "input":{"shape":"UpdateCompanyNetworkConfigurationRequest"}, - "output":{"shape":"UpdateCompanyNetworkConfigurationResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "UpdateDevicePolicyConfiguration":{ - "name":"UpdateDevicePolicyConfiguration", - "http":{ - "method":"POST", - "requestUri":"/updateDevicePolicyConfiguration" - }, - "input":{"shape":"UpdateDevicePolicyConfigurationRequest"}, - "output":{"shape":"UpdateDevicePolicyConfigurationResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "UpdateDomainMetadata":{ - "name":"UpdateDomainMetadata", - "http":{ - "method":"POST", - "requestUri":"/updateDomainMetadata" - }, - "input":{"shape":"UpdateDomainMetadataRequest"}, - "output":{"shape":"UpdateDomainMetadataResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "UpdateFleetMetadata":{ - "name":"UpdateFleetMetadata", - "http":{ - "method":"POST", - "requestUri":"/UpdateFleetMetadata" - }, - "input":{"shape":"UpdateFleetMetadataRequest"}, - "output":{"shape":"UpdateFleetMetadataResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "UpdateIdentityProviderConfiguration":{ - "name":"UpdateIdentityProviderConfiguration", - "http":{ - "method":"POST", - "requestUri":"/updateIdentityProviderConfiguration" - }, - "input":{"shape":"UpdateIdentityProviderConfigurationRequest"}, - "output":{"shape":"UpdateIdentityProviderConfigurationResponse"}, - "errors":[ - {"shape":"UnauthorizedException"}, - {"shape":"InternalServerErrorException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "deprecated":true, - "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - } - }, - "shapes":{ - "AcmCertificateArn":{ - "type":"string", - "pattern":"arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]+:[\\w+=,.@-]+(/[\\w+=/,.@-]+)*" - }, - "AssociateDomainRequest":{ - "type":"structure", - "required":[ - "FleetArn", - "DomainName", - "AcmCertificateArn" - ], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "DomainName":{"shape":"DomainName"}, - "DisplayName":{"shape":"DisplayName"}, - "AcmCertificateArn":{"shape":"AcmCertificateArn"} - } - }, - "AssociateDomainResponse":{ - "type":"structure", - "members":{ - } - }, - "AssociateWebsiteAuthorizationProviderRequest":{ - "type":"structure", - "required":[ - "FleetArn", - "AuthorizationProviderType" - ], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "AuthorizationProviderType":{"shape":"AuthorizationProviderType"}, - "DomainName":{"shape":"DomainName"} - } - }, - "AssociateWebsiteAuthorizationProviderResponse":{ - "type":"structure", - "members":{ - "AuthorizationProviderId":{"shape":"Id"} - } - }, - "AssociateWebsiteCertificateAuthorityRequest":{ - "type":"structure", - "required":[ - "FleetArn", - "Certificate" - ], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "Certificate":{"shape":"Certificate"}, - "DisplayName":{"shape":"DisplayName"} - } - }, - "AssociateWebsiteCertificateAuthorityResponse":{ - "type":"structure", - "members":{ - "WebsiteCaId":{"shape":"Id"} - } - }, - "AuditStreamArn":{ - "type":"string", - "pattern":"^arn:aws:kinesis:.+:[0-9]{12}:stream/AmazonWorkLink-.*$" - }, - "AuthorizationProviderType":{ - "type":"string", - "enum":["SAML"] - }, - "Boolean":{"type":"boolean"}, - "Certificate":{ - "type":"string", - "max":8192, - "min":1, - "pattern":"-{5}BEGIN CERTIFICATE-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END CERTIFICATE-{5}(\\u000D?\\u000A)?" - }, - "CertificateChain":{ - "type":"string", - "max":32768, - "min":1, - "pattern":"(-{5}BEGIN CERTIFICATE-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END CERTIFICATE-{5}\\u000D?\\u000A)*-{5}BEGIN CERTIFICATE-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END CERTIFICATE-{5}(\\u000D?\\u000A)?" - }, - "CompanyCode":{ - "type":"string", - "max":32, - "min":1 - }, - "CreateFleetRequest":{ - "type":"structure", - "required":["FleetName"], - "members":{ - "FleetName":{"shape":"FleetName"}, - "DisplayName":{"shape":"DisplayName"}, - "OptimizeForEndUserLocation":{"shape":"Boolean"}, - "Tags":{"shape":"TagMap"} - } - }, - "CreateFleetResponse":{ - "type":"structure", - "members":{ - "FleetArn":{"shape":"FleetArn"} - } - }, - "DateTime":{"type":"timestamp"}, - "DeleteFleetRequest":{ - "type":"structure", - "required":["FleetArn"], - "members":{ - "FleetArn":{"shape":"FleetArn"} - } - }, - "DeleteFleetResponse":{ - "type":"structure", - "members":{ - } - }, - "DescribeAuditStreamConfigurationRequest":{ - "type":"structure", - "required":["FleetArn"], - "members":{ - "FleetArn":{"shape":"FleetArn"} - } - }, - "DescribeAuditStreamConfigurationResponse":{ - "type":"structure", - "members":{ - "AuditStreamArn":{"shape":"AuditStreamArn"} - } - }, - "DescribeCompanyNetworkConfigurationRequest":{ - "type":"structure", - "required":["FleetArn"], - "members":{ - "FleetArn":{"shape":"FleetArn"} - } - }, - "DescribeCompanyNetworkConfigurationResponse":{ - "type":"structure", - "members":{ - "VpcId":{"shape":"VpcId"}, - "SubnetIds":{"shape":"SubnetIds"}, - "SecurityGroupIds":{"shape":"SecurityGroupIds"} - } - }, - "DescribeDevicePolicyConfigurationRequest":{ - "type":"structure", - "required":["FleetArn"], - "members":{ - "FleetArn":{"shape":"FleetArn"} - } - }, - "DescribeDevicePolicyConfigurationResponse":{ - "type":"structure", - "members":{ - "DeviceCaCertificate":{"shape":"Certificate"} - } - }, - "DescribeDeviceRequest":{ - "type":"structure", - "required":[ - "FleetArn", - "DeviceId" - ], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "DeviceId":{"shape":"Id"} - } - }, - "DescribeDeviceResponse":{ - "type":"structure", - "members":{ - "Status":{"shape":"DeviceStatus"}, - "Model":{"shape":"DeviceModel"}, - "Manufacturer":{"shape":"DeviceManufacturer"}, - "OperatingSystem":{"shape":"DeviceOperatingSystemName"}, - "OperatingSystemVersion":{"shape":"DeviceOperatingSystemVersion"}, - "PatchLevel":{"shape":"DevicePatchLevel"}, - "FirstAccessedTime":{"shape":"DateTime"}, - "LastAccessedTime":{"shape":"DateTime"}, - "Username":{"shape":"Username"} - } - }, - "DescribeDomainRequest":{ - "type":"structure", - "required":[ - "FleetArn", - "DomainName" - ], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "DomainName":{"shape":"DomainName"} - } - }, - "DescribeDomainResponse":{ - "type":"structure", - "members":{ - "DomainName":{"shape":"DomainName"}, - "DisplayName":{"shape":"DisplayName"}, - "CreatedTime":{"shape":"DateTime"}, - "DomainStatus":{"shape":"DomainStatus"}, - "AcmCertificateArn":{"shape":"AcmCertificateArn"} - } - }, - "DescribeFleetMetadataRequest":{ - "type":"structure", - "required":["FleetArn"], - "members":{ - "FleetArn":{"shape":"FleetArn"} - } - }, - "DescribeFleetMetadataResponse":{ - "type":"structure", - "members":{ - "CreatedTime":{"shape":"DateTime"}, - "LastUpdatedTime":{"shape":"DateTime"}, - "FleetName":{"shape":"FleetName"}, - "DisplayName":{"shape":"DisplayName"}, - "OptimizeForEndUserLocation":{"shape":"Boolean"}, - "CompanyCode":{"shape":"CompanyCode"}, - "FleetStatus":{"shape":"FleetStatus"}, - "Tags":{"shape":"TagMap"} - } - }, - "DescribeIdentityProviderConfigurationRequest":{ - "type":"structure", - "required":["FleetArn"], - "members":{ - "FleetArn":{"shape":"FleetArn"} - } - }, - "DescribeIdentityProviderConfigurationResponse":{ - "type":"structure", - "members":{ - "IdentityProviderType":{"shape":"IdentityProviderType"}, - "ServiceProviderSamlMetadata":{"shape":"SamlMetadata"}, - "IdentityProviderSamlMetadata":{"shape":"SamlMetadata"} - } - }, - "DescribeWebsiteCertificateAuthorityRequest":{ - "type":"structure", - "required":[ - "FleetArn", - "WebsiteCaId" - ], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "WebsiteCaId":{"shape":"Id"} - } - }, - "DescribeWebsiteCertificateAuthorityResponse":{ - "type":"structure", - "members":{ - "Certificate":{"shape":"Certificate"}, - "CreatedTime":{"shape":"DateTime"}, - "DisplayName":{"shape":"DisplayName"} - } - }, - "DeviceManufacturer":{ - "type":"string", - "max":256, - "min":1 - }, - "DeviceModel":{ - "type":"string", - "max":256, - "min":1 - }, - "DeviceOperatingSystemName":{ - "type":"string", - "max":256, - "min":1 - }, - "DeviceOperatingSystemVersion":{ - "type":"string", - "max":256, - "min":1 - }, - "DevicePatchLevel":{ - "type":"string", - "max":256, - "min":1 - }, - "DeviceStatus":{ - "type":"string", - "enum":[ - "ACTIVE", - "SIGNED_OUT" - ] - }, - "DeviceSummary":{ - "type":"structure", - "members":{ - "DeviceId":{"shape":"Id"}, - "DeviceStatus":{"shape":"DeviceStatus"} - } - }, - "DeviceSummaryList":{ - "type":"list", - "member":{"shape":"DeviceSummary"} - }, - "DisassociateDomainRequest":{ - "type":"structure", - "required":[ - "FleetArn", - "DomainName" - ], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "DomainName":{"shape":"DomainName"} - } - }, - "DisassociateDomainResponse":{ - "type":"structure", - "members":{ - } - }, - "DisassociateWebsiteAuthorizationProviderRequest":{ - "type":"structure", - "required":[ - "FleetArn", - "AuthorizationProviderId" - ], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "AuthorizationProviderId":{"shape":"Id"} - } - }, - "DisassociateWebsiteAuthorizationProviderResponse":{ - "type":"structure", - "members":{ - } - }, - "DisassociateWebsiteCertificateAuthorityRequest":{ - "type":"structure", - "required":[ - "FleetArn", - "WebsiteCaId" - ], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "WebsiteCaId":{"shape":"Id"} - } - }, - "DisassociateWebsiteCertificateAuthorityResponse":{ - "type":"structure", - "members":{ - } - }, - "DisplayName":{ - "type":"string", - "max":100 - }, - "DomainName":{ - "type":"string", - "max":253, - "min":1, - "pattern":"^[a-zA-Z0-9]?((?!-)([A-Za-z0-9-]*[A-Za-z0-9])\\.)+[a-zA-Z0-9]+$" - }, - "DomainStatus":{ - "type":"string", - "enum":[ - "PENDING_VALIDATION", - "ASSOCIATING", - "ACTIVE", - "INACTIVE", - "DISASSOCIATING", - "DISASSOCIATED", - "FAILED_TO_ASSOCIATE", - "FAILED_TO_DISASSOCIATE" - ] - }, - "DomainSummary":{ - "type":"structure", - "required":[ - "DomainName", - "CreatedTime", - "DomainStatus" - ], - "members":{ - "DomainName":{"shape":"DomainName"}, - "DisplayName":{"shape":"DisplayName"}, - "CreatedTime":{"shape":"DateTime"}, - "DomainStatus":{"shape":"DomainStatus"} - } - }, - "DomainSummaryList":{ - "type":"list", - "member":{"shape":"DomainSummary"} - }, - "ExceptionMessage":{"type":"string"}, - "FleetArn":{ - "type":"string", - "max":2048, - "min":20 - }, - "FleetName":{ - "type":"string", - "max":48, - "min":1, - "pattern":"^[a-z0-9](?:[a-z0-9\\-]{0,46}[a-z0-9])?$" - }, - "FleetStatus":{ - "type":"string", - "enum":[ - "CREATING", - "ACTIVE", - "DELETING", - "DELETED", - "FAILED_TO_CREATE", - "FAILED_TO_DELETE" - ] - }, - "FleetSummary":{ - "type":"structure", - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "CreatedTime":{"shape":"DateTime"}, - "LastUpdatedTime":{"shape":"DateTime"}, - "FleetName":{"shape":"FleetName"}, - "DisplayName":{"shape":"DisplayName"}, - "CompanyCode":{"shape":"CompanyCode"}, - "FleetStatus":{"shape":"FleetStatus"}, - "Tags":{"shape":"TagMap"} - } - }, - "FleetSummaryList":{ - "type":"list", - "member":{"shape":"FleetSummary"} - }, - "Id":{ - "type":"string", - "max":256, - "min":1 - }, - "IdentityProviderType":{ - "type":"string", - "enum":["SAML"] - }, - "InternalServerErrorException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ExceptionMessage"} - }, - "error":{"httpStatusCode":500}, - "exception":true - }, - "InvalidRequestException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ExceptionMessage"} - }, - "error":{"httpStatusCode":400}, - "exception":true - }, - "ListDevicesRequest":{ - "type":"structure", - "required":["FleetArn"], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "NextToken":{"shape":"NextToken"}, - "MaxResults":{"shape":"MaxResults"} - } - }, - "ListDevicesResponse":{ - "type":"structure", - "members":{ - "Devices":{"shape":"DeviceSummaryList"}, - "NextToken":{"shape":"NextToken"} - } - }, - "ListDomainsRequest":{ - "type":"structure", - "required":["FleetArn"], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "NextToken":{"shape":"NextToken"}, - "MaxResults":{"shape":"MaxResults"} - } - }, - "ListDomainsResponse":{ - "type":"structure", - "members":{ - "Domains":{"shape":"DomainSummaryList"}, - "NextToken":{"shape":"NextToken"} - } - }, - "ListFleetsRequest":{ - "type":"structure", - "members":{ - "NextToken":{"shape":"NextToken"}, - "MaxResults":{"shape":"MaxResults"} - } - }, - "ListFleetsResponse":{ - "type":"structure", - "members":{ - "FleetSummaryList":{"shape":"FleetSummaryList"}, - "NextToken":{"shape":"NextToken"} - } - }, - "ListTagsForResourceRequest":{ - "type":"structure", - "required":["ResourceArn"], - "members":{ - "ResourceArn":{ - "shape":"FleetArn", - "location":"uri", - "locationName":"ResourceArn" - } - } - }, - "ListTagsForResourceResponse":{ - "type":"structure", - "members":{ - "Tags":{"shape":"TagMap"} - } - }, - "ListWebsiteAuthorizationProvidersRequest":{ - "type":"structure", - "required":["FleetArn"], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "NextToken":{"shape":"NextToken"}, - "MaxResults":{"shape":"MaxResults"} - } - }, - "ListWebsiteAuthorizationProvidersResponse":{ - "type":"structure", - "members":{ - "WebsiteAuthorizationProviders":{"shape":"WebsiteAuthorizationProvidersSummaryList"}, - "NextToken":{"shape":"NextToken"} - } - }, - "ListWebsiteCertificateAuthoritiesRequest":{ - "type":"structure", - "required":["FleetArn"], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "MaxResults":{"shape":"MaxResults"}, - "NextToken":{"shape":"NextToken"} - } - }, - "ListWebsiteCertificateAuthoritiesResponse":{ - "type":"structure", - "members":{ - "WebsiteCertificateAuthorities":{"shape":"WebsiteCaSummaryList"}, - "NextToken":{"shape":"NextToken"} - } - }, - "MaxResults":{ - "type":"integer", - "min":1 - }, - "NextToken":{ - "type":"string", - "max":4096, - "min":1, - "pattern":"[\\w\\-]+" - }, - "ResourceAlreadyExistsException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ExceptionMessage"} - }, - "error":{"httpStatusCode":400}, - "exception":true - }, - "ResourceNotFoundException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ExceptionMessage"} - }, - "error":{"httpStatusCode":404}, - "exception":true - }, - "RestoreDomainAccessRequest":{ - "type":"structure", - "required":[ - "FleetArn", - "DomainName" - ], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "DomainName":{"shape":"DomainName"} - } - }, - "RestoreDomainAccessResponse":{ - "type":"structure", - "members":{ - } - }, - "RevokeDomainAccessRequest":{ - "type":"structure", - "required":[ - "FleetArn", - "DomainName" - ], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "DomainName":{"shape":"DomainName"} - } - }, - "RevokeDomainAccessResponse":{ - "type":"structure", - "members":{ - } - }, - "SamlMetadata":{ - "type":"string", - "max":204800, - "min":1 - }, - "SecurityGroupId":{ - "type":"string", - "pattern":"^sg-([0-9a-f]{8}|[0-9a-f]{17})$" - }, - "SecurityGroupIds":{ - "type":"list", - "member":{"shape":"SecurityGroupId"}, - "max":5 - }, - "SignOutUserRequest":{ - "type":"structure", - "required":[ - "FleetArn", - "Username" - ], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "Username":{"shape":"Username"} - } - }, - "SignOutUserResponse":{ - "type":"structure", - "members":{ - } - }, - "SubnetId":{ - "type":"string", - "pattern":"^subnet-([0-9a-f]{8}|[0-9a-f]{17})$" - }, - "SubnetIds":{ - "type":"list", - "member":{"shape":"SubnetId"} - }, - "TagKey":{ - "type":"string", - "max":128, - "min":1, - "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$" - }, - "TagKeyList":{ - "type":"list", - "member":{"shape":"TagKey"}, - "max":50, - "min":1 - }, - "TagMap":{ - "type":"map", - "key":{"shape":"TagKey"}, - "value":{"shape":"TagValue"}, - "max":50, - "min":1 - }, - "TagResourceRequest":{ - "type":"structure", - "required":[ - "ResourceArn", - "Tags" - ], - "members":{ - "ResourceArn":{ - "shape":"FleetArn", - "location":"uri", - "locationName":"ResourceArn" - }, - "Tags":{"shape":"TagMap"} - } - }, - "TagResourceResponse":{ - "type":"structure", - "members":{ - } - }, - "TagValue":{ - "type":"string", - "max":256 - }, - "TooManyRequestsException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ExceptionMessage"} - }, - "error":{"httpStatusCode":429}, - "exception":true - }, - "UnauthorizedException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ExceptionMessage"} - }, - "error":{"httpStatusCode":403}, - "exception":true - }, - "UntagResourceRequest":{ - "type":"structure", - "required":[ - "ResourceArn", - "TagKeys" - ], - "members":{ - "ResourceArn":{ - "shape":"FleetArn", - "location":"uri", - "locationName":"ResourceArn" - }, - "TagKeys":{ - "shape":"TagKeyList", - "location":"querystring", - "locationName":"tagKeys" - } - } - }, - "UntagResourceResponse":{ - "type":"structure", - "members":{ - } - }, - "UpdateAuditStreamConfigurationRequest":{ - "type":"structure", - "required":["FleetArn"], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "AuditStreamArn":{"shape":"AuditStreamArn"} - } - }, - "UpdateAuditStreamConfigurationResponse":{ - "type":"structure", - "members":{ - } - }, - "UpdateCompanyNetworkConfigurationRequest":{ - "type":"structure", - "required":[ - "FleetArn", - "VpcId", - "SubnetIds", - "SecurityGroupIds" - ], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "VpcId":{"shape":"VpcId"}, - "SubnetIds":{"shape":"SubnetIds"}, - "SecurityGroupIds":{"shape":"SecurityGroupIds"} - } - }, - "UpdateCompanyNetworkConfigurationResponse":{ - "type":"structure", - "members":{ - } - }, - "UpdateDevicePolicyConfigurationRequest":{ - "type":"structure", - "required":["FleetArn"], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "DeviceCaCertificate":{"shape":"CertificateChain"} - } - }, - "UpdateDevicePolicyConfigurationResponse":{ - "type":"structure", - "members":{ - } - }, - "UpdateDomainMetadataRequest":{ - "type":"structure", - "required":[ - "FleetArn", - "DomainName" - ], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "DomainName":{"shape":"DomainName"}, - "DisplayName":{"shape":"DisplayName"} - } - }, - "UpdateDomainMetadataResponse":{ - "type":"structure", - "members":{ - } - }, - "UpdateFleetMetadataRequest":{ - "type":"structure", - "required":["FleetArn"], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "DisplayName":{"shape":"DisplayName"}, - "OptimizeForEndUserLocation":{"shape":"Boolean"} - } - }, - "UpdateFleetMetadataResponse":{ - "type":"structure", - "members":{ - } - }, - "UpdateIdentityProviderConfigurationRequest":{ - "type":"structure", - "required":[ - "FleetArn", - "IdentityProviderType" - ], - "members":{ - "FleetArn":{"shape":"FleetArn"}, - "IdentityProviderType":{"shape":"IdentityProviderType"}, - "IdentityProviderSamlMetadata":{"shape":"SamlMetadata"} - } - }, - "UpdateIdentityProviderConfigurationResponse":{ - "type":"structure", - "members":{ - } - }, - "Username":{ - "type":"string", - "max":256, - "min":1 - }, - "VpcId":{ - "type":"string", - "pattern":"^vpc-([0-9a-f]{8}|[0-9a-f]{17})$" - }, - "WebsiteAuthorizationProviderSummary":{ - "type":"structure", - "required":["AuthorizationProviderType"], - "members":{ - "AuthorizationProviderId":{"shape":"Id"}, - "AuthorizationProviderType":{"shape":"AuthorizationProviderType"}, - "DomainName":{"shape":"DomainName"}, - "CreatedTime":{"shape":"DateTime"} - } - }, - "WebsiteAuthorizationProvidersSummaryList":{ - "type":"list", - "member":{"shape":"WebsiteAuthorizationProviderSummary"} - }, - "WebsiteCaSummary":{ - "type":"structure", - "members":{ - "WebsiteCaId":{"shape":"Id"}, - "CreatedTime":{"shape":"DateTime"}, - "DisplayName":{"shape":"DisplayName"} - } - }, - "WebsiteCaSummaryList":{ - "type":"list", - "member":{"shape":"WebsiteCaSummary"} - } - } -} diff --git a/apis/worklink/2018-09-25/docs-2.json b/apis/worklink/2018-09-25/docs-2.json deleted file mode 100644 index d4a38273d4e..00000000000 --- a/apis/worklink/2018-09-25/docs-2.json +++ /dev/null @@ -1,789 +0,0 @@ -{ - "version": "2.0", - "service": "

Amazon WorkLink is a cloud-based service that provides secure access to internal websites and web apps from iOS and Android phones. In a single step, your users, such as employees, can access internal websites as efficiently as they access any other public website. They enter a URL in their web browser, or choose a link to an internal website in an email. Amazon WorkLink authenticates the user's access and securely renders authorized internal web content in a secure rendering service in the AWS cloud. Amazon WorkLink doesn't download or store any internal web content on mobile devices.

", - "operations": { - "AssociateDomain": "

Specifies a domain to be associated to Amazon WorkLink.

", - "AssociateWebsiteAuthorizationProvider": "

Associates a website authorization provider with a specified fleet. This is used to authorize users against associated websites in the company network.

", - "AssociateWebsiteCertificateAuthority": "

Imports the root certificate of a certificate authority (CA) used to obtain TLS certificates used by associated websites within the company network.

", - "CreateFleet": "

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.

", - "DeleteFleet": "

Deletes a fleet. Prevents users from accessing previously associated websites.

", - "DescribeAuditStreamConfiguration": "

Describes the configuration for delivering audit streams to the customer account.

", - "DescribeCompanyNetworkConfiguration": "

Describes the networking configuration to access the internal websites associated with the specified fleet.

", - "DescribeDevice": "

Provides information about a user's device.

", - "DescribeDevicePolicyConfiguration": "

Describes the device policy configuration for the specified fleet.

", - "DescribeDomain": "

Provides information about the domain.

", - "DescribeFleetMetadata": "

Provides basic information for the specified fleet, excluding identity provider, networking, and device configuration details.

", - "DescribeIdentityProviderConfiguration": "

Describes the identity provider configuration of the specified fleet.

", - "DescribeWebsiteCertificateAuthority": "

Provides information about the certificate authority.

", - "DisassociateDomain": "

Disassociates a domain from Amazon WorkLink. End users lose the ability to access the domain with Amazon WorkLink.

", - "DisassociateWebsiteAuthorizationProvider": "

Disassociates a website authorization provider from a specified fleet. After the disassociation, users can't load any associated websites that require this authorization provider.

", - "DisassociateWebsiteCertificateAuthority": "

Removes a certificate authority (CA).

", - "ListDevices": "

Retrieves a list of devices registered with the specified fleet.

", - "ListDomains": "

Retrieves a list of domains associated to a specified fleet.

", - "ListFleets": "

Retrieves a list of fleets for the current account and Region.

", - "ListTagsForResource": "

Retrieves a list of tags for the specified resource.

", - "ListWebsiteAuthorizationProviders": "

Retrieves a list of website authorization providers associated with a specified fleet.

", - "ListWebsiteCertificateAuthorities": "

Retrieves a list of certificate authorities added for the current account and Region.

", - "RestoreDomainAccess": "

Moves a domain to ACTIVE status if it was in the INACTIVE status.

", - "RevokeDomainAccess": "

Moves a domain to INACTIVE status if it was in the ACTIVE status.

", - "SignOutUser": "

Signs the user out from all of their devices. The user can sign in again if they have valid credentials.

", - "TagResource": "

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.

", - "UntagResource": "

Removes one or more tags from the specified resource.

", - "UpdateAuditStreamConfiguration": "

Updates the audit stream configuration for the fleet.

", - "UpdateCompanyNetworkConfiguration": "

Updates the company network configuration for the fleet.

", - "UpdateDevicePolicyConfiguration": "

Updates the device policy configuration for the fleet.

", - "UpdateDomainMetadata": "

Updates domain metadata, such as DisplayName.

", - "UpdateFleetMetadata": "

Updates fleet metadata, such as DisplayName.

", - "UpdateIdentityProviderConfiguration": "

Updates the identity provider configuration for the fleet.

" - }, - "shapes": { - "AcmCertificateArn": { - "base": null, - "refs": { - "AssociateDomainRequest$AcmCertificateArn": "

The ARN of an issued ACM certificate that is valid for the domain being associated.

", - "DescribeDomainResponse$AcmCertificateArn": "

The ARN of an issued ACM certificate that is valid for the domain being associated.

" - } - }, - "AssociateDomainRequest": { - "base": null, - "refs": { - } - }, - "AssociateDomainResponse": { - "base": null, - "refs": { - } - }, - "AssociateWebsiteAuthorizationProviderRequest": { - "base": null, - "refs": { - } - }, - "AssociateWebsiteAuthorizationProviderResponse": { - "base": null, - "refs": { - } - }, - "AssociateWebsiteCertificateAuthorityRequest": { - "base": null, - "refs": { - } - }, - "AssociateWebsiteCertificateAuthorityResponse": { - "base": null, - "refs": { - } - }, - "AuditStreamArn": { - "base": null, - "refs": { - "DescribeAuditStreamConfigurationResponse$AuditStreamArn": "

The ARN of the Amazon Kinesis data stream that will receive the audit events.

", - "UpdateAuditStreamConfigurationRequest$AuditStreamArn": "

The ARN of the Amazon Kinesis data stream that receives the audit events.

" - } - }, - "AuthorizationProviderType": { - "base": null, - "refs": { - "AssociateWebsiteAuthorizationProviderRequest$AuthorizationProviderType": "

The authorization provider type.

", - "WebsiteAuthorizationProviderSummary$AuthorizationProviderType": "

The authorization provider type.

" - } - }, - "Boolean": { - "base": null, - "refs": { - "CreateFleetRequest$OptimizeForEndUserLocation": "

The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region.

", - "DescribeFleetMetadataResponse$OptimizeForEndUserLocation": "

The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region.

", - "UpdateFleetMetadataRequest$OptimizeForEndUserLocation": "

The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region.

" - } - }, - "Certificate": { - "base": null, - "refs": { - "AssociateWebsiteCertificateAuthorityRequest$Certificate": "

The root certificate of the CA.

", - "DescribeDevicePolicyConfigurationResponse$DeviceCaCertificate": "

The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.

", - "DescribeWebsiteCertificateAuthorityResponse$Certificate": "

The root certificate of the certificate authority.

" - } - }, - "CertificateChain": { - "base": null, - "refs": { - "UpdateDevicePolicyConfigurationRequest$DeviceCaCertificate": "

The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.

" - } - }, - "CompanyCode": { - "base": null, - "refs": { - "DescribeFleetMetadataResponse$CompanyCode": "

The identifier used by users to sign in to the Amazon WorkLink app.

", - "FleetSummary$CompanyCode": "

The identifier used by users to sign into the Amazon WorkLink app.

" - } - }, - "CreateFleetRequest": { - "base": null, - "refs": { - } - }, - "CreateFleetResponse": { - "base": null, - "refs": { - } - }, - "DateTime": { - "base": null, - "refs": { - "DescribeDeviceResponse$FirstAccessedTime": "

The date that the device first signed in to Amazon WorkLink.

", - "DescribeDeviceResponse$LastAccessedTime": "

The date that the device last accessed Amazon WorkLink.

", - "DescribeDomainResponse$CreatedTime": "

The time that the domain was added.

", - "DescribeFleetMetadataResponse$CreatedTime": "

The time that the fleet was created.

", - "DescribeFleetMetadataResponse$LastUpdatedTime": "

The time that the fleet was last updated.

", - "DescribeWebsiteCertificateAuthorityResponse$CreatedTime": "

The time that the certificate authority was added.

", - "DomainSummary$CreatedTime": "

The time that the domain was created.

", - "FleetSummary$CreatedTime": "

The time when the fleet was created.

", - "FleetSummary$LastUpdatedTime": "

The time when the fleet was last updated.

", - "WebsiteAuthorizationProviderSummary$CreatedTime": "

The time of creation.

", - "WebsiteCaSummary$CreatedTime": "

The time when the CA was added.

" - } - }, - "DeleteFleetRequest": { - "base": null, - "refs": { - } - }, - "DeleteFleetResponse": { - "base": null, - "refs": { - } - }, - "DescribeAuditStreamConfigurationRequest": { - "base": null, - "refs": { - } - }, - "DescribeAuditStreamConfigurationResponse": { - "base": null, - "refs": { - } - }, - "DescribeCompanyNetworkConfigurationRequest": { - "base": null, - "refs": { - } - }, - "DescribeCompanyNetworkConfigurationResponse": { - "base": null, - "refs": { - } - }, - "DescribeDevicePolicyConfigurationRequest": { - "base": null, - "refs": { - } - }, - "DescribeDevicePolicyConfigurationResponse": { - "base": null, - "refs": { - } - }, - "DescribeDeviceRequest": { - "base": null, - "refs": { - } - }, - "DescribeDeviceResponse": { - "base": null, - "refs": { - } - }, - "DescribeDomainRequest": { - "base": null, - "refs": { - } - }, - "DescribeDomainResponse": { - "base": null, - "refs": { - } - }, - "DescribeFleetMetadataRequest": { - "base": null, - "refs": { - } - }, - "DescribeFleetMetadataResponse": { - "base": null, - "refs": { - } - }, - "DescribeIdentityProviderConfigurationRequest": { - "base": null, - "refs": { - } - }, - "DescribeIdentityProviderConfigurationResponse": { - "base": null, - "refs": { - } - }, - "DescribeWebsiteCertificateAuthorityRequest": { - "base": null, - "refs": { - } - }, - "DescribeWebsiteCertificateAuthorityResponse": { - "base": null, - "refs": { - } - }, - "DeviceManufacturer": { - "base": null, - "refs": { - "DescribeDeviceResponse$Manufacturer": "

The manufacturer of the device.

" - } - }, - "DeviceModel": { - "base": null, - "refs": { - "DescribeDeviceResponse$Model": "

The model of the device.

" - } - }, - "DeviceOperatingSystemName": { - "base": null, - "refs": { - "DescribeDeviceResponse$OperatingSystem": "

The operating system of the device.

" - } - }, - "DeviceOperatingSystemVersion": { - "base": null, - "refs": { - "DescribeDeviceResponse$OperatingSystemVersion": "

The operating system version of the device.

" - } - }, - "DevicePatchLevel": { - "base": null, - "refs": { - "DescribeDeviceResponse$PatchLevel": "

The operating system patch level of the device.

" - } - }, - "DeviceStatus": { - "base": null, - "refs": { - "DescribeDeviceResponse$Status": "

The current state of the device.

", - "DeviceSummary$DeviceStatus": "

The status of the device.

" - } - }, - "DeviceSummary": { - "base": "

The summary of devices.

", - "refs": { - "DeviceSummaryList$member": null - } - }, - "DeviceSummaryList": { - "base": null, - "refs": { - "ListDevicesResponse$Devices": "

Information about the devices.

" - } - }, - "DisassociateDomainRequest": { - "base": null, - "refs": { - } - }, - "DisassociateDomainResponse": { - "base": null, - "refs": { - } - }, - "DisassociateWebsiteAuthorizationProviderRequest": { - "base": null, - "refs": { - } - }, - "DisassociateWebsiteAuthorizationProviderResponse": { - "base": null, - "refs": { - } - }, - "DisassociateWebsiteCertificateAuthorityRequest": { - "base": null, - "refs": { - } - }, - "DisassociateWebsiteCertificateAuthorityResponse": { - "base": null, - "refs": { - } - }, - "DisplayName": { - "base": null, - "refs": { - "AssociateDomainRequest$DisplayName": "

The name to display.

", - "AssociateWebsiteCertificateAuthorityRequest$DisplayName": "

The certificate name to display.

", - "CreateFleetRequest$DisplayName": "

The fleet name to display.

", - "DescribeDomainResponse$DisplayName": "

The name to display.

", - "DescribeFleetMetadataResponse$DisplayName": "

The name to display.

", - "DescribeWebsiteCertificateAuthorityResponse$DisplayName": "

The certificate name to display.

", - "DomainSummary$DisplayName": "

The name to display.

", - "FleetSummary$DisplayName": "

The name of the fleet to display.

", - "UpdateDomainMetadataRequest$DisplayName": "

The name to display.

", - "UpdateFleetMetadataRequest$DisplayName": "

The fleet name to display. The existing DisplayName is unset if null is passed.

", - "WebsiteCaSummary$DisplayName": "

The name to display.

" - } - }, - "DomainName": { - "base": null, - "refs": { - "AssociateDomainRequest$DomainName": "

The fully qualified domain name (FQDN).

", - "AssociateWebsiteAuthorizationProviderRequest$DomainName": "

The domain name of the authorization provider. This applies only to SAML-based authorization providers.

", - "DescribeDomainRequest$DomainName": "

The name of the domain.

", - "DescribeDomainResponse$DomainName": "

The name of the domain.

", - "DisassociateDomainRequest$DomainName": "

The name of the domain.

", - "DomainSummary$DomainName": "

The name of the domain.

", - "RestoreDomainAccessRequest$DomainName": "

The name of the domain.

", - "RevokeDomainAccessRequest$DomainName": "

The name of the domain.

", - "UpdateDomainMetadataRequest$DomainName": "

The name of the domain.

", - "WebsiteAuthorizationProviderSummary$DomainName": "

The domain name of the authorization provider. This applies only to SAML-based authorization providers.

" - } - }, - "DomainStatus": { - "base": null, - "refs": { - "DescribeDomainResponse$DomainStatus": "

The current state for the domain.

", - "DomainSummary$DomainStatus": "

The status of the domain.

" - } - }, - "DomainSummary": { - "base": "

The summary of the domain.

", - "refs": { - "DomainSummaryList$member": null - } - }, - "DomainSummaryList": { - "base": null, - "refs": { - "ListDomainsResponse$Domains": "

Information about the domains.

" - } - }, - "ExceptionMessage": { - "base": null, - "refs": { - "InternalServerErrorException$Message": null, - "InvalidRequestException$Message": null, - "ResourceAlreadyExistsException$Message": null, - "ResourceNotFoundException$Message": null, - "TooManyRequestsException$Message": null, - "UnauthorizedException$Message": null - } - }, - "FleetArn": { - "base": null, - "refs": { - "AssociateDomainRequest$FleetArn": "

The Amazon Resource Name (ARN) of the fleet.

", - "AssociateWebsiteAuthorizationProviderRequest$FleetArn": "

The ARN of the fleet.

", - "AssociateWebsiteCertificateAuthorityRequest$FleetArn": "

The ARN of the fleet.

", - "CreateFleetResponse$FleetArn": "

The Amazon Resource Name (ARN) of the fleet.

", - "DeleteFleetRequest$FleetArn": "

The ARN of the fleet.

", - "DescribeAuditStreamConfigurationRequest$FleetArn": "

The ARN of the fleet.

", - "DescribeCompanyNetworkConfigurationRequest$FleetArn": "

The ARN of the fleet.

", - "DescribeDevicePolicyConfigurationRequest$FleetArn": "

The ARN of the fleet.

", - "DescribeDeviceRequest$FleetArn": "

The ARN of the fleet.

", - "DescribeDomainRequest$FleetArn": "

The ARN of the fleet.

", - "DescribeFleetMetadataRequest$FleetArn": "

The Amazon Resource Name (ARN) of the fleet.

", - "DescribeIdentityProviderConfigurationRequest$FleetArn": "

The ARN of the fleet.

", - "DescribeWebsiteCertificateAuthorityRequest$FleetArn": "

The ARN of the fleet.

", - "DisassociateDomainRequest$FleetArn": "

The ARN of the fleet.

", - "DisassociateWebsiteAuthorizationProviderRequest$FleetArn": "

The ARN of the fleet.

", - "DisassociateWebsiteCertificateAuthorityRequest$FleetArn": "

The ARN of the fleet.

", - "FleetSummary$FleetArn": "

The Amazon Resource Name (ARN) of the fleet.

", - "ListDevicesRequest$FleetArn": "

The ARN of the fleet.

", - "ListDomainsRequest$FleetArn": "

The ARN of the fleet.

", - "ListTagsForResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the fleet.

", - "ListWebsiteAuthorizationProvidersRequest$FleetArn": "

The ARN of the fleet.

", - "ListWebsiteCertificateAuthoritiesRequest$FleetArn": "

The ARN of the fleet.

", - "RestoreDomainAccessRequest$FleetArn": "

The ARN of the fleet.

", - "RevokeDomainAccessRequest$FleetArn": "

The ARN of the fleet.

", - "SignOutUserRequest$FleetArn": "

The ARN of the fleet.

", - "TagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the fleet.

", - "UntagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the fleet.

", - "UpdateAuditStreamConfigurationRequest$FleetArn": "

The ARN of the fleet.

", - "UpdateCompanyNetworkConfigurationRequest$FleetArn": "

The ARN of the fleet.

", - "UpdateDevicePolicyConfigurationRequest$FleetArn": "

The ARN of the fleet.

", - "UpdateDomainMetadataRequest$FleetArn": "

The ARN of the fleet.

", - "UpdateFleetMetadataRequest$FleetArn": "

The ARN of the fleet.

", - "UpdateIdentityProviderConfigurationRequest$FleetArn": "

The ARN of the fleet.

" - } - }, - "FleetName": { - "base": null, - "refs": { - "CreateFleetRequest$FleetName": "

A unique name for the fleet.

", - "DescribeFleetMetadataResponse$FleetName": "

The name of the fleet.

", - "FleetSummary$FleetName": "

The name of the fleet.

" - } - }, - "FleetStatus": { - "base": null, - "refs": { - "DescribeFleetMetadataResponse$FleetStatus": "

The current state of the fleet.

", - "FleetSummary$FleetStatus": "

The status of the fleet.

" - } - }, - "FleetSummary": { - "base": "

The summary of the fleet.

", - "refs": { - "FleetSummaryList$member": null - } - }, - "FleetSummaryList": { - "base": null, - "refs": { - "ListFleetsResponse$FleetSummaryList": "

The summary list of the fleets.

" - } - }, - "Id": { - "base": null, - "refs": { - "AssociateWebsiteAuthorizationProviderResponse$AuthorizationProviderId": "

A unique identifier for the authorization provider.

", - "AssociateWebsiteCertificateAuthorityResponse$WebsiteCaId": "

A unique identifier for the CA.

", - "DescribeDeviceRequest$DeviceId": "

A unique identifier for a registered user's device.

", - "DescribeWebsiteCertificateAuthorityRequest$WebsiteCaId": "

A unique identifier for the certificate authority.

", - "DeviceSummary$DeviceId": "

The ID of the device.

", - "DisassociateWebsiteAuthorizationProviderRequest$AuthorizationProviderId": "

A unique identifier for the authorization provider.

", - "DisassociateWebsiteCertificateAuthorityRequest$WebsiteCaId": "

A unique identifier for the CA.

", - "WebsiteAuthorizationProviderSummary$AuthorizationProviderId": "

A unique identifier for the authorization provider.

", - "WebsiteCaSummary$WebsiteCaId": "

A unique identifier for the CA.

" - } - }, - "IdentityProviderType": { - "base": null, - "refs": { - "DescribeIdentityProviderConfigurationResponse$IdentityProviderType": "

The type of identity provider.

", - "UpdateIdentityProviderConfigurationRequest$IdentityProviderType": "

The type of identity provider.

" - } - }, - "InternalServerErrorException": { - "base": "

The service is temporarily unavailable.

", - "refs": { - } - }, - "InvalidRequestException": { - "base": "

The request is not valid.

", - "refs": { - } - }, - "ListDevicesRequest": { - "base": null, - "refs": { - } - }, - "ListDevicesResponse": { - "base": null, - "refs": { - } - }, - "ListDomainsRequest": { - "base": null, - "refs": { - } - }, - "ListDomainsResponse": { - "base": null, - "refs": { - } - }, - "ListFleetsRequest": { - "base": null, - "refs": { - } - }, - "ListFleetsResponse": { - "base": null, - "refs": { - } - }, - "ListTagsForResourceRequest": { - "base": null, - "refs": { - } - }, - "ListTagsForResourceResponse": { - "base": null, - "refs": { - } - }, - "ListWebsiteAuthorizationProvidersRequest": { - "base": null, - "refs": { - } - }, - "ListWebsiteAuthorizationProvidersResponse": { - "base": null, - "refs": { - } - }, - "ListWebsiteCertificateAuthoritiesRequest": { - "base": null, - "refs": { - } - }, - "ListWebsiteCertificateAuthoritiesResponse": { - "base": null, - "refs": { - } - }, - "MaxResults": { - "base": null, - "refs": { - "ListDevicesRequest$MaxResults": "

The maximum number of results to be included in the next page.

", - "ListDomainsRequest$MaxResults": "

The maximum number of results to be included in the next page.

", - "ListFleetsRequest$MaxResults": "

The maximum number of results to be included in the next page.

", - "ListWebsiteAuthorizationProvidersRequest$MaxResults": "

The maximum number of results to be included in the next page.

", - "ListWebsiteCertificateAuthoritiesRequest$MaxResults": "

The maximum number of results to be included in the next page.

" - } - }, - "NextToken": { - "base": null, - "refs": { - "ListDevicesRequest$NextToken": "

The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

", - "ListDevicesResponse$NextToken": "

The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.

", - "ListDomainsRequest$NextToken": "

The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

", - "ListDomainsResponse$NextToken": "

The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.

", - "ListFleetsRequest$NextToken": "

The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

", - "ListFleetsResponse$NextToken": "

The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.

", - "ListWebsiteAuthorizationProvidersRequest$NextToken": "

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

", - "ListWebsiteAuthorizationProvidersResponse$NextToken": "

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

", - "ListWebsiteCertificateAuthoritiesRequest$NextToken": "

The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

", - "ListWebsiteCertificateAuthoritiesResponse$NextToken": "

The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.

" - } - }, - "ResourceAlreadyExistsException": { - "base": "

The resource already exists.

", - "refs": { - } - }, - "ResourceNotFoundException": { - "base": "

The requested resource was not found.

", - "refs": { - } - }, - "RestoreDomainAccessRequest": { - "base": null, - "refs": { - } - }, - "RestoreDomainAccessResponse": { - "base": null, - "refs": { - } - }, - "RevokeDomainAccessRequest": { - "base": null, - "refs": { - } - }, - "RevokeDomainAccessResponse": { - "base": null, - "refs": { - } - }, - "SamlMetadata": { - "base": null, - "refs": { - "DescribeIdentityProviderConfigurationResponse$ServiceProviderSamlMetadata": "

The SAML metadata document uploaded to the user’s identity provider.

", - "DescribeIdentityProviderConfigurationResponse$IdentityProviderSamlMetadata": "

The SAML metadata document provided by the user’s identity provider.

", - "UpdateIdentityProviderConfigurationRequest$IdentityProviderSamlMetadata": "

The SAML metadata document provided by the customer’s identity provider. The existing IdentityProviderSamlMetadata is unset if null is passed.

" - } - }, - "SecurityGroupId": { - "base": null, - "refs": { - "SecurityGroupIds$member": null - } - }, - "SecurityGroupIds": { - "base": null, - "refs": { - "DescribeCompanyNetworkConfigurationResponse$SecurityGroupIds": "

The security groups associated with access to the provided subnets.

", - "UpdateCompanyNetworkConfigurationRequest$SecurityGroupIds": "

The security groups associated with access to the provided subnets.

" - } - }, - "SignOutUserRequest": { - "base": null, - "refs": { - } - }, - "SignOutUserResponse": { - "base": null, - "refs": { - } - }, - "SubnetId": { - "base": null, - "refs": { - "SubnetIds$member": null - } - }, - "SubnetIds": { - "base": null, - "refs": { - "DescribeCompanyNetworkConfigurationResponse$SubnetIds": "

The subnets used for X-ENI connections from Amazon WorkLink rendering containers.

", - "UpdateCompanyNetworkConfigurationRequest$SubnetIds": "

The subnets used for X-ENI connections from Amazon WorkLink rendering containers.

" - } - }, - "TagKey": { - "base": null, - "refs": { - "TagKeyList$member": null, - "TagMap$key": null - } - }, - "TagKeyList": { - "base": null, - "refs": { - "UntagResourceRequest$TagKeys": "

The list of tag keys to remove from the resource.

" - } - }, - "TagMap": { - "base": null, - "refs": { - "CreateFleetRequest$Tags": "

The tags to add to the resource. A tag is a key-value pair.

", - "DescribeFleetMetadataResponse$Tags": "

The tags attached to the resource. A tag is a key-value pair.

", - "FleetSummary$Tags": "

The tags attached to the resource. A tag is a key-value pair.

", - "ListTagsForResourceResponse$Tags": "

The tags attached to the resource. A tag is a key-value pair.

", - "TagResourceRequest$Tags": "

The tags to add to the resource. A tag is a key-value pair.

" - } - }, - "TagResourceRequest": { - "base": null, - "refs": { - } - }, - "TagResourceResponse": { - "base": null, - "refs": { - } - }, - "TagValue": { - "base": null, - "refs": { - "TagMap$value": null - } - }, - "TooManyRequestsException": { - "base": "

The number of requests exceeds the limit.

", - "refs": { - } - }, - "UnauthorizedException": { - "base": "

You are not authorized to perform this action.

", - "refs": { - } - }, - "UntagResourceRequest": { - "base": null, - "refs": { - } - }, - "UntagResourceResponse": { - "base": null, - "refs": { - } - }, - "UpdateAuditStreamConfigurationRequest": { - "base": null, - "refs": { - } - }, - "UpdateAuditStreamConfigurationResponse": { - "base": null, - "refs": { - } - }, - "UpdateCompanyNetworkConfigurationRequest": { - "base": null, - "refs": { - } - }, - "UpdateCompanyNetworkConfigurationResponse": { - "base": null, - "refs": { - } - }, - "UpdateDevicePolicyConfigurationRequest": { - "base": null, - "refs": { - } - }, - "UpdateDevicePolicyConfigurationResponse": { - "base": null, - "refs": { - } - }, - "UpdateDomainMetadataRequest": { - "base": null, - "refs": { - } - }, - "UpdateDomainMetadataResponse": { - "base": null, - "refs": { - } - }, - "UpdateFleetMetadataRequest": { - "base": null, - "refs": { - } - }, - "UpdateFleetMetadataResponse": { - "base": null, - "refs": { - } - }, - "UpdateIdentityProviderConfigurationRequest": { - "base": null, - "refs": { - } - }, - "UpdateIdentityProviderConfigurationResponse": { - "base": null, - "refs": { - } - }, - "Username": { - "base": null, - "refs": { - "DescribeDeviceResponse$Username": "

The user name associated with the device.

", - "SignOutUserRequest$Username": "

The name of the user.

" - } - }, - "VpcId": { - "base": null, - "refs": { - "DescribeCompanyNetworkConfigurationResponse$VpcId": "

The VPC with connectivity to associated websites.

", - "UpdateCompanyNetworkConfigurationRequest$VpcId": "

The VPC with connectivity to associated websites.

" - } - }, - "WebsiteAuthorizationProviderSummary": { - "base": "

The summary of the website authorization provider.

", - "refs": { - "WebsiteAuthorizationProvidersSummaryList$member": null - } - }, - "WebsiteAuthorizationProvidersSummaryList": { - "base": null, - "refs": { - "ListWebsiteAuthorizationProvidersResponse$WebsiteAuthorizationProviders": "

The website authorization providers.

" - } - }, - "WebsiteCaSummary": { - "base": "

The summary of the certificate authority (CA).

", - "refs": { - "WebsiteCaSummaryList$member": null - } - }, - "WebsiteCaSummaryList": { - "base": null, - "refs": { - "ListWebsiteCertificateAuthoritiesResponse$WebsiteCertificateAuthorities": "

Information about the certificates.

" - } - } - } -} diff --git a/apis/worklink/2018-09-25/endpoint-rule-set-1.json b/apis/worklink/2018-09-25/endpoint-rule-set-1.json deleted file mode 100644 index b68590f6cee..00000000000 --- a/apis/worklink/2018-09-25/endpoint-rule-set-1.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "String" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://worklink-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://worklink-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://worklink.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ] - }, - { - "conditions": [], - "endpoint": { - "url": "https://worklink.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] -} \ No newline at end of file diff --git a/apis/worklink/2018-09-25/endpoint-tests-1.json b/apis/worklink/2018-09-25/endpoint-tests-1.json deleted file mode 100644 index e5d8218f84a..00000000000 --- a/apis/worklink/2018-09-25/endpoint-tests-1.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "testCases": [ - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://worklink.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://worklink.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://worklink.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" -} \ No newline at end of file diff --git a/apis/worklink/2018-09-25/examples-1.json b/apis/worklink/2018-09-25/examples-1.json deleted file mode 100644 index 0ea7e3b0bbe..00000000000 --- a/apis/worklink/2018-09-25/examples-1.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/apis/worklink/2018-09-25/paginators-1.json b/apis/worklink/2018-09-25/paginators-1.json deleted file mode 100644 index e97d9639cea..00000000000 --- a/apis/worklink/2018-09-25/paginators-1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "pagination": { - "ListDevices": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListDomains": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListFleets": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListWebsiteAuthorizationProviders": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListWebsiteCertificateAuthorities": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - } - } -} diff --git a/gems/aws-sdk-worklink/CHANGELOG.md b/gems/aws-sdk-worklink/CHANGELOG.md deleted file mode 100644 index 339ed9377ec..00000000000 --- a/gems/aws-sdk-worklink/CHANGELOG.md +++ /dev/null @@ -1,292 +0,0 @@ -Unreleased Changes ------------------- - -1.55.0 (2024-09-11) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -* Feature - WorkLink has been removed from the SDK because it has been discontinued. - -1.54.0 (2024-09-10) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.53.0 (2024-09-03) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.52.0 (2024-07-02) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.51.0 (2024-06-28) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.50.0 (2024-06-25) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.49.0 (2024-06-24) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.48.0 (2024-06-05) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.47.0 (2024-05-13) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.46.0 (2024-04-25) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.45.0 (2024-01-26) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.44.0 (2023-11-28) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.43.0 (2023-11-22) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.42.0 (2023-09-27) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.41.0 (2023-09-19) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.40.0 (2023-07-11) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.39.0 (2023-07-06) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.38.0 (2023-06-28) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.37.0 (2023-06-15) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.36.0 (2023-05-31) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.35.0 (2023-01-18) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -* Issue - Replace runtime endpoint resolution approach with generated ruby code. - -1.34.0 (2022-10-25) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.33.0 (2022-04-19) ------------------- - -* Feature - Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK. - -1.32.0 (2022-02-24) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.31.0 (2022-02-03) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.30.0 (2021-12-21) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.29.0 (2021-11-30) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.28.0 (2021-11-04) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.27.0 (2021-10-18) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.26.0 (2021-09-01) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.25.0 (2021-07-30) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.24.0 (2021-07-28) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.23.0 (2021-03-10) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.22.0 (2021-02-02) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.21.0 (2020-09-30) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.20.0 (2020-09-15) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.19.0 (2020-08-25) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.18.0 (2020-06-23) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.17.1 (2020-06-11) ------------------- - -* Issue - Republish previous version with correct dependency on `aws-sdk-core`. - -1.17.0 (2020-06-10) ------------------- - -* Issue - This version has been yanked. (#2327). -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.16.0 (2020-06-01) ------------------- - -* Feature - Amazon WorkLink now supports resource tagging for fleets. - -1.15.0 (2020-05-28) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.14.0 (2020-05-07) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.13.0 (2020-03-09) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.12.0 (2019-10-23) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.11.0 (2019-07-25) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.10.0 (2019-07-01) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.9.0 (2019-06-17) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.8.0 (2019-05-22) ------------------- - -* Feature - Amazon WorkLink is a fully managed, cloud-based service that enables secure, one-click access to internal websites and web apps from mobile phones. This release introduces new APIs to associate and manage website authorization providers with Amazon WorkLink fleets. - -1.7.0 (2019-05-21) ------------------- - -* Feature - API update. - -1.6.0 (2019-05-15) ------------------- - -* Feature - API update. - -1.5.0 (2019-05-14) ------------------- - -* Feature - API update. - -1.4.0 (2019-04-18) ------------------- - -* Feature - API update. - -1.3.0 (2019-03-21) ------------------- - -* Feature - API update. - -1.2.0 (2019-03-18) ------------------- - -* Feature - API update. - -1.1.0 (2019-03-14) ------------------- - -* Feature - API update. - -1.0.0 (2019-01-23) ------------------- - -* Feature - Initial release of `aws-sdk-worklink`. diff --git a/gems/aws-sdk-worklink/LICENSE.txt b/gems/aws-sdk-worklink/LICENSE.txt deleted file mode 100644 index d6456956733..00000000000 --- a/gems/aws-sdk-worklink/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/gems/aws-sdk-worklink/VERSION b/gems/aws-sdk-worklink/VERSION deleted file mode 100644 index 094d6ad00ce..00000000000 --- a/gems/aws-sdk-worklink/VERSION +++ /dev/null @@ -1 +0,0 @@ -1.55.0 diff --git a/gems/aws-sdk-worklink/aws-sdk-worklink.gemspec b/gems/aws-sdk-worklink/aws-sdk-worklink.gemspec deleted file mode 100644 index 78788fc15d1..00000000000 --- a/gems/aws-sdk-worklink/aws-sdk-worklink.gemspec +++ /dev/null @@ -1,33 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Gem::Specification.new do |spec| - - spec.name = 'aws-sdk-worklink' - spec.version = File.read(File.expand_path('../VERSION', __FILE__)).strip - spec.summary = 'AWS SDK for Ruby - WorkLink' - spec.description = '[DEPRECATED] Official AWS Ruby gem for Amazon WorkLink (WorkLink). This gem is part of the AWS SDK for Ruby.' - spec.author = 'Amazon Web Services' - spec.homepage = 'https://github.com/aws/aws-sdk-ruby' - spec.license = 'Apache-2.0' - spec.email = ['aws-dr-rubygems@amazon.com'] - spec.require_paths = ['lib'] - spec.files = Dir["LICENSE.txt", "CHANGELOG.md", "VERSION", "lib/**/*.rb", "sig/**/*.rbs"] - - spec.metadata = { - 'source_code_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-worklink', - 'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-worklink/CHANGELOG.md' - } - - spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0') - spec.add_dependency('aws-sigv4', '~> 1.5') - - spec.required_ruby_version = '>= 2.5' - spec.post_install_message = '*** aws-sdk-worklink is deprecated ***' -end diff --git a/gems/aws-sdk-worklink/features/env.rb b/gems/aws-sdk-worklink/features/env.rb deleted file mode 100644 index 72d4e723524..00000000000 --- a/gems/aws-sdk-worklink/features/env.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -$:.unshift(File.expand_path('../../lib', __FILE__)) -$:.unshift(File.expand_path('../../../aws-sdk-core/features', __FILE__)) -$:.unshift(File.expand_path('../../../aws-sdk-core/lib', __FILE__)) -$:.unshift(File.expand_path('../../../aws-sigv4/lib', __FILE__)) - -require 'features_helper' -require 'aws-sdk-worklink' - -Aws::WorkLink::Client.add_plugin(ApiCallTracker) diff --git a/gems/aws-sdk-worklink/features/step_definitions.rb b/gems/aws-sdk-worklink/features/step_definitions.rb deleted file mode 100644 index bed5082895b..00000000000 --- a/gems/aws-sdk-worklink/features/step_definitions.rb +++ /dev/null @@ -1,10 +0,0 @@ -# frozen_string_literal: true - -Before("@worklink") do - @service = Aws::WorkLink::Resource.new - @client = @service.client -end - -After("@worklink") do - # shared cleanup logic -end diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink.rb deleted file mode 100644 index 887f81b2cbb..00000000000 --- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink.rb +++ /dev/null @@ -1,57 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - - -require 'aws-sdk-core' -require 'aws-sigv4' - -require_relative 'aws-sdk-worklink/types' -require_relative 'aws-sdk-worklink/client_api' -require_relative 'aws-sdk-worklink/plugins/endpoints.rb' -require_relative 'aws-sdk-worklink/client' -require_relative 'aws-sdk-worklink/errors' -require_relative 'aws-sdk-worklink/resource' -require_relative 'aws-sdk-worklink/endpoint_parameters' -require_relative 'aws-sdk-worklink/endpoint_provider' -require_relative 'aws-sdk-worklink/endpoints' -require_relative 'aws-sdk-worklink/customizations' - -# This module provides support for Amazon WorkLink. This module is available in the -# `aws-sdk-worklink` gem. -# -# # Client -# -# The {Client} class provides one method for each API operation. Operation -# methods each accept a hash of request parameters and return a response -# structure. -# -# work_link = Aws::WorkLink::Client.new -# resp = work_link.associate_domain(params) -# -# See {Client} for more information. -# -# # Errors -# -# Errors returned from Amazon WorkLink are defined in the -# {Errors} module and all extend {Errors::ServiceError}. -# -# begin -# # do stuff -# rescue Aws::WorkLink::Errors::ServiceError -# # rescues all Amazon WorkLink API errors -# end -# -# See {Errors} for more information. -# -# @!group service -module Aws::WorkLink - - GEM_VERSION = '1.55.0' - -end diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb deleted file mode 100644 index d95991c0538..00000000000 --- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb +++ /dev/null @@ -1,1615 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -require 'seahorse/client/plugins/content_length.rb' -require 'aws-sdk-core/plugins/credentials_configuration.rb' -require 'aws-sdk-core/plugins/logging.rb' -require 'aws-sdk-core/plugins/param_converter.rb' -require 'aws-sdk-core/plugins/param_validator.rb' -require 'aws-sdk-core/plugins/user_agent.rb' -require 'aws-sdk-core/plugins/helpful_socket_errors.rb' -require 'aws-sdk-core/plugins/retry_errors.rb' -require 'aws-sdk-core/plugins/global_configuration.rb' -require 'aws-sdk-core/plugins/regional_endpoint.rb' -require 'aws-sdk-core/plugins/endpoint_discovery.rb' -require 'aws-sdk-core/plugins/endpoint_pattern.rb' -require 'aws-sdk-core/plugins/response_paging.rb' -require 'aws-sdk-core/plugins/stub_responses.rb' -require 'aws-sdk-core/plugins/idempotency_token.rb' -require 'aws-sdk-core/plugins/invocation_id.rb' -require 'aws-sdk-core/plugins/jsonvalue_converter.rb' -require 'aws-sdk-core/plugins/client_metrics_plugin.rb' -require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb' -require 'aws-sdk-core/plugins/transfer_encoding.rb' -require 'aws-sdk-core/plugins/http_checksum.rb' -require 'aws-sdk-core/plugins/checksum_algorithm.rb' -require 'aws-sdk-core/plugins/request_compression.rb' -require 'aws-sdk-core/plugins/defaults_mode.rb' -require 'aws-sdk-core/plugins/recursion_detection.rb' -require 'aws-sdk-core/plugins/telemetry.rb' -require 'aws-sdk-core/plugins/sign.rb' -require 'aws-sdk-core/plugins/protocols/rest_json.rb' - -Aws::Plugins::GlobalConfiguration.add_identifier(:worklink) - -module Aws::WorkLink - # 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 Client < Seahorse::Client::Base - - include Aws::ClientStubs - - @identifier = :worklink - - set_api(ClientApi::API) - - add_plugin(Seahorse::Client::Plugins::ContentLength) - add_plugin(Aws::Plugins::CredentialsConfiguration) - add_plugin(Aws::Plugins::Logging) - add_plugin(Aws::Plugins::ParamConverter) - add_plugin(Aws::Plugins::ParamValidator) - add_plugin(Aws::Plugins::UserAgent) - add_plugin(Aws::Plugins::HelpfulSocketErrors) - add_plugin(Aws::Plugins::RetryErrors) - add_plugin(Aws::Plugins::GlobalConfiguration) - add_plugin(Aws::Plugins::RegionalEndpoint) - add_plugin(Aws::Plugins::EndpointDiscovery) - add_plugin(Aws::Plugins::EndpointPattern) - add_plugin(Aws::Plugins::ResponsePaging) - add_plugin(Aws::Plugins::StubResponses) - add_plugin(Aws::Plugins::IdempotencyToken) - add_plugin(Aws::Plugins::InvocationId) - add_plugin(Aws::Plugins::JsonvalueConverter) - add_plugin(Aws::Plugins::ClientMetricsPlugin) - add_plugin(Aws::Plugins::ClientMetricsSendPlugin) - add_plugin(Aws::Plugins::TransferEncoding) - add_plugin(Aws::Plugins::HttpChecksum) - add_plugin(Aws::Plugins::ChecksumAlgorithm) - add_plugin(Aws::Plugins::RequestCompression) - add_plugin(Aws::Plugins::DefaultsMode) - add_plugin(Aws::Plugins::RecursionDetection) - add_plugin(Aws::Plugins::Telemetry) - add_plugin(Aws::Plugins::Sign) - add_plugin(Aws::Plugins::Protocols::RestJson) - add_plugin(Aws::WorkLink::Plugins::Endpoints) - - # @overload initialize(options) - # @param [Hash] options - # - # @option options [Array] :plugins ([]]) - # A list of plugins to apply to the client. Each plugin is either a - # class name or an instance of a plugin class. - # - # @option options [required, Aws::CredentialProvider] :credentials - # Your AWS credentials. This can be an instance of any one of the - # following classes: - # - # * `Aws::Credentials` - Used for configuring static, non-refreshing - # credentials. - # - # * `Aws::SharedCredentials` - Used for loading static credentials from a - # shared file, such as `~/.aws/config`. - # - # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role. - # - # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to - # assume a role after providing credentials via the web. - # - # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an - # access token generated from `aws login`. - # - # * `Aws::ProcessCredentials` - Used for loading credentials from a - # process that outputs to stdout. - # - # * `Aws::InstanceProfileCredentials` - Used for loading credentials - # from an EC2 IMDS on an EC2 instance. - # - # * `Aws::ECSCredentials` - Used for loading credentials from - # instances running in ECS. - # - # * `Aws::CognitoIdentityCredentials` - Used for loading credentials - # from the Cognito Identity service. - # - # When `:credentials` are not configured directly, the following - # locations will be searched for credentials: - # - # * `Aws.config[:credentials]` - # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options. - # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'] - # * `~/.aws/credentials` - # * `~/.aws/config` - # * EC2/ECS IMDS instance profile - When used by default, the timeouts - # are very aggressive. Construct and pass an instance of - # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to - # enable retries and extended timeouts. Instance profile credential - # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED'] - # to true. - # - # @option options [required, String] :region - # The AWS region to connect to. The configured `:region` is - # used to determine the service `:endpoint`. When not passed, - # a default `:region` is searched for in the following locations: - # - # * `Aws.config[:region]` - # * `ENV['AWS_REGION']` - # * `ENV['AMAZON_REGION']` - # * `ENV['AWS_DEFAULT_REGION']` - # * `~/.aws/credentials` - # * `~/.aws/config` - # - # @option options [String] :access_key_id - # - # @option options [Boolean] :active_endpoint_cache (false) - # When set to `true`, a thread polling for endpoints will be running in - # the background every 60 secs (default). Defaults to `false`. - # - # @option options [Boolean] :adaptive_retry_wait_to_fill (true) - # Used only in `adaptive` retry mode. When true, the request will sleep - # until there is sufficent client side capacity to retry the request. - # When false, the request will raise a `RetryCapacityNotAvailableError` and will - # not retry instead of sleeping. - # - # @option options [Boolean] :client_side_monitoring (false) - # When `true`, client-side metrics will be collected for all API requests from - # this client. - # - # @option options [String] :client_side_monitoring_client_id ("") - # Allows you to provide an identifier for this client which will be attached to - # all generated client side metrics. Defaults to an empty string. - # - # @option options [String] :client_side_monitoring_host ("127.0.0.1") - # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client - # side monitoring agent is running on, where client metrics will be published via UDP. - # - # @option options [Integer] :client_side_monitoring_port (31000) - # Required for publishing client metrics. The port that the client side monitoring - # agent is running on, where client metrics will be published via UDP. - # - # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher) - # Allows you to provide a custom client-side monitoring publisher class. By default, - # will use the Client Side Monitoring Agent Publisher. - # - # @option options [Boolean] :convert_params (true) - # When `true`, an attempt is made to coerce request parameters into - # the required types. - # - # @option options [Boolean] :correct_clock_skew (true) - # Used only in `standard` and adaptive retry modes. Specifies whether to apply - # a clock skew correction and retry requests with skewed client clocks. - # - # @option options [String] :defaults_mode ("legacy") - # See {Aws::DefaultsModeConfiguration} for a list of the - # accepted modes and the configuration defaults that are included. - # - # @option options [Boolean] :disable_host_prefix_injection (false) - # Set to true to disable SDK automatically adding host prefix - # to default service endpoint when available. - # - # @option options [Boolean] :disable_request_compression (false) - # When set to 'true' the request body will not be compressed - # for supported operations. - # - # @option options [String, URI::HTTPS, URI::HTTP] :endpoint - # Normally you should not configure the `:endpoint` option - # directly. This is normally constructed from the `:region` - # option. Configuring `:endpoint` is normally reserved for - # connecting to test or custom endpoints. The endpoint should - # be a URI formatted like: - # - # 'http://example.com' - # 'https://example.com' - # 'http://example.com:123' - # - # @option options [Integer] :endpoint_cache_max_entries (1000) - # Used for the maximum size limit of the LRU cache storing endpoints data - # for endpoint discovery enabled operations. Defaults to 1000. - # - # @option options [Integer] :endpoint_cache_max_threads (10) - # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10. - # - # @option options [Integer] :endpoint_cache_poll_interval (60) - # When :endpoint_discovery and :active_endpoint_cache is enabled, - # Use this option to config the time interval in seconds for making - # requests fetching endpoints information. Defaults to 60 sec. - # - # @option options [Boolean] :endpoint_discovery (false) - # When set to `true`, endpoint discovery will be enabled for operations when available. - # - # @option options [Boolean] :ignore_configured_endpoint_urls - # Setting to true disables use of endpoint URLs provided via environment - # variables and the shared configuration file. - # - # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default) - # The log formatter. - # - # @option options [Symbol] :log_level (:info) - # The log level to send messages to the `:logger` at. - # - # @option options [Logger] :logger - # The Logger instance to send log messages to. If this option - # is not set, logging will be disabled. - # - # @option options [Integer] :max_attempts (3) - # An integer representing the maximum number attempts that will be made for - # a single request, including the initial attempt. For example, - # setting this value to 5 will result in a request being retried up to - # 4 times. Used in `standard` and `adaptive` retry modes. - # - # @option options [String] :profile ("default") - # Used when loading credentials from the shared credentials file - # at HOME/.aws/credentials. When not specified, 'default' is used. - # - # @option options [Integer] :request_min_compression_size_bytes (10240) - # The minimum size in bytes that triggers compression for request - # bodies. The value must be non-negative integer value between 0 - # and 10485780 bytes inclusive. - # - # @option options [Proc] :retry_backoff - # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay. - # This option is only used in the `legacy` retry mode. - # - # @option options [Float] :retry_base_delay (0.3) - # The base delay in seconds used by the default backoff function. This option - # is only used in the `legacy` retry mode. - # - # @option options [Symbol] :retry_jitter (:none) - # A delay randomiser function used by the default backoff function. - # Some predefined functions can be referenced by name - :none, :equal, :full, - # otherwise a Proc that takes and returns a number. This option is only used - # in the `legacy` retry mode. - # - # @see https://www.awsarchitectureblog.com/2015/03/backoff.html - # - # @option options [Integer] :retry_limit (3) - # The maximum number of times to retry failed requests. Only - # ~ 500 level server errors and certain ~ 400 level client errors - # are retried. Generally, these are throttling errors, data - # checksum errors, networking errors, timeout errors, auth errors, - # endpoint discovery, and errors from expired credentials. - # This option is only used in the `legacy` retry mode. - # - # @option options [Integer] :retry_max_delay (0) - # The maximum number of seconds to delay between retries (0 for no limit) - # used by the default backoff function. This option is only used in the - # `legacy` retry mode. - # - # @option options [String] :retry_mode ("legacy") - # Specifies which retry algorithm to use. Values are: - # - # * `legacy` - The pre-existing retry behavior. This is default value if - # no retry mode is provided. - # - # * `standard` - A standardized set of retry rules across the AWS SDKs. - # This includes support for retry quotas, which limit the number of - # unsuccessful retries a client can make. - # - # * `adaptive` - An experimental retry mode that includes all the - # functionality of `standard` mode along with automatic client side - # throttling. This is a provisional mode that may change behavior - # in the future. - # - # @option options [String] :sdk_ua_app_id - # A unique and opaque application ID that is appended to the - # User-Agent header as app/sdk_ua_app_id. It should have a - # maximum length of 50. This variable is sourced from environment - # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id. - # - # @option options [String] :secret_access_key - # - # @option options [String] :session_token - # - # @option options [Array] :sigv4a_signing_region_set - # A list of regions that should be signed with SigV4a signing. When - # not passed, a default `:sigv4a_signing_region_set` is searched for - # in the following locations: - # - # * `Aws.config[:sigv4a_signing_region_set]` - # * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']` - # * `~/.aws/config` - # - # @option options [Boolean] :stub_responses (false) - # Causes the client to return stubbed responses. By default - # fake responses are generated and returned. You can specify - # the response data to return or errors to raise by calling - # {ClientStubs#stub_responses}. See {ClientStubs} for more information. - # - # ** Please note ** When response stubbing is enabled, no HTTP - # requests are made, and retries are disabled. - # - # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider) - # Allows you to provide a telemetry provider, which is used to - # emit telemetry data. By default, uses `NoOpTelemetryProvider` which - # will not record or emit any telemetry data. The SDK supports the - # following telemetry providers: - # - # * OpenTelemetry (OTel) - To use the OTel provider, install and require the - # `opentelemetry-sdk` gem and then, pass in an instance of a - # `Aws::Telemetry::OTelProvider` for telemetry provider. - # - # @option options [Aws::TokenProvider] :token_provider - # A Bearer Token Provider. This can be an instance of any one of the - # following classes: - # - # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing - # tokens. - # - # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an - # access token generated from `aws login`. - # - # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain` - # will be used to search for tokens configured for your profile in shared configuration files. - # - # @option options [Boolean] :use_dualstack_endpoint - # When set to `true`, dualstack enabled endpoints (with `.aws` TLD) - # will be used if available. - # - # @option options [Boolean] :use_fips_endpoint - # When set to `true`, fips compatible endpoints will be used if available. - # When a `fips` region is used, the region is normalized and this config - # is set to `true`. - # - # @option options [Boolean] :validate_params (true) - # When `true`, request parameters are validated before - # sending the request. - # - # @option options [Aws::WorkLink::EndpointProvider] :endpoint_provider - # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::WorkLink::EndpointParameters` - # - # @option options [Float] :http_continue_timeout (1) - # The number of seconds to wait for a 100-continue response before sending the - # request body. This option has no effect unless the request has "Expect" - # header set to "100-continue". Defaults to `nil` which disables this - # behaviour. This value can safely be set per request on the session. - # - # @option options [Float] :http_idle_timeout (5) - # The number of seconds a connection is allowed to sit idle before it - # is considered stale. Stale connections are closed and removed from the - # pool before making a request. - # - # @option options [Float] :http_open_timeout (15) - # The default number of seconds to wait for response data. - # This value can safely be set per-request on the session. - # - # @option options [URI::HTTP,String] :http_proxy - # A proxy to send requests through. Formatted like 'http://proxy.com:123'. - # - # @option options [Float] :http_read_timeout (60) - # The default number of seconds to wait for response data. - # This value can safely be set per-request on the session. - # - # @option options [Boolean] :http_wire_trace (false) - # When `true`, HTTP debug output will be sent to the `:logger`. - # - # @option options [Proc] :on_chunk_received - # When a Proc object is provided, it will be used as callback when each chunk - # of the response body is received. It provides three arguments: the chunk, - # the number of bytes received, and the total number of - # bytes in the response (or nil if the server did not send a `content-length`). - # - # @option options [Proc] :on_chunk_sent - # When a Proc object is provided, it will be used as callback when each chunk - # of the request body is sent. It provides three arguments: the chunk, - # the number of bytes read from the body, and the total number of - # bytes in the body. - # - # @option options [Boolean] :raise_response_errors (true) - # When `true`, response errors are raised. - # - # @option options [String] :ssl_ca_bundle - # Full path to the SSL certificate authority bundle file that should be used when - # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or - # `:ssl_ca_directory` the the system default will be used if available. - # - # @option options [String] :ssl_ca_directory - # Full path of the directory that contains the unbundled SSL certificate - # authority files for verifying peer certificates. If you do - # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system - # default will be used if available. - # - # @option options [String] :ssl_ca_store - # Sets the X509::Store to verify peer certificate. - # - # @option options [OpenSSL::X509::Certificate] :ssl_cert - # Sets a client certificate when creating http connections. - # - # @option options [OpenSSL::PKey] :ssl_key - # Sets a client key when creating http connections. - # - # @option options [Float] :ssl_timeout - # Sets the SSL timeout in seconds - # - # @option options [Boolean] :ssl_verify_peer (true) - # When `true`, SSL peer certificates are verified when establishing a connection. - # - def initialize(*args) - super - end - - # @!group API Operations - - # Specifies a domain to be associated to Amazon WorkLink. - # - # @option params [required, String] :fleet_arn - # The Amazon Resource Name (ARN) of the fleet. - # - # @option params [required, String] :domain_name - # The fully qualified domain name (FQDN). - # - # @option params [String] :display_name - # The name to display. - # - # @option params [required, String] :acm_certificate_arn - # The ARN of an issued ACM certificate that is valid for the domain - # being associated. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.associate_domain({ - # fleet_arn: "FleetArn", # required - # domain_name: "DomainName", # required - # display_name: "DisplayName", - # acm_certificate_arn: "AcmCertificateArn", # required - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateDomain AWS API Documentation - # - # @overload associate_domain(params = {}) - # @param [Hash] params ({}) - def associate_domain(params = {}, options = {}) - req = build_request(:associate_domain, params) - req.send_request(options) - end - - # Associates a website authorization provider with a specified fleet. - # This is used to authorize users against associated websites in the - # company network. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [required, String] :authorization_provider_type - # The authorization provider type. - # - # @option params [String] :domain_name - # The domain name of the authorization provider. This applies only to - # SAML-based authorization providers. - # - # @return [Types::AssociateWebsiteAuthorizationProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::AssociateWebsiteAuthorizationProviderResponse#authorization_provider_id #authorization_provider_id} => String - # - # @example Request syntax with placeholder values - # - # resp = client.associate_website_authorization_provider({ - # fleet_arn: "FleetArn", # required - # authorization_provider_type: "SAML", # required, accepts SAML - # domain_name: "DomainName", - # }) - # - # @example Response structure - # - # resp.authorization_provider_id #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteAuthorizationProvider AWS API Documentation - # - # @overload associate_website_authorization_provider(params = {}) - # @param [Hash] params ({}) - def associate_website_authorization_provider(params = {}, options = {}) - req = build_request(:associate_website_authorization_provider, params) - req.send_request(options) - end - - # Imports the root certificate of a certificate authority (CA) used to - # obtain TLS certificates used by associated websites within the company - # network. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [required, String] :certificate - # The root certificate of the CA. - # - # @option params [String] :display_name - # The certificate name to display. - # - # @return [Types::AssociateWebsiteCertificateAuthorityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::AssociateWebsiteCertificateAuthorityResponse#website_ca_id #website_ca_id} => String - # - # @example Request syntax with placeholder values - # - # resp = client.associate_website_certificate_authority({ - # fleet_arn: "FleetArn", # required - # certificate: "Certificate", # required - # display_name: "DisplayName", - # }) - # - # @example Response structure - # - # resp.website_ca_id #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteCertificateAuthority AWS API Documentation - # - # @overload associate_website_certificate_authority(params = {}) - # @param [Hash] params ({}) - def associate_website_certificate_authority(params = {}, options = {}) - req = build_request(:associate_website_certificate_authority, params) - req.send_request(options) - end - - # 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. - # - # @option params [required, String] :fleet_name - # A unique name for the fleet. - # - # @option params [String] :display_name - # The fleet name to display. - # - # @option params [Boolean] :optimize_for_end_user_location - # The option to optimize for better performance by routing traffic - # through the closest AWS Region to users, which may be outside of your - # home Region. - # - # @option params [Hash] :tags - # The tags to add to the resource. A tag is a key-value pair. - # - # @return [Types::CreateFleetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::CreateFleetResponse#fleet_arn #fleet_arn} => String - # - # @example Request syntax with placeholder values - # - # resp = client.create_fleet({ - # fleet_name: "FleetName", # required - # display_name: "DisplayName", - # optimize_for_end_user_location: false, - # tags: { - # "TagKey" => "TagValue", - # }, - # }) - # - # @example Response structure - # - # resp.fleet_arn #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/CreateFleet AWS API Documentation - # - # @overload create_fleet(params = {}) - # @param [Hash] params ({}) - def create_fleet(params = {}, options = {}) - req = build_request(:create_fleet, params) - req.send_request(options) - end - - # Deletes a fleet. Prevents users from accessing previously associated - # websites. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.delete_fleet({ - # fleet_arn: "FleetArn", # required - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DeleteFleet AWS API Documentation - # - # @overload delete_fleet(params = {}) - # @param [Hash] params ({}) - def delete_fleet(params = {}, options = {}) - req = build_request(:delete_fleet, params) - req.send_request(options) - end - - # Describes the configuration for delivering audit streams to the - # customer account. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @return [Types::DescribeAuditStreamConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::DescribeAuditStreamConfigurationResponse#audit_stream_arn #audit_stream_arn} => String - # - # @example Request syntax with placeholder values - # - # resp = client.describe_audit_stream_configuration({ - # fleet_arn: "FleetArn", # required - # }) - # - # @example Response structure - # - # resp.audit_stream_arn #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeAuditStreamConfiguration AWS API Documentation - # - # @overload describe_audit_stream_configuration(params = {}) - # @param [Hash] params ({}) - def describe_audit_stream_configuration(params = {}, options = {}) - req = build_request(:describe_audit_stream_configuration, params) - req.send_request(options) - end - - # Describes the networking configuration to access the internal websites - # associated with the specified fleet. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @return [Types::DescribeCompanyNetworkConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::DescribeCompanyNetworkConfigurationResponse#vpc_id #vpc_id} => String - # * {Types::DescribeCompanyNetworkConfigurationResponse#subnet_ids #subnet_ids} => Array<String> - # * {Types::DescribeCompanyNetworkConfigurationResponse#security_group_ids #security_group_ids} => Array<String> - # - # @example Request syntax with placeholder values - # - # resp = client.describe_company_network_configuration({ - # fleet_arn: "FleetArn", # required - # }) - # - # @example Response structure - # - # resp.vpc_id #=> String - # resp.subnet_ids #=> Array - # resp.subnet_ids[0] #=> String - # resp.security_group_ids #=> Array - # resp.security_group_ids[0] #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeCompanyNetworkConfiguration AWS API Documentation - # - # @overload describe_company_network_configuration(params = {}) - # @param [Hash] params ({}) - def describe_company_network_configuration(params = {}, options = {}) - req = build_request(:describe_company_network_configuration, params) - req.send_request(options) - end - - # Provides information about a user's device. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [required, String] :device_id - # A unique identifier for a registered user's device. - # - # @return [Types::DescribeDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::DescribeDeviceResponse#status #status} => String - # * {Types::DescribeDeviceResponse#model #model} => String - # * {Types::DescribeDeviceResponse#manufacturer #manufacturer} => String - # * {Types::DescribeDeviceResponse#operating_system #operating_system} => String - # * {Types::DescribeDeviceResponse#operating_system_version #operating_system_version} => String - # * {Types::DescribeDeviceResponse#patch_level #patch_level} => String - # * {Types::DescribeDeviceResponse#first_accessed_time #first_accessed_time} => Time - # * {Types::DescribeDeviceResponse#last_accessed_time #last_accessed_time} => Time - # * {Types::DescribeDeviceResponse#username #username} => String - # - # @example Request syntax with placeholder values - # - # resp = client.describe_device({ - # fleet_arn: "FleetArn", # required - # device_id: "Id", # required - # }) - # - # @example Response structure - # - # resp.status #=> String, one of "ACTIVE", "SIGNED_OUT" - # resp.model #=> String - # resp.manufacturer #=> String - # resp.operating_system #=> String - # resp.operating_system_version #=> String - # resp.patch_level #=> String - # resp.first_accessed_time #=> Time - # resp.last_accessed_time #=> Time - # resp.username #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevice AWS API Documentation - # - # @overload describe_device(params = {}) - # @param [Hash] params ({}) - def describe_device(params = {}, options = {}) - req = build_request(:describe_device, params) - req.send_request(options) - end - - # Describes the device policy configuration for the specified fleet. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @return [Types::DescribeDevicePolicyConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::DescribeDevicePolicyConfigurationResponse#device_ca_certificate #device_ca_certificate} => String - # - # @example Request syntax with placeholder values - # - # resp = client.describe_device_policy_configuration({ - # fleet_arn: "FleetArn", # required - # }) - # - # @example Response structure - # - # resp.device_ca_certificate #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevicePolicyConfiguration AWS API Documentation - # - # @overload describe_device_policy_configuration(params = {}) - # @param [Hash] params ({}) - def describe_device_policy_configuration(params = {}, options = {}) - req = build_request(:describe_device_policy_configuration, params) - req.send_request(options) - end - - # Provides information about the domain. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [required, String] :domain_name - # The name of the domain. - # - # @return [Types::DescribeDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::DescribeDomainResponse#domain_name #domain_name} => String - # * {Types::DescribeDomainResponse#display_name #display_name} => String - # * {Types::DescribeDomainResponse#created_time #created_time} => Time - # * {Types::DescribeDomainResponse#domain_status #domain_status} => String - # * {Types::DescribeDomainResponse#acm_certificate_arn #acm_certificate_arn} => String - # - # @example Request syntax with placeholder values - # - # resp = client.describe_domain({ - # fleet_arn: "FleetArn", # required - # domain_name: "DomainName", # required - # }) - # - # @example Response structure - # - # resp.domain_name #=> String - # resp.display_name #=> String - # resp.created_time #=> Time - # resp.domain_status #=> String, one of "PENDING_VALIDATION", "ASSOCIATING", "ACTIVE", "INACTIVE", "DISASSOCIATING", "DISASSOCIATED", "FAILED_TO_ASSOCIATE", "FAILED_TO_DISASSOCIATE" - # resp.acm_certificate_arn #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDomain AWS API Documentation - # - # @overload describe_domain(params = {}) - # @param [Hash] params ({}) - def describe_domain(params = {}, options = {}) - req = build_request(:describe_domain, params) - req.send_request(options) - end - - # Provides basic information for the specified fleet, excluding identity - # provider, networking, and device configuration details. - # - # @option params [required, String] :fleet_arn - # The Amazon Resource Name (ARN) of the fleet. - # - # @return [Types::DescribeFleetMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::DescribeFleetMetadataResponse#created_time #created_time} => Time - # * {Types::DescribeFleetMetadataResponse#last_updated_time #last_updated_time} => Time - # * {Types::DescribeFleetMetadataResponse#fleet_name #fleet_name} => String - # * {Types::DescribeFleetMetadataResponse#display_name #display_name} => String - # * {Types::DescribeFleetMetadataResponse#optimize_for_end_user_location #optimize_for_end_user_location} => Boolean - # * {Types::DescribeFleetMetadataResponse#company_code #company_code} => String - # * {Types::DescribeFleetMetadataResponse#fleet_status #fleet_status} => String - # * {Types::DescribeFleetMetadataResponse#tags #tags} => Hash<String,String> - # - # @example Request syntax with placeholder values - # - # resp = client.describe_fleet_metadata({ - # fleet_arn: "FleetArn", # required - # }) - # - # @example Response structure - # - # resp.created_time #=> Time - # resp.last_updated_time #=> Time - # resp.fleet_name #=> String - # resp.display_name #=> String - # resp.optimize_for_end_user_location #=> Boolean - # resp.company_code #=> String - # resp.fleet_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED_TO_CREATE", "FAILED_TO_DELETE" - # resp.tags #=> Hash - # resp.tags["TagKey"] #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeFleetMetadata AWS API Documentation - # - # @overload describe_fleet_metadata(params = {}) - # @param [Hash] params ({}) - def describe_fleet_metadata(params = {}, options = {}) - req = build_request(:describe_fleet_metadata, params) - req.send_request(options) - end - - # Describes the identity provider configuration of the specified fleet. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @return [Types::DescribeIdentityProviderConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::DescribeIdentityProviderConfigurationResponse#identity_provider_type #identity_provider_type} => String - # * {Types::DescribeIdentityProviderConfigurationResponse#service_provider_saml_metadata #service_provider_saml_metadata} => String - # * {Types::DescribeIdentityProviderConfigurationResponse#identity_provider_saml_metadata #identity_provider_saml_metadata} => String - # - # @example Request syntax with placeholder values - # - # resp = client.describe_identity_provider_configuration({ - # fleet_arn: "FleetArn", # required - # }) - # - # @example Response structure - # - # resp.identity_provider_type #=> String, one of "SAML" - # resp.service_provider_saml_metadata #=> String - # resp.identity_provider_saml_metadata #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeIdentityProviderConfiguration AWS API Documentation - # - # @overload describe_identity_provider_configuration(params = {}) - # @param [Hash] params ({}) - def describe_identity_provider_configuration(params = {}, options = {}) - req = build_request(:describe_identity_provider_configuration, params) - req.send_request(options) - end - - # Provides information about the certificate authority. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [required, String] :website_ca_id - # A unique identifier for the certificate authority. - # - # @return [Types::DescribeWebsiteCertificateAuthorityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::DescribeWebsiteCertificateAuthorityResponse#certificate #certificate} => String - # * {Types::DescribeWebsiteCertificateAuthorityResponse#created_time #created_time} => Time - # * {Types::DescribeWebsiteCertificateAuthorityResponse#display_name #display_name} => String - # - # @example Request syntax with placeholder values - # - # resp = client.describe_website_certificate_authority({ - # fleet_arn: "FleetArn", # required - # website_ca_id: "Id", # required - # }) - # - # @example Response structure - # - # resp.certificate #=> String - # resp.created_time #=> Time - # resp.display_name #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeWebsiteCertificateAuthority AWS API Documentation - # - # @overload describe_website_certificate_authority(params = {}) - # @param [Hash] params ({}) - def describe_website_certificate_authority(params = {}, options = {}) - req = build_request(:describe_website_certificate_authority, params) - req.send_request(options) - end - - # Disassociates a domain from Amazon WorkLink. End users lose the - # ability to access the domain with Amazon WorkLink. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [required, String] :domain_name - # The name of the domain. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.disassociate_domain({ - # fleet_arn: "FleetArn", # required - # domain_name: "DomainName", # required - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateDomain AWS API Documentation - # - # @overload disassociate_domain(params = {}) - # @param [Hash] params ({}) - def disassociate_domain(params = {}, options = {}) - req = build_request(:disassociate_domain, params) - req.send_request(options) - end - - # Disassociates a website authorization provider from a specified fleet. - # After the disassociation, users can't load any associated websites - # that require this authorization provider. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [required, String] :authorization_provider_id - # A unique identifier for the authorization provider. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.disassociate_website_authorization_provider({ - # fleet_arn: "FleetArn", # required - # authorization_provider_id: "Id", # required - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteAuthorizationProvider AWS API Documentation - # - # @overload disassociate_website_authorization_provider(params = {}) - # @param [Hash] params ({}) - def disassociate_website_authorization_provider(params = {}, options = {}) - req = build_request(:disassociate_website_authorization_provider, params) - req.send_request(options) - end - - # Removes a certificate authority (CA). - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [required, String] :website_ca_id - # A unique identifier for the CA. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.disassociate_website_certificate_authority({ - # fleet_arn: "FleetArn", # required - # website_ca_id: "Id", # required - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteCertificateAuthority AWS API Documentation - # - # @overload disassociate_website_certificate_authority(params = {}) - # @param [Hash] params ({}) - def disassociate_website_certificate_authority(params = {}, options = {}) - req = build_request(:disassociate_website_certificate_authority, params) - req.send_request(options) - end - - # Retrieves a list of devices registered with the specified fleet. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [String] :next_token - # The pagination token used to retrieve the next page of results for - # this operation. If this value is null, it retrieves the first page. - # - # @option params [Integer] :max_results - # The maximum number of results to be included in the next page. - # - # @return [Types::ListDevicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::ListDevicesResponse#devices #devices} => Array<Types::DeviceSummary> - # * {Types::ListDevicesResponse#next_token #next_token} => String - # - # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. - # - # @example Request syntax with placeholder values - # - # resp = client.list_devices({ - # fleet_arn: "FleetArn", # required - # next_token: "NextToken", - # max_results: 1, - # }) - # - # @example Response structure - # - # resp.devices #=> Array - # resp.devices[0].device_id #=> String - # resp.devices[0].device_status #=> String, one of "ACTIVE", "SIGNED_OUT" - # resp.next_token #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDevices AWS API Documentation - # - # @overload list_devices(params = {}) - # @param [Hash] params ({}) - def list_devices(params = {}, options = {}) - req = build_request(:list_devices, params) - req.send_request(options) - end - - # Retrieves a list of domains associated to a specified fleet. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [String] :next_token - # The pagination token used to retrieve the next page of results for - # this operation. If this value is null, it retrieves the first page. - # - # @option params [Integer] :max_results - # The maximum number of results to be included in the next page. - # - # @return [Types::ListDomainsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::ListDomainsResponse#domains #domains} => Array<Types::DomainSummary> - # * {Types::ListDomainsResponse#next_token #next_token} => String - # - # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. - # - # @example Request syntax with placeholder values - # - # resp = client.list_domains({ - # fleet_arn: "FleetArn", # required - # next_token: "NextToken", - # max_results: 1, - # }) - # - # @example Response structure - # - # resp.domains #=> Array - # resp.domains[0].domain_name #=> String - # resp.domains[0].display_name #=> String - # resp.domains[0].created_time #=> Time - # resp.domains[0].domain_status #=> String, one of "PENDING_VALIDATION", "ASSOCIATING", "ACTIVE", "INACTIVE", "DISASSOCIATING", "DISASSOCIATED", "FAILED_TO_ASSOCIATE", "FAILED_TO_DISASSOCIATE" - # resp.next_token #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDomains AWS API Documentation - # - # @overload list_domains(params = {}) - # @param [Hash] params ({}) - def list_domains(params = {}, options = {}) - req = build_request(:list_domains, params) - req.send_request(options) - end - - # Retrieves a list of fleets for the current account and Region. - # - # @option params [String] :next_token - # The pagination token used to retrieve the next page of results for - # this operation. If this value is null, it retrieves the first page. - # - # @option params [Integer] :max_results - # The maximum number of results to be included in the next page. - # - # @return [Types::ListFleetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::ListFleetsResponse#fleet_summary_list #fleet_summary_list} => Array<Types::FleetSummary> - # * {Types::ListFleetsResponse#next_token #next_token} => String - # - # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. - # - # @example Request syntax with placeholder values - # - # resp = client.list_fleets({ - # next_token: "NextToken", - # max_results: 1, - # }) - # - # @example Response structure - # - # resp.fleet_summary_list #=> Array - # resp.fleet_summary_list[0].fleet_arn #=> String - # resp.fleet_summary_list[0].created_time #=> Time - # resp.fleet_summary_list[0].last_updated_time #=> Time - # resp.fleet_summary_list[0].fleet_name #=> String - # resp.fleet_summary_list[0].display_name #=> String - # resp.fleet_summary_list[0].company_code #=> String - # resp.fleet_summary_list[0].fleet_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED_TO_CREATE", "FAILED_TO_DELETE" - # resp.fleet_summary_list[0].tags #=> Hash - # resp.fleet_summary_list[0].tags["TagKey"] #=> String - # resp.next_token #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListFleets AWS API Documentation - # - # @overload list_fleets(params = {}) - # @param [Hash] params ({}) - def list_fleets(params = {}, options = {}) - req = build_request(:list_fleets, params) - req.send_request(options) - end - - # Retrieves a list of tags for the specified resource. - # - # @option params [required, String] :resource_arn - # The Amazon Resource Name (ARN) of the fleet. - # - # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String> - # - # @example Request syntax with placeholder values - # - # resp = client.list_tags_for_resource({ - # resource_arn: "FleetArn", # required - # }) - # - # @example Response structure - # - # resp.tags #=> Hash - # resp.tags["TagKey"] #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListTagsForResource AWS API Documentation - # - # @overload list_tags_for_resource(params = {}) - # @param [Hash] params ({}) - def list_tags_for_resource(params = {}, options = {}) - req = build_request(:list_tags_for_resource, params) - req.send_request(options) - end - - # Retrieves a list of website authorization providers associated with a - # specified fleet. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [String] :next_token - # The pagination token to use to retrieve the next page of results for - # this operation. If this value is null, it retrieves the first page. - # - # @option params [Integer] :max_results - # The maximum number of results to be included in the next page. - # - # @return [Types::ListWebsiteAuthorizationProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::ListWebsiteAuthorizationProvidersResponse#website_authorization_providers #website_authorization_providers} => Array<Types::WebsiteAuthorizationProviderSummary> - # * {Types::ListWebsiteAuthorizationProvidersResponse#next_token #next_token} => String - # - # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. - # - # @example Request syntax with placeholder values - # - # resp = client.list_website_authorization_providers({ - # fleet_arn: "FleetArn", # required - # next_token: "NextToken", - # max_results: 1, - # }) - # - # @example Response structure - # - # resp.website_authorization_providers #=> Array - # resp.website_authorization_providers[0].authorization_provider_id #=> String - # resp.website_authorization_providers[0].authorization_provider_type #=> String, one of "SAML" - # resp.website_authorization_providers[0].domain_name #=> String - # resp.website_authorization_providers[0].created_time #=> Time - # resp.next_token #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteAuthorizationProviders AWS API Documentation - # - # @overload list_website_authorization_providers(params = {}) - # @param [Hash] params ({}) - def list_website_authorization_providers(params = {}, options = {}) - req = build_request(:list_website_authorization_providers, params) - req.send_request(options) - end - - # Retrieves a list of certificate authorities added for the current - # account and Region. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [Integer] :max_results - # The maximum number of results to be included in the next page. - # - # @option params [String] :next_token - # The pagination token used to retrieve the next page of results for - # this operation. If this value is null, it retrieves the first page. - # - # @return [Types::ListWebsiteCertificateAuthoritiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::ListWebsiteCertificateAuthoritiesResponse#website_certificate_authorities #website_certificate_authorities} => Array<Types::WebsiteCaSummary> - # * {Types::ListWebsiteCertificateAuthoritiesResponse#next_token #next_token} => String - # - # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. - # - # @example Request syntax with placeholder values - # - # resp = client.list_website_certificate_authorities({ - # fleet_arn: "FleetArn", # required - # max_results: 1, - # next_token: "NextToken", - # }) - # - # @example Response structure - # - # resp.website_certificate_authorities #=> Array - # resp.website_certificate_authorities[0].website_ca_id #=> String - # resp.website_certificate_authorities[0].created_time #=> Time - # resp.website_certificate_authorities[0].display_name #=> String - # resp.next_token #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteCertificateAuthorities AWS API Documentation - # - # @overload list_website_certificate_authorities(params = {}) - # @param [Hash] params ({}) - def list_website_certificate_authorities(params = {}, options = {}) - req = build_request(:list_website_certificate_authorities, params) - req.send_request(options) - end - - # Moves a domain to ACTIVE status if it was in the INACTIVE status. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [required, String] :domain_name - # The name of the domain. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.restore_domain_access({ - # fleet_arn: "FleetArn", # required - # domain_name: "DomainName", # required - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RestoreDomainAccess AWS API Documentation - # - # @overload restore_domain_access(params = {}) - # @param [Hash] params ({}) - def restore_domain_access(params = {}, options = {}) - req = build_request(:restore_domain_access, params) - req.send_request(options) - end - - # Moves a domain to INACTIVE status if it was in the ACTIVE status. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [required, String] :domain_name - # The name of the domain. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.revoke_domain_access({ - # fleet_arn: "FleetArn", # required - # domain_name: "DomainName", # required - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RevokeDomainAccess AWS API Documentation - # - # @overload revoke_domain_access(params = {}) - # @param [Hash] params ({}) - def revoke_domain_access(params = {}, options = {}) - req = build_request(:revoke_domain_access, params) - req.send_request(options) - end - - # Signs the user out from all of their devices. The user can sign in - # again if they have valid credentials. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [required, String] :username - # The name of the user. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.sign_out_user({ - # fleet_arn: "FleetArn", # required - # username: "Username", # required - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/SignOutUser AWS API Documentation - # - # @overload sign_out_user(params = {}) - # @param [Hash] params ({}) - def sign_out_user(params = {}, options = {}) - req = build_request(:sign_out_user, params) - req.send_request(options) - end - - # 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. - # - # @option params [required, String] :resource_arn - # The Amazon Resource Name (ARN) of the fleet. - # - # @option params [required, Hash] :tags - # The tags to add to the resource. A tag is a key-value pair. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.tag_resource({ - # resource_arn: "FleetArn", # required - # tags: { # required - # "TagKey" => "TagValue", - # }, - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/TagResource AWS API Documentation - # - # @overload tag_resource(params = {}) - # @param [Hash] params ({}) - def tag_resource(params = {}, options = {}) - req = build_request(:tag_resource, params) - req.send_request(options) - end - - # Removes one or more tags from the specified resource. - # - # @option params [required, String] :resource_arn - # The Amazon Resource Name (ARN) of the fleet. - # - # @option params [required, Array] :tag_keys - # The list of tag keys to remove from the resource. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.untag_resource({ - # resource_arn: "FleetArn", # required - # tag_keys: ["TagKey"], # required - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UntagResource AWS API Documentation - # - # @overload untag_resource(params = {}) - # @param [Hash] params ({}) - def untag_resource(params = {}, options = {}) - req = build_request(:untag_resource, params) - req.send_request(options) - end - - # Updates the audit stream configuration for the fleet. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [String] :audit_stream_arn - # The ARN of the Amazon Kinesis data stream that receives the audit - # events. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.update_audit_stream_configuration({ - # fleet_arn: "FleetArn", # required - # audit_stream_arn: "AuditStreamArn", - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateAuditStreamConfiguration AWS API Documentation - # - # @overload update_audit_stream_configuration(params = {}) - # @param [Hash] params ({}) - def update_audit_stream_configuration(params = {}, options = {}) - req = build_request(:update_audit_stream_configuration, params) - req.send_request(options) - end - - # Updates the company network configuration for the fleet. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [required, String] :vpc_id - # The VPC with connectivity to associated websites. - # - # @option params [required, Array] :subnet_ids - # The subnets used for X-ENI connections from Amazon WorkLink rendering - # containers. - # - # @option params [required, Array] :security_group_ids - # The security groups associated with access to the provided subnets. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.update_company_network_configuration({ - # fleet_arn: "FleetArn", # required - # vpc_id: "VpcId", # required - # subnet_ids: ["SubnetId"], # required - # security_group_ids: ["SecurityGroupId"], # required - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateCompanyNetworkConfiguration AWS API Documentation - # - # @overload update_company_network_configuration(params = {}) - # @param [Hash] params ({}) - def update_company_network_configuration(params = {}, options = {}) - req = build_request(:update_company_network_configuration, params) - req.send_request(options) - end - - # Updates the device policy configuration for the fleet. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [String] :device_ca_certificate - # The certificate chain, including intermediate certificates and the - # root certificate authority certificate used to issue device - # certificates. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.update_device_policy_configuration({ - # fleet_arn: "FleetArn", # required - # device_ca_certificate: "CertificateChain", - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDevicePolicyConfiguration AWS API Documentation - # - # @overload update_device_policy_configuration(params = {}) - # @param [Hash] params ({}) - def update_device_policy_configuration(params = {}, options = {}) - req = build_request(:update_device_policy_configuration, params) - req.send_request(options) - end - - # Updates domain metadata, such as DisplayName. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [required, String] :domain_name - # The name of the domain. - # - # @option params [String] :display_name - # The name to display. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.update_domain_metadata({ - # fleet_arn: "FleetArn", # required - # domain_name: "DomainName", # required - # display_name: "DisplayName", - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDomainMetadata AWS API Documentation - # - # @overload update_domain_metadata(params = {}) - # @param [Hash] params ({}) - def update_domain_metadata(params = {}, options = {}) - req = build_request(:update_domain_metadata, params) - req.send_request(options) - end - - # Updates fleet metadata, such as DisplayName. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [String] :display_name - # The fleet name to display. The existing DisplayName is unset if null - # is passed. - # - # @option params [Boolean] :optimize_for_end_user_location - # The option to optimize for better performance by routing traffic - # through the closest AWS Region to users, which may be outside of your - # home Region. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.update_fleet_metadata({ - # fleet_arn: "FleetArn", # required - # display_name: "DisplayName", - # optimize_for_end_user_location: false, - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateFleetMetadata AWS API Documentation - # - # @overload update_fleet_metadata(params = {}) - # @param [Hash] params ({}) - def update_fleet_metadata(params = {}, options = {}) - req = build_request(:update_fleet_metadata, params) - req.send_request(options) - end - - # Updates the identity provider configuration for the fleet. - # - # @option params [required, String] :fleet_arn - # The ARN of the fleet. - # - # @option params [required, String] :identity_provider_type - # The type of identity provider. - # - # @option params [String] :identity_provider_saml_metadata - # The SAML metadata document provided by the customer’s identity - # provider. The existing IdentityProviderSamlMetadata is unset if null - # is passed. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.update_identity_provider_configuration({ - # fleet_arn: "FleetArn", # required - # identity_provider_type: "SAML", # required, accepts SAML - # identity_provider_saml_metadata: "SamlMetadata", - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateIdentityProviderConfiguration AWS API Documentation - # - # @overload update_identity_provider_configuration(params = {}) - # @param [Hash] params ({}) - def update_identity_provider_configuration(params = {}, options = {}) - req = build_request(:update_identity_provider_configuration, params) - req.send_request(options) - end - - # @!endgroup - - # @param params ({}) - # @api private - 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 - - # @api private - # @deprecated - def waiter_names - [] - end - - class << self - - # @api private - attr_reader :identifier - - # @api private - def errors_module - Errors - end - - end - end -end diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/client_api.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink/client_api.rb deleted file mode 100644 index a83362276ee..00000000000 --- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/client_api.rb +++ /dev/null @@ -1,962 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws::WorkLink - # @api private - module ClientApi - - include Seahorse::Model - - AcmCertificateArn = Shapes::StringShape.new(name: 'AcmCertificateArn') - AssociateDomainRequest = Shapes::StructureShape.new(name: 'AssociateDomainRequest') - AssociateDomainResponse = Shapes::StructureShape.new(name: 'AssociateDomainResponse') - AssociateWebsiteAuthorizationProviderRequest = Shapes::StructureShape.new(name: 'AssociateWebsiteAuthorizationProviderRequest') - AssociateWebsiteAuthorizationProviderResponse = Shapes::StructureShape.new(name: 'AssociateWebsiteAuthorizationProviderResponse') - AssociateWebsiteCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'AssociateWebsiteCertificateAuthorityRequest') - AssociateWebsiteCertificateAuthorityResponse = Shapes::StructureShape.new(name: 'AssociateWebsiteCertificateAuthorityResponse') - AuditStreamArn = Shapes::StringShape.new(name: 'AuditStreamArn') - AuthorizationProviderType = Shapes::StringShape.new(name: 'AuthorizationProviderType') - Boolean = Shapes::BooleanShape.new(name: 'Boolean') - Certificate = Shapes::StringShape.new(name: 'Certificate') - CertificateChain = Shapes::StringShape.new(name: 'CertificateChain') - CompanyCode = Shapes::StringShape.new(name: 'CompanyCode') - CreateFleetRequest = Shapes::StructureShape.new(name: 'CreateFleetRequest') - CreateFleetResponse = Shapes::StructureShape.new(name: 'CreateFleetResponse') - DateTime = Shapes::TimestampShape.new(name: 'DateTime') - DeleteFleetRequest = Shapes::StructureShape.new(name: 'DeleteFleetRequest') - DeleteFleetResponse = Shapes::StructureShape.new(name: 'DeleteFleetResponse') - DescribeAuditStreamConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeAuditStreamConfigurationRequest') - DescribeAuditStreamConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeAuditStreamConfigurationResponse') - DescribeCompanyNetworkConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeCompanyNetworkConfigurationRequest') - DescribeCompanyNetworkConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeCompanyNetworkConfigurationResponse') - DescribeDevicePolicyConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeDevicePolicyConfigurationRequest') - DescribeDevicePolicyConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeDevicePolicyConfigurationResponse') - DescribeDeviceRequest = Shapes::StructureShape.new(name: 'DescribeDeviceRequest') - DescribeDeviceResponse = Shapes::StructureShape.new(name: 'DescribeDeviceResponse') - DescribeDomainRequest = Shapes::StructureShape.new(name: 'DescribeDomainRequest') - DescribeDomainResponse = Shapes::StructureShape.new(name: 'DescribeDomainResponse') - DescribeFleetMetadataRequest = Shapes::StructureShape.new(name: 'DescribeFleetMetadataRequest') - DescribeFleetMetadataResponse = Shapes::StructureShape.new(name: 'DescribeFleetMetadataResponse') - DescribeIdentityProviderConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeIdentityProviderConfigurationRequest') - DescribeIdentityProviderConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeIdentityProviderConfigurationResponse') - DescribeWebsiteCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'DescribeWebsiteCertificateAuthorityRequest') - DescribeWebsiteCertificateAuthorityResponse = Shapes::StructureShape.new(name: 'DescribeWebsiteCertificateAuthorityResponse') - DeviceManufacturer = Shapes::StringShape.new(name: 'DeviceManufacturer') - DeviceModel = Shapes::StringShape.new(name: 'DeviceModel') - DeviceOperatingSystemName = Shapes::StringShape.new(name: 'DeviceOperatingSystemName') - DeviceOperatingSystemVersion = Shapes::StringShape.new(name: 'DeviceOperatingSystemVersion') - DevicePatchLevel = Shapes::StringShape.new(name: 'DevicePatchLevel') - DeviceStatus = Shapes::StringShape.new(name: 'DeviceStatus') - DeviceSummary = Shapes::StructureShape.new(name: 'DeviceSummary') - DeviceSummaryList = Shapes::ListShape.new(name: 'DeviceSummaryList') - DisassociateDomainRequest = Shapes::StructureShape.new(name: 'DisassociateDomainRequest') - DisassociateDomainResponse = Shapes::StructureShape.new(name: 'DisassociateDomainResponse') - DisassociateWebsiteAuthorizationProviderRequest = Shapes::StructureShape.new(name: 'DisassociateWebsiteAuthorizationProviderRequest') - DisassociateWebsiteAuthorizationProviderResponse = Shapes::StructureShape.new(name: 'DisassociateWebsiteAuthorizationProviderResponse') - DisassociateWebsiteCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'DisassociateWebsiteCertificateAuthorityRequest') - DisassociateWebsiteCertificateAuthorityResponse = Shapes::StructureShape.new(name: 'DisassociateWebsiteCertificateAuthorityResponse') - DisplayName = Shapes::StringShape.new(name: 'DisplayName') - DomainName = Shapes::StringShape.new(name: 'DomainName') - DomainStatus = Shapes::StringShape.new(name: 'DomainStatus') - DomainSummary = Shapes::StructureShape.new(name: 'DomainSummary') - DomainSummaryList = Shapes::ListShape.new(name: 'DomainSummaryList') - ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage') - FleetArn = Shapes::StringShape.new(name: 'FleetArn') - FleetName = Shapes::StringShape.new(name: 'FleetName') - FleetStatus = Shapes::StringShape.new(name: 'FleetStatus') - FleetSummary = Shapes::StructureShape.new(name: 'FleetSummary') - FleetSummaryList = Shapes::ListShape.new(name: 'FleetSummaryList') - Id = Shapes::StringShape.new(name: 'Id') - IdentityProviderType = Shapes::StringShape.new(name: 'IdentityProviderType') - InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException') - InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException') - ListDevicesRequest = Shapes::StructureShape.new(name: 'ListDevicesRequest') - ListDevicesResponse = Shapes::StructureShape.new(name: 'ListDevicesResponse') - ListDomainsRequest = Shapes::StructureShape.new(name: 'ListDomainsRequest') - ListDomainsResponse = Shapes::StructureShape.new(name: 'ListDomainsResponse') - ListFleetsRequest = Shapes::StructureShape.new(name: 'ListFleetsRequest') - ListFleetsResponse = Shapes::StructureShape.new(name: 'ListFleetsResponse') - ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest') - ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse') - ListWebsiteAuthorizationProvidersRequest = Shapes::StructureShape.new(name: 'ListWebsiteAuthorizationProvidersRequest') - ListWebsiteAuthorizationProvidersResponse = Shapes::StructureShape.new(name: 'ListWebsiteAuthorizationProvidersResponse') - ListWebsiteCertificateAuthoritiesRequest = Shapes::StructureShape.new(name: 'ListWebsiteCertificateAuthoritiesRequest') - ListWebsiteCertificateAuthoritiesResponse = Shapes::StructureShape.new(name: 'ListWebsiteCertificateAuthoritiesResponse') - MaxResults = Shapes::IntegerShape.new(name: 'MaxResults') - NextToken = Shapes::StringShape.new(name: 'NextToken') - ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException') - ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException') - RestoreDomainAccessRequest = Shapes::StructureShape.new(name: 'RestoreDomainAccessRequest') - RestoreDomainAccessResponse = Shapes::StructureShape.new(name: 'RestoreDomainAccessResponse') - RevokeDomainAccessRequest = Shapes::StructureShape.new(name: 'RevokeDomainAccessRequest') - RevokeDomainAccessResponse = Shapes::StructureShape.new(name: 'RevokeDomainAccessResponse') - SamlMetadata = Shapes::StringShape.new(name: 'SamlMetadata') - SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId') - SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds') - SignOutUserRequest = Shapes::StructureShape.new(name: 'SignOutUserRequest') - SignOutUserResponse = Shapes::StructureShape.new(name: 'SignOutUserResponse') - SubnetId = Shapes::StringShape.new(name: 'SubnetId') - SubnetIds = Shapes::ListShape.new(name: 'SubnetIds') - TagKey = Shapes::StringShape.new(name: 'TagKey') - TagKeyList = Shapes::ListShape.new(name: 'TagKeyList') - TagMap = Shapes::MapShape.new(name: 'TagMap') - TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest') - TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse') - TagValue = Shapes::StringShape.new(name: 'TagValue') - TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException') - UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException') - UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest') - UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse') - UpdateAuditStreamConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateAuditStreamConfigurationRequest') - UpdateAuditStreamConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateAuditStreamConfigurationResponse') - UpdateCompanyNetworkConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateCompanyNetworkConfigurationRequest') - UpdateCompanyNetworkConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateCompanyNetworkConfigurationResponse') - UpdateDevicePolicyConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateDevicePolicyConfigurationRequest') - UpdateDevicePolicyConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateDevicePolicyConfigurationResponse') - UpdateDomainMetadataRequest = Shapes::StructureShape.new(name: 'UpdateDomainMetadataRequest') - UpdateDomainMetadataResponse = Shapes::StructureShape.new(name: 'UpdateDomainMetadataResponse') - UpdateFleetMetadataRequest = Shapes::StructureShape.new(name: 'UpdateFleetMetadataRequest') - UpdateFleetMetadataResponse = Shapes::StructureShape.new(name: 'UpdateFleetMetadataResponse') - UpdateIdentityProviderConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateIdentityProviderConfigurationRequest') - UpdateIdentityProviderConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateIdentityProviderConfigurationResponse') - Username = Shapes::StringShape.new(name: 'Username') - VpcId = Shapes::StringShape.new(name: 'VpcId') - WebsiteAuthorizationProviderSummary = Shapes::StructureShape.new(name: 'WebsiteAuthorizationProviderSummary') - WebsiteAuthorizationProvidersSummaryList = Shapes::ListShape.new(name: 'WebsiteAuthorizationProvidersSummaryList') - WebsiteCaSummary = Shapes::StructureShape.new(name: 'WebsiteCaSummary') - WebsiteCaSummaryList = Shapes::ListShape.new(name: 'WebsiteCaSummaryList') - - AssociateDomainRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - AssociateDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName")) - AssociateDomainRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName")) - AssociateDomainRequest.add_member(:acm_certificate_arn, Shapes::ShapeRef.new(shape: AcmCertificateArn, required: true, location_name: "AcmCertificateArn")) - AssociateDomainRequest.struct_class = Types::AssociateDomainRequest - - AssociateDomainResponse.struct_class = Types::AssociateDomainResponse - - AssociateWebsiteAuthorizationProviderRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - AssociateWebsiteAuthorizationProviderRequest.add_member(:authorization_provider_type, Shapes::ShapeRef.new(shape: AuthorizationProviderType, required: true, location_name: "AuthorizationProviderType")) - AssociateWebsiteAuthorizationProviderRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName")) - AssociateWebsiteAuthorizationProviderRequest.struct_class = Types::AssociateWebsiteAuthorizationProviderRequest - - AssociateWebsiteAuthorizationProviderResponse.add_member(:authorization_provider_id, Shapes::ShapeRef.new(shape: Id, location_name: "AuthorizationProviderId")) - AssociateWebsiteAuthorizationProviderResponse.struct_class = Types::AssociateWebsiteAuthorizationProviderResponse - - AssociateWebsiteCertificateAuthorityRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - AssociateWebsiteCertificateAuthorityRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: Certificate, required: true, location_name: "Certificate")) - AssociateWebsiteCertificateAuthorityRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName")) - AssociateWebsiteCertificateAuthorityRequest.struct_class = Types::AssociateWebsiteCertificateAuthorityRequest - - AssociateWebsiteCertificateAuthorityResponse.add_member(:website_ca_id, Shapes::ShapeRef.new(shape: Id, location_name: "WebsiteCaId")) - AssociateWebsiteCertificateAuthorityResponse.struct_class = Types::AssociateWebsiteCertificateAuthorityResponse - - CreateFleetRequest.add_member(:fleet_name, Shapes::ShapeRef.new(shape: FleetName, required: true, location_name: "FleetName")) - CreateFleetRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName")) - CreateFleetRequest.add_member(:optimize_for_end_user_location, Shapes::ShapeRef.new(shape: Boolean, location_name: "OptimizeForEndUserLocation")) - CreateFleetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags")) - CreateFleetRequest.struct_class = Types::CreateFleetRequest - - CreateFleetResponse.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, location_name: "FleetArn")) - CreateFleetResponse.struct_class = Types::CreateFleetResponse - - DeleteFleetRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - DeleteFleetRequest.struct_class = Types::DeleteFleetRequest - - DeleteFleetResponse.struct_class = Types::DeleteFleetResponse - - DescribeAuditStreamConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - DescribeAuditStreamConfigurationRequest.struct_class = Types::DescribeAuditStreamConfigurationRequest - - DescribeAuditStreamConfigurationResponse.add_member(:audit_stream_arn, Shapes::ShapeRef.new(shape: AuditStreamArn, location_name: "AuditStreamArn")) - DescribeAuditStreamConfigurationResponse.struct_class = Types::DescribeAuditStreamConfigurationResponse - - DescribeCompanyNetworkConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - DescribeCompanyNetworkConfigurationRequest.struct_class = Types::DescribeCompanyNetworkConfigurationRequest - - DescribeCompanyNetworkConfigurationResponse.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId")) - DescribeCompanyNetworkConfigurationResponse.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds")) - DescribeCompanyNetworkConfigurationResponse.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds")) - DescribeCompanyNetworkConfigurationResponse.struct_class = Types::DescribeCompanyNetworkConfigurationResponse - - DescribeDevicePolicyConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - DescribeDevicePolicyConfigurationRequest.struct_class = Types::DescribeDevicePolicyConfigurationRequest - - DescribeDevicePolicyConfigurationResponse.add_member(:device_ca_certificate, Shapes::ShapeRef.new(shape: Certificate, location_name: "DeviceCaCertificate")) - DescribeDevicePolicyConfigurationResponse.struct_class = Types::DescribeDevicePolicyConfigurationResponse - - DescribeDeviceRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - DescribeDeviceRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DeviceId")) - DescribeDeviceRequest.struct_class = Types::DescribeDeviceRequest - - DescribeDeviceResponse.add_member(:status, Shapes::ShapeRef.new(shape: DeviceStatus, location_name: "Status")) - DescribeDeviceResponse.add_member(:model, Shapes::ShapeRef.new(shape: DeviceModel, location_name: "Model")) - DescribeDeviceResponse.add_member(:manufacturer, Shapes::ShapeRef.new(shape: DeviceManufacturer, location_name: "Manufacturer")) - DescribeDeviceResponse.add_member(:operating_system, Shapes::ShapeRef.new(shape: DeviceOperatingSystemName, location_name: "OperatingSystem")) - DescribeDeviceResponse.add_member(:operating_system_version, Shapes::ShapeRef.new(shape: DeviceOperatingSystemVersion, location_name: "OperatingSystemVersion")) - DescribeDeviceResponse.add_member(:patch_level, Shapes::ShapeRef.new(shape: DevicePatchLevel, location_name: "PatchLevel")) - DescribeDeviceResponse.add_member(:first_accessed_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "FirstAccessedTime")) - DescribeDeviceResponse.add_member(:last_accessed_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastAccessedTime")) - DescribeDeviceResponse.add_member(:username, Shapes::ShapeRef.new(shape: Username, location_name: "Username")) - DescribeDeviceResponse.struct_class = Types::DescribeDeviceResponse - - DescribeDomainRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - DescribeDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName")) - DescribeDomainRequest.struct_class = Types::DescribeDomainRequest - - DescribeDomainResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName")) - DescribeDomainResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName")) - DescribeDomainResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime")) - DescribeDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DomainStatus")) - DescribeDomainResponse.add_member(:acm_certificate_arn, Shapes::ShapeRef.new(shape: AcmCertificateArn, location_name: "AcmCertificateArn")) - DescribeDomainResponse.struct_class = Types::DescribeDomainResponse - - DescribeFleetMetadataRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - DescribeFleetMetadataRequest.struct_class = Types::DescribeFleetMetadataRequest - - DescribeFleetMetadataResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime")) - DescribeFleetMetadataResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastUpdatedTime")) - DescribeFleetMetadataResponse.add_member(:fleet_name, Shapes::ShapeRef.new(shape: FleetName, location_name: "FleetName")) - DescribeFleetMetadataResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName")) - DescribeFleetMetadataResponse.add_member(:optimize_for_end_user_location, Shapes::ShapeRef.new(shape: Boolean, location_name: "OptimizeForEndUserLocation")) - DescribeFleetMetadataResponse.add_member(:company_code, Shapes::ShapeRef.new(shape: CompanyCode, location_name: "CompanyCode")) - DescribeFleetMetadataResponse.add_member(:fleet_status, Shapes::ShapeRef.new(shape: FleetStatus, location_name: "FleetStatus")) - DescribeFleetMetadataResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags")) - DescribeFleetMetadataResponse.struct_class = Types::DescribeFleetMetadataResponse - - DescribeIdentityProviderConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - DescribeIdentityProviderConfigurationRequest.struct_class = Types::DescribeIdentityProviderConfigurationRequest - - DescribeIdentityProviderConfigurationResponse.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, location_name: "IdentityProviderType")) - DescribeIdentityProviderConfigurationResponse.add_member(:service_provider_saml_metadata, Shapes::ShapeRef.new(shape: SamlMetadata, location_name: "ServiceProviderSamlMetadata")) - DescribeIdentityProviderConfigurationResponse.add_member(:identity_provider_saml_metadata, Shapes::ShapeRef.new(shape: SamlMetadata, location_name: "IdentityProviderSamlMetadata")) - DescribeIdentityProviderConfigurationResponse.struct_class = Types::DescribeIdentityProviderConfigurationResponse - - DescribeWebsiteCertificateAuthorityRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - DescribeWebsiteCertificateAuthorityRequest.add_member(:website_ca_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "WebsiteCaId")) - DescribeWebsiteCertificateAuthorityRequest.struct_class = Types::DescribeWebsiteCertificateAuthorityRequest - - DescribeWebsiteCertificateAuthorityResponse.add_member(:certificate, Shapes::ShapeRef.new(shape: Certificate, location_name: "Certificate")) - DescribeWebsiteCertificateAuthorityResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime")) - DescribeWebsiteCertificateAuthorityResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName")) - DescribeWebsiteCertificateAuthorityResponse.struct_class = Types::DescribeWebsiteCertificateAuthorityResponse - - DeviceSummary.add_member(:device_id, Shapes::ShapeRef.new(shape: Id, location_name: "DeviceId")) - DeviceSummary.add_member(:device_status, Shapes::ShapeRef.new(shape: DeviceStatus, location_name: "DeviceStatus")) - DeviceSummary.struct_class = Types::DeviceSummary - - DeviceSummaryList.member = Shapes::ShapeRef.new(shape: DeviceSummary) - - DisassociateDomainRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - DisassociateDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName")) - DisassociateDomainRequest.struct_class = Types::DisassociateDomainRequest - - DisassociateDomainResponse.struct_class = Types::DisassociateDomainResponse - - DisassociateWebsiteAuthorizationProviderRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - DisassociateWebsiteAuthorizationProviderRequest.add_member(:authorization_provider_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "AuthorizationProviderId")) - DisassociateWebsiteAuthorizationProviderRequest.struct_class = Types::DisassociateWebsiteAuthorizationProviderRequest - - DisassociateWebsiteAuthorizationProviderResponse.struct_class = Types::DisassociateWebsiteAuthorizationProviderResponse - - DisassociateWebsiteCertificateAuthorityRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - DisassociateWebsiteCertificateAuthorityRequest.add_member(:website_ca_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "WebsiteCaId")) - DisassociateWebsiteCertificateAuthorityRequest.struct_class = Types::DisassociateWebsiteCertificateAuthorityRequest - - DisassociateWebsiteCertificateAuthorityResponse.struct_class = Types::DisassociateWebsiteCertificateAuthorityResponse - - DomainSummary.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName")) - DomainSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName")) - DomainSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "CreatedTime")) - DomainSummary.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, required: true, location_name: "DomainStatus")) - DomainSummary.struct_class = Types::DomainSummary - - DomainSummaryList.member = Shapes::ShapeRef.new(shape: DomainSummary) - - FleetSummary.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, location_name: "FleetArn")) - FleetSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime")) - FleetSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastUpdatedTime")) - FleetSummary.add_member(:fleet_name, Shapes::ShapeRef.new(shape: FleetName, location_name: "FleetName")) - FleetSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName")) - FleetSummary.add_member(:company_code, Shapes::ShapeRef.new(shape: CompanyCode, location_name: "CompanyCode")) - FleetSummary.add_member(:fleet_status, Shapes::ShapeRef.new(shape: FleetStatus, location_name: "FleetStatus")) - FleetSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags")) - FleetSummary.struct_class = Types::FleetSummary - - FleetSummaryList.member = Shapes::ShapeRef.new(shape: FleetSummary) - - InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message")) - InternalServerErrorException.struct_class = Types::InternalServerErrorException - - InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message")) - InvalidRequestException.struct_class = Types::InvalidRequestException - - ListDevicesRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - ListDevicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) - ListDevicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) - ListDevicesRequest.struct_class = Types::ListDevicesRequest - - ListDevicesResponse.add_member(:devices, Shapes::ShapeRef.new(shape: DeviceSummaryList, location_name: "Devices")) - ListDevicesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) - ListDevicesResponse.struct_class = Types::ListDevicesResponse - - ListDomainsRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - ListDomainsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) - ListDomainsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) - ListDomainsRequest.struct_class = Types::ListDomainsRequest - - ListDomainsResponse.add_member(:domains, Shapes::ShapeRef.new(shape: DomainSummaryList, location_name: "Domains")) - ListDomainsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) - ListDomainsResponse.struct_class = Types::ListDomainsResponse - - ListFleetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) - ListFleetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) - ListFleetsRequest.struct_class = Types::ListFleetsRequest - - ListFleetsResponse.add_member(:fleet_summary_list, Shapes::ShapeRef.new(shape: FleetSummaryList, location_name: "FleetSummaryList")) - ListFleetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) - ListFleetsResponse.struct_class = Types::ListFleetsResponse - - ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location: "uri", location_name: "ResourceArn")) - ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest - - ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags")) - ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse - - ListWebsiteAuthorizationProvidersRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - ListWebsiteAuthorizationProvidersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) - ListWebsiteAuthorizationProvidersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) - ListWebsiteAuthorizationProvidersRequest.struct_class = Types::ListWebsiteAuthorizationProvidersRequest - - ListWebsiteAuthorizationProvidersResponse.add_member(:website_authorization_providers, Shapes::ShapeRef.new(shape: WebsiteAuthorizationProvidersSummaryList, location_name: "WebsiteAuthorizationProviders")) - ListWebsiteAuthorizationProvidersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) - ListWebsiteAuthorizationProvidersResponse.struct_class = Types::ListWebsiteAuthorizationProvidersResponse - - ListWebsiteCertificateAuthoritiesRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - ListWebsiteCertificateAuthoritiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) - ListWebsiteCertificateAuthoritiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) - ListWebsiteCertificateAuthoritiesRequest.struct_class = Types::ListWebsiteCertificateAuthoritiesRequest - - ListWebsiteCertificateAuthoritiesResponse.add_member(:website_certificate_authorities, Shapes::ShapeRef.new(shape: WebsiteCaSummaryList, location_name: "WebsiteCertificateAuthorities")) - ListWebsiteCertificateAuthoritiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) - ListWebsiteCertificateAuthoritiesResponse.struct_class = Types::ListWebsiteCertificateAuthoritiesResponse - - ResourceAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message")) - ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException - - ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message")) - ResourceNotFoundException.struct_class = Types::ResourceNotFoundException - - RestoreDomainAccessRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - RestoreDomainAccessRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName")) - RestoreDomainAccessRequest.struct_class = Types::RestoreDomainAccessRequest - - RestoreDomainAccessResponse.struct_class = Types::RestoreDomainAccessResponse - - RevokeDomainAccessRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - RevokeDomainAccessRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName")) - RevokeDomainAccessRequest.struct_class = Types::RevokeDomainAccessRequest - - RevokeDomainAccessResponse.struct_class = Types::RevokeDomainAccessResponse - - SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId) - - SignOutUserRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - SignOutUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: Username, required: true, location_name: "Username")) - SignOutUserRequest.struct_class = Types::SignOutUserRequest - - SignOutUserResponse.struct_class = Types::SignOutUserResponse - - SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId) - - TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey) - - TagMap.key = Shapes::ShapeRef.new(shape: TagKey) - TagMap.value = Shapes::ShapeRef.new(shape: TagValue) - - TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location: "uri", location_name: "ResourceArn")) - TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags")) - TagResourceRequest.struct_class = Types::TagResourceRequest - - TagResourceResponse.struct_class = Types::TagResourceResponse - - TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message")) - TooManyRequestsException.struct_class = Types::TooManyRequestsException - - UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message")) - UnauthorizedException.struct_class = Types::UnauthorizedException - - UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location: "uri", location_name: "ResourceArn")) - UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys")) - UntagResourceRequest.struct_class = Types::UntagResourceRequest - - UntagResourceResponse.struct_class = Types::UntagResourceResponse - - UpdateAuditStreamConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - UpdateAuditStreamConfigurationRequest.add_member(:audit_stream_arn, Shapes::ShapeRef.new(shape: AuditStreamArn, location_name: "AuditStreamArn")) - UpdateAuditStreamConfigurationRequest.struct_class = Types::UpdateAuditStreamConfigurationRequest - - UpdateAuditStreamConfigurationResponse.struct_class = Types::UpdateAuditStreamConfigurationResponse - - UpdateCompanyNetworkConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - UpdateCompanyNetworkConfigurationRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId")) - UpdateCompanyNetworkConfigurationRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds")) - UpdateCompanyNetworkConfigurationRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "SecurityGroupIds")) - UpdateCompanyNetworkConfigurationRequest.struct_class = Types::UpdateCompanyNetworkConfigurationRequest - - UpdateCompanyNetworkConfigurationResponse.struct_class = Types::UpdateCompanyNetworkConfigurationResponse - - UpdateDevicePolicyConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - UpdateDevicePolicyConfigurationRequest.add_member(:device_ca_certificate, Shapes::ShapeRef.new(shape: CertificateChain, location_name: "DeviceCaCertificate")) - UpdateDevicePolicyConfigurationRequest.struct_class = Types::UpdateDevicePolicyConfigurationRequest - - UpdateDevicePolicyConfigurationResponse.struct_class = Types::UpdateDevicePolicyConfigurationResponse - - UpdateDomainMetadataRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - UpdateDomainMetadataRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName")) - UpdateDomainMetadataRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName")) - UpdateDomainMetadataRequest.struct_class = Types::UpdateDomainMetadataRequest - - UpdateDomainMetadataResponse.struct_class = Types::UpdateDomainMetadataResponse - - UpdateFleetMetadataRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - UpdateFleetMetadataRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName")) - UpdateFleetMetadataRequest.add_member(:optimize_for_end_user_location, Shapes::ShapeRef.new(shape: Boolean, location_name: "OptimizeForEndUserLocation")) - UpdateFleetMetadataRequest.struct_class = Types::UpdateFleetMetadataRequest - - UpdateFleetMetadataResponse.struct_class = Types::UpdateFleetMetadataResponse - - UpdateIdentityProviderConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn")) - UpdateIdentityProviderConfigurationRequest.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, required: true, location_name: "IdentityProviderType")) - UpdateIdentityProviderConfigurationRequest.add_member(:identity_provider_saml_metadata, Shapes::ShapeRef.new(shape: SamlMetadata, location_name: "IdentityProviderSamlMetadata")) - UpdateIdentityProviderConfigurationRequest.struct_class = Types::UpdateIdentityProviderConfigurationRequest - - UpdateIdentityProviderConfigurationResponse.struct_class = Types::UpdateIdentityProviderConfigurationResponse - - WebsiteAuthorizationProviderSummary.add_member(:authorization_provider_id, Shapes::ShapeRef.new(shape: Id, location_name: "AuthorizationProviderId")) - WebsiteAuthorizationProviderSummary.add_member(:authorization_provider_type, Shapes::ShapeRef.new(shape: AuthorizationProviderType, required: true, location_name: "AuthorizationProviderType")) - WebsiteAuthorizationProviderSummary.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName")) - WebsiteAuthorizationProviderSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime")) - WebsiteAuthorizationProviderSummary.struct_class = Types::WebsiteAuthorizationProviderSummary - - WebsiteAuthorizationProvidersSummaryList.member = Shapes::ShapeRef.new(shape: WebsiteAuthorizationProviderSummary) - - WebsiteCaSummary.add_member(:website_ca_id, Shapes::ShapeRef.new(shape: Id, location_name: "WebsiteCaId")) - WebsiteCaSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime")) - WebsiteCaSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName")) - WebsiteCaSummary.struct_class = Types::WebsiteCaSummary - - WebsiteCaSummaryList.member = Shapes::ShapeRef.new(shape: WebsiteCaSummary) - - - # @api private - API = Seahorse::Model::Api.new.tap do |api| - - api.version = "2018-09-25" - - api.metadata = { - "apiVersion" => "2018-09-25", - "auth" => ["aws.auth#sigv4"], - "endpointPrefix" => "worklink", - "jsonVersion" => "1.1", - "protocol" => "rest-json", - "protocols" => ["rest-json"], - "serviceAbbreviation" => "WorkLink", - "serviceFullName" => "Amazon WorkLink", - "serviceId" => "WorkLink", - "signatureVersion" => "v4", - "signingName" => "worklink", - "uid" => "worklink-2018-09-25", - } - - api.add_operation(:associate_domain, Seahorse::Model::Operation.new.tap do |o| - o.name = "AssociateDomain" - o.http_method = "POST" - o.http_request_uri = "/associateDomain" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: AssociateDomainRequest) - o.output = Shapes::ShapeRef.new(shape: AssociateDomainResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:associate_website_authorization_provider, Seahorse::Model::Operation.new.tap do |o| - o.name = "AssociateWebsiteAuthorizationProvider" - o.http_method = "POST" - o.http_request_uri = "/associateWebsiteAuthorizationProvider" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: AssociateWebsiteAuthorizationProviderRequest) - o.output = Shapes::ShapeRef.new(shape: AssociateWebsiteAuthorizationProviderResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:associate_website_certificate_authority, Seahorse::Model::Operation.new.tap do |o| - o.name = "AssociateWebsiteCertificateAuthority" - o.http_method = "POST" - o.http_request_uri = "/associateWebsiteCertificateAuthority" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: AssociateWebsiteCertificateAuthorityRequest) - o.output = Shapes::ShapeRef.new(shape: AssociateWebsiteCertificateAuthorityResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:create_fleet, Seahorse::Model::Operation.new.tap do |o| - o.name = "CreateFleet" - o.http_method = "POST" - o.http_request_uri = "/createFleet" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: CreateFleetRequest) - o.output = Shapes::ShapeRef.new(shape: CreateFleetResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:delete_fleet, Seahorse::Model::Operation.new.tap do |o| - o.name = "DeleteFleet" - o.http_method = "POST" - o.http_request_uri = "/deleteFleet" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: DeleteFleetRequest) - o.output = Shapes::ShapeRef.new(shape: DeleteFleetResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:describe_audit_stream_configuration, Seahorse::Model::Operation.new.tap do |o| - o.name = "DescribeAuditStreamConfiguration" - o.http_method = "POST" - o.http_request_uri = "/describeAuditStreamConfiguration" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: DescribeAuditStreamConfigurationRequest) - o.output = Shapes::ShapeRef.new(shape: DescribeAuditStreamConfigurationResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:describe_company_network_configuration, Seahorse::Model::Operation.new.tap do |o| - o.name = "DescribeCompanyNetworkConfiguration" - o.http_method = "POST" - o.http_request_uri = "/describeCompanyNetworkConfiguration" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: DescribeCompanyNetworkConfigurationRequest) - o.output = Shapes::ShapeRef.new(shape: DescribeCompanyNetworkConfigurationResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:describe_device, Seahorse::Model::Operation.new.tap do |o| - o.name = "DescribeDevice" - o.http_method = "POST" - o.http_request_uri = "/describeDevice" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: DescribeDeviceRequest) - o.output = Shapes::ShapeRef.new(shape: DescribeDeviceResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:describe_device_policy_configuration, Seahorse::Model::Operation.new.tap do |o| - o.name = "DescribeDevicePolicyConfiguration" - o.http_method = "POST" - o.http_request_uri = "/describeDevicePolicyConfiguration" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: DescribeDevicePolicyConfigurationRequest) - o.output = Shapes::ShapeRef.new(shape: DescribeDevicePolicyConfigurationResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:describe_domain, Seahorse::Model::Operation.new.tap do |o| - o.name = "DescribeDomain" - o.http_method = "POST" - o.http_request_uri = "/describeDomain" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: DescribeDomainRequest) - o.output = Shapes::ShapeRef.new(shape: DescribeDomainResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:describe_fleet_metadata, Seahorse::Model::Operation.new.tap do |o| - o.name = "DescribeFleetMetadata" - o.http_method = "POST" - o.http_request_uri = "/describeFleetMetadata" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: DescribeFleetMetadataRequest) - o.output = Shapes::ShapeRef.new(shape: DescribeFleetMetadataResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:describe_identity_provider_configuration, Seahorse::Model::Operation.new.tap do |o| - o.name = "DescribeIdentityProviderConfiguration" - o.http_method = "POST" - o.http_request_uri = "/describeIdentityProviderConfiguration" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: DescribeIdentityProviderConfigurationRequest) - o.output = Shapes::ShapeRef.new(shape: DescribeIdentityProviderConfigurationResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:describe_website_certificate_authority, Seahorse::Model::Operation.new.tap do |o| - o.name = "DescribeWebsiteCertificateAuthority" - o.http_method = "POST" - o.http_request_uri = "/describeWebsiteCertificateAuthority" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: DescribeWebsiteCertificateAuthorityRequest) - o.output = Shapes::ShapeRef.new(shape: DescribeWebsiteCertificateAuthorityResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:disassociate_domain, Seahorse::Model::Operation.new.tap do |o| - o.name = "DisassociateDomain" - o.http_method = "POST" - o.http_request_uri = "/disassociateDomain" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: DisassociateDomainRequest) - o.output = Shapes::ShapeRef.new(shape: DisassociateDomainResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:disassociate_website_authorization_provider, Seahorse::Model::Operation.new.tap do |o| - o.name = "DisassociateWebsiteAuthorizationProvider" - o.http_method = "POST" - o.http_request_uri = "/disassociateWebsiteAuthorizationProvider" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: DisassociateWebsiteAuthorizationProviderRequest) - o.output = Shapes::ShapeRef.new(shape: DisassociateWebsiteAuthorizationProviderResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:disassociate_website_certificate_authority, Seahorse::Model::Operation.new.tap do |o| - o.name = "DisassociateWebsiteCertificateAuthority" - o.http_method = "POST" - o.http_request_uri = "/disassociateWebsiteCertificateAuthority" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: DisassociateWebsiteCertificateAuthorityRequest) - o.output = Shapes::ShapeRef.new(shape: DisassociateWebsiteCertificateAuthorityResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:list_devices, Seahorse::Model::Operation.new.tap do |o| - o.name = "ListDevices" - o.http_method = "POST" - o.http_request_uri = "/listDevices" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: ListDevicesRequest) - o.output = Shapes::ShapeRef.new(shape: ListDevicesResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - o[:pager] = Aws::Pager.new( - limit_key: "max_results", - tokens: { - "next_token" => "next_token" - } - ) - end) - - api.add_operation(:list_domains, Seahorse::Model::Operation.new.tap do |o| - o.name = "ListDomains" - o.http_method = "POST" - o.http_request_uri = "/listDomains" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: ListDomainsRequest) - o.output = Shapes::ShapeRef.new(shape: ListDomainsResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - o[:pager] = Aws::Pager.new( - limit_key: "max_results", - tokens: { - "next_token" => "next_token" - } - ) - end) - - api.add_operation(:list_fleets, Seahorse::Model::Operation.new.tap do |o| - o.name = "ListFleets" - o.http_method = "POST" - o.http_request_uri = "/listFleets" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: ListFleetsRequest) - o.output = Shapes::ShapeRef.new(shape: ListFleetsResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - o[:pager] = Aws::Pager.new( - limit_key: "max_results", - tokens: { - "next_token" => "next_token" - } - ) - end) - - api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o| - o.name = "ListTagsForResource" - o.http_method = "GET" - o.http_request_uri = "/tags/{ResourceArn}" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest) - o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - end) - - api.add_operation(:list_website_authorization_providers, Seahorse::Model::Operation.new.tap do |o| - o.name = "ListWebsiteAuthorizationProviders" - o.http_method = "POST" - o.http_request_uri = "/listWebsiteAuthorizationProviders" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: ListWebsiteAuthorizationProvidersRequest) - o.output = Shapes::ShapeRef.new(shape: ListWebsiteAuthorizationProvidersResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - o[:pager] = Aws::Pager.new( - limit_key: "max_results", - tokens: { - "next_token" => "next_token" - } - ) - end) - - api.add_operation(:list_website_certificate_authorities, Seahorse::Model::Operation.new.tap do |o| - o.name = "ListWebsiteCertificateAuthorities" - o.http_method = "POST" - o.http_request_uri = "/listWebsiteCertificateAuthorities" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: ListWebsiteCertificateAuthoritiesRequest) - o.output = Shapes::ShapeRef.new(shape: ListWebsiteCertificateAuthoritiesResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - o[:pager] = Aws::Pager.new( - limit_key: "max_results", - tokens: { - "next_token" => "next_token" - } - ) - end) - - api.add_operation(:restore_domain_access, Seahorse::Model::Operation.new.tap do |o| - o.name = "RestoreDomainAccess" - o.http_method = "POST" - o.http_request_uri = "/restoreDomainAccess" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: RestoreDomainAccessRequest) - o.output = Shapes::ShapeRef.new(shape: RestoreDomainAccessResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:revoke_domain_access, Seahorse::Model::Operation.new.tap do |o| - o.name = "RevokeDomainAccess" - o.http_method = "POST" - o.http_request_uri = "/revokeDomainAccess" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: RevokeDomainAccessRequest) - o.output = Shapes::ShapeRef.new(shape: RevokeDomainAccessResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:sign_out_user, Seahorse::Model::Operation.new.tap do |o| - o.name = "SignOutUser" - o.http_method = "POST" - o.http_request_uri = "/signOutUser" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: SignOutUserRequest) - o.output = Shapes::ShapeRef.new(shape: SignOutUserResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o| - o.name = "TagResource" - o.http_method = "POST" - o.http_request_uri = "/tags/{ResourceArn}" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: TagResourceRequest) - o.output = Shapes::ShapeRef.new(shape: TagResourceResponse) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - end) - - api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o| - o.name = "UntagResource" - o.http_method = "DELETE" - o.http_request_uri = "/tags/{ResourceArn}" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest) - o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - end) - - api.add_operation(:update_audit_stream_configuration, Seahorse::Model::Operation.new.tap do |o| - o.name = "UpdateAuditStreamConfiguration" - o.http_method = "POST" - o.http_request_uri = "/updateAuditStreamConfiguration" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: UpdateAuditStreamConfigurationRequest) - o.output = Shapes::ShapeRef.new(shape: UpdateAuditStreamConfigurationResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:update_company_network_configuration, Seahorse::Model::Operation.new.tap do |o| - o.name = "UpdateCompanyNetworkConfiguration" - o.http_method = "POST" - o.http_request_uri = "/updateCompanyNetworkConfiguration" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: UpdateCompanyNetworkConfigurationRequest) - o.output = Shapes::ShapeRef.new(shape: UpdateCompanyNetworkConfigurationResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:update_device_policy_configuration, Seahorse::Model::Operation.new.tap do |o| - o.name = "UpdateDevicePolicyConfiguration" - o.http_method = "POST" - o.http_request_uri = "/updateDevicePolicyConfiguration" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: UpdateDevicePolicyConfigurationRequest) - o.output = Shapes::ShapeRef.new(shape: UpdateDevicePolicyConfigurationResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:update_domain_metadata, Seahorse::Model::Operation.new.tap do |o| - o.name = "UpdateDomainMetadata" - o.http_method = "POST" - o.http_request_uri = "/updateDomainMetadata" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: UpdateDomainMetadataRequest) - o.output = Shapes::ShapeRef.new(shape: UpdateDomainMetadataResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:update_fleet_metadata, Seahorse::Model::Operation.new.tap do |o| - o.name = "UpdateFleetMetadata" - o.http_method = "POST" - o.http_request_uri = "/UpdateFleetMetadata" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: UpdateFleetMetadataRequest) - o.output = Shapes::ShapeRef.new(shape: UpdateFleetMetadataResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - - api.add_operation(:update_identity_provider_configuration, Seahorse::Model::Operation.new.tap do |o| - o.name = "UpdateIdentityProviderConfiguration" - o.http_method = "POST" - o.http_request_uri = "/updateIdentityProviderConfiguration" - o.deprecated = true - o.input = Shapes::ShapeRef.new(shape: UpdateIdentityProviderConfigurationRequest) - o.output = Shapes::ShapeRef.new(shape: UpdateIdentityProviderConfigurationResponse) - o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) - o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) - o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) - end) - end - - end -end diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/customizations.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink/customizations.rb deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoint_parameters.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoint_parameters.rb deleted file mode 100644 index ca1680e2989..00000000000 --- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoint_parameters.rb +++ /dev/null @@ -1,66 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws::WorkLink - # Endpoint parameters used to influence endpoints per request. - # - # @!attribute region - # The AWS region used to dispatch the request. - # - # @return [String] - # - # @!attribute use_dual_stack - # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error. - # - # @return [Boolean] - # - # @!attribute use_fips - # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error. - # - # @return [Boolean] - # - # @!attribute endpoint - # Override the endpoint used to send this request - # - # @return [String] - # - EndpointParameters = Struct.new( - :region, - :use_dual_stack, - :use_fips, - :endpoint, - ) do - include Aws::Structure - - # @api private - class << self - PARAM_MAP = { - 'Region' => :region, - 'UseDualStack' => :use_dual_stack, - 'UseFIPS' => :use_fips, - 'Endpoint' => :endpoint, - }.freeze - end - - def initialize(options = {}) - self[:region] = options[:region] - self[:use_dual_stack] = options[:use_dual_stack] - self[:use_dual_stack] = false if self[:use_dual_stack].nil? - if self[:use_dual_stack].nil? - raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack" - end - self[:use_fips] = options[:use_fips] - self[:use_fips] = false if self[:use_fips].nil? - if self[:use_fips].nil? - raise ArgumentError, "Missing required EndpointParameter: :use_fips" - end - self[:endpoint] = options[:endpoint] - end - end -end diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoint_provider.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoint_provider.rb deleted file mode 100644 index 8ff7f59df33..00000000000 --- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoint_provider.rb +++ /dev/null @@ -1,54 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws::WorkLink - class EndpointProvider - def resolve_endpoint(parameters) - region = parameters.region - use_dual_stack = parameters.use_dual_stack - use_fips = parameters.use_fips - endpoint = parameters.endpoint - if Aws::Endpoints::Matchers.set?(endpoint) - if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) - raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported" - end - if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true) - raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported" - end - return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {}) - end - if Aws::Endpoints::Matchers.set?(region) - if (partition_result = Aws::Endpoints::Matchers.aws_partition(region)) - if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true) - if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack")) - return Aws::Endpoints::Endpoint.new(url: "https://worklink-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}) - end - raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both" - end - if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) - if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) - return Aws::Endpoints::Endpoint.new(url: "https://worklink-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) - end - raise ArgumentError, "FIPS is enabled but this partition does not support FIPS" - end - if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true) - if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack")) - return Aws::Endpoints::Endpoint.new(url: "https://worklink.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}) - end - raise ArgumentError, "DualStack is enabled but this partition does not support DualStack" - end - return Aws::Endpoints::Endpoint.new(url: "https://worklink.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) - end - end - raise ArgumentError, "Invalid Configuration: Missing Region" - raise ArgumentError, 'No endpoint could be resolved' - - end - end -end diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoints.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoints.rb deleted file mode 100644 index f081e06a9b3..00000000000 --- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoints.rb +++ /dev/null @@ -1,379 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - - -module Aws::WorkLink - # @api private - module Endpoints - - class AssociateDomain - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class AssociateWebsiteAuthorizationProvider - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class AssociateWebsiteCertificateAuthority - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class CreateFleet - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteFleet - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeAuditStreamConfiguration - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeCompanyNetworkConfiguration - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeDevice - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeDevicePolicyConfiguration - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeDomain - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeFleetMetadata - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeIdentityProviderConfiguration - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeWebsiteCertificateAuthority - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DisassociateDomain - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DisassociateWebsiteAuthorizationProvider - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DisassociateWebsiteCertificateAuthority - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ListDevices - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ListDomains - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ListFleets - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ListTagsForResource - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ListWebsiteAuthorizationProviders - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ListWebsiteCertificateAuthorities - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class RestoreDomainAccess - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class RevokeDomainAccess - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class SignOutUser - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class TagResource - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class UntagResource - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class UpdateAuditStreamConfiguration - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class UpdateCompanyNetworkConfiguration - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class UpdateDevicePolicyConfiguration - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class UpdateDomainMetadata - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class UpdateFleetMetadata - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class UpdateIdentityProviderConfiguration - def self.build(context) - Aws::WorkLink::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - end -end diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/errors.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink/errors.rb deleted file mode 100644 index 97ea91500a7..00000000000 --- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/errors.rb +++ /dev/null @@ -1,134 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws::WorkLink - - # When WorkLink returns an error response, the Ruby SDK constructs and raises an error. - # These errors all extend Aws::WorkLink::Errors::ServiceError < {Aws::Errors::ServiceError} - # - # You can rescue all WorkLink errors using ServiceError: - # - # begin - # # do stuff - # rescue Aws::WorkLink::Errors::ServiceError - # # rescues all WorkLink API errors - # end - # - # - # ## Request Context - # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns - # information about the request that generated the error. - # See {Seahorse::Client::RequestContext} for more information. - # - # ## Error Classes - # * {InternalServerErrorException} - # * {InvalidRequestException} - # * {ResourceAlreadyExistsException} - # * {ResourceNotFoundException} - # * {TooManyRequestsException} - # * {UnauthorizedException} - # - # Additionally, error classes are dynamically generated for service errors based on the error code - # if they are not defined above. - module Errors - - extend Aws::Errors::DynamicErrors - - class InternalServerErrorException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::WorkLink::Types::InternalServerErrorException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - - # @return [String] - def message - @message || @data[:message] - end - end - - class InvalidRequestException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::WorkLink::Types::InvalidRequestException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - - # @return [String] - def message - @message || @data[:message] - end - end - - class ResourceAlreadyExistsException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::WorkLink::Types::ResourceAlreadyExistsException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - - # @return [String] - def message - @message || @data[:message] - end - end - - class ResourceNotFoundException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::WorkLink::Types::ResourceNotFoundException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - - # @return [String] - def message - @message || @data[:message] - end - end - - class TooManyRequestsException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::WorkLink::Types::TooManyRequestsException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - - # @return [String] - def message - @message || @data[:message] - end - end - - class UnauthorizedException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::WorkLink::Types::UnauthorizedException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - - # @return [String] - def message - @message || @data[:message] - end - end - - end -end diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/plugins/endpoints.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink/plugins/endpoints.rb deleted file mode 100644 index 6f1338ceaa9..00000000000 --- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/plugins/endpoints.rb +++ /dev/null @@ -1,145 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - - -module Aws::WorkLink - module Plugins - class Endpoints < Seahorse::Client::Plugin - option( - :endpoint_provider, - doc_type: 'Aws::WorkLink::EndpointProvider', - rbs_type: 'untyped', - docstring: 'The endpoint provider used to resolve endpoints. Any '\ - 'object that responds to `#resolve_endpoint(parameters)` '\ - 'where `parameters` is a Struct similar to '\ - '`Aws::WorkLink::EndpointParameters`' - ) do |cfg| - Aws::WorkLink::EndpointProvider.new - end - - # @api private - class Handler < Seahorse::Client::Handler - def call(context) - unless context[:discovered_endpoint] - params = parameters_for_operation(context) - endpoint = context.config.endpoint_provider.resolve_endpoint(params) - - context.http_request.endpoint = endpoint.url - apply_endpoint_headers(context, endpoint.headers) - - context[:endpoint_params] = params - context[:endpoint_properties] = endpoint.properties - end - - context[:auth_scheme] = - Aws::Endpoints.resolve_auth_scheme(context, endpoint) - - with_metrics(context) { @handler.call(context) } - end - - private - - def with_metrics(context, &block) - metrics = [] - metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint - if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a' - metrics << 'SIGV4A_SIGNING' - end - Aws::Plugins::UserAgent.metric(*metrics, &block) - end - - def apply_endpoint_headers(context, headers) - headers.each do |key, values| - value = values - .compact - .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) } - .join(',') - - context.http_request.headers[key] = value - end - end - - def parameters_for_operation(context) - case context.operation_name - when :associate_domain - Aws::WorkLink::Endpoints::AssociateDomain.build(context) - when :associate_website_authorization_provider - Aws::WorkLink::Endpoints::AssociateWebsiteAuthorizationProvider.build(context) - when :associate_website_certificate_authority - Aws::WorkLink::Endpoints::AssociateWebsiteCertificateAuthority.build(context) - when :create_fleet - Aws::WorkLink::Endpoints::CreateFleet.build(context) - when :delete_fleet - Aws::WorkLink::Endpoints::DeleteFleet.build(context) - when :describe_audit_stream_configuration - Aws::WorkLink::Endpoints::DescribeAuditStreamConfiguration.build(context) - when :describe_company_network_configuration - Aws::WorkLink::Endpoints::DescribeCompanyNetworkConfiguration.build(context) - when :describe_device - Aws::WorkLink::Endpoints::DescribeDevice.build(context) - when :describe_device_policy_configuration - Aws::WorkLink::Endpoints::DescribeDevicePolicyConfiguration.build(context) - when :describe_domain - Aws::WorkLink::Endpoints::DescribeDomain.build(context) - when :describe_fleet_metadata - Aws::WorkLink::Endpoints::DescribeFleetMetadata.build(context) - when :describe_identity_provider_configuration - Aws::WorkLink::Endpoints::DescribeIdentityProviderConfiguration.build(context) - when :describe_website_certificate_authority - Aws::WorkLink::Endpoints::DescribeWebsiteCertificateAuthority.build(context) - when :disassociate_domain - Aws::WorkLink::Endpoints::DisassociateDomain.build(context) - when :disassociate_website_authorization_provider - Aws::WorkLink::Endpoints::DisassociateWebsiteAuthorizationProvider.build(context) - when :disassociate_website_certificate_authority - Aws::WorkLink::Endpoints::DisassociateWebsiteCertificateAuthority.build(context) - when :list_devices - Aws::WorkLink::Endpoints::ListDevices.build(context) - when :list_domains - Aws::WorkLink::Endpoints::ListDomains.build(context) - when :list_fleets - Aws::WorkLink::Endpoints::ListFleets.build(context) - when :list_tags_for_resource - Aws::WorkLink::Endpoints::ListTagsForResource.build(context) - when :list_website_authorization_providers - Aws::WorkLink::Endpoints::ListWebsiteAuthorizationProviders.build(context) - when :list_website_certificate_authorities - Aws::WorkLink::Endpoints::ListWebsiteCertificateAuthorities.build(context) - when :restore_domain_access - Aws::WorkLink::Endpoints::RestoreDomainAccess.build(context) - when :revoke_domain_access - Aws::WorkLink::Endpoints::RevokeDomainAccess.build(context) - when :sign_out_user - Aws::WorkLink::Endpoints::SignOutUser.build(context) - when :tag_resource - Aws::WorkLink::Endpoints::TagResource.build(context) - when :untag_resource - Aws::WorkLink::Endpoints::UntagResource.build(context) - when :update_audit_stream_configuration - Aws::WorkLink::Endpoints::UpdateAuditStreamConfiguration.build(context) - when :update_company_network_configuration - Aws::WorkLink::Endpoints::UpdateCompanyNetworkConfiguration.build(context) - when :update_device_policy_configuration - Aws::WorkLink::Endpoints::UpdateDevicePolicyConfiguration.build(context) - when :update_domain_metadata - Aws::WorkLink::Endpoints::UpdateDomainMetadata.build(context) - when :update_fleet_metadata - Aws::WorkLink::Endpoints::UpdateFleetMetadata.build(context) - when :update_identity_provider_configuration - Aws::WorkLink::Endpoints::UpdateIdentityProviderConfiguration.build(context) - end - end - end - - def add_handlers(handlers, _config) - handlers.add(Handler, step: :build, priority: 75) - end - end - end -end diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/resource.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink/resource.rb deleted file mode 100644 index 6fac8737af6..00000000000 --- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/resource.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws::WorkLink - - class Resource - - # @param options ({}) - # @option options [Client] :client - def initialize(options = {}) - @client = options[:client] || Client.new(options) - end - - # @return [Client] - def client - @client - end - - end -end diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/types.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink/types.rb deleted file mode 100644 index 0b6919228f4..00000000000 --- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/types.rb +++ /dev/null @@ -1,1292 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws::WorkLink - module Types - - # @!attribute [rw] fleet_arn - # The Amazon Resource Name (ARN) of the fleet. - # @return [String] - # - # @!attribute [rw] domain_name - # The fully qualified domain name (FQDN). - # @return [String] - # - # @!attribute [rw] display_name - # The name to display. - # @return [String] - # - # @!attribute [rw] acm_certificate_arn - # The ARN of an issued ACM certificate that is valid for the domain - # being associated. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateDomainRequest AWS API Documentation - # - class AssociateDomainRequest < Struct.new( - :fleet_arn, - :domain_name, - :display_name, - :acm_certificate_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateDomainResponse AWS API Documentation - # - class AssociateDomainResponse < Aws::EmptyStructure; end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] authorization_provider_type - # The authorization provider type. - # @return [String] - # - # @!attribute [rw] domain_name - # The domain name of the authorization provider. This applies only to - # SAML-based authorization providers. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteAuthorizationProviderRequest AWS API Documentation - # - class AssociateWebsiteAuthorizationProviderRequest < Struct.new( - :fleet_arn, - :authorization_provider_type, - :domain_name) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] authorization_provider_id - # A unique identifier for the authorization provider. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteAuthorizationProviderResponse AWS API Documentation - # - class AssociateWebsiteAuthorizationProviderResponse < Struct.new( - :authorization_provider_id) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] certificate - # The root certificate of the CA. - # @return [String] - # - # @!attribute [rw] display_name - # The certificate name to display. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteCertificateAuthorityRequest AWS API Documentation - # - class AssociateWebsiteCertificateAuthorityRequest < Struct.new( - :fleet_arn, - :certificate, - :display_name) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] website_ca_id - # A unique identifier for the CA. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteCertificateAuthorityResponse AWS API Documentation - # - class AssociateWebsiteCertificateAuthorityResponse < Struct.new( - :website_ca_id) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_name - # A unique name for the fleet. - # @return [String] - # - # @!attribute [rw] display_name - # The fleet name to display. - # @return [String] - # - # @!attribute [rw] optimize_for_end_user_location - # The option to optimize for better performance by routing traffic - # through the closest AWS Region to users, which may be outside of - # your home Region. - # @return [Boolean] - # - # @!attribute [rw] tags - # The tags to add to the resource. A tag is a key-value pair. - # @return [Hash] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/CreateFleetRequest AWS API Documentation - # - class CreateFleetRequest < Struct.new( - :fleet_name, - :display_name, - :optimize_for_end_user_location, - :tags) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The Amazon Resource Name (ARN) of the fleet. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/CreateFleetResponse AWS API Documentation - # - class CreateFleetResponse < Struct.new( - :fleet_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DeleteFleetRequest AWS API Documentation - # - class DeleteFleetRequest < Struct.new( - :fleet_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DeleteFleetResponse AWS API Documentation - # - class DeleteFleetResponse < Aws::EmptyStructure; end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeAuditStreamConfigurationRequest AWS API Documentation - # - class DescribeAuditStreamConfigurationRequest < Struct.new( - :fleet_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] audit_stream_arn - # The ARN of the Amazon Kinesis data stream that will receive the - # audit events. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeAuditStreamConfigurationResponse AWS API Documentation - # - class DescribeAuditStreamConfigurationResponse < Struct.new( - :audit_stream_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeCompanyNetworkConfigurationRequest AWS API Documentation - # - class DescribeCompanyNetworkConfigurationRequest < Struct.new( - :fleet_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] vpc_id - # The VPC with connectivity to associated websites. - # @return [String] - # - # @!attribute [rw] subnet_ids - # The subnets used for X-ENI connections from Amazon WorkLink - # rendering containers. - # @return [Array] - # - # @!attribute [rw] security_group_ids - # The security groups associated with access to the provided subnets. - # @return [Array] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeCompanyNetworkConfigurationResponse AWS API Documentation - # - class DescribeCompanyNetworkConfigurationResponse < Struct.new( - :vpc_id, - :subnet_ids, - :security_group_ids) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevicePolicyConfigurationRequest AWS API Documentation - # - class DescribeDevicePolicyConfigurationRequest < Struct.new( - :fleet_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] device_ca_certificate - # The certificate chain, including intermediate certificates and the - # root certificate authority certificate used to issue device - # certificates. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevicePolicyConfigurationResponse AWS API Documentation - # - class DescribeDevicePolicyConfigurationResponse < Struct.new( - :device_ca_certificate) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] device_id - # A unique identifier for a registered user's device. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDeviceRequest AWS API Documentation - # - class DescribeDeviceRequest < Struct.new( - :fleet_arn, - :device_id) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] status - # The current state of the device. - # @return [String] - # - # @!attribute [rw] model - # The model of the device. - # @return [String] - # - # @!attribute [rw] manufacturer - # The manufacturer of the device. - # @return [String] - # - # @!attribute [rw] operating_system - # The operating system of the device. - # @return [String] - # - # @!attribute [rw] operating_system_version - # The operating system version of the device. - # @return [String] - # - # @!attribute [rw] patch_level - # The operating system patch level of the device. - # @return [String] - # - # @!attribute [rw] first_accessed_time - # The date that the device first signed in to Amazon WorkLink. - # @return [Time] - # - # @!attribute [rw] last_accessed_time - # The date that the device last accessed Amazon WorkLink. - # @return [Time] - # - # @!attribute [rw] username - # The user name associated with the device. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDeviceResponse AWS API Documentation - # - class DescribeDeviceResponse < Struct.new( - :status, - :model, - :manufacturer, - :operating_system, - :operating_system_version, - :patch_level, - :first_accessed_time, - :last_accessed_time, - :username) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] domain_name - # The name of the domain. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDomainRequest AWS API Documentation - # - class DescribeDomainRequest < Struct.new( - :fleet_arn, - :domain_name) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] domain_name - # The name of the domain. - # @return [String] - # - # @!attribute [rw] display_name - # The name to display. - # @return [String] - # - # @!attribute [rw] created_time - # The time that the domain was added. - # @return [Time] - # - # @!attribute [rw] domain_status - # The current state for the domain. - # @return [String] - # - # @!attribute [rw] acm_certificate_arn - # The ARN of an issued ACM certificate that is valid for the domain - # being associated. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDomainResponse AWS API Documentation - # - class DescribeDomainResponse < Struct.new( - :domain_name, - :display_name, - :created_time, - :domain_status, - :acm_certificate_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The Amazon Resource Name (ARN) of the fleet. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeFleetMetadataRequest AWS API Documentation - # - class DescribeFleetMetadataRequest < Struct.new( - :fleet_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] created_time - # The time that the fleet was created. - # @return [Time] - # - # @!attribute [rw] last_updated_time - # The time that the fleet was last updated. - # @return [Time] - # - # @!attribute [rw] fleet_name - # The name of the fleet. - # @return [String] - # - # @!attribute [rw] display_name - # The name to display. - # @return [String] - # - # @!attribute [rw] optimize_for_end_user_location - # The option to optimize for better performance by routing traffic - # through the closest AWS Region to users, which may be outside of - # your home Region. - # @return [Boolean] - # - # @!attribute [rw] company_code - # The identifier used by users to sign in to the Amazon WorkLink app. - # @return [String] - # - # @!attribute [rw] fleet_status - # The current state of the fleet. - # @return [String] - # - # @!attribute [rw] tags - # The tags attached to the resource. A tag is a key-value pair. - # @return [Hash] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeFleetMetadataResponse AWS API Documentation - # - class DescribeFleetMetadataResponse < Struct.new( - :created_time, - :last_updated_time, - :fleet_name, - :display_name, - :optimize_for_end_user_location, - :company_code, - :fleet_status, - :tags) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeIdentityProviderConfigurationRequest AWS API Documentation - # - class DescribeIdentityProviderConfigurationRequest < Struct.new( - :fleet_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] identity_provider_type - # The type of identity provider. - # @return [String] - # - # @!attribute [rw] service_provider_saml_metadata - # The SAML metadata document uploaded to the user’s identity provider. - # @return [String] - # - # @!attribute [rw] identity_provider_saml_metadata - # The SAML metadata document provided by the user’s identity provider. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeIdentityProviderConfigurationResponse AWS API Documentation - # - class DescribeIdentityProviderConfigurationResponse < Struct.new( - :identity_provider_type, - :service_provider_saml_metadata, - :identity_provider_saml_metadata) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] website_ca_id - # A unique identifier for the certificate authority. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeWebsiteCertificateAuthorityRequest AWS API Documentation - # - class DescribeWebsiteCertificateAuthorityRequest < Struct.new( - :fleet_arn, - :website_ca_id) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] certificate - # The root certificate of the certificate authority. - # @return [String] - # - # @!attribute [rw] created_time - # The time that the certificate authority was added. - # @return [Time] - # - # @!attribute [rw] display_name - # The certificate name to display. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeWebsiteCertificateAuthorityResponse AWS API Documentation - # - class DescribeWebsiteCertificateAuthorityResponse < Struct.new( - :certificate, - :created_time, - :display_name) - SENSITIVE = [] - include Aws::Structure - end - - # The summary of devices. - # - # @!attribute [rw] device_id - # The ID of the device. - # @return [String] - # - # @!attribute [rw] device_status - # The status of the device. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DeviceSummary AWS API Documentation - # - class DeviceSummary < Struct.new( - :device_id, - :device_status) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] domain_name - # The name of the domain. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateDomainRequest AWS API Documentation - # - class DisassociateDomainRequest < Struct.new( - :fleet_arn, - :domain_name) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateDomainResponse AWS API Documentation - # - class DisassociateDomainResponse < Aws::EmptyStructure; end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] authorization_provider_id - # A unique identifier for the authorization provider. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteAuthorizationProviderRequest AWS API Documentation - # - class DisassociateWebsiteAuthorizationProviderRequest < Struct.new( - :fleet_arn, - :authorization_provider_id) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteAuthorizationProviderResponse AWS API Documentation - # - class DisassociateWebsiteAuthorizationProviderResponse < Aws::EmptyStructure; end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] website_ca_id - # A unique identifier for the CA. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteCertificateAuthorityRequest AWS API Documentation - # - class DisassociateWebsiteCertificateAuthorityRequest < Struct.new( - :fleet_arn, - :website_ca_id) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteCertificateAuthorityResponse AWS API Documentation - # - class DisassociateWebsiteCertificateAuthorityResponse < Aws::EmptyStructure; end - - # The summary of the domain. - # - # @!attribute [rw] domain_name - # The name of the domain. - # @return [String] - # - # @!attribute [rw] display_name - # The name to display. - # @return [String] - # - # @!attribute [rw] created_time - # The time that the domain was created. - # @return [Time] - # - # @!attribute [rw] domain_status - # The status of the domain. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DomainSummary AWS API Documentation - # - class DomainSummary < Struct.new( - :domain_name, - :display_name, - :created_time, - :domain_status) - SENSITIVE = [] - include Aws::Structure - end - - # The summary of the fleet. - # - # @!attribute [rw] fleet_arn - # The Amazon Resource Name (ARN) of the fleet. - # @return [String] - # - # @!attribute [rw] created_time - # The time when the fleet was created. - # @return [Time] - # - # @!attribute [rw] last_updated_time - # The time when the fleet was last updated. - # @return [Time] - # - # @!attribute [rw] fleet_name - # The name of the fleet. - # @return [String] - # - # @!attribute [rw] display_name - # The name of the fleet to display. - # @return [String] - # - # @!attribute [rw] company_code - # The identifier used by users to sign into the Amazon WorkLink app. - # @return [String] - # - # @!attribute [rw] fleet_status - # The status of the fleet. - # @return [String] - # - # @!attribute [rw] tags - # The tags attached to the resource. A tag is a key-value pair. - # @return [Hash] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/FleetSummary AWS API Documentation - # - class FleetSummary < Struct.new( - :fleet_arn, - :created_time, - :last_updated_time, - :fleet_name, - :display_name, - :company_code, - :fleet_status, - :tags) - SENSITIVE = [] - include Aws::Structure - end - - # The service is temporarily unavailable. - # - # @!attribute [rw] message - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/InternalServerErrorException AWS API Documentation - # - class InternalServerErrorException < Struct.new( - :message) - SENSITIVE = [] - include Aws::Structure - end - - # The request is not valid. - # - # @!attribute [rw] message - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/InvalidRequestException AWS API Documentation - # - class InvalidRequestException < Struct.new( - :message) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] next_token - # The pagination token used to retrieve the next page of results for - # this operation. If this value is null, it retrieves the first page. - # @return [String] - # - # @!attribute [rw] max_results - # The maximum number of results to be included in the next page. - # @return [Integer] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDevicesRequest AWS API Documentation - # - class ListDevicesRequest < Struct.new( - :fleet_arn, - :next_token, - :max_results) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] devices - # Information about the devices. - # @return [Array] - # - # @!attribute [rw] next_token - # The pagination token used to retrieve the next page of results for - # this operation. If there are no more pages, this value is null. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDevicesResponse AWS API Documentation - # - class ListDevicesResponse < Struct.new( - :devices, - :next_token) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] next_token - # The pagination token used to retrieve the next page of results for - # this operation. If this value is null, it retrieves the first page. - # @return [String] - # - # @!attribute [rw] max_results - # The maximum number of results to be included in the next page. - # @return [Integer] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDomainsRequest AWS API Documentation - # - class ListDomainsRequest < Struct.new( - :fleet_arn, - :next_token, - :max_results) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] domains - # Information about the domains. - # @return [Array] - # - # @!attribute [rw] next_token - # The pagination token used to retrieve the next page of results for - # this operation. If there are no more pages, this value is null. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDomainsResponse AWS API Documentation - # - class ListDomainsResponse < Struct.new( - :domains, - :next_token) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] next_token - # The pagination token used to retrieve the next page of results for - # this operation. If this value is null, it retrieves the first page. - # @return [String] - # - # @!attribute [rw] max_results - # The maximum number of results to be included in the next page. - # @return [Integer] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListFleetsRequest AWS API Documentation - # - class ListFleetsRequest < Struct.new( - :next_token, - :max_results) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_summary_list - # The summary list of the fleets. - # @return [Array] - # - # @!attribute [rw] next_token - # The pagination token used to retrieve the next page of results for - # this operation. If there are no more pages, this value is null. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListFleetsResponse AWS API Documentation - # - class ListFleetsResponse < Struct.new( - :fleet_summary_list, - :next_token) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] resource_arn - # The Amazon Resource Name (ARN) of the fleet. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListTagsForResourceRequest AWS API Documentation - # - class ListTagsForResourceRequest < Struct.new( - :resource_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] tags - # The tags attached to the resource. A tag is a key-value pair. - # @return [Hash] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListTagsForResourceResponse AWS API Documentation - # - class ListTagsForResourceResponse < Struct.new( - :tags) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] next_token - # The pagination token to use to retrieve the next page of results for - # this operation. If this value is null, it retrieves the first page. - # @return [String] - # - # @!attribute [rw] max_results - # The maximum number of results to be included in the next page. - # @return [Integer] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteAuthorizationProvidersRequest AWS API Documentation - # - class ListWebsiteAuthorizationProvidersRequest < Struct.new( - :fleet_arn, - :next_token, - :max_results) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] website_authorization_providers - # The website authorization providers. - # @return [Array] - # - # @!attribute [rw] next_token - # The pagination token to use to retrieve the next page of results for - # this operation. If this value is null, it retrieves the first page. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteAuthorizationProvidersResponse AWS API Documentation - # - class ListWebsiteAuthorizationProvidersResponse < Struct.new( - :website_authorization_providers, - :next_token) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] max_results - # The maximum number of results to be included in the next page. - # @return [Integer] - # - # @!attribute [rw] next_token - # The pagination token used to retrieve the next page of results for - # this operation. If this value is null, it retrieves the first page. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteCertificateAuthoritiesRequest AWS API Documentation - # - class ListWebsiteCertificateAuthoritiesRequest < Struct.new( - :fleet_arn, - :max_results, - :next_token) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] website_certificate_authorities - # Information about the certificates. - # @return [Array] - # - # @!attribute [rw] next_token - # The pagination token used to retrieve the next page of results for - # this operation. If there are no more pages, this value is null. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteCertificateAuthoritiesResponse AWS API Documentation - # - class ListWebsiteCertificateAuthoritiesResponse < Struct.new( - :website_certificate_authorities, - :next_token) - SENSITIVE = [] - include Aws::Structure - end - - # The resource already exists. - # - # @!attribute [rw] message - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ResourceAlreadyExistsException AWS API Documentation - # - class ResourceAlreadyExistsException < Struct.new( - :message) - SENSITIVE = [] - include Aws::Structure - end - - # The requested resource was not found. - # - # @!attribute [rw] message - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ResourceNotFoundException AWS API Documentation - # - class ResourceNotFoundException < Struct.new( - :message) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] domain_name - # The name of the domain. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RestoreDomainAccessRequest AWS API Documentation - # - class RestoreDomainAccessRequest < Struct.new( - :fleet_arn, - :domain_name) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RestoreDomainAccessResponse AWS API Documentation - # - class RestoreDomainAccessResponse < Aws::EmptyStructure; end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] domain_name - # The name of the domain. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RevokeDomainAccessRequest AWS API Documentation - # - class RevokeDomainAccessRequest < Struct.new( - :fleet_arn, - :domain_name) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RevokeDomainAccessResponse AWS API Documentation - # - class RevokeDomainAccessResponse < Aws::EmptyStructure; end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] username - # The name of the user. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/SignOutUserRequest AWS API Documentation - # - class SignOutUserRequest < Struct.new( - :fleet_arn, - :username) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/SignOutUserResponse AWS API Documentation - # - class SignOutUserResponse < Aws::EmptyStructure; end - - # @!attribute [rw] resource_arn - # The Amazon Resource Name (ARN) of the fleet. - # @return [String] - # - # @!attribute [rw] tags - # The tags to add to the resource. A tag is a key-value pair. - # @return [Hash] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/TagResourceRequest AWS API Documentation - # - class TagResourceRequest < Struct.new( - :resource_arn, - :tags) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/TagResourceResponse AWS API Documentation - # - class TagResourceResponse < Aws::EmptyStructure; end - - # The number of requests exceeds the limit. - # - # @!attribute [rw] message - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/TooManyRequestsException AWS API Documentation - # - class TooManyRequestsException < Struct.new( - :message) - SENSITIVE = [] - include Aws::Structure - end - - # You are not authorized to perform this action. - # - # @!attribute [rw] message - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UnauthorizedException AWS API Documentation - # - class UnauthorizedException < Struct.new( - :message) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] resource_arn - # The Amazon Resource Name (ARN) of the fleet. - # @return [String] - # - # @!attribute [rw] tag_keys - # The list of tag keys to remove from the resource. - # @return [Array] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UntagResourceRequest AWS API Documentation - # - class UntagResourceRequest < Struct.new( - :resource_arn, - :tag_keys) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UntagResourceResponse AWS API Documentation - # - class UntagResourceResponse < Aws::EmptyStructure; end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] audit_stream_arn - # The ARN of the Amazon Kinesis data stream that receives the audit - # events. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateAuditStreamConfigurationRequest AWS API Documentation - # - class UpdateAuditStreamConfigurationRequest < Struct.new( - :fleet_arn, - :audit_stream_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateAuditStreamConfigurationResponse AWS API Documentation - # - class UpdateAuditStreamConfigurationResponse < Aws::EmptyStructure; end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] vpc_id - # The VPC with connectivity to associated websites. - # @return [String] - # - # @!attribute [rw] subnet_ids - # The subnets used for X-ENI connections from Amazon WorkLink - # rendering containers. - # @return [Array] - # - # @!attribute [rw] security_group_ids - # The security groups associated with access to the provided subnets. - # @return [Array] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateCompanyNetworkConfigurationRequest AWS API Documentation - # - class UpdateCompanyNetworkConfigurationRequest < Struct.new( - :fleet_arn, - :vpc_id, - :subnet_ids, - :security_group_ids) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateCompanyNetworkConfigurationResponse AWS API Documentation - # - class UpdateCompanyNetworkConfigurationResponse < Aws::EmptyStructure; end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] device_ca_certificate - # The certificate chain, including intermediate certificates and the - # root certificate authority certificate used to issue device - # certificates. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDevicePolicyConfigurationRequest AWS API Documentation - # - class UpdateDevicePolicyConfigurationRequest < Struct.new( - :fleet_arn, - :device_ca_certificate) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDevicePolicyConfigurationResponse AWS API Documentation - # - class UpdateDevicePolicyConfigurationResponse < Aws::EmptyStructure; end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] domain_name - # The name of the domain. - # @return [String] - # - # @!attribute [rw] display_name - # The name to display. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDomainMetadataRequest AWS API Documentation - # - class UpdateDomainMetadataRequest < Struct.new( - :fleet_arn, - :domain_name, - :display_name) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDomainMetadataResponse AWS API Documentation - # - class UpdateDomainMetadataResponse < Aws::EmptyStructure; end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] display_name - # The fleet name to display. The existing DisplayName is unset if null - # is passed. - # @return [String] - # - # @!attribute [rw] optimize_for_end_user_location - # The option to optimize for better performance by routing traffic - # through the closest AWS Region to users, which may be outside of - # your home Region. - # @return [Boolean] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateFleetMetadataRequest AWS API Documentation - # - class UpdateFleetMetadataRequest < Struct.new( - :fleet_arn, - :display_name, - :optimize_for_end_user_location) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateFleetMetadataResponse AWS API Documentation - # - class UpdateFleetMetadataResponse < Aws::EmptyStructure; end - - # @!attribute [rw] fleet_arn - # The ARN of the fleet. - # @return [String] - # - # @!attribute [rw] identity_provider_type - # The type of identity provider. - # @return [String] - # - # @!attribute [rw] identity_provider_saml_metadata - # The SAML metadata document provided by the customer’s identity - # provider. The existing IdentityProviderSamlMetadata is unset if null - # is passed. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateIdentityProviderConfigurationRequest AWS API Documentation - # - class UpdateIdentityProviderConfigurationRequest < Struct.new( - :fleet_arn, - :identity_provider_type, - :identity_provider_saml_metadata) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateIdentityProviderConfigurationResponse AWS API Documentation - # - class UpdateIdentityProviderConfigurationResponse < Aws::EmptyStructure; end - - # The summary of the website authorization provider. - # - # @!attribute [rw] authorization_provider_id - # A unique identifier for the authorization provider. - # @return [String] - # - # @!attribute [rw] authorization_provider_type - # The authorization provider type. - # @return [String] - # - # @!attribute [rw] domain_name - # The domain name of the authorization provider. This applies only to - # SAML-based authorization providers. - # @return [String] - # - # @!attribute [rw] created_time - # The time of creation. - # @return [Time] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/WebsiteAuthorizationProviderSummary AWS API Documentation - # - class WebsiteAuthorizationProviderSummary < Struct.new( - :authorization_provider_id, - :authorization_provider_type, - :domain_name, - :created_time) - SENSITIVE = [] - include Aws::Structure - end - - # The summary of the certificate authority (CA). - # - # @!attribute [rw] website_ca_id - # A unique identifier for the CA. - # @return [String] - # - # @!attribute [rw] created_time - # The time when the CA was added. - # @return [Time] - # - # @!attribute [rw] display_name - # The name to display. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/WebsiteCaSummary AWS API Documentation - # - class WebsiteCaSummary < Struct.new( - :website_ca_id, - :created_time, - :display_name) - SENSITIVE = [] - include Aws::Structure - end - - end -end diff --git a/gems/aws-sdk-worklink/sig/client.rbs b/gems/aws-sdk-worklink/sig/client.rbs deleted file mode 100644 index f4769d48c1f..00000000000 --- a/gems/aws-sdk-worklink/sig/client.rbs +++ /dev/null @@ -1,464 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws - module WorkLink - class Client < ::Seahorse::Client::Base - include ::Aws::ClientStubs - - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#initialize-instance_method - def self.new: ( - ?credentials: untyped, - ?region: String, - ?access_key_id: String, - ?active_endpoint_cache: bool, - ?adaptive_retry_wait_to_fill: bool, - ?client_side_monitoring: bool, - ?client_side_monitoring_client_id: String, - ?client_side_monitoring_host: String, - ?client_side_monitoring_port: Integer, - ?client_side_monitoring_publisher: untyped, - ?convert_params: bool, - ?correct_clock_skew: bool, - ?defaults_mode: String, - ?disable_host_prefix_injection: bool, - ?disable_request_compression: bool, - ?endpoint: String, - ?endpoint_cache_max_entries: Integer, - ?endpoint_cache_max_threads: Integer, - ?endpoint_cache_poll_interval: Integer, - ?endpoint_discovery: bool, - ?ignore_configured_endpoint_urls: bool, - ?log_formatter: untyped, - ?log_level: Symbol, - ?logger: untyped, - ?max_attempts: Integer, - ?profile: String, - ?request_min_compression_size_bytes: Integer, - ?retry_backoff: Proc, - ?retry_base_delay: Float, - ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer), - ?retry_limit: Integer, - ?retry_max_delay: Integer, - ?retry_mode: ("legacy" | "standard" | "adaptive"), - ?sdk_ua_app_id: String, - ?secret_access_key: String, - ?session_token: String, - ?sigv4a_signing_region_set: Array[String], - ?stub_responses: untyped, - ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase, - ?token_provider: untyped, - ?use_dualstack_endpoint: bool, - ?use_fips_endpoint: bool, - ?validate_params: bool, - ?endpoint_provider: untyped, - ?http_proxy: String, - ?http_open_timeout: (Float | Integer), - ?http_read_timeout: (Float | Integer), - ?http_idle_timeout: (Float | Integer), - ?http_continue_timeout: (Float | Integer), - ?ssl_timeout: (Float | Integer | nil), - ?http_wire_trace: bool, - ?ssl_verify_peer: bool, - ?ssl_ca_bundle: String, - ?ssl_ca_directory: String, - ?ssl_ca_store: String, - ?on_chunk_received: Proc, - ?on_chunk_sent: Proc, - ?raise_response_errors: bool - ) -> instance - | (?Hash[Symbol, untyped]) -> instance - - - interface _AssociateDomainResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::AssociateDomainResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#associate_domain-instance_method - def associate_domain: ( - fleet_arn: ::String, - domain_name: ::String, - ?display_name: ::String, - acm_certificate_arn: ::String - ) -> _AssociateDomainResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateDomainResponseSuccess - - interface _AssociateWebsiteAuthorizationProviderResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::AssociateWebsiteAuthorizationProviderResponse] - def authorization_provider_id: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#associate_website_authorization_provider-instance_method - def associate_website_authorization_provider: ( - fleet_arn: ::String, - authorization_provider_type: ("SAML"), - ?domain_name: ::String - ) -> _AssociateWebsiteAuthorizationProviderResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateWebsiteAuthorizationProviderResponseSuccess - - interface _AssociateWebsiteCertificateAuthorityResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::AssociateWebsiteCertificateAuthorityResponse] - def website_ca_id: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#associate_website_certificate_authority-instance_method - def associate_website_certificate_authority: ( - fleet_arn: ::String, - certificate: ::String, - ?display_name: ::String - ) -> _AssociateWebsiteCertificateAuthorityResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateWebsiteCertificateAuthorityResponseSuccess - - interface _CreateFleetResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::CreateFleetResponse] - def fleet_arn: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#create_fleet-instance_method - def create_fleet: ( - fleet_name: ::String, - ?display_name: ::String, - ?optimize_for_end_user_location: bool, - ?tags: Hash[::String, ::String] - ) -> _CreateFleetResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFleetResponseSuccess - - interface _DeleteFleetResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFleetResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#delete_fleet-instance_method - def delete_fleet: ( - fleet_arn: ::String - ) -> _DeleteFleetResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFleetResponseSuccess - - interface _DescribeAuditStreamConfigurationResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAuditStreamConfigurationResponse] - def audit_stream_arn: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_audit_stream_configuration-instance_method - def describe_audit_stream_configuration: ( - fleet_arn: ::String - ) -> _DescribeAuditStreamConfigurationResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAuditStreamConfigurationResponseSuccess - - interface _DescribeCompanyNetworkConfigurationResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCompanyNetworkConfigurationResponse] - def vpc_id: () -> ::String - def subnet_ids: () -> ::Array[::String] - def security_group_ids: () -> ::Array[::String] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_company_network_configuration-instance_method - def describe_company_network_configuration: ( - fleet_arn: ::String - ) -> _DescribeCompanyNetworkConfigurationResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCompanyNetworkConfigurationResponseSuccess - - interface _DescribeDeviceResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDeviceResponse] - def status: () -> ("ACTIVE" | "SIGNED_OUT") - def model: () -> ::String - def manufacturer: () -> ::String - def operating_system: () -> ::String - def operating_system_version: () -> ::String - def patch_level: () -> ::String - def first_accessed_time: () -> ::Time - def last_accessed_time: () -> ::Time - def username: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_device-instance_method - def describe_device: ( - fleet_arn: ::String, - device_id: ::String - ) -> _DescribeDeviceResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDeviceResponseSuccess - - interface _DescribeDevicePolicyConfigurationResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDevicePolicyConfigurationResponse] - def device_ca_certificate: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_device_policy_configuration-instance_method - def describe_device_policy_configuration: ( - fleet_arn: ::String - ) -> _DescribeDevicePolicyConfigurationResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDevicePolicyConfigurationResponseSuccess - - interface _DescribeDomainResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDomainResponse] - def domain_name: () -> ::String - def display_name: () -> ::String - def created_time: () -> ::Time - def domain_status: () -> ("PENDING_VALIDATION" | "ASSOCIATING" | "ACTIVE" | "INACTIVE" | "DISASSOCIATING" | "DISASSOCIATED" | "FAILED_TO_ASSOCIATE" | "FAILED_TO_DISASSOCIATE") - def acm_certificate_arn: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_domain-instance_method - def describe_domain: ( - fleet_arn: ::String, - domain_name: ::String - ) -> _DescribeDomainResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDomainResponseSuccess - - interface _DescribeFleetMetadataResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFleetMetadataResponse] - def created_time: () -> ::Time - def last_updated_time: () -> ::Time - def fleet_name: () -> ::String - def display_name: () -> ::String - def optimize_for_end_user_location: () -> bool - def company_code: () -> ::String - def fleet_status: () -> ("CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "FAILED_TO_CREATE" | "FAILED_TO_DELETE") - def tags: () -> ::Hash[::String, ::String] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_fleet_metadata-instance_method - def describe_fleet_metadata: ( - fleet_arn: ::String - ) -> _DescribeFleetMetadataResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFleetMetadataResponseSuccess - - interface _DescribeIdentityProviderConfigurationResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DescribeIdentityProviderConfigurationResponse] - def identity_provider_type: () -> ("SAML") - def service_provider_saml_metadata: () -> ::String - def identity_provider_saml_metadata: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_identity_provider_configuration-instance_method - def describe_identity_provider_configuration: ( - fleet_arn: ::String - ) -> _DescribeIdentityProviderConfigurationResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeIdentityProviderConfigurationResponseSuccess - - interface _DescribeWebsiteCertificateAuthorityResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DescribeWebsiteCertificateAuthorityResponse] - def certificate: () -> ::String - def created_time: () -> ::Time - def display_name: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_website_certificate_authority-instance_method - def describe_website_certificate_authority: ( - fleet_arn: ::String, - website_ca_id: ::String - ) -> _DescribeWebsiteCertificateAuthorityResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeWebsiteCertificateAuthorityResponseSuccess - - interface _DisassociateDomainResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateDomainResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#disassociate_domain-instance_method - def disassociate_domain: ( - fleet_arn: ::String, - domain_name: ::String - ) -> _DisassociateDomainResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateDomainResponseSuccess - - interface _DisassociateWebsiteAuthorizationProviderResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateWebsiteAuthorizationProviderResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#disassociate_website_authorization_provider-instance_method - def disassociate_website_authorization_provider: ( - fleet_arn: ::String, - authorization_provider_id: ::String - ) -> _DisassociateWebsiteAuthorizationProviderResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateWebsiteAuthorizationProviderResponseSuccess - - interface _DisassociateWebsiteCertificateAuthorityResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateWebsiteCertificateAuthorityResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#disassociate_website_certificate_authority-instance_method - def disassociate_website_certificate_authority: ( - fleet_arn: ::String, - website_ca_id: ::String - ) -> _DisassociateWebsiteCertificateAuthorityResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateWebsiteCertificateAuthorityResponseSuccess - - interface _ListDevicesResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::ListDevicesResponse] - def devices: () -> ::Array[Types::DeviceSummary] - def next_token: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#list_devices-instance_method - def list_devices: ( - fleet_arn: ::String, - ?next_token: ::String, - ?max_results: ::Integer - ) -> _ListDevicesResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDevicesResponseSuccess - - interface _ListDomainsResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::ListDomainsResponse] - def domains: () -> ::Array[Types::DomainSummary] - def next_token: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#list_domains-instance_method - def list_domains: ( - fleet_arn: ::String, - ?next_token: ::String, - ?max_results: ::Integer - ) -> _ListDomainsResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDomainsResponseSuccess - - interface _ListFleetsResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::ListFleetsResponse] - def fleet_summary_list: () -> ::Array[Types::FleetSummary] - def next_token: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#list_fleets-instance_method - def list_fleets: ( - ?next_token: ::String, - ?max_results: ::Integer - ) -> _ListFleetsResponseSuccess - | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFleetsResponseSuccess - - interface _ListTagsForResourceResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse] - def tags: () -> ::Hash[::String, ::String] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#list_tags_for_resource-instance_method - def list_tags_for_resource: ( - resource_arn: ::String - ) -> _ListTagsForResourceResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess - - interface _ListWebsiteAuthorizationProvidersResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::ListWebsiteAuthorizationProvidersResponse] - def website_authorization_providers: () -> ::Array[Types::WebsiteAuthorizationProviderSummary] - def next_token: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#list_website_authorization_providers-instance_method - def list_website_authorization_providers: ( - fleet_arn: ::String, - ?next_token: ::String, - ?max_results: ::Integer - ) -> _ListWebsiteAuthorizationProvidersResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWebsiteAuthorizationProvidersResponseSuccess - - interface _ListWebsiteCertificateAuthoritiesResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::ListWebsiteCertificateAuthoritiesResponse] - def website_certificate_authorities: () -> ::Array[Types::WebsiteCaSummary] - def next_token: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#list_website_certificate_authorities-instance_method - def list_website_certificate_authorities: ( - fleet_arn: ::String, - ?max_results: ::Integer, - ?next_token: ::String - ) -> _ListWebsiteCertificateAuthoritiesResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWebsiteCertificateAuthoritiesResponseSuccess - - interface _RestoreDomainAccessResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::RestoreDomainAccessResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#restore_domain_access-instance_method - def restore_domain_access: ( - fleet_arn: ::String, - domain_name: ::String - ) -> _RestoreDomainAccessResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreDomainAccessResponseSuccess - - interface _RevokeDomainAccessResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::RevokeDomainAccessResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#revoke_domain_access-instance_method - def revoke_domain_access: ( - fleet_arn: ::String, - domain_name: ::String - ) -> _RevokeDomainAccessResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RevokeDomainAccessResponseSuccess - - interface _SignOutUserResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::SignOutUserResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#sign_out_user-instance_method - def sign_out_user: ( - fleet_arn: ::String, - username: ::String - ) -> _SignOutUserResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SignOutUserResponseSuccess - - interface _TagResourceResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#tag_resource-instance_method - def tag_resource: ( - resource_arn: ::String, - tags: Hash[::String, ::String] - ) -> _TagResourceResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess - - interface _UntagResourceResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#untag_resource-instance_method - def untag_resource: ( - resource_arn: ::String, - tag_keys: Array[::String] - ) -> _UntagResourceResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess - - interface _UpdateAuditStreamConfigurationResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAuditStreamConfigurationResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#update_audit_stream_configuration-instance_method - def update_audit_stream_configuration: ( - fleet_arn: ::String, - ?audit_stream_arn: ::String - ) -> _UpdateAuditStreamConfigurationResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAuditStreamConfigurationResponseSuccess - - interface _UpdateCompanyNetworkConfigurationResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCompanyNetworkConfigurationResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#update_company_network_configuration-instance_method - def update_company_network_configuration: ( - fleet_arn: ::String, - vpc_id: ::String, - subnet_ids: Array[::String], - security_group_ids: Array[::String] - ) -> _UpdateCompanyNetworkConfigurationResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCompanyNetworkConfigurationResponseSuccess - - interface _UpdateDevicePolicyConfigurationResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDevicePolicyConfigurationResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#update_device_policy_configuration-instance_method - def update_device_policy_configuration: ( - fleet_arn: ::String, - ?device_ca_certificate: ::String - ) -> _UpdateDevicePolicyConfigurationResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDevicePolicyConfigurationResponseSuccess - - interface _UpdateDomainMetadataResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDomainMetadataResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#update_domain_metadata-instance_method - def update_domain_metadata: ( - fleet_arn: ::String, - domain_name: ::String, - ?display_name: ::String - ) -> _UpdateDomainMetadataResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainMetadataResponseSuccess - - interface _UpdateFleetMetadataResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFleetMetadataResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#update_fleet_metadata-instance_method - def update_fleet_metadata: ( - fleet_arn: ::String, - ?display_name: ::String, - ?optimize_for_end_user_location: bool - ) -> _UpdateFleetMetadataResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFleetMetadataResponseSuccess - - interface _UpdateIdentityProviderConfigurationResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIdentityProviderConfigurationResponse] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#update_identity_provider_configuration-instance_method - def update_identity_provider_configuration: ( - fleet_arn: ::String, - identity_provider_type: ("SAML"), - ?identity_provider_saml_metadata: ::String - ) -> _UpdateIdentityProviderConfigurationResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIdentityProviderConfigurationResponseSuccess - end - end -end - diff --git a/gems/aws-sdk-worklink/sig/errors.rbs b/gems/aws-sdk-worklink/sig/errors.rbs deleted file mode 100644 index 724e95fa36b..00000000000 --- a/gems/aws-sdk-worklink/sig/errors.rbs +++ /dev/null @@ -1,34 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws - module WorkLink - module Errors - class ServiceError < ::Aws::Errors::ServiceError - end - - class InternalServerErrorException < ::Aws::Errors::ServiceError - def message: () -> ::String - end - class InvalidRequestException < ::Aws::Errors::ServiceError - def message: () -> ::String - end - class ResourceAlreadyExistsException < ::Aws::Errors::ServiceError - def message: () -> ::String - end - class ResourceNotFoundException < ::Aws::Errors::ServiceError - def message: () -> ::String - end - class TooManyRequestsException < ::Aws::Errors::ServiceError - def message: () -> ::String - end - class UnauthorizedException < ::Aws::Errors::ServiceError - def message: () -> ::String - end - end - end -end diff --git a/gems/aws-sdk-worklink/sig/resource.rbs b/gems/aws-sdk-worklink/sig/resource.rbs deleted file mode 100644 index 4ab6caf2acf..00000000000 --- a/gems/aws-sdk-worklink/sig/resource.rbs +++ /dev/null @@ -1,81 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws - module WorkLink - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Resource.html - class Resource - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Resource.html#initialize-instance_method - def initialize: ( - ?client: Client, - ?credentials: untyped, - ?region: String, - ?access_key_id: String, - ?active_endpoint_cache: bool, - ?adaptive_retry_wait_to_fill: bool, - ?client_side_monitoring: bool, - ?client_side_monitoring_client_id: String, - ?client_side_monitoring_host: String, - ?client_side_monitoring_port: Integer, - ?client_side_monitoring_publisher: untyped, - ?convert_params: bool, - ?correct_clock_skew: bool, - ?defaults_mode: String, - ?disable_host_prefix_injection: bool, - ?disable_request_compression: bool, - ?endpoint: String, - ?endpoint_cache_max_entries: Integer, - ?endpoint_cache_max_threads: Integer, - ?endpoint_cache_poll_interval: Integer, - ?endpoint_discovery: bool, - ?ignore_configured_endpoint_urls: bool, - ?log_formatter: untyped, - ?log_level: Symbol, - ?logger: untyped, - ?max_attempts: Integer, - ?profile: String, - ?request_min_compression_size_bytes: Integer, - ?retry_backoff: Proc, - ?retry_base_delay: Float, - ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer), - ?retry_limit: Integer, - ?retry_max_delay: Integer, - ?retry_mode: ("legacy" | "standard" | "adaptive"), - ?sdk_ua_app_id: String, - ?secret_access_key: String, - ?session_token: String, - ?sigv4a_signing_region_set: Array[String], - ?stub_responses: untyped, - ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase, - ?token_provider: untyped, - ?use_dualstack_endpoint: bool, - ?use_fips_endpoint: bool, - ?validate_params: bool, - ?endpoint_provider: untyped, - ?http_proxy: String, - ?http_open_timeout: (Float | Integer), - ?http_read_timeout: (Float | Integer), - ?http_idle_timeout: (Float | Integer), - ?http_continue_timeout: (Float | Integer), - ?ssl_timeout: (Float | Integer | nil), - ?http_wire_trace: bool, - ?ssl_verify_peer: bool, - ?ssl_ca_bundle: String, - ?ssl_ca_directory: String, - ?ssl_ca_store: String, - ?on_chunk_received: Proc, - ?on_chunk_sent: Proc, - ?raise_response_errors: bool - ) -> void - | (?Hash[Symbol, untyped]) -> void - - def client: () -> Client - - - end - end -end diff --git a/gems/aws-sdk-worklink/sig/types.rbs b/gems/aws-sdk-worklink/sig/types.rbs deleted file mode 100644 index 15d793e8d4a..00000000000 --- a/gems/aws-sdk-worklink/sig/types.rbs +++ /dev/null @@ -1,451 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws::WorkLink - module Types - - class AssociateDomainRequest - attr_accessor fleet_arn: ::String - attr_accessor domain_name: ::String - attr_accessor display_name: ::String - attr_accessor acm_certificate_arn: ::String - SENSITIVE: [] - end - - class AssociateDomainResponse < Aws::EmptyStructure - end - - class AssociateWebsiteAuthorizationProviderRequest - attr_accessor fleet_arn: ::String - attr_accessor authorization_provider_type: ("SAML") - attr_accessor domain_name: ::String - SENSITIVE: [] - end - - class AssociateWebsiteAuthorizationProviderResponse - attr_accessor authorization_provider_id: ::String - SENSITIVE: [] - end - - class AssociateWebsiteCertificateAuthorityRequest - attr_accessor fleet_arn: ::String - attr_accessor certificate: ::String - attr_accessor display_name: ::String - SENSITIVE: [] - end - - class AssociateWebsiteCertificateAuthorityResponse - attr_accessor website_ca_id: ::String - SENSITIVE: [] - end - - class CreateFleetRequest - attr_accessor fleet_name: ::String - attr_accessor display_name: ::String - attr_accessor optimize_for_end_user_location: bool - attr_accessor tags: ::Hash[::String, ::String] - SENSITIVE: [] - end - - class CreateFleetResponse - attr_accessor fleet_arn: ::String - SENSITIVE: [] - end - - class DeleteFleetRequest - attr_accessor fleet_arn: ::String - SENSITIVE: [] - end - - class DeleteFleetResponse < Aws::EmptyStructure - end - - class DescribeAuditStreamConfigurationRequest - attr_accessor fleet_arn: ::String - SENSITIVE: [] - end - - class DescribeAuditStreamConfigurationResponse - attr_accessor audit_stream_arn: ::String - SENSITIVE: [] - end - - class DescribeCompanyNetworkConfigurationRequest - attr_accessor fleet_arn: ::String - SENSITIVE: [] - end - - class DescribeCompanyNetworkConfigurationResponse - attr_accessor vpc_id: ::String - attr_accessor subnet_ids: ::Array[::String] - attr_accessor security_group_ids: ::Array[::String] - SENSITIVE: [] - end - - class DescribeDevicePolicyConfigurationRequest - attr_accessor fleet_arn: ::String - SENSITIVE: [] - end - - class DescribeDevicePolicyConfigurationResponse - attr_accessor device_ca_certificate: ::String - SENSITIVE: [] - end - - class DescribeDeviceRequest - attr_accessor fleet_arn: ::String - attr_accessor device_id: ::String - SENSITIVE: [] - end - - class DescribeDeviceResponse - attr_accessor status: ("ACTIVE" | "SIGNED_OUT") - attr_accessor model: ::String - attr_accessor manufacturer: ::String - attr_accessor operating_system: ::String - attr_accessor operating_system_version: ::String - attr_accessor patch_level: ::String - attr_accessor first_accessed_time: ::Time - attr_accessor last_accessed_time: ::Time - attr_accessor username: ::String - SENSITIVE: [] - end - - class DescribeDomainRequest - attr_accessor fleet_arn: ::String - attr_accessor domain_name: ::String - SENSITIVE: [] - end - - class DescribeDomainResponse - attr_accessor domain_name: ::String - attr_accessor display_name: ::String - attr_accessor created_time: ::Time - attr_accessor domain_status: ("PENDING_VALIDATION" | "ASSOCIATING" | "ACTIVE" | "INACTIVE" | "DISASSOCIATING" | "DISASSOCIATED" | "FAILED_TO_ASSOCIATE" | "FAILED_TO_DISASSOCIATE") - attr_accessor acm_certificate_arn: ::String - SENSITIVE: [] - end - - class DescribeFleetMetadataRequest - attr_accessor fleet_arn: ::String - SENSITIVE: [] - end - - class DescribeFleetMetadataResponse - attr_accessor created_time: ::Time - attr_accessor last_updated_time: ::Time - attr_accessor fleet_name: ::String - attr_accessor display_name: ::String - attr_accessor optimize_for_end_user_location: bool - attr_accessor company_code: ::String - attr_accessor fleet_status: ("CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "FAILED_TO_CREATE" | "FAILED_TO_DELETE") - attr_accessor tags: ::Hash[::String, ::String] - SENSITIVE: [] - end - - class DescribeIdentityProviderConfigurationRequest - attr_accessor fleet_arn: ::String - SENSITIVE: [] - end - - class DescribeIdentityProviderConfigurationResponse - attr_accessor identity_provider_type: ("SAML") - attr_accessor service_provider_saml_metadata: ::String - attr_accessor identity_provider_saml_metadata: ::String - SENSITIVE: [] - end - - class DescribeWebsiteCertificateAuthorityRequest - attr_accessor fleet_arn: ::String - attr_accessor website_ca_id: ::String - SENSITIVE: [] - end - - class DescribeWebsiteCertificateAuthorityResponse - attr_accessor certificate: ::String - attr_accessor created_time: ::Time - attr_accessor display_name: ::String - SENSITIVE: [] - end - - class DeviceSummary - attr_accessor device_id: ::String - attr_accessor device_status: ("ACTIVE" | "SIGNED_OUT") - SENSITIVE: [] - end - - class DisassociateDomainRequest - attr_accessor fleet_arn: ::String - attr_accessor domain_name: ::String - SENSITIVE: [] - end - - class DisassociateDomainResponse < Aws::EmptyStructure - end - - class DisassociateWebsiteAuthorizationProviderRequest - attr_accessor fleet_arn: ::String - attr_accessor authorization_provider_id: ::String - SENSITIVE: [] - end - - class DisassociateWebsiteAuthorizationProviderResponse < Aws::EmptyStructure - end - - class DisassociateWebsiteCertificateAuthorityRequest - attr_accessor fleet_arn: ::String - attr_accessor website_ca_id: ::String - SENSITIVE: [] - end - - class DisassociateWebsiteCertificateAuthorityResponse < Aws::EmptyStructure - end - - class DomainSummary - attr_accessor domain_name: ::String - attr_accessor display_name: ::String - attr_accessor created_time: ::Time - attr_accessor domain_status: ("PENDING_VALIDATION" | "ASSOCIATING" | "ACTIVE" | "INACTIVE" | "DISASSOCIATING" | "DISASSOCIATED" | "FAILED_TO_ASSOCIATE" | "FAILED_TO_DISASSOCIATE") - SENSITIVE: [] - end - - class FleetSummary - attr_accessor fleet_arn: ::String - attr_accessor created_time: ::Time - attr_accessor last_updated_time: ::Time - attr_accessor fleet_name: ::String - attr_accessor display_name: ::String - attr_accessor company_code: ::String - attr_accessor fleet_status: ("CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "FAILED_TO_CREATE" | "FAILED_TO_DELETE") - attr_accessor tags: ::Hash[::String, ::String] - SENSITIVE: [] - end - - class InternalServerErrorException - attr_accessor message: ::String - SENSITIVE: [] - end - - class InvalidRequestException - attr_accessor message: ::String - SENSITIVE: [] - end - - class ListDevicesRequest - attr_accessor fleet_arn: ::String - attr_accessor next_token: ::String - attr_accessor max_results: ::Integer - SENSITIVE: [] - end - - class ListDevicesResponse - attr_accessor devices: ::Array[Types::DeviceSummary] - attr_accessor next_token: ::String - SENSITIVE: [] - end - - class ListDomainsRequest - attr_accessor fleet_arn: ::String - attr_accessor next_token: ::String - attr_accessor max_results: ::Integer - SENSITIVE: [] - end - - class ListDomainsResponse - attr_accessor domains: ::Array[Types::DomainSummary] - attr_accessor next_token: ::String - SENSITIVE: [] - end - - class ListFleetsRequest - attr_accessor next_token: ::String - attr_accessor max_results: ::Integer - SENSITIVE: [] - end - - class ListFleetsResponse - attr_accessor fleet_summary_list: ::Array[Types::FleetSummary] - attr_accessor next_token: ::String - SENSITIVE: [] - end - - class ListTagsForResourceRequest - attr_accessor resource_arn: ::String - SENSITIVE: [] - end - - class ListTagsForResourceResponse - attr_accessor tags: ::Hash[::String, ::String] - SENSITIVE: [] - end - - class ListWebsiteAuthorizationProvidersRequest - attr_accessor fleet_arn: ::String - attr_accessor next_token: ::String - attr_accessor max_results: ::Integer - SENSITIVE: [] - end - - class ListWebsiteAuthorizationProvidersResponse - attr_accessor website_authorization_providers: ::Array[Types::WebsiteAuthorizationProviderSummary] - attr_accessor next_token: ::String - SENSITIVE: [] - end - - class ListWebsiteCertificateAuthoritiesRequest - attr_accessor fleet_arn: ::String - attr_accessor max_results: ::Integer - attr_accessor next_token: ::String - SENSITIVE: [] - end - - class ListWebsiteCertificateAuthoritiesResponse - attr_accessor website_certificate_authorities: ::Array[Types::WebsiteCaSummary] - attr_accessor next_token: ::String - SENSITIVE: [] - end - - class ResourceAlreadyExistsException - attr_accessor message: ::String - SENSITIVE: [] - end - - class ResourceNotFoundException - attr_accessor message: ::String - SENSITIVE: [] - end - - class RestoreDomainAccessRequest - attr_accessor fleet_arn: ::String - attr_accessor domain_name: ::String - SENSITIVE: [] - end - - class RestoreDomainAccessResponse < Aws::EmptyStructure - end - - class RevokeDomainAccessRequest - attr_accessor fleet_arn: ::String - attr_accessor domain_name: ::String - SENSITIVE: [] - end - - class RevokeDomainAccessResponse < Aws::EmptyStructure - end - - class SignOutUserRequest - attr_accessor fleet_arn: ::String - attr_accessor username: ::String - SENSITIVE: [] - end - - class SignOutUserResponse < Aws::EmptyStructure - end - - class TagResourceRequest - attr_accessor resource_arn: ::String - attr_accessor tags: ::Hash[::String, ::String] - SENSITIVE: [] - end - - class TagResourceResponse < Aws::EmptyStructure - end - - class TooManyRequestsException - attr_accessor message: ::String - SENSITIVE: [] - end - - class UnauthorizedException - attr_accessor message: ::String - SENSITIVE: [] - end - - class UntagResourceRequest - attr_accessor resource_arn: ::String - attr_accessor tag_keys: ::Array[::String] - SENSITIVE: [] - end - - class UntagResourceResponse < Aws::EmptyStructure - end - - class UpdateAuditStreamConfigurationRequest - attr_accessor fleet_arn: ::String - attr_accessor audit_stream_arn: ::String - SENSITIVE: [] - end - - class UpdateAuditStreamConfigurationResponse < Aws::EmptyStructure - end - - class UpdateCompanyNetworkConfigurationRequest - attr_accessor fleet_arn: ::String - attr_accessor vpc_id: ::String - attr_accessor subnet_ids: ::Array[::String] - attr_accessor security_group_ids: ::Array[::String] - SENSITIVE: [] - end - - class UpdateCompanyNetworkConfigurationResponse < Aws::EmptyStructure - end - - class UpdateDevicePolicyConfigurationRequest - attr_accessor fleet_arn: ::String - attr_accessor device_ca_certificate: ::String - SENSITIVE: [] - end - - class UpdateDevicePolicyConfigurationResponse < Aws::EmptyStructure - end - - class UpdateDomainMetadataRequest - attr_accessor fleet_arn: ::String - attr_accessor domain_name: ::String - attr_accessor display_name: ::String - SENSITIVE: [] - end - - class UpdateDomainMetadataResponse < Aws::EmptyStructure - end - - class UpdateFleetMetadataRequest - attr_accessor fleet_arn: ::String - attr_accessor display_name: ::String - attr_accessor optimize_for_end_user_location: bool - SENSITIVE: [] - end - - class UpdateFleetMetadataResponse < Aws::EmptyStructure - end - - class UpdateIdentityProviderConfigurationRequest - attr_accessor fleet_arn: ::String - attr_accessor identity_provider_type: ("SAML") - attr_accessor identity_provider_saml_metadata: ::String - SENSITIVE: [] - end - - class UpdateIdentityProviderConfigurationResponse < Aws::EmptyStructure - end - - class WebsiteAuthorizationProviderSummary - attr_accessor authorization_provider_id: ::String - attr_accessor authorization_provider_type: ("SAML") - attr_accessor domain_name: ::String - attr_accessor created_time: ::Time - SENSITIVE: [] - end - - class WebsiteCaSummary - attr_accessor website_ca_id: ::String - attr_accessor created_time: ::Time - attr_accessor display_name: ::String - SENSITIVE: [] - end - end -end diff --git a/gems/aws-sdk-worklink/sig/waiters.rbs b/gems/aws-sdk-worklink/sig/waiters.rbs deleted file mode 100644 index 0b30c9e1041..00000000000 --- a/gems/aws-sdk-worklink/sig/waiters.rbs +++ /dev/null @@ -1,13 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws - module WorkLink - module Waiters - end - end -end diff --git a/gems/aws-sdk-worklink/spec/endpoint_provider_spec.rb b/gems/aws-sdk-worklink/spec/endpoint_provider_spec.rb deleted file mode 100644 index bdea31fb97b..00000000000 --- a/gems/aws-sdk-worklink/spec/endpoint_provider_spec.rb +++ /dev/null @@ -1,361 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - - -require_relative 'spec_helper' - -module Aws::WorkLink - describe EndpointProvider do - subject { Aws::WorkLink::EndpointProvider.new } - - context "For region us-east-1 with FIPS enabled and DualStack enabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink-fips.us-east-1.api.aws"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>true, :use_dual_stack=>true}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For region us-east-1 with FIPS enabled and DualStack disabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink-fips.us-east-1.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>true, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For region us-east-1 with FIPS disabled and DualStack enabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink.us-east-1.api.aws"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>false, :use_dual_stack=>true}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For region us-east-1 with FIPS disabled and DualStack disabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink.us-east-1.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For region cn-north-1 with FIPS enabled and DualStack enabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink-fips.cn-north-1.api.amazonwebservices.com.cn"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"cn-north-1", :use_fips=>true, :use_dual_stack=>true}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For region cn-north-1 with FIPS enabled and DualStack disabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink-fips.cn-north-1.amazonaws.com.cn"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"cn-north-1", :use_fips=>true, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For region cn-north-1 with FIPS disabled and DualStack enabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink.cn-north-1.api.amazonwebservices.com.cn"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"cn-north-1", :use_fips=>false, :use_dual_stack=>true}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For region cn-north-1 with FIPS disabled and DualStack disabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink.cn-north-1.amazonaws.com.cn"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"cn-north-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink-fips.us-gov-east-1.api.aws"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-gov-east-1", :use_fips=>true, :use_dual_stack=>true}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink-fips.us-gov-east-1.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-gov-east-1", :use_fips=>true, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink.us-gov-east-1.api.aws"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-gov-east-1", :use_fips=>false, :use_dual_stack=>true}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink.us-gov-east-1.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-gov-east-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do - let(:expected) do - {"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-iso-east-1", :use_fips=>true, :use_dual_stack=>true}) - expect do - subject.resolve_endpoint(params) - end.to raise_error(ArgumentError, expected['error']) - end - end - - context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink-fips.us-iso-east-1.c2s.ic.gov"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-iso-east-1", :use_fips=>true, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do - let(:expected) do - {"error"=>"DualStack is enabled but this partition does not support DualStack"} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-iso-east-1", :use_fips=>false, :use_dual_stack=>true}) - expect do - subject.resolve_endpoint(params) - end.to raise_error(ArgumentError, expected['error']) - end - end - - context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink.us-iso-east-1.c2s.ic.gov"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-iso-east-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do - let(:expected) do - {"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-isob-east-1", :use_fips=>true, :use_dual_stack=>true}) - expect do - subject.resolve_endpoint(params) - end.to raise_error(ArgumentError, expected['error']) - end - end - - context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink-fips.us-isob-east-1.sc2s.sgov.gov"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-isob-east-1", :use_fips=>true, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do - let(:expected) do - {"error"=>"DualStack is enabled but this partition does not support DualStack"} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-isob-east-1", :use_fips=>false, :use_dual_stack=>true}) - expect do - subject.resolve_endpoint(params) - end.to raise_error(ArgumentError, expected['error']) - end - end - - context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://worklink.us-isob-east-1.sc2s.sgov.gov"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-isob-east-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For custom endpoint with region set and fips disabled and dualstack disabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://example.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>false, :use_dual_stack=>false, :endpoint=>"https://example.com"}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For custom endpoint with region not set and fips disabled and dualstack disabled" do - let(:expected) do - {"endpoint"=>{"url"=>"https://example.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:use_fips=>false, :use_dual_stack=>false, :endpoint=>"https://example.com"}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context "For custom endpoint with fips enabled and dualstack disabled" do - let(:expected) do - {"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>true, :use_dual_stack=>false, :endpoint=>"https://example.com"}) - expect do - subject.resolve_endpoint(params) - end.to raise_error(ArgumentError, expected['error']) - end - end - - context "For custom endpoint with fips disabled and dualstack enabled" do - let(:expected) do - {"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>false, :use_dual_stack=>true, :endpoint=>"https://example.com"}) - expect do - subject.resolve_endpoint(params) - end.to raise_error(ArgumentError, expected['error']) - end - end - - context "Missing region" do - let(:expected) do - {"error"=>"Invalid Configuration: Missing Region"} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{}) - expect do - subject.resolve_endpoint(params) - end.to raise_error(ArgumentError, expected['error']) - end - end - - end -end diff --git a/gems/aws-sdk-worklink/spec/spec_helper.rb b/gems/aws-sdk-worklink/spec/spec_helper.rb deleted file mode 100644 index f1caabf460f..00000000000 --- a/gems/aws-sdk-worklink/spec/spec_helper.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -require_relative '../../aws-sdk-core/spec/shared_spec_helper' - -$:.unshift(File.expand_path('../../lib', __FILE__)) -$:.unshift(File.expand_path('../../../aws-sdk-core/lib', __FILE__)) -$:.unshift(File.expand_path('../../../aws-sigv4/lib', __FILE__)) - -require 'rspec' -require 'webmock/rspec' -require 'aws-sdk-worklink' diff --git a/services.json b/services.json index 95676b6e3f8..84046fbec98 100644 --- a/services.json +++ b/services.json @@ -1241,10 +1241,6 @@ "WorkDocs": { "models": "workdocs/2016-05-01" }, - "WorkLink": { - "models": "worklink/2018-09-25", - "deprecated": true - }, "WorkMail": { "models": "workmail/2017-10-01" },