Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Associates a website authorization provider with a specified fleet. This is used to authorize users against associated websites in the company network.
Synopsis
- data AssociateWebsiteAuthorizationProvider = AssociateWebsiteAuthorizationProvider' {}
- newAssociateWebsiteAuthorizationProvider :: Text -> AuthorizationProviderType -> AssociateWebsiteAuthorizationProvider
- associateWebsiteAuthorizationProvider_domainName :: Lens' AssociateWebsiteAuthorizationProvider (Maybe Text)
- associateWebsiteAuthorizationProvider_fleetArn :: Lens' AssociateWebsiteAuthorizationProvider Text
- associateWebsiteAuthorizationProvider_authorizationProviderType :: Lens' AssociateWebsiteAuthorizationProvider AuthorizationProviderType
- data AssociateWebsiteAuthorizationProviderResponse = AssociateWebsiteAuthorizationProviderResponse' {}
- newAssociateWebsiteAuthorizationProviderResponse :: Int -> AssociateWebsiteAuthorizationProviderResponse
- associateWebsiteAuthorizationProviderResponse_authorizationProviderId :: Lens' AssociateWebsiteAuthorizationProviderResponse (Maybe Text)
- associateWebsiteAuthorizationProviderResponse_httpStatus :: Lens' AssociateWebsiteAuthorizationProviderResponse Int
Creating a Request
data AssociateWebsiteAuthorizationProvider Source #
See: newAssociateWebsiteAuthorizationProvider
smart constructor.
AssociateWebsiteAuthorizationProvider' | |
|
Instances
newAssociateWebsiteAuthorizationProvider Source #
:: Text | |
-> AuthorizationProviderType |
|
-> AssociateWebsiteAuthorizationProvider |
Create a value of AssociateWebsiteAuthorizationProvider
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domainName:AssociateWebsiteAuthorizationProvider'
, associateWebsiteAuthorizationProvider_domainName
- The domain name of the authorization provider. This applies only to
SAML-based authorization providers.
$sel:fleetArn:AssociateWebsiteAuthorizationProvider'
, associateWebsiteAuthorizationProvider_fleetArn
- The ARN of the fleet.
$sel:authorizationProviderType:AssociateWebsiteAuthorizationProvider'
, associateWebsiteAuthorizationProvider_authorizationProviderType
- The authorization provider type.
Request Lenses
associateWebsiteAuthorizationProvider_domainName :: Lens' AssociateWebsiteAuthorizationProvider (Maybe Text) Source #
The domain name of the authorization provider. This applies only to SAML-based authorization providers.
associateWebsiteAuthorizationProvider_fleetArn :: Lens' AssociateWebsiteAuthorizationProvider Text Source #
The ARN of the fleet.
associateWebsiteAuthorizationProvider_authorizationProviderType :: Lens' AssociateWebsiteAuthorizationProvider AuthorizationProviderType Source #
The authorization provider type.
Destructuring the Response
data AssociateWebsiteAuthorizationProviderResponse Source #
See: newAssociateWebsiteAuthorizationProviderResponse
smart constructor.
AssociateWebsiteAuthorizationProviderResponse' | |
|
Instances
Eq AssociateWebsiteAuthorizationProviderResponse Source # | |
Read AssociateWebsiteAuthorizationProviderResponse Source # | |
Show AssociateWebsiteAuthorizationProviderResponse Source # | |
Generic AssociateWebsiteAuthorizationProviderResponse Source # | |
NFData AssociateWebsiteAuthorizationProviderResponse Source # | |
type Rep AssociateWebsiteAuthorizationProviderResponse Source # | |
Defined in Amazonka.WorkLink.AssociateWebsiteAuthorizationProvider type Rep AssociateWebsiteAuthorizationProviderResponse = D1 ('MetaData "AssociateWebsiteAuthorizationProviderResponse" "Amazonka.WorkLink.AssociateWebsiteAuthorizationProvider" "libZSservicesZSamazonka-worklinkZSamazonka-worklink" 'False) (C1 ('MetaCons "AssociateWebsiteAuthorizationProviderResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authorizationProviderId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAssociateWebsiteAuthorizationProviderResponse Source #
:: Int |
|
-> AssociateWebsiteAuthorizationProviderResponse |
Create a value of AssociateWebsiteAuthorizationProviderResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:authorizationProviderId:AssociateWebsiteAuthorizationProviderResponse'
, associateWebsiteAuthorizationProviderResponse_authorizationProviderId
- A unique identifier for the authorization provider.
$sel:httpStatus:AssociateWebsiteAuthorizationProviderResponse'
, associateWebsiteAuthorizationProviderResponse_httpStatus
- The response's http status code.
Response Lenses
associateWebsiteAuthorizationProviderResponse_authorizationProviderId :: Lens' AssociateWebsiteAuthorizationProviderResponse (Maybe Text) Source #
A unique identifier for the authorization provider.
associateWebsiteAuthorizationProviderResponse_httpStatus :: Lens' AssociateWebsiteAuthorizationProviderResponse Int Source #
The response's http status code.