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

Description

Updates network settings.

Synopsis

Creating a Request

data UpdateNetworkSettings Source #

See: newUpdateNetworkSettings smart constructor.

Constructors

UpdateNetworkSettings' 

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

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

  • securityGroupIds :: Maybe (NonEmpty Text)

    One or more security groups used to control access from streaming instances to your VPC.

  • subnetIds :: Maybe (NonEmpty Text)

    The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.

  • vpcId :: Maybe Text

    The VPC that streaming instances will connect to.

  • networkSettingsArn :: Text

    The ARN of the network settings.

Instances

Instances details
ToJSON UpdateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

ToHeaders UpdateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

ToPath UpdateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

ToQuery UpdateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

AWSRequest UpdateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

Associated Types

type AWSResponse UpdateNetworkSettings #

Generic UpdateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

Associated Types

type Rep UpdateNetworkSettings :: Type -> Type #

Read UpdateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

Show UpdateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

NFData UpdateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

Methods

rnf :: UpdateNetworkSettings -> () #

Eq UpdateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

Hashable UpdateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

type AWSResponse UpdateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

type Rep UpdateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

type Rep UpdateNetworkSettings = D1 ('MetaData "UpdateNetworkSettings" "Amazonka.WorkSpacesWeb.UpdateNetworkSettings" "amazonka-workspaces-web-2.0-7elUOg7oNE07CClY3TuUcU" 'False) (C1 ('MetaCons "UpdateNetworkSettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "networkSettingsArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateNetworkSettings Source #

Create a value of UpdateNetworkSettings 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:UpdateNetworkSettings', updateNetworkSettings_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.

UpdateNetworkSettings, updateNetworkSettings_securityGroupIds - One or more security groups used to control access from streaming instances to your VPC.

UpdateNetworkSettings, updateNetworkSettings_subnetIds - The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.

UpdateNetworkSettings, updateNetworkSettings_vpcId - The VPC that streaming instances will connect to.

UpdateNetworkSettings, updateNetworkSettings_networkSettingsArn - The ARN of the network settings.

Request Lenses

updateNetworkSettings_clientToken :: Lens' UpdateNetworkSettings (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.

updateNetworkSettings_securityGroupIds :: Lens' UpdateNetworkSettings (Maybe (NonEmpty Text)) Source #

One or more security groups used to control access from streaming instances to your VPC.

updateNetworkSettings_subnetIds :: Lens' UpdateNetworkSettings (Maybe (NonEmpty Text)) Source #

The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.

updateNetworkSettings_vpcId :: Lens' UpdateNetworkSettings (Maybe Text) Source #

The VPC that streaming instances will connect to.

Destructuring the Response

data UpdateNetworkSettingsResponse Source #

See: newUpdateNetworkSettingsResponse smart constructor.

Constructors

UpdateNetworkSettingsResponse' 

Fields

Instances

Instances details
Generic UpdateNetworkSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

Associated Types

type Rep UpdateNetworkSettingsResponse :: Type -> Type #

Read UpdateNetworkSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

Show UpdateNetworkSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

NFData UpdateNetworkSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

Eq UpdateNetworkSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

type Rep UpdateNetworkSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.UpdateNetworkSettings

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

newUpdateNetworkSettingsResponse Source #

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

$sel:networkSettings:UpdateNetworkSettingsResponse', updateNetworkSettingsResponse_networkSettings - The network settings.

Response Lenses