amazonka-workspaces-web-2.0: Amazon WorkSpaces Web SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WorkSpacesWeb.CreateTrustStore

Description

Creates a trust store that can be associated with a web portal. A trust store contains certificate authority (CA) certificates. Once associated with a web portal, the browser in a streaming session will recognize certificates that have been issued using any of the CAs in the trust store. If your organization has internal websites that use certificates issued by private CAs, you should add the private CA certificate to the trust store.

Synopsis

Creating a Request

data CreateTrustStore Source #

See: newCreateTrustStore smart constructor.

Constructors

CreateTrustStore' 

Fields

  • clientToken :: Maybe Text

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.

    If you do not specify a client token, one is automatically generated by the AWS SDK.

  • tags :: Maybe [Sensitive Tag]

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

  • certificateList :: [Base64]

    A list of CA certificates to be added to the trust store.

Instances

Instances details
ToJSON CreateTrustStore Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

ToHeaders CreateTrustStore Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

ToPath CreateTrustStore Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

ToQuery CreateTrustStore Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

AWSRequest CreateTrustStore Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

Associated Types

type AWSResponse CreateTrustStore #

Generic CreateTrustStore Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

Associated Types

type Rep CreateTrustStore :: Type -> Type #

Show CreateTrustStore Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

NFData CreateTrustStore Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

Methods

rnf :: CreateTrustStore -> () #

Eq CreateTrustStore Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

Hashable CreateTrustStore Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

type AWSResponse CreateTrustStore Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

type Rep CreateTrustStore Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

type Rep CreateTrustStore = D1 ('MetaData "CreateTrustStore" "Amazonka.WorkSpacesWeb.CreateTrustStore" "amazonka-workspaces-web-2.0-7elUOg7oNE07CClY3TuUcU" 'False) (C1 ('MetaCons "CreateTrustStore'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Sensitive Tag])) :*: S1 ('MetaSel ('Just "certificateList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Base64]))))

newCreateTrustStore :: CreateTrustStore Source #

Create a value of CreateTrustStore 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:clientToken:CreateTrustStore', createTrustStore_clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.

If you do not specify a client token, one is automatically generated by the AWS SDK.

$sel:tags:CreateTrustStore', createTrustStore_tags - The tags to add to the trust store. A tag is a key-value pair.

$sel:certificateList:CreateTrustStore', createTrustStore_certificateList - A list of CA certificates to be added to the trust store.

Request Lenses

createTrustStore_clientToken :: Lens' CreateTrustStore (Maybe Text) Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.

If you do not specify a client token, one is automatically generated by the AWS SDK.

createTrustStore_tags :: Lens' CreateTrustStore (Maybe [Tag]) Source #

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

createTrustStore_certificateList :: Lens' CreateTrustStore [ByteString] Source #

A list of CA certificates to be added to the trust store.

Destructuring the Response

data CreateTrustStoreResponse Source #

See: newCreateTrustStoreResponse smart constructor.

Constructors

CreateTrustStoreResponse' 

Fields

Instances

Instances details
Generic CreateTrustStoreResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

Associated Types

type Rep CreateTrustStoreResponse :: Type -> Type #

Read CreateTrustStoreResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

Show CreateTrustStoreResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

NFData CreateTrustStoreResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

Eq CreateTrustStoreResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

type Rep CreateTrustStoreResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateTrustStore

type Rep CreateTrustStoreResponse = D1 ('MetaData "CreateTrustStoreResponse" "Amazonka.WorkSpacesWeb.CreateTrustStore" "amazonka-workspaces-web-2.0-7elUOg7oNE07CClY3TuUcU" 'False) (C1 ('MetaCons "CreateTrustStoreResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "trustStoreArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateTrustStoreResponse Source #

Create a value of CreateTrustStoreResponse 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:httpStatus:CreateTrustStoreResponse', createTrustStoreResponse_httpStatus - The response's http status code.

CreateTrustStoreResponse, createTrustStoreResponse_trustStoreArn - The ARN of the trust store.

Response Lenses