libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.NetworkManager.CreateLink

Description

Creates a new link for a specified site.

Synopsis

Creating a Request

data CreateLink Source #

See: newCreateLink smart constructor.

Constructors

CreateLink' 

Fields

  • type' :: Maybe Text

    The type of the link.

    Constraints: Cannot include the following characters: | \ ^

    Length Constraints: Maximum length of 128 characters.

  • description :: Maybe Text

    A description of the link.

    Length Constraints: Maximum length of 256 characters.

  • provider :: Maybe Text

    The provider of the link.

    Constraints: Cannot include the following characters: | \ ^

    Length Constraints: Maximum length of 128 characters.

  • tags :: Maybe [Tag]

    The tags to apply to the resource during creation.

  • globalNetworkId :: Text

    The ID of the global network.

  • bandwidth :: Bandwidth

    The upload speed and download speed in Mbps.

  • siteId :: Text

    The ID of the site.

Instances

newCreateLink Source #

Create a value of CreateLink 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:type':CreateLink', createLink_type - The type of the link.

Constraints: Cannot include the following characters: | \ ^

Length Constraints: Maximum length of 128 characters.

$sel:description:CreateLink', createLink_description - A description of the link.

Length Constraints: Maximum length of 256 characters.

$sel:provider:CreateLink', createLink_provider - The provider of the link.

Constraints: Cannot include the following characters: | \ ^

Length Constraints: Maximum length of 128 characters.

$sel:tags:CreateLink', createLink_tags - The tags to apply to the resource during creation.

$sel:globalNetworkId:CreateLink', createLink_globalNetworkId - The ID of the global network.

$sel:bandwidth:CreateLink', createLink_bandwidth - The upload speed and download speed in Mbps.

$sel:siteId:CreateLink', createLink_siteId - The ID of the site.

Request Lenses

createLink_type :: Lens' CreateLink (Maybe Text) Source #

The type of the link.

Constraints: Cannot include the following characters: | \ ^

Length Constraints: Maximum length of 128 characters.

createLink_description :: Lens' CreateLink (Maybe Text) Source #

A description of the link.

Length Constraints: Maximum length of 256 characters.

createLink_provider :: Lens' CreateLink (Maybe Text) Source #

The provider of the link.

Constraints: Cannot include the following characters: | \ ^

Length Constraints: Maximum length of 128 characters.

createLink_tags :: Lens' CreateLink (Maybe [Tag]) Source #

The tags to apply to the resource during creation.

createLink_globalNetworkId :: Lens' CreateLink Text Source #

The ID of the global network.

createLink_bandwidth :: Lens' CreateLink Bandwidth Source #

The upload speed and download speed in Mbps.

Destructuring the Response

data CreateLinkResponse Source #

See: newCreateLinkResponse smart constructor.

Constructors

CreateLinkResponse' 

Fields

Instances

Instances details
Eq CreateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateLink

Read CreateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateLink

Show CreateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateLink

Generic CreateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateLink

Associated Types

type Rep CreateLinkResponse :: Type -> Type #

NFData CreateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateLink

Methods

rnf :: CreateLinkResponse -> () #

type Rep CreateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateLink

type Rep CreateLinkResponse = D1 ('MetaData "CreateLinkResponse" "Amazonka.NetworkManager.CreateLink" "libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager" 'False) (C1 ('MetaCons "CreateLinkResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "link") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Link)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateLinkResponse Source #

Create a value of CreateLinkResponse 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:link:CreateLinkResponse', createLinkResponse_link - Information about the link.

$sel:httpStatus:CreateLinkResponse', createLinkResponse_httpStatus - The response's http status code.

Response Lenses