Skip to main content

Class: AWSPrivateLinkInfo

namespace.v1.AWSPrivateLinkInfo

Represents a AWSPrivateLinkInfo.

Properties​

allowedPrincipalArns​

• allowedPrincipalArns: string[]

The list of principal arns that are allowed to access the namespace on the private link.


vpcEndpointServiceNames​

• vpcEndpointServiceNames: string[]

The list of vpc endpoint service names that are associated with the namespace.

Methods​

toJSON​

▸ toJSON(): Object

Converts this AWSPrivateLinkInfo to JSON.

Returns​

Object

JSON object


create​

▸ create(properties?): AWSPrivateLinkInfo & $Properties

Creates a new AWSPrivateLinkInfo instance using the specified properties.

Parameters​

NameTypeDescription
properties?$PropertiesProperties to set

Returns​

AWSPrivateLinkInfo & $Properties

AWSPrivateLinkInfo instance

▸ create(properties?): AWSPrivateLinkInfo

Parameters​

NameType
properties?$Properties

Returns​

AWSPrivateLinkInfo


decode​

▸ decode(reader, length?): AWSPrivateLinkInfo & $Properties

Decodes a AWSPrivateLinkInfo message from the specified reader or buffer.

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns​

AWSPrivateLinkInfo & $Properties

AWSPrivateLinkInfo

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited​

▸ decodeDelimited(reader): AWSPrivateLinkInfo & $Properties

Decodes a AWSPrivateLinkInfo message from the specified reader or buffer, length delimited.

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns​

AWSPrivateLinkInfo & $Properties

AWSPrivateLinkInfo

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode​

▸ encode(message, writer?): Writer

Encodes the specified AWSPrivateLinkInfo message. Does not implicitly temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo.verify|verify messages.

Parameters​

NameTypeDescription
message$PropertiesAWSPrivateLinkInfo message or plain object to encode
writer?WriterWriter to encode to

Returns​

Writer

Writer


encodeDelimited​

▸ encodeDelimited(message, writer?): Writer

Encodes the specified AWSPrivateLinkInfo message, length delimited. Does not implicitly temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo.verify|verify messages.

Parameters​

NameTypeDescription
message$PropertiesAWSPrivateLinkInfo message or plain object to encode
writer?WriterWriter to encode to

Returns​

Writer

Writer


fromObject​

▸ fromObject(object): AWSPrivateLinkInfo

Creates a AWSPrivateLinkInfo message from a plain object. Also converts values to their respective internal types.

Parameters​

NameTypeDescription
objectObjectPlain object

Returns​

AWSPrivateLinkInfo

AWSPrivateLinkInfo


toObject​

▸ toObject(message, options?): Object

Creates a plain object from a AWSPrivateLinkInfo message. Also converts values to other types if specified.

Parameters​

NameTypeDescription
messageAWSPrivateLinkInfoAWSPrivateLinkInfo
options?IConversionOptionsConversion options

Returns​

Object

Plain object