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.UpdateBrowserSettings

Description

Updates browser settings.

Synopsis

Creating a Request

data UpdateBrowserSettings Source #

See: newUpdateBrowserSettings smart constructor.

Constructors

UpdateBrowserSettings' 

Fields

  • browserPolicy :: Maybe (Sensitive Text)

    A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions.

  • 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 return the result from the original successful request.

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

  • browserSettingsArn :: Text

    The ARN of the browser settings.

Instances

Instances details
ToJSON UpdateBrowserSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

ToHeaders UpdateBrowserSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

ToPath UpdateBrowserSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

ToQuery UpdateBrowserSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

AWSRequest UpdateBrowserSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

Associated Types

type AWSResponse UpdateBrowserSettings #

Generic UpdateBrowserSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

Associated Types

type Rep UpdateBrowserSettings :: Type -> Type #

Show UpdateBrowserSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

NFData UpdateBrowserSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

Methods

rnf :: UpdateBrowserSettings -> () #

Eq UpdateBrowserSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

Hashable UpdateBrowserSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

type AWSResponse UpdateBrowserSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

type Rep UpdateBrowserSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

type Rep UpdateBrowserSettings = D1 ('MetaData "UpdateBrowserSettings" "Amazonka.WorkSpacesWeb.UpdateBrowserSettings" "amazonka-workspaces-web-2.0-7elUOg7oNE07CClY3TuUcU" 'False) (C1 ('MetaCons "UpdateBrowserSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "browserPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "browserSettingsArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateBrowserSettings Source #

Create a value of UpdateBrowserSettings 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:

UpdateBrowserSettings, updateBrowserSettings_browserPolicy - A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions.

$sel:clientToken:UpdateBrowserSettings', updateBrowserSettings_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 return the result from the original successful request.

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

UpdateBrowserSettings, updateBrowserSettings_browserSettingsArn - The ARN of the browser settings.

Request Lenses

updateBrowserSettings_browserPolicy :: Lens' UpdateBrowserSettings (Maybe Text) Source #

A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions.

updateBrowserSettings_clientToken :: Lens' UpdateBrowserSettings (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 return the result from the original successful request.

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

Destructuring the Response

data UpdateBrowserSettingsResponse Source #

See: newUpdateBrowserSettingsResponse smart constructor.

Constructors

UpdateBrowserSettingsResponse' 

Fields

Instances

Instances details
Generic UpdateBrowserSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

Associated Types

type Rep UpdateBrowserSettingsResponse :: Type -> Type #

Show UpdateBrowserSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

NFData UpdateBrowserSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

Eq UpdateBrowserSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

type Rep UpdateBrowserSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateBrowserSettings

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

newUpdateBrowserSettingsResponse Source #

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

$sel:browserSettings:UpdateBrowserSettingsResponse', updateBrowserSettingsResponse_browserSettings - The browser settings.

Response Lenses