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

Description

Creates a network settings resource that can be associated with a web portal. Once associated with a web portal, network settings define how streaming instances will connect with your specified VPC.

Synopsis

Creating a Request

data CreateNetworkSettings Source #

See: newCreateNetworkSettings smart constructor.

Constructors

CreateNetworkSettings' 

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 network settings resource. A tag is a key-value pair.

  • securityGroupIds :: NonEmpty Text

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

  • subnetIds :: 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 :: Text

    The VPC that streaming instances will connect to.

Instances

Instances details
ToJSON CreateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

ToHeaders CreateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

ToPath CreateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

ToQuery CreateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

AWSRequest CreateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

Associated Types

type AWSResponse CreateNetworkSettings #

Generic CreateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

Associated Types

type Rep CreateNetworkSettings :: Type -> Type #

Show CreateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

NFData CreateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

Methods

rnf :: CreateNetworkSettings -> () #

Eq CreateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

Hashable CreateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

type AWSResponse CreateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

type Rep CreateNetworkSettings Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

type Rep CreateNetworkSettings = D1 ('MetaData "CreateNetworkSettings" "Amazonka.WorkSpacesWeb.CreateNetworkSettings" "amazonka-workspaces-web-2.0-7elUOg7oNE07CClY3TuUcU" 'False) (C1 ('MetaCons "CreateNetworkSettings'" '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 "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)) :*: (S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateNetworkSettings Source #

Create a value of CreateNetworkSettings 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:CreateNetworkSettings', createNetworkSettings_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:CreateNetworkSettings', createNetworkSettings_tags - The tags to add to the network settings resource. A tag is a key-value pair.

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

CreateNetworkSettings, createNetworkSettings_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.

CreateNetworkSettings, createNetworkSettings_vpcId - The VPC that streaming instances will connect to.

Request Lenses

createNetworkSettings_clientToken :: Lens' CreateNetworkSettings (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.

createNetworkSettings_tags :: Lens' CreateNetworkSettings (Maybe [Tag]) Source #

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

createNetworkSettings_securityGroupIds :: Lens' CreateNetworkSettings (NonEmpty Text) Source #

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

createNetworkSettings_subnetIds :: Lens' CreateNetworkSettings (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.

createNetworkSettings_vpcId :: Lens' CreateNetworkSettings Text Source #

The VPC that streaming instances will connect to.

Destructuring the Response

data CreateNetworkSettingsResponse Source #

See: newCreateNetworkSettingsResponse smart constructor.

Constructors

CreateNetworkSettingsResponse' 

Fields

Instances

Instances details
Generic CreateNetworkSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

Associated Types

type Rep CreateNetworkSettingsResponse :: Type -> Type #

Read CreateNetworkSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

Show CreateNetworkSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

NFData CreateNetworkSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

Eq CreateNetworkSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

type Rep CreateNetworkSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.CreateNetworkSettings

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

newCreateNetworkSettingsResponse Source #

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

CreateNetworkSettingsResponse, createNetworkSettingsResponse_networkSettingsArn - The ARN of the network settings.

Response Lenses