networkmanager

package
v1.38.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 10 Imported by: 19

Documentation

Overview

Package networkmanager provides the client and types for making API requests to AWS Network Manager.

Transit Gateway Network Manager (Network Manager) enables you to create a global network, in which you can monitor your AWS and on-premises networks that are built around transit gateways.

The Network Manager APIs are supported in the US West (Oregon) Region only. You must specify the us-west-2 Region in all requests made to Network Manager.

See https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05 for more information on this service.

See networkmanager package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/networkmanager/

Using the Client

To contact AWS Network Manager with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Network Manager client NetworkManager for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/networkmanager/#New

Index

Constants

View Source
const (
	// ConnectionStatePending is a ConnectionState enum value
	ConnectionStatePending = "PENDING"

	// ConnectionStateAvailable is a ConnectionState enum value
	ConnectionStateAvailable = "AVAILABLE"

	// ConnectionStateDeleting is a ConnectionState enum value
	ConnectionStateDeleting = "DELETING"

	// ConnectionStateUpdating is a ConnectionState enum value
	ConnectionStateUpdating = "UPDATING"
)
View Source
const (
	// CustomerGatewayAssociationStatePending is a CustomerGatewayAssociationState enum value
	CustomerGatewayAssociationStatePending = "PENDING"

	// CustomerGatewayAssociationStateAvailable is a CustomerGatewayAssociationState enum value
	CustomerGatewayAssociationStateAvailable = "AVAILABLE"

	// CustomerGatewayAssociationStateDeleting is a CustomerGatewayAssociationState enum value
	CustomerGatewayAssociationStateDeleting = "DELETING"

	// CustomerGatewayAssociationStateDeleted is a CustomerGatewayAssociationState enum value
	CustomerGatewayAssociationStateDeleted = "DELETED"
)
View Source
const (
	// DeviceStatePending is a DeviceState enum value
	DeviceStatePending = "PENDING"

	// DeviceStateAvailable is a DeviceState enum value
	DeviceStateAvailable = "AVAILABLE"

	// DeviceStateDeleting is a DeviceState enum value
	DeviceStateDeleting = "DELETING"

	// DeviceStateUpdating is a DeviceState enum value
	DeviceStateUpdating = "UPDATING"
)
View Source
const (
	// GlobalNetworkStatePending is a GlobalNetworkState enum value
	GlobalNetworkStatePending = "PENDING"

	// GlobalNetworkStateAvailable is a GlobalNetworkState enum value
	GlobalNetworkStateAvailable = "AVAILABLE"

	// GlobalNetworkStateDeleting is a GlobalNetworkState enum value
	GlobalNetworkStateDeleting = "DELETING"

	// GlobalNetworkStateUpdating is a GlobalNetworkState enum value
	GlobalNetworkStateUpdating = "UPDATING"
)
View Source
const (
	// LinkAssociationStatePending is a LinkAssociationState enum value
	LinkAssociationStatePending = "PENDING"

	// LinkAssociationStateAvailable is a LinkAssociationState enum value
	LinkAssociationStateAvailable = "AVAILABLE"

	// LinkAssociationStateDeleting is a LinkAssociationState enum value
	LinkAssociationStateDeleting = "DELETING"

	// LinkAssociationStateDeleted is a LinkAssociationState enum value
	LinkAssociationStateDeleted = "DELETED"
)
View Source
const (
	// LinkStatePending is a LinkState enum value
	LinkStatePending = "PENDING"

	// LinkStateAvailable is a LinkState enum value
	LinkStateAvailable = "AVAILABLE"

	// LinkStateDeleting is a LinkState enum value
	LinkStateDeleting = "DELETING"

	// LinkStateUpdating is a LinkState enum value
	LinkStateUpdating = "UPDATING"
)
View Source
const (
	// SiteStatePending is a SiteState enum value
	SiteStatePending = "PENDING"

	// SiteStateAvailable is a SiteState enum value
	SiteStateAvailable = "AVAILABLE"

	// SiteStateDeleting is a SiteState enum value
	SiteStateDeleting = "DELETING"

	// SiteStateUpdating is a SiteState enum value
	SiteStateUpdating = "UPDATING"
)
View Source
const (
	// TransitGatewayConnectPeerAssociationStatePending is a TransitGatewayConnectPeerAssociationState enum value
	TransitGatewayConnectPeerAssociationStatePending = "PENDING"

	// TransitGatewayConnectPeerAssociationStateAvailable is a TransitGatewayConnectPeerAssociationState enum value
	TransitGatewayConnectPeerAssociationStateAvailable = "AVAILABLE"

	// TransitGatewayConnectPeerAssociationStateDeleting is a TransitGatewayConnectPeerAssociationState enum value
	TransitGatewayConnectPeerAssociationStateDeleting = "DELETING"

	// TransitGatewayConnectPeerAssociationStateDeleted is a TransitGatewayConnectPeerAssociationState enum value
	TransitGatewayConnectPeerAssociationStateDeleted = "DELETED"
)
View Source
const (
	// TransitGatewayRegistrationStatePending is a TransitGatewayRegistrationState enum value
	TransitGatewayRegistrationStatePending = "PENDING"

	// TransitGatewayRegistrationStateAvailable is a TransitGatewayRegistrationState enum value
	TransitGatewayRegistrationStateAvailable = "AVAILABLE"

	// TransitGatewayRegistrationStateDeleting is a TransitGatewayRegistrationState enum value
	TransitGatewayRegistrationStateDeleting = "DELETING"

	// TransitGatewayRegistrationStateDeleted is a TransitGatewayRegistrationState enum value
	TransitGatewayRegistrationStateDeleted = "DELETED"

	// TransitGatewayRegistrationStateFailed is a TransitGatewayRegistrationState enum value
	TransitGatewayRegistrationStateFailed = "FAILED"
)
View Source
const (
	// ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value
	ValidationExceptionReasonUnknownOperation = "UnknownOperation"

	// ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value
	ValidationExceptionReasonCannotParse = "CannotParse"

	// ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value
	ValidationExceptionReasonFieldValidationFailed = "FieldValidationFailed"

	// ValidationExceptionReasonOther is a ValidationExceptionReason enum value
	ValidationExceptionReasonOther = "Other"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You do not have sufficient access to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// There was a conflict processing the request. Updating or deleting the resource
	// can cause an inconsistent state.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// The request has failed due to an internal error.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The specified resource could not be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// A service limit was exceeded.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The request was denied due to request throttling.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The input fails to satisfy the constraints.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "NetworkManager" // Name of service.
	EndpointsID = "networkmanager" // ID to lookup a service endpoint with.
	ServiceID   = "NetworkManager" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func ConnectionState_Values added in v1.36.6

func ConnectionState_Values() []string

ConnectionState_Values returns all elements of the ConnectionState enum

func CustomerGatewayAssociationState_Values added in v1.34.3

func CustomerGatewayAssociationState_Values() []string

CustomerGatewayAssociationState_Values returns all elements of the CustomerGatewayAssociationState enum

func DeviceState_Values added in v1.34.3

func DeviceState_Values() []string

DeviceState_Values returns all elements of the DeviceState enum

func GlobalNetworkState_Values added in v1.34.3

func GlobalNetworkState_Values() []string

GlobalNetworkState_Values returns all elements of the GlobalNetworkState enum

func LinkAssociationState_Values added in v1.34.3

func LinkAssociationState_Values() []string

LinkAssociationState_Values returns all elements of the LinkAssociationState enum

func LinkState_Values added in v1.34.3

func LinkState_Values() []string

LinkState_Values returns all elements of the LinkState enum

func SiteState_Values added in v1.34.3

func SiteState_Values() []string

SiteState_Values returns all elements of the SiteState enum

func TransitGatewayConnectPeerAssociationState_Values added in v1.36.6

func TransitGatewayConnectPeerAssociationState_Values() []string

TransitGatewayConnectPeerAssociationState_Values returns all elements of the TransitGatewayConnectPeerAssociationState enum

func TransitGatewayRegistrationState_Values added in v1.34.3

func TransitGatewayRegistrationState_Values() []string

TransitGatewayRegistrationState_Values returns all elements of the TransitGatewayRegistrationState enum

func ValidationExceptionReason_Values added in v1.34.3

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum

Types

type AWSLocation added in v1.36.6

type AWSLocation struct {

	// The Amazon Resource Name (ARN) of the subnet the device is located in.
	SubnetArn *string `type:"string"`

	// The Zone the device is located in. This can be the ID of an Availability
	// Zone, Local Zone, Wavelength Zone, or an Outpost.
	Zone *string `type:"string"`
	// contains filtered or unexported fields
}

Specifies a location in AWS.

func (AWSLocation) GoString added in v1.36.6

func (s AWSLocation) GoString() string

GoString returns the string representation

func (*AWSLocation) SetSubnetArn added in v1.36.6

func (s *AWSLocation) SetSubnetArn(v string) *AWSLocation

SetSubnetArn sets the SubnetArn field's value.

func (*AWSLocation) SetZone added in v1.36.6

func (s *AWSLocation) SetZone(v string) *AWSLocation

SetZone sets the Zone field's value.

func (AWSLocation) String added in v1.36.6

func (s AWSLocation) String() string

String returns the string representation

type AccessDeniedException added in v1.28.0

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

You do not have sufficient access to perform this action.

func (*AccessDeniedException) Code added in v1.28.0

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error added in v1.28.0

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString added in v1.28.0

func (s AccessDeniedException) GoString() string

GoString returns the string representation

func (*AccessDeniedException) Message added in v1.28.0

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr added in v1.28.0

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID added in v1.28.0

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode added in v1.28.0

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String added in v1.28.0

func (s AccessDeniedException) String() string

String returns the string representation

type AssociateCustomerGatewayInput

type AssociateCustomerGatewayInput struct {

	// The Amazon Resource Name (ARN) of the customer gateway. For more information,
	// see Resources Defined by Amazon EC2 (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html#amazonec2-resources-for-iam-policies).
	//
	// CustomerGatewayArn is a required field
	CustomerGatewayArn *string `type:"string" required:"true"`

	// The ID of the device.
	//
	// DeviceId is a required field
	DeviceId *string `type:"string" required:"true"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The ID of the link.
	LinkId *string `type:"string"`
	// contains filtered or unexported fields
}

func (AssociateCustomerGatewayInput) GoString

GoString returns the string representation

func (*AssociateCustomerGatewayInput) SetCustomerGatewayArn

SetCustomerGatewayArn sets the CustomerGatewayArn field's value.

func (*AssociateCustomerGatewayInput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*AssociateCustomerGatewayInput) SetGlobalNetworkId

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*AssociateCustomerGatewayInput) SetLinkId

SetLinkId sets the LinkId field's value.

func (AssociateCustomerGatewayInput) String

String returns the string representation

func (*AssociateCustomerGatewayInput) Validate

func (s *AssociateCustomerGatewayInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssociateCustomerGatewayOutput

type AssociateCustomerGatewayOutput struct {

	// The customer gateway association.
	CustomerGatewayAssociation *CustomerGatewayAssociation `type:"structure"`
	// contains filtered or unexported fields
}

func (AssociateCustomerGatewayOutput) GoString

GoString returns the string representation

func (*AssociateCustomerGatewayOutput) SetCustomerGatewayAssociation

SetCustomerGatewayAssociation sets the CustomerGatewayAssociation field's value.

func (AssociateCustomerGatewayOutput) String

String returns the string representation

type AssociateLinkInput

type AssociateLinkInput struct {

	// The ID of the device.
	//
	// DeviceId is a required field
	DeviceId *string `type:"string" required:"true"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The ID of the link.
	//
	// LinkId is a required field
	LinkId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateLinkInput) GoString

func (s AssociateLinkInput) GoString() string

GoString returns the string representation

func (*AssociateLinkInput) SetDeviceId

func (s *AssociateLinkInput) SetDeviceId(v string) *AssociateLinkInput

SetDeviceId sets the DeviceId field's value.

func (*AssociateLinkInput) SetGlobalNetworkId

func (s *AssociateLinkInput) SetGlobalNetworkId(v string) *AssociateLinkInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*AssociateLinkInput) SetLinkId

func (s *AssociateLinkInput) SetLinkId(v string) *AssociateLinkInput

SetLinkId sets the LinkId field's value.

func (AssociateLinkInput) String

func (s AssociateLinkInput) String() string

String returns the string representation

func (*AssociateLinkInput) Validate

func (s *AssociateLinkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssociateLinkOutput

type AssociateLinkOutput struct {

	// The link association.
	LinkAssociation *LinkAssociation `type:"structure"`
	// contains filtered or unexported fields
}

func (AssociateLinkOutput) GoString

func (s AssociateLinkOutput) GoString() string

GoString returns the string representation

func (*AssociateLinkOutput) SetLinkAssociation

func (s *AssociateLinkOutput) SetLinkAssociation(v *LinkAssociation) *AssociateLinkOutput

SetLinkAssociation sets the LinkAssociation field's value.

func (AssociateLinkOutput) String

func (s AssociateLinkOutput) String() string

String returns the string representation

type AssociateTransitGatewayConnectPeerInput added in v1.36.6

type AssociateTransitGatewayConnectPeerInput struct {

	// The ID of the device.
	//
	// DeviceId is a required field
	DeviceId *string `type:"string" required:"true"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The ID of the link.
	LinkId *string `type:"string"`

	// The Amazon Resource Name (ARN) of the Connect peer.
	//
	// TransitGatewayConnectPeerArn is a required field
	TransitGatewayConnectPeerArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateTransitGatewayConnectPeerInput) GoString added in v1.36.6

GoString returns the string representation

func (*AssociateTransitGatewayConnectPeerInput) SetDeviceId added in v1.36.6

SetDeviceId sets the DeviceId field's value.

func (*AssociateTransitGatewayConnectPeerInput) SetGlobalNetworkId added in v1.36.6

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*AssociateTransitGatewayConnectPeerInput) SetLinkId added in v1.36.6

SetLinkId sets the LinkId field's value.

func (*AssociateTransitGatewayConnectPeerInput) SetTransitGatewayConnectPeerArn added in v1.36.6

SetTransitGatewayConnectPeerArn sets the TransitGatewayConnectPeerArn field's value.

func (AssociateTransitGatewayConnectPeerInput) String added in v1.36.6

String returns the string representation

func (*AssociateTransitGatewayConnectPeerInput) Validate added in v1.36.6

Validate inspects the fields of the type to determine if they are valid.

type AssociateTransitGatewayConnectPeerOutput added in v1.36.6

type AssociateTransitGatewayConnectPeerOutput struct {

	// The transit gateway Connect peer association.
	TransitGatewayConnectPeerAssociation *TransitGatewayConnectPeerAssociation `type:"structure"`
	// contains filtered or unexported fields
}

func (AssociateTransitGatewayConnectPeerOutput) GoString added in v1.36.6

GoString returns the string representation

func (*AssociateTransitGatewayConnectPeerOutput) SetTransitGatewayConnectPeerAssociation added in v1.36.6

SetTransitGatewayConnectPeerAssociation sets the TransitGatewayConnectPeerAssociation field's value.

func (AssociateTransitGatewayConnectPeerOutput) String added in v1.36.6

String returns the string representation

type Bandwidth

type Bandwidth struct {

	// Download speed in Mbps.
	DownloadSpeed *int64 `type:"integer"`

	// Upload speed in Mbps.
	UploadSpeed *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Describes bandwidth information.

func (Bandwidth) GoString

func (s Bandwidth) GoString() string

GoString returns the string representation

func (*Bandwidth) SetDownloadSpeed

func (s *Bandwidth) SetDownloadSpeed(v int64) *Bandwidth

SetDownloadSpeed sets the DownloadSpeed field's value.

func (*Bandwidth) SetUploadSpeed

func (s *Bandwidth) SetUploadSpeed(v int64) *Bandwidth

SetUploadSpeed sets the UploadSpeed field's value.

func (Bandwidth) String

func (s Bandwidth) String() string

String returns the string representation

type ConflictException added in v1.28.0

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// The ID of the resource.
	//
	// ResourceId is a required field
	ResourceId *string `type:"string" required:"true"`

	// The resource type.
	//
	// ResourceType is a required field
	ResourceType *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

func (*ConflictException) Code added in v1.28.0

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error added in v1.28.0

func (s *ConflictException) Error() string

func (ConflictException) GoString added in v1.28.0

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message added in v1.28.0

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr added in v1.28.0

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID added in v1.28.0

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode added in v1.28.0

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String added in v1.28.0

func (s ConflictException) String() string

String returns the string representation

type Connection added in v1.36.6

type Connection struct {

	// The ID of the second device in the connection.
	ConnectedDeviceId *string `type:"string"`

	// The ID of the link for the second device in the connection.
	ConnectedLinkId *string `type:"string"`

	// The Amazon Resource Name (ARN) of the connection.
	ConnectionArn *string `type:"string"`

	// The ID of the connection.
	ConnectionId *string `type:"string"`

	// The date and time that the connection was created.
	CreatedAt *time.Time `type:"timestamp"`

	// The description of the connection.
	Description *string `type:"string"`

	// The ID of the first device in the connection.
	DeviceId *string `type:"string"`

	// The ID of the global network.
	GlobalNetworkId *string `type:"string"`

	// The ID of the link for the first device in the connection.
	LinkId *string `type:"string"`

	// The state of the connection.
	State *string `type:"string" enum:"ConnectionState"`

	// The tags for the connection.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

Describes a connection.

func (Connection) GoString added in v1.36.6

func (s Connection) GoString() string

GoString returns the string representation

func (*Connection) SetConnectedDeviceId added in v1.36.6

func (s *Connection) SetConnectedDeviceId(v string) *Connection

SetConnectedDeviceId sets the ConnectedDeviceId field's value.

func (*Connection) SetConnectedLinkId added in v1.36.6

func (s *Connection) SetConnectedLinkId(v string) *Connection

SetConnectedLinkId sets the ConnectedLinkId field's value.

func (*Connection) SetConnectionArn added in v1.36.6

func (s *Connection) SetConnectionArn(v string) *Connection

SetConnectionArn sets the ConnectionArn field's value.

func (*Connection) SetConnectionId added in v1.36.6

func (s *Connection) SetConnectionId(v string) *Connection

SetConnectionId sets the ConnectionId field's value.

func (*Connection) SetCreatedAt added in v1.36.6

func (s *Connection) SetCreatedAt(v time.Time) *Connection

SetCreatedAt sets the CreatedAt field's value.

func (*Connection) SetDescription added in v1.36.6

func (s *Connection) SetDescription(v string) *Connection

SetDescription sets the Description field's value.

func (*Connection) SetDeviceId added in v1.36.6

func (s *Connection) SetDeviceId(v string) *Connection

SetDeviceId sets the DeviceId field's value.

func (*Connection) SetGlobalNetworkId added in v1.36.6

func (s *Connection) SetGlobalNetworkId(v string) *Connection

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*Connection) SetLinkId added in v1.36.6

func (s *Connection) SetLinkId(v string) *Connection

SetLinkId sets the LinkId field's value.

func (*Connection) SetState added in v1.36.6

func (s *Connection) SetState(v string) *Connection

SetState sets the State field's value.

func (*Connection) SetTags added in v1.36.6

func (s *Connection) SetTags(v []*Tag) *Connection

SetTags sets the Tags field's value.

func (Connection) String added in v1.36.6

func (s Connection) String() string

String returns the string representation

type CreateConnectionInput added in v1.36.6

type CreateConnectionInput struct {

	// The ID of the second device in the connection.
	//
	// ConnectedDeviceId is a required field
	ConnectedDeviceId *string `type:"string" required:"true"`

	// The ID of the link for the second device.
	ConnectedLinkId *string `type:"string"`

	// A description of the connection.
	//
	// Length Constraints: Maximum length of 256 characters.
	Description *string `type:"string"`

	// The ID of the first device in the connection.
	//
	// DeviceId is a required field
	DeviceId *string `type:"string" required:"true"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The ID of the link for the first device.
	LinkId *string `type:"string"`

	// The tags to apply to the resource during creation.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateConnectionInput) GoString added in v1.36.6

func (s CreateConnectionInput) GoString() string

GoString returns the string representation

func (*CreateConnectionInput) SetConnectedDeviceId added in v1.36.6

func (s *CreateConnectionInput) SetConnectedDeviceId(v string) *CreateConnectionInput

SetConnectedDeviceId sets the ConnectedDeviceId field's value.

func (*CreateConnectionInput) SetConnectedLinkId added in v1.36.6

func (s *CreateConnectionInput) SetConnectedLinkId(v string) *CreateConnectionInput

SetConnectedLinkId sets the ConnectedLinkId field's value.

func (*CreateConnectionInput) SetDescription added in v1.36.6

func (s *CreateConnectionInput) SetDescription(v string) *CreateConnectionInput

SetDescription sets the Description field's value.

func (*CreateConnectionInput) SetDeviceId added in v1.36.6

SetDeviceId sets the DeviceId field's value.

func (*CreateConnectionInput) SetGlobalNetworkId added in v1.36.6

func (s *CreateConnectionInput) SetGlobalNetworkId(v string) *CreateConnectionInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*CreateConnectionInput) SetLinkId added in v1.36.6

SetLinkId sets the LinkId field's value.

func (*CreateConnectionInput) SetTags added in v1.36.6

SetTags sets the Tags field's value.

func (CreateConnectionInput) String added in v1.36.6

func (s CreateConnectionInput) String() string

String returns the string representation

func (*CreateConnectionInput) Validate added in v1.36.6

func (s *CreateConnectionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateConnectionOutput added in v1.36.6

type CreateConnectionOutput struct {

	// Information about the connection.
	Connection *Connection `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateConnectionOutput) GoString added in v1.36.6

func (s CreateConnectionOutput) GoString() string

GoString returns the string representation

func (*CreateConnectionOutput) SetConnection added in v1.36.6

SetConnection sets the Connection field's value.

func (CreateConnectionOutput) String added in v1.36.6

func (s CreateConnectionOutput) String() string

String returns the string representation

type CreateDeviceInput

type CreateDeviceInput struct {

	// The AWS location of the device.
	AWSLocation *AWSLocation `type:"structure"`

	// A description of the device.
	//
	// Length Constraints: Maximum length of 256 characters.
	Description *string `type:"string"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The location of the device.
	Location *Location `type:"structure" sensitive:"true"`

	// The model of the device.
	//
	// Length Constraints: Maximum length of 128 characters.
	Model *string `type:"string"`

	// The serial number of the device.
	//
	// Length Constraints: Maximum length of 128 characters.
	SerialNumber *string `type:"string"`

	// The ID of the site.
	SiteId *string `type:"string"`

	// The tags to apply to the resource during creation.
	Tags []*Tag `type:"list"`

	// The type of the device.
	Type *string `type:"string"`

	// The vendor of the device.
	//
	// Length Constraints: Maximum length of 128 characters.
	Vendor *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateDeviceInput) GoString

func (s CreateDeviceInput) GoString() string

GoString returns the string representation

func (*CreateDeviceInput) SetAWSLocation added in v1.36.6

func (s *CreateDeviceInput) SetAWSLocation(v *AWSLocation) *CreateDeviceInput

SetAWSLocation sets the AWSLocation field's value.

func (*CreateDeviceInput) SetDescription

func (s *CreateDeviceInput) SetDescription(v string) *CreateDeviceInput

SetDescription sets the Description field's value.

func (*CreateDeviceInput) SetGlobalNetworkId

func (s *CreateDeviceInput) SetGlobalNetworkId(v string) *CreateDeviceInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*CreateDeviceInput) SetLocation

func (s *CreateDeviceInput) SetLocation(v *Location) *CreateDeviceInput

SetLocation sets the Location field's value.

func (*CreateDeviceInput) SetModel

func (s *CreateDeviceInput) SetModel(v string) *CreateDeviceInput

SetModel sets the Model field's value.

func (*CreateDeviceInput) SetSerialNumber

func (s *CreateDeviceInput) SetSerialNumber(v string) *CreateDeviceInput

SetSerialNumber sets the SerialNumber field's value.

func (*CreateDeviceInput) SetSiteId

func (s *CreateDeviceInput) SetSiteId(v string) *CreateDeviceInput

SetSiteId sets the SiteId field's value.

func (*CreateDeviceInput) SetTags

func (s *CreateDeviceInput) SetTags(v []*Tag) *CreateDeviceInput

SetTags sets the Tags field's value.

func (*CreateDeviceInput) SetType

SetType sets the Type field's value.

func (*CreateDeviceInput) SetVendor

func (s *CreateDeviceInput) SetVendor(v string) *CreateDeviceInput

SetVendor sets the Vendor field's value.

func (CreateDeviceInput) String

func (s CreateDeviceInput) String() string

String returns the string representation

func (*CreateDeviceInput) Validate

func (s *CreateDeviceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDeviceOutput

type CreateDeviceOutput struct {

	// Information about the device.
	Device *Device `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateDeviceOutput) GoString

func (s CreateDeviceOutput) GoString() string

GoString returns the string representation

func (*CreateDeviceOutput) SetDevice

func (s *CreateDeviceOutput) SetDevice(v *Device) *CreateDeviceOutput

SetDevice sets the Device field's value.

func (CreateDeviceOutput) String

func (s CreateDeviceOutput) String() string

String returns the string representation

type CreateGlobalNetworkInput

type CreateGlobalNetworkInput struct {

	// A description of the global network.
	//
	// Length Constraints: Maximum length of 256 characters.
	Description *string `type:"string"`

	// The tags to apply to the resource during creation.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateGlobalNetworkInput) GoString

func (s CreateGlobalNetworkInput) GoString() string

GoString returns the string representation

func (*CreateGlobalNetworkInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateGlobalNetworkInput) SetTags

SetTags sets the Tags field's value.

func (CreateGlobalNetworkInput) String

func (s CreateGlobalNetworkInput) String() string

String returns the string representation

type CreateGlobalNetworkOutput

type CreateGlobalNetworkOutput struct {

	// Information about the global network object.
	GlobalNetwork *GlobalNetwork `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateGlobalNetworkOutput) GoString

func (s CreateGlobalNetworkOutput) GoString() string

GoString returns the string representation

func (*CreateGlobalNetworkOutput) SetGlobalNetwork

SetGlobalNetwork sets the GlobalNetwork field's value.

func (CreateGlobalNetworkOutput) String

func (s CreateGlobalNetworkOutput) String() string

String returns the string representation

type CreateLinkInput

type CreateLinkInput struct {

	// The upload speed and download speed in Mbps.
	//
	// Bandwidth is a required field
	Bandwidth *Bandwidth `type:"structure" required:"true"`

	// A description of the link.
	//
	// Length Constraints: Maximum length of 256 characters.
	Description *string `type:"string"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The provider of the link.
	//
	// Constraints: Cannot include the following characters: | \ ^
	//
	// Length Constraints: Maximum length of 128 characters.
	Provider *string `type:"string"`

	// The ID of the site.
	//
	// SiteId is a required field
	SiteId *string `type:"string" required:"true"`

	// The tags to apply to the resource during creation.
	Tags []*Tag `type:"list"`

	// The type of the link.
	//
	// Constraints: Cannot include the following characters: | \ ^
	//
	// Length Constraints: Maximum length of 128 characters.
	Type *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateLinkInput) GoString

func (s CreateLinkInput) GoString() string

GoString returns the string representation

func (*CreateLinkInput) SetBandwidth

func (s *CreateLinkInput) SetBandwidth(v *Bandwidth) *CreateLinkInput

SetBandwidth sets the Bandwidth field's value.

func (*CreateLinkInput) SetDescription

func (s *CreateLinkInput) SetDescription(v string) *CreateLinkInput

SetDescription sets the Description field's value.

func (*CreateLinkInput) SetGlobalNetworkId

func (s *CreateLinkInput) SetGlobalNetworkId(v string) *CreateLinkInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*CreateLinkInput) SetProvider

func (s *CreateLinkInput) SetProvider(v string) *CreateLinkInput

SetProvider sets the Provider field's value.

func (*CreateLinkInput) SetSiteId

func (s *CreateLinkInput) SetSiteId(v string) *CreateLinkInput

SetSiteId sets the SiteId field's value.

func (*CreateLinkInput) SetTags

func (s *CreateLinkInput) SetTags(v []*Tag) *CreateLinkInput

SetTags sets the Tags field's value.

func (*CreateLinkInput) SetType

func (s *CreateLinkInput) SetType(v string) *CreateLinkInput

SetType sets the Type field's value.

func (CreateLinkInput) String

func (s CreateLinkInput) String() string

String returns the string representation

func (*CreateLinkInput) Validate

func (s *CreateLinkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateLinkOutput

type CreateLinkOutput struct {

	// Information about the link.
	Link *Link `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateLinkOutput) GoString

func (s CreateLinkOutput) GoString() string

GoString returns the string representation

func (s *CreateLinkOutput) SetLink(v *Link) *CreateLinkOutput

SetLink sets the Link field's value.

func (CreateLinkOutput) String

func (s CreateLinkOutput) String() string

String returns the string representation

type CreateSiteInput

type CreateSiteInput struct {

	// A description of your site.
	//
	// Length Constraints: Maximum length of 256 characters.
	Description *string `type:"string"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The site location. This information is used for visualization in the Network
	// Manager console. If you specify the address, the latitude and longitude are
	// automatically calculated.
	//
	//    * Address: The physical address of the site.
	//
	//    * Latitude: The latitude of the site.
	//
	//    * Longitude: The longitude of the site.
	Location *Location `type:"structure" sensitive:"true"`

	// The tags to apply to the resource during creation.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateSiteInput) GoString

func (s CreateSiteInput) GoString() string

GoString returns the string representation

func (*CreateSiteInput) SetDescription

func (s *CreateSiteInput) SetDescription(v string) *CreateSiteInput

SetDescription sets the Description field's value.

func (*CreateSiteInput) SetGlobalNetworkId

func (s *CreateSiteInput) SetGlobalNetworkId(v string) *CreateSiteInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*CreateSiteInput) SetLocation

func (s *CreateSiteInput) SetLocation(v *Location) *CreateSiteInput

SetLocation sets the Location field's value.

func (*CreateSiteInput) SetTags

func (s *CreateSiteInput) SetTags(v []*Tag) *CreateSiteInput

SetTags sets the Tags field's value.

func (CreateSiteInput) String

func (s CreateSiteInput) String() string

String returns the string representation

func (*CreateSiteInput) Validate

func (s *CreateSiteInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateSiteOutput

type CreateSiteOutput struct {

	// Information about the site.
	Site *Site `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateSiteOutput) GoString

func (s CreateSiteOutput) GoString() string

GoString returns the string representation

func (*CreateSiteOutput) SetSite

func (s *CreateSiteOutput) SetSite(v *Site) *CreateSiteOutput

SetSite sets the Site field's value.

func (CreateSiteOutput) String

func (s CreateSiteOutput) String() string

String returns the string representation

type CustomerGatewayAssociation

type CustomerGatewayAssociation struct {

	// The Amazon Resource Name (ARN) of the customer gateway.
	CustomerGatewayArn *string `type:"string"`

	// The ID of the device.
	DeviceId *string `type:"string"`

	// The ID of the global network.
	GlobalNetworkId *string `type:"string"`

	// The ID of the link.
	LinkId *string `type:"string"`

	// The association state.
	State *string `type:"string" enum:"CustomerGatewayAssociationState"`
	// contains filtered or unexported fields
}

Describes the association between a customer gateway, a device, and a link.

func (CustomerGatewayAssociation) GoString

func (s CustomerGatewayAssociation) GoString() string

GoString returns the string representation

func (*CustomerGatewayAssociation) SetCustomerGatewayArn

func (s *CustomerGatewayAssociation) SetCustomerGatewayArn(v string) *CustomerGatewayAssociation

SetCustomerGatewayArn sets the CustomerGatewayArn field's value.

func (*CustomerGatewayAssociation) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*CustomerGatewayAssociation) SetGlobalNetworkId

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*CustomerGatewayAssociation) SetLinkId

SetLinkId sets the LinkId field's value.

func (*CustomerGatewayAssociation) SetState

SetState sets the State field's value.

func (CustomerGatewayAssociation) String

String returns the string representation

type DeleteConnectionInput added in v1.36.6

type DeleteConnectionInput struct {

	// The ID of the connection.
	//
	// ConnectionId is a required field
	ConnectionId *string `location:"uri" locationName:"connectionId" type:"string" required:"true"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteConnectionInput) GoString added in v1.36.6

func (s DeleteConnectionInput) GoString() string

GoString returns the string representation

func (*DeleteConnectionInput) SetConnectionId added in v1.36.6

func (s *DeleteConnectionInput) SetConnectionId(v string) *DeleteConnectionInput

SetConnectionId sets the ConnectionId field's value.

func (*DeleteConnectionInput) SetGlobalNetworkId added in v1.36.6

func (s *DeleteConnectionInput) SetGlobalNetworkId(v string) *DeleteConnectionInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (DeleteConnectionInput) String added in v1.36.6

func (s DeleteConnectionInput) String() string

String returns the string representation

func (*DeleteConnectionInput) Validate added in v1.36.6

func (s *DeleteConnectionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteConnectionOutput added in v1.36.6

type DeleteConnectionOutput struct {

	// Information about the connection.
	Connection *Connection `type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteConnectionOutput) GoString added in v1.36.6

func (s DeleteConnectionOutput) GoString() string

GoString returns the string representation

func (*DeleteConnectionOutput) SetConnection added in v1.36.6

SetConnection sets the Connection field's value.

func (DeleteConnectionOutput) String added in v1.36.6

func (s DeleteConnectionOutput) String() string

String returns the string representation

type DeleteDeviceInput

type DeleteDeviceInput struct {

	// The ID of the device.
	//
	// DeviceId is a required field
	DeviceId *string `location:"uri" locationName:"deviceId" type:"string" required:"true"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDeviceInput) GoString

func (s DeleteDeviceInput) GoString() string

GoString returns the string representation

func (*DeleteDeviceInput) SetDeviceId

func (s *DeleteDeviceInput) SetDeviceId(v string) *DeleteDeviceInput

SetDeviceId sets the DeviceId field's value.

func (*DeleteDeviceInput) SetGlobalNetworkId

func (s *DeleteDeviceInput) SetGlobalNetworkId(v string) *DeleteDeviceInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (DeleteDeviceInput) String

func (s DeleteDeviceInput) String() string

String returns the string representation

func (*DeleteDeviceInput) Validate

func (s *DeleteDeviceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDeviceOutput

type DeleteDeviceOutput struct {

	// Information about the device.
	Device *Device `type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteDeviceOutput) GoString

func (s DeleteDeviceOutput) GoString() string

GoString returns the string representation

func (*DeleteDeviceOutput) SetDevice

func (s *DeleteDeviceOutput) SetDevice(v *Device) *DeleteDeviceOutput

SetDevice sets the Device field's value.

func (DeleteDeviceOutput) String

func (s DeleteDeviceOutput) String() string

String returns the string representation

type DeleteGlobalNetworkInput

type DeleteGlobalNetworkInput struct {

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteGlobalNetworkInput) GoString

func (s DeleteGlobalNetworkInput) GoString() string

GoString returns the string representation

func (*DeleteGlobalNetworkInput) SetGlobalNetworkId

func (s *DeleteGlobalNetworkInput) SetGlobalNetworkId(v string) *DeleteGlobalNetworkInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (DeleteGlobalNetworkInput) String

func (s DeleteGlobalNetworkInput) String() string

String returns the string representation

func (*DeleteGlobalNetworkInput) Validate

func (s *DeleteGlobalNetworkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteGlobalNetworkOutput

type DeleteGlobalNetworkOutput struct {

	// Information about the global network.
	GlobalNetwork *GlobalNetwork `type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteGlobalNetworkOutput) GoString

func (s DeleteGlobalNetworkOutput) GoString() string

GoString returns the string representation

func (*DeleteGlobalNetworkOutput) SetGlobalNetwork

SetGlobalNetwork sets the GlobalNetwork field's value.

func (DeleteGlobalNetworkOutput) String

func (s DeleteGlobalNetworkOutput) String() string

String returns the string representation

type DeleteLinkInput

type DeleteLinkInput struct {

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The ID of the link.
	//
	// LinkId is a required field
	LinkId *string `location:"uri" locationName:"linkId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteLinkInput) GoString

func (s DeleteLinkInput) GoString() string

GoString returns the string representation

func (*DeleteLinkInput) SetGlobalNetworkId

func (s *DeleteLinkInput) SetGlobalNetworkId(v string) *DeleteLinkInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*DeleteLinkInput) SetLinkId

func (s *DeleteLinkInput) SetLinkId(v string) *DeleteLinkInput

SetLinkId sets the LinkId field's value.

func (DeleteLinkInput) String

func (s DeleteLinkInput) String() string

String returns the string representation

func (*DeleteLinkInput) Validate

func (s *DeleteLinkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteLinkOutput

type DeleteLinkOutput struct {

	// Information about the link.
	Link *Link `type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteLinkOutput) GoString

func (s DeleteLinkOutput) GoString() string

GoString returns the string representation

func (s *DeleteLinkOutput) SetLink(v *Link) *DeleteLinkOutput

SetLink sets the Link field's value.

func (DeleteLinkOutput) String

func (s DeleteLinkOutput) String() string

String returns the string representation

type DeleteSiteInput

type DeleteSiteInput struct {

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The ID of the site.
	//
	// SiteId is a required field
	SiteId *string `location:"uri" locationName:"siteId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSiteInput) GoString

func (s DeleteSiteInput) GoString() string

GoString returns the string representation

func (*DeleteSiteInput) SetGlobalNetworkId

func (s *DeleteSiteInput) SetGlobalNetworkId(v string) *DeleteSiteInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*DeleteSiteInput) SetSiteId

func (s *DeleteSiteInput) SetSiteId(v string) *DeleteSiteInput

SetSiteId sets the SiteId field's value.

func (DeleteSiteInput) String

func (s DeleteSiteInput) String() string

String returns the string representation

func (*DeleteSiteInput) Validate

func (s *DeleteSiteInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSiteOutput

type DeleteSiteOutput struct {

	// Information about the site.
	Site *Site `type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteSiteOutput) GoString

func (s DeleteSiteOutput) GoString() string

GoString returns the string representation

func (*DeleteSiteOutput) SetSite

func (s *DeleteSiteOutput) SetSite(v *Site) *DeleteSiteOutput

SetSite sets the Site field's value.

func (DeleteSiteOutput) String

func (s DeleteSiteOutput) String() string

String returns the string representation

type DeregisterTransitGatewayInput

type DeregisterTransitGatewayInput struct {

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the transit gateway.
	//
	// TransitGatewayArn is a required field
	TransitGatewayArn *string `location:"uri" locationName:"transitGatewayArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeregisterTransitGatewayInput) GoString

GoString returns the string representation

func (*DeregisterTransitGatewayInput) SetGlobalNetworkId

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*DeregisterTransitGatewayInput) SetTransitGatewayArn

SetTransitGatewayArn sets the TransitGatewayArn field's value.

func (DeregisterTransitGatewayInput) String

String returns the string representation

func (*DeregisterTransitGatewayInput) Validate

func (s *DeregisterTransitGatewayInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeregisterTransitGatewayOutput

type DeregisterTransitGatewayOutput struct {

	// The transit gateway registration information.
	TransitGatewayRegistration *TransitGatewayRegistration `type:"structure"`
	// contains filtered or unexported fields
}

func (DeregisterTransitGatewayOutput) GoString

GoString returns the string representation

func (*DeregisterTransitGatewayOutput) SetTransitGatewayRegistration

SetTransitGatewayRegistration sets the TransitGatewayRegistration field's value.

func (DeregisterTransitGatewayOutput) String

String returns the string representation

type DescribeGlobalNetworksInput

type DescribeGlobalNetworksInput struct {

	// The IDs of one or more global networks. The maximum is 10.
	GlobalNetworkIds []*string `location:"querystring" locationName:"globalNetworkIds" type:"list"`

	// The maximum number of results to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeGlobalNetworksInput) GoString

func (s DescribeGlobalNetworksInput) GoString() string

GoString returns the string representation

func (*DescribeGlobalNetworksInput) SetGlobalNetworkIds

func (s *DescribeGlobalNetworksInput) SetGlobalNetworkIds(v []*string) *DescribeGlobalNetworksInput

SetGlobalNetworkIds sets the GlobalNetworkIds field's value.

func (*DescribeGlobalNetworksInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeGlobalNetworksInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeGlobalNetworksInput) String

String returns the string representation

func (*DescribeGlobalNetworksInput) Validate

func (s *DescribeGlobalNetworksInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeGlobalNetworksOutput

type DescribeGlobalNetworksOutput struct {

	// Information about the global networks.
	GlobalNetworks []*GlobalNetwork `type:"list"`

	// The token for the next page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeGlobalNetworksOutput) GoString

func (s DescribeGlobalNetworksOutput) GoString() string

GoString returns the string representation

func (*DescribeGlobalNetworksOutput) SetGlobalNetworks

SetGlobalNetworks sets the GlobalNetworks field's value.

func (*DescribeGlobalNetworksOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeGlobalNetworksOutput) String

String returns the string representation

type Device

type Device struct {

	// The AWS location of the device.
	AWSLocation *AWSLocation `type:"structure"`

	// The date and time that the site was created.
	CreatedAt *time.Time `type:"timestamp"`

	// The description of the device.
	Description *string `type:"string"`

	// The Amazon Resource Name (ARN) of the device.
	DeviceArn *string `type:"string"`

	// The ID of the device.
	DeviceId *string `type:"string"`

	// The ID of the global network.
	GlobalNetworkId *string `type:"string"`

	// The site location.
	Location *Location `type:"structure" sensitive:"true"`

	// The device model.
	Model *string `type:"string"`

	// The device serial number.
	SerialNumber *string `type:"string"`

	// The site ID.
	SiteId *string `type:"string"`

	// The device state.
	State *string `type:"string" enum:"DeviceState"`

	// The tags for the device.
	Tags []*Tag `type:"list"`

	// The device type.
	Type *string `type:"string"`

	// The device vendor.
	Vendor *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a device.

func (Device) GoString

func (s Device) GoString() string

GoString returns the string representation

func (*Device) SetAWSLocation added in v1.36.6

func (s *Device) SetAWSLocation(v *AWSLocation) *Device

SetAWSLocation sets the AWSLocation field's value.

func (*Device) SetCreatedAt

func (s *Device) SetCreatedAt(v time.Time) *Device

SetCreatedAt sets the CreatedAt field's value.

func (*Device) SetDescription

func (s *Device) SetDescription(v string) *Device

SetDescription sets the Description field's value.

func (*Device) SetDeviceArn

func (s *Device) SetDeviceArn(v string) *Device

SetDeviceArn sets the DeviceArn field's value.

func (*Device) SetDeviceId

func (s *Device) SetDeviceId(v string) *Device

SetDeviceId sets the DeviceId field's value.

func (*Device) SetGlobalNetworkId

func (s *Device) SetGlobalNetworkId(v string) *Device

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*Device) SetLocation

func (s *Device) SetLocation(v *Location) *Device

SetLocation sets the Location field's value.

func (*Device) SetModel

func (s *Device) SetModel(v string) *Device

SetModel sets the Model field's value.

func (*Device) SetSerialNumber

func (s *Device) SetSerialNumber(v string) *Device

SetSerialNumber sets the SerialNumber field's value.

func (*Device) SetSiteId

func (s *Device) SetSiteId(v string) *Device

SetSiteId sets the SiteId field's value.

func (*Device) SetState

func (s *Device) SetState(v string) *Device

SetState sets the State field's value.

func (*Device) SetTags

func (s *Device) SetTags(v []*Tag) *Device

SetTags sets the Tags field's value.

func (*Device) SetType

func (s *Device) SetType(v string) *Device

SetType sets the Type field's value.

func (*Device) SetVendor

func (s *Device) SetVendor(v string) *Device

SetVendor sets the Vendor field's value.

func (Device) String

func (s Device) String() string

String returns the string representation

type DisassociateCustomerGatewayInput

type DisassociateCustomerGatewayInput struct {

	// The Amazon Resource Name (ARN) of the customer gateway. For more information,
	// see Resources Defined by Amazon EC2 (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html#amazonec2-resources-for-iam-policies).
	//
	// CustomerGatewayArn is a required field
	CustomerGatewayArn *string `location:"uri" locationName:"customerGatewayArn" type:"string" required:"true"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateCustomerGatewayInput) GoString

GoString returns the string representation

func (*DisassociateCustomerGatewayInput) SetCustomerGatewayArn

SetCustomerGatewayArn sets the CustomerGatewayArn field's value.

func (*DisassociateCustomerGatewayInput) SetGlobalNetworkId

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (DisassociateCustomerGatewayInput) String

String returns the string representation

func (*DisassociateCustomerGatewayInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DisassociateCustomerGatewayOutput

type DisassociateCustomerGatewayOutput struct {

	// Information about the customer gateway association.
	CustomerGatewayAssociation *CustomerGatewayAssociation `type:"structure"`
	// contains filtered or unexported fields
}

func (DisassociateCustomerGatewayOutput) GoString

GoString returns the string representation

func (*DisassociateCustomerGatewayOutput) SetCustomerGatewayAssociation

SetCustomerGatewayAssociation sets the CustomerGatewayAssociation field's value.

func (DisassociateCustomerGatewayOutput) String

String returns the string representation

type DisassociateLinkInput

type DisassociateLinkInput struct {

	// The ID of the device.
	//
	// DeviceId is a required field
	DeviceId *string `location:"querystring" locationName:"deviceId" type:"string" required:"true"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The ID of the link.
	//
	// LinkId is a required field
	LinkId *string `location:"querystring" locationName:"linkId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateLinkInput) GoString

func (s DisassociateLinkInput) GoString() string

GoString returns the string representation

func (*DisassociateLinkInput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*DisassociateLinkInput) SetGlobalNetworkId

func (s *DisassociateLinkInput) SetGlobalNetworkId(v string) *DisassociateLinkInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*DisassociateLinkInput) SetLinkId

SetLinkId sets the LinkId field's value.

func (DisassociateLinkInput) String

func (s DisassociateLinkInput) String() string

String returns the string representation

func (*DisassociateLinkInput) Validate

func (s *DisassociateLinkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisassociateLinkOutput

type DisassociateLinkOutput struct {

	// Information about the link association.
	LinkAssociation *LinkAssociation `type:"structure"`
	// contains filtered or unexported fields
}

func (DisassociateLinkOutput) GoString

func (s DisassociateLinkOutput) GoString() string

GoString returns the string representation

func (*DisassociateLinkOutput) SetLinkAssociation

SetLinkAssociation sets the LinkAssociation field's value.

func (DisassociateLinkOutput) String

func (s DisassociateLinkOutput) String() string

String returns the string representation

type DisassociateTransitGatewayConnectPeerInput added in v1.36.6

type DisassociateTransitGatewayConnectPeerInput struct {

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the transit gateway Connect peer.
	//
	// TransitGatewayConnectPeerArn is a required field
	TransitGatewayConnectPeerArn *string `location:"uri" locationName:"transitGatewayConnectPeerArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateTransitGatewayConnectPeerInput) GoString added in v1.36.6

GoString returns the string representation

func (*DisassociateTransitGatewayConnectPeerInput) SetGlobalNetworkId added in v1.36.6

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*DisassociateTransitGatewayConnectPeerInput) SetTransitGatewayConnectPeerArn added in v1.36.6

SetTransitGatewayConnectPeerArn sets the TransitGatewayConnectPeerArn field's value.

func (DisassociateTransitGatewayConnectPeerInput) String added in v1.36.6

String returns the string representation

func (*DisassociateTransitGatewayConnectPeerInput) Validate added in v1.36.6

Validate inspects the fields of the type to determine if they are valid.

type DisassociateTransitGatewayConnectPeerOutput added in v1.36.6

type DisassociateTransitGatewayConnectPeerOutput struct {

	// The transit gateway Connect peer association.
	TransitGatewayConnectPeerAssociation *TransitGatewayConnectPeerAssociation `type:"structure"`
	// contains filtered or unexported fields
}

func (DisassociateTransitGatewayConnectPeerOutput) GoString added in v1.36.6

GoString returns the string representation

func (*DisassociateTransitGatewayConnectPeerOutput) SetTransitGatewayConnectPeerAssociation added in v1.36.6

SetTransitGatewayConnectPeerAssociation sets the TransitGatewayConnectPeerAssociation field's value.

func (DisassociateTransitGatewayConnectPeerOutput) String added in v1.36.6

String returns the string representation

type GetConnectionsInput added in v1.36.6

type GetConnectionsInput struct {

	// One or more connection IDs.
	ConnectionIds []*string `location:"querystring" locationName:"connectionIds" type:"list"`

	// The ID of the device.
	DeviceId *string `location:"querystring" locationName:"deviceId" type:"string"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The maximum number of results to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetConnectionsInput) GoString added in v1.36.6

func (s GetConnectionsInput) GoString() string

GoString returns the string representation

func (*GetConnectionsInput) SetConnectionIds added in v1.36.6

func (s *GetConnectionsInput) SetConnectionIds(v []*string) *GetConnectionsInput

SetConnectionIds sets the ConnectionIds field's value.

func (*GetConnectionsInput) SetDeviceId added in v1.36.6

func (s *GetConnectionsInput) SetDeviceId(v string) *GetConnectionsInput

SetDeviceId sets the DeviceId field's value.

func (*GetConnectionsInput) SetGlobalNetworkId added in v1.36.6

func (s *GetConnectionsInput) SetGlobalNetworkId(v string) *GetConnectionsInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*GetConnectionsInput) SetMaxResults added in v1.36.6

func (s *GetConnectionsInput) SetMaxResults(v int64) *GetConnectionsInput

SetMaxResults sets the MaxResults field's value.

func (*GetConnectionsInput) SetNextToken added in v1.36.6

func (s *GetConnectionsInput) SetNextToken(v string) *GetConnectionsInput

SetNextToken sets the NextToken field's value.

func (GetConnectionsInput) String added in v1.36.6

func (s GetConnectionsInput) String() string

String returns the string representation

func (*GetConnectionsInput) Validate added in v1.36.6

func (s *GetConnectionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetConnectionsOutput added in v1.36.6

type GetConnectionsOutput struct {

	// Information about the connections.
	Connections []*Connection `type:"list"`

	// The token to use for the next page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetConnectionsOutput) GoString added in v1.36.6

func (s GetConnectionsOutput) GoString() string

GoString returns the string representation

func (*GetConnectionsOutput) SetConnections added in v1.36.6

func (s *GetConnectionsOutput) SetConnections(v []*Connection) *GetConnectionsOutput

SetConnections sets the Connections field's value.

func (*GetConnectionsOutput) SetNextToken added in v1.36.6

func (s *GetConnectionsOutput) SetNextToken(v string) *GetConnectionsOutput

SetNextToken sets the NextToken field's value.

func (GetConnectionsOutput) String added in v1.36.6

func (s GetConnectionsOutput) String() string

String returns the string representation

type GetCustomerGatewayAssociationsInput

type GetCustomerGatewayAssociationsInput struct {

	// One or more customer gateway Amazon Resource Names (ARNs). For more information,
	// see Resources Defined by Amazon EC2 (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html#amazonec2-resources-for-iam-policies).
	// The maximum is 10.
	CustomerGatewayArns []*string `location:"querystring" locationName:"customerGatewayArns" type:"list"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The maximum number of results to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetCustomerGatewayAssociationsInput) GoString

GoString returns the string representation

func (*GetCustomerGatewayAssociationsInput) SetCustomerGatewayArns

SetCustomerGatewayArns sets the CustomerGatewayArns field's value.

func (*GetCustomerGatewayAssociationsInput) SetGlobalNetworkId

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*GetCustomerGatewayAssociationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetCustomerGatewayAssociationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetCustomerGatewayAssociationsInput) String

String returns the string representation

func (*GetCustomerGatewayAssociationsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetCustomerGatewayAssociationsOutput

type GetCustomerGatewayAssociationsOutput struct {

	// The customer gateway associations.
	CustomerGatewayAssociations []*CustomerGatewayAssociation `type:"list"`

	// The token for the next page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetCustomerGatewayAssociationsOutput) GoString

GoString returns the string representation

func (*GetCustomerGatewayAssociationsOutput) SetCustomerGatewayAssociations

SetCustomerGatewayAssociations sets the CustomerGatewayAssociations field's value.

func (*GetCustomerGatewayAssociationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetCustomerGatewayAssociationsOutput) String

String returns the string representation

type GetDevicesInput

type GetDevicesInput struct {

	// One or more device IDs. The maximum is 10.
	DeviceIds []*string `location:"querystring" locationName:"deviceIds" type:"list"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The maximum number of results to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The ID of the site.
	SiteId *string `location:"querystring" locationName:"siteId" type:"string"`
	// contains filtered or unexported fields
}

func (GetDevicesInput) GoString

func (s GetDevicesInput) GoString() string

GoString returns the string representation

func (*GetDevicesInput) SetDeviceIds

func (s *GetDevicesInput) SetDeviceIds(v []*string) *GetDevicesInput

SetDeviceIds sets the DeviceIds field's value.

func (*GetDevicesInput) SetGlobalNetworkId

func (s *GetDevicesInput) SetGlobalNetworkId(v string) *GetDevicesInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*GetDevicesInput) SetMaxResults

func (s *GetDevicesInput) SetMaxResults(v int64) *GetDevicesInput

SetMaxResults sets the MaxResults field's value.

func (*GetDevicesInput) SetNextToken

func (s *GetDevicesInput) SetNextToken(v string) *GetDevicesInput

SetNextToken sets the NextToken field's value.

func (*GetDevicesInput) SetSiteId

func (s *GetDevicesInput) SetSiteId(v string) *GetDevicesInput

SetSiteId sets the SiteId field's value.

func (GetDevicesInput) String

func (s GetDevicesInput) String() string

String returns the string representation

func (*GetDevicesInput) Validate

func (s *GetDevicesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDevicesOutput

type GetDevicesOutput struct {

	// The devices.
	Devices []*Device `type:"list"`

	// The token for the next page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetDevicesOutput) GoString

func (s GetDevicesOutput) GoString() string

GoString returns the string representation

func (*GetDevicesOutput) SetDevices

func (s *GetDevicesOutput) SetDevices(v []*Device) *GetDevicesOutput

SetDevices sets the Devices field's value.

func (*GetDevicesOutput) SetNextToken

func (s *GetDevicesOutput) SetNextToken(v string) *GetDevicesOutput

SetNextToken sets the NextToken field's value.

func (GetDevicesOutput) String

func (s GetDevicesOutput) String() string

String returns the string representation

type GetLinkAssociationsInput

type GetLinkAssociationsInput struct {

	// The ID of the device.
	DeviceId *string `location:"querystring" locationName:"deviceId" type:"string"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The ID of the link.
	LinkId *string `location:"querystring" locationName:"linkId" type:"string"`

	// The maximum number of results to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetLinkAssociationsInput) GoString

func (s GetLinkAssociationsInput) GoString() string

GoString returns the string representation

func (*GetLinkAssociationsInput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*GetLinkAssociationsInput) SetGlobalNetworkId

func (s *GetLinkAssociationsInput) SetGlobalNetworkId(v string) *GetLinkAssociationsInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*GetLinkAssociationsInput) SetLinkId

SetLinkId sets the LinkId field's value.

func (*GetLinkAssociationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetLinkAssociationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetLinkAssociationsInput) String

func (s GetLinkAssociationsInput) String() string

String returns the string representation

func (*GetLinkAssociationsInput) Validate

func (s *GetLinkAssociationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetLinkAssociationsOutput

type GetLinkAssociationsOutput struct {

	// The link associations.
	LinkAssociations []*LinkAssociation `type:"list"`

	// The token for the next page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetLinkAssociationsOutput) GoString

func (s GetLinkAssociationsOutput) GoString() string

GoString returns the string representation

func (*GetLinkAssociationsOutput) SetLinkAssociations

SetLinkAssociations sets the LinkAssociations field's value.

func (*GetLinkAssociationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetLinkAssociationsOutput) String

func (s GetLinkAssociationsOutput) String() string

String returns the string representation

type GetLinksInput

type GetLinksInput struct {

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// One or more link IDs. The maximum is 10.
	LinkIds []*string `location:"querystring" locationName:"linkIds" type:"list"`

	// The maximum number of results to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The link provider.
	Provider *string `location:"querystring" locationName:"provider" type:"string"`

	// The ID of the site.
	SiteId *string `location:"querystring" locationName:"siteId" type:"string"`

	// The link type.
	Type *string `location:"querystring" locationName:"type" type:"string"`
	// contains filtered or unexported fields
}

func (GetLinksInput) GoString

func (s GetLinksInput) GoString() string

GoString returns the string representation

func (*GetLinksInput) SetGlobalNetworkId

func (s *GetLinksInput) SetGlobalNetworkId(v string) *GetLinksInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*GetLinksInput) SetLinkIds

func (s *GetLinksInput) SetLinkIds(v []*string) *GetLinksInput

SetLinkIds sets the LinkIds field's value.

func (*GetLinksInput) SetMaxResults

func (s *GetLinksInput) SetMaxResults(v int64) *GetLinksInput

SetMaxResults sets the MaxResults field's value.

func (*GetLinksInput) SetNextToken

func (s *GetLinksInput) SetNextToken(v string) *GetLinksInput

SetNextToken sets the NextToken field's value.

func (*GetLinksInput) SetProvider

func (s *GetLinksInput) SetProvider(v string) *GetLinksInput

SetProvider sets the Provider field's value.

func (*GetLinksInput) SetSiteId

func (s *GetLinksInput) SetSiteId(v string) *GetLinksInput

SetSiteId sets the SiteId field's value.

func (*GetLinksInput) SetType

func (s *GetLinksInput) SetType(v string) *GetLinksInput

SetType sets the Type field's value.

func (GetLinksInput) String

func (s GetLinksInput) String() string

String returns the string representation

func (*GetLinksInput) Validate

func (s *GetLinksInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetLinksOutput

type GetLinksOutput struct {

	// The links.
	Links []*Link `type:"list"`

	// The token for the next page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetLinksOutput) GoString

func (s GetLinksOutput) GoString() string

GoString returns the string representation

func (s *GetLinksOutput) SetLinks(v []*Link) *GetLinksOutput

SetLinks sets the Links field's value.

func (*GetLinksOutput) SetNextToken

func (s *GetLinksOutput) SetNextToken(v string) *GetLinksOutput

SetNextToken sets the NextToken field's value.

func (GetLinksOutput) String

func (s GetLinksOutput) String() string

String returns the string representation

type GetSitesInput

type GetSitesInput struct {

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The maximum number of results to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// One or more site IDs. The maximum is 10.
	SiteIds []*string `location:"querystring" locationName:"siteIds" type:"list"`
	// contains filtered or unexported fields
}

func (GetSitesInput) GoString

func (s GetSitesInput) GoString() string

GoString returns the string representation

func (*GetSitesInput) SetGlobalNetworkId

func (s *GetSitesInput) SetGlobalNetworkId(v string) *GetSitesInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*GetSitesInput) SetMaxResults

func (s *GetSitesInput) SetMaxResults(v int64) *GetSitesInput

SetMaxResults sets the MaxResults field's value.

func (*GetSitesInput) SetNextToken

func (s *GetSitesInput) SetNextToken(v string) *GetSitesInput

SetNextToken sets the NextToken field's value.

func (*GetSitesInput) SetSiteIds

func (s *GetSitesInput) SetSiteIds(v []*string) *GetSitesInput

SetSiteIds sets the SiteIds field's value.

func (GetSitesInput) String

func (s GetSitesInput) String() string

String returns the string representation

func (*GetSitesInput) Validate

func (s *GetSitesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetSitesOutput

type GetSitesOutput struct {

	// The token for the next page of results.
	NextToken *string `type:"string"`

	// The sites.
	Sites []*Site `type:"list"`
	// contains filtered or unexported fields
}

func (GetSitesOutput) GoString

func (s GetSitesOutput) GoString() string

GoString returns the string representation

func (*GetSitesOutput) SetNextToken

func (s *GetSitesOutput) SetNextToken(v string) *GetSitesOutput

SetNextToken sets the NextToken field's value.

func (*GetSitesOutput) SetSites

func (s *GetSitesOutput) SetSites(v []*Site) *GetSitesOutput

SetSites sets the Sites field's value.

func (GetSitesOutput) String

func (s GetSitesOutput) String() string

String returns the string representation

type GetTransitGatewayConnectPeerAssociationsInput added in v1.36.6

type GetTransitGatewayConnectPeerAssociationsInput struct {

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The maximum number of results to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// One or more transit gateway Connect peer Amazon Resource Names (ARNs).
	TransitGatewayConnectPeerArns []*string `location:"querystring" locationName:"transitGatewayConnectPeerArns" type:"list"`
	// contains filtered or unexported fields
}

func (GetTransitGatewayConnectPeerAssociationsInput) GoString added in v1.36.6

GoString returns the string representation

func (*GetTransitGatewayConnectPeerAssociationsInput) SetGlobalNetworkId added in v1.36.6

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*GetTransitGatewayConnectPeerAssociationsInput) SetMaxResults added in v1.36.6

SetMaxResults sets the MaxResults field's value.

func (*GetTransitGatewayConnectPeerAssociationsInput) SetNextToken added in v1.36.6

SetNextToken sets the NextToken field's value.

func (*GetTransitGatewayConnectPeerAssociationsInput) SetTransitGatewayConnectPeerArns added in v1.36.6

SetTransitGatewayConnectPeerArns sets the TransitGatewayConnectPeerArns field's value.

func (GetTransitGatewayConnectPeerAssociationsInput) String added in v1.36.6

String returns the string representation

func (*GetTransitGatewayConnectPeerAssociationsInput) Validate added in v1.36.6

Validate inspects the fields of the type to determine if they are valid.

type GetTransitGatewayConnectPeerAssociationsOutput added in v1.36.6

type GetTransitGatewayConnectPeerAssociationsOutput struct {

	// The token to use for the next page of results.
	NextToken *string `type:"string"`

	// Information about the transit gateway Connect peer associations.
	TransitGatewayConnectPeerAssociations []*TransitGatewayConnectPeerAssociation `type:"list"`
	// contains filtered or unexported fields
}

func (GetTransitGatewayConnectPeerAssociationsOutput) GoString added in v1.36.6

GoString returns the string representation

func (*GetTransitGatewayConnectPeerAssociationsOutput) SetNextToken added in v1.36.6

SetNextToken sets the NextToken field's value.

func (*GetTransitGatewayConnectPeerAssociationsOutput) SetTransitGatewayConnectPeerAssociations added in v1.36.6

SetTransitGatewayConnectPeerAssociations sets the TransitGatewayConnectPeerAssociations field's value.

func (GetTransitGatewayConnectPeerAssociationsOutput) String added in v1.36.6

String returns the string representation

type GetTransitGatewayRegistrationsInput

type GetTransitGatewayRegistrationsInput struct {

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The maximum number of results to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The Amazon Resource Names (ARNs) of one or more transit gateways. The maximum
	// is 10.
	TransitGatewayArns []*string `location:"querystring" locationName:"transitGatewayArns" type:"list"`
	// contains filtered or unexported fields
}

func (GetTransitGatewayRegistrationsInput) GoString

GoString returns the string representation

func (*GetTransitGatewayRegistrationsInput) SetGlobalNetworkId

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*GetTransitGatewayRegistrationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetTransitGatewayRegistrationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetTransitGatewayRegistrationsInput) SetTransitGatewayArns

SetTransitGatewayArns sets the TransitGatewayArns field's value.

func (GetTransitGatewayRegistrationsInput) String

String returns the string representation

func (*GetTransitGatewayRegistrationsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetTransitGatewayRegistrationsOutput

type GetTransitGatewayRegistrationsOutput struct {

	// The token for the next page of results.
	NextToken *string `type:"string"`

	// The transit gateway registrations.
	TransitGatewayRegistrations []*TransitGatewayRegistration `type:"list"`
	// contains filtered or unexported fields
}

func (GetTransitGatewayRegistrationsOutput) GoString

GoString returns the string representation

func (*GetTransitGatewayRegistrationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetTransitGatewayRegistrationsOutput) SetTransitGatewayRegistrations

SetTransitGatewayRegistrations sets the TransitGatewayRegistrations field's value.

func (GetTransitGatewayRegistrationsOutput) String

String returns the string representation

type GlobalNetwork

type GlobalNetwork struct {

	// The date and time that the global network was created.
	CreatedAt *time.Time `type:"timestamp"`

	// The description of the global network.
	Description *string `type:"string"`

	// The Amazon Resource Name (ARN) of the global network.
	GlobalNetworkArn *string `type:"string"`

	// The ID of the global network.
	GlobalNetworkId *string `type:"string"`

	// The state of the global network.
	State *string `type:"string" enum:"GlobalNetworkState"`

	// The tags for the global network.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

Describes a global network.

func (GlobalNetwork) GoString

func (s GlobalNetwork) GoString() string

GoString returns the string representation

func (*GlobalNetwork) SetCreatedAt

func (s *GlobalNetwork) SetCreatedAt(v time.Time) *GlobalNetwork

SetCreatedAt sets the CreatedAt field's value.

func (*GlobalNetwork) SetDescription

func (s *GlobalNetwork) SetDescription(v string) *GlobalNetwork

SetDescription sets the Description field's value.

func (*GlobalNetwork) SetGlobalNetworkArn

func (s *GlobalNetwork) SetGlobalNetworkArn(v string) *GlobalNetwork

SetGlobalNetworkArn sets the GlobalNetworkArn field's value.

func (*GlobalNetwork) SetGlobalNetworkId

func (s *GlobalNetwork) SetGlobalNetworkId(v string) *GlobalNetwork

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*GlobalNetwork) SetState

func (s *GlobalNetwork) SetState(v string) *GlobalNetwork

SetState sets the State field's value.

func (*GlobalNetwork) SetTags

func (s *GlobalNetwork) SetTags(v []*Tag) *GlobalNetwork

SetTags sets the Tags field's value.

func (GlobalNetwork) String

func (s GlobalNetwork) String() string

String returns the string representation

type InternalServerException added in v1.28.0

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// Indicates when to retry the request.
	RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`
	// contains filtered or unexported fields
}

The request has failed due to an internal error.

func (*InternalServerException) Code added in v1.28.0

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error added in v1.28.0

func (s *InternalServerException) Error() string

func (InternalServerException) GoString added in v1.28.0

func (s InternalServerException) GoString() string

GoString returns the string representation

func (*InternalServerException) Message added in v1.28.0

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr added in v1.28.0

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID added in v1.28.0

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode added in v1.28.0

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String added in v1.28.0

func (s InternalServerException) String() string

String returns the string representation

type Link struct {

	// The bandwidth for the link.
	Bandwidth *Bandwidth `type:"structure"`

	// The date and time that the link was created.
	CreatedAt *time.Time `type:"timestamp"`

	// The description of the link.
	Description *string `type:"string"`

	// The ID of the global network.
	GlobalNetworkId *string `type:"string"`

	// The Amazon Resource Name (ARN) of the link.
	LinkArn *string `type:"string"`

	// The ID of the link.
	LinkId *string `type:"string"`

	// The provider of the link.
	Provider *string `type:"string"`

	// The ID of the site.
	SiteId *string `type:"string"`

	// The state of the link.
	State *string `type:"string" enum:"LinkState"`

	// The tags for the link.
	Tags []*Tag `type:"list"`

	// The type of the link.
	Type *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a link.

func (Link) GoString

func (s Link) GoString() string

GoString returns the string representation

func (*Link) SetBandwidth

func (s *Link) SetBandwidth(v *Bandwidth) *Link

SetBandwidth sets the Bandwidth field's value.

func (*Link) SetCreatedAt

func (s *Link) SetCreatedAt(v time.Time) *Link

SetCreatedAt sets the CreatedAt field's value.

func (*Link) SetDescription

func (s *Link) SetDescription(v string) *Link

SetDescription sets the Description field's value.

func (*Link) SetGlobalNetworkId

func (s *Link) SetGlobalNetworkId(v string) *Link

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*Link) SetLinkArn

func (s *Link) SetLinkArn(v string) *Link

SetLinkArn sets the LinkArn field's value.

func (*Link) SetLinkId

func (s *Link) SetLinkId(v string) *Link

SetLinkId sets the LinkId field's value.

func (*Link) SetProvider

func (s *Link) SetProvider(v string) *Link

SetProvider sets the Provider field's value.

func (*Link) SetSiteId

func (s *Link) SetSiteId(v string) *Link

SetSiteId sets the SiteId field's value.

func (*Link) SetState

func (s *Link) SetState(v string) *Link

SetState sets the State field's value.

func (*Link) SetTags

func (s *Link) SetTags(v []*Tag) *Link

SetTags sets the Tags field's value.

func (*Link) SetType

func (s *Link) SetType(v string) *Link

SetType sets the Type field's value.

func (Link) String

func (s Link) String() string

String returns the string representation

type LinkAssociation

type LinkAssociation struct {

	// The device ID for the link association.
	DeviceId *string `type:"string"`

	// The ID of the global network.
	GlobalNetworkId *string `type:"string"`

	// The state of the association.
	LinkAssociationState *string `type:"string" enum:"LinkAssociationState"`

	// The ID of the link.
	LinkId *string `type:"string"`
	// contains filtered or unexported fields
}

Describes the association between a device and a link.

func (LinkAssociation) GoString

func (s LinkAssociation) GoString() string

GoString returns the string representation

func (*LinkAssociation) SetDeviceId

func (s *LinkAssociation) SetDeviceId(v string) *LinkAssociation

SetDeviceId sets the DeviceId field's value.

func (*LinkAssociation) SetGlobalNetworkId

func (s *LinkAssociation) SetGlobalNetworkId(v string) *LinkAssociation

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*LinkAssociation) SetLinkAssociationState

func (s *LinkAssociation) SetLinkAssociationState(v string) *LinkAssociation

SetLinkAssociationState sets the LinkAssociationState field's value.

func (*LinkAssociation) SetLinkId

func (s *LinkAssociation) SetLinkId(v string) *LinkAssociation

SetLinkId sets the LinkId field's value.

func (LinkAssociation) String

func (s LinkAssociation) String() string

String returns the string representation

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The list of tags.
	TagList []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTagList

SetTagList sets the TagList field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type Location

type Location struct {

	// The physical address.
	Address *string `type:"string"`

	// The latitude.
	Latitude *string `type:"string"`

	// The longitude.
	Longitude *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a location.

func (Location) GoString

func (s Location) GoString() string

GoString returns the string representation

func (*Location) SetAddress

func (s *Location) SetAddress(v string) *Location

SetAddress sets the Address field's value.

func (*Location) SetLatitude

func (s *Location) SetLatitude(v string) *Location

SetLatitude sets the Latitude field's value.

func (*Location) SetLongitude

func (s *Location) SetLongitude(v string) *Location

SetLongitude sets the Longitude field's value.

func (Location) String

func (s Location) String() string

String returns the string representation

type NetworkManager

type NetworkManager struct {
	*client.Client
}

NetworkManager provides the API operation methods for making requests to AWS Network Manager. See this package's package overview docs for details on the service.

NetworkManager methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *NetworkManager

New creates a new instance of the NetworkManager client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a NetworkManager client from just a session.
svc := networkmanager.New(mySession)

// Create a NetworkManager client with additional configuration
svc := networkmanager.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*NetworkManager) AssociateCustomerGateway

func (c *NetworkManager) AssociateCustomerGateway(input *AssociateCustomerGatewayInput) (*AssociateCustomerGatewayOutput, error)

AssociateCustomerGateway API operation for AWS Network Manager.

Associates a customer gateway with a device and optionally, with a link. If you specify a link, it must be associated with the specified device.

You can only associate customer gateways that are connected to a VPN attachment on a transit gateway. The transit gateway must be registered in your global network. When you register a transit gateway, customer gateways that are connected to the transit gateway are automatically included in the global network. To list customer gateways that are connected to a transit gateway, use the DescribeVpnConnections (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnConnections.html) EC2 API and filter by transit-gateway-id.

You cannot associate a customer gateway with more than one device and link.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation AssociateCustomerGateway for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • ServiceQuotaExceededException A service limit was exceeded.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateCustomerGateway

func (*NetworkManager) AssociateCustomerGatewayRequest

func (c *NetworkManager) AssociateCustomerGatewayRequest(input *AssociateCustomerGatewayInput) (req *request.Request, output *AssociateCustomerGatewayOutput)

AssociateCustomerGatewayRequest generates a "aws/request.Request" representing the client's request for the AssociateCustomerGateway operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateCustomerGateway for more information on using the AssociateCustomerGateway API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateCustomerGatewayRequest method.
req, resp := client.AssociateCustomerGatewayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateCustomerGateway

func (*NetworkManager) AssociateCustomerGatewayWithContext

func (c *NetworkManager) AssociateCustomerGatewayWithContext(ctx aws.Context, input *AssociateCustomerGatewayInput, opts ...request.Option) (*AssociateCustomerGatewayOutput, error)

AssociateCustomerGatewayWithContext is the same as AssociateCustomerGateway with the addition of the ability to pass a context and additional request options.

See AssociateCustomerGateway for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (c *NetworkManager) AssociateLink(input *AssociateLinkInput) (*AssociateLinkOutput, error)

AssociateLink API operation for AWS Network Manager.

Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation AssociateLink for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • ServiceQuotaExceededException A service limit was exceeded.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateLink

func (*NetworkManager) AssociateLinkRequest

func (c *NetworkManager) AssociateLinkRequest(input *AssociateLinkInput) (req *request.Request, output *AssociateLinkOutput)

AssociateLinkRequest generates a "aws/request.Request" representing the client's request for the AssociateLink operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateLink for more information on using the AssociateLink API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateLinkRequest method.
req, resp := client.AssociateLinkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateLink

func (*NetworkManager) AssociateLinkWithContext

func (c *NetworkManager) AssociateLinkWithContext(ctx aws.Context, input *AssociateLinkInput, opts ...request.Option) (*AssociateLinkOutput, error)

AssociateLinkWithContext is the same as AssociateLink with the addition of the ability to pass a context and additional request options.

See AssociateLink for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) AssociateTransitGatewayConnectPeer added in v1.36.6

AssociateTransitGatewayConnectPeer API operation for AWS Network Manager.

Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device.

You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.

You cannot associate a transit gateway Connect peer with more than one device and link.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation AssociateTransitGatewayConnectPeer for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • ServiceQuotaExceededException A service limit was exceeded.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateTransitGatewayConnectPeer

func (*NetworkManager) AssociateTransitGatewayConnectPeerRequest added in v1.36.6

func (c *NetworkManager) AssociateTransitGatewayConnectPeerRequest(input *AssociateTransitGatewayConnectPeerInput) (req *request.Request, output *AssociateTransitGatewayConnectPeerOutput)

AssociateTransitGatewayConnectPeerRequest generates a "aws/request.Request" representing the client's request for the AssociateTransitGatewayConnectPeer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateTransitGatewayConnectPeer for more information on using the AssociateTransitGatewayConnectPeer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateTransitGatewayConnectPeerRequest method.
req, resp := client.AssociateTransitGatewayConnectPeerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateTransitGatewayConnectPeer

func (*NetworkManager) AssociateTransitGatewayConnectPeerWithContext added in v1.36.6

func (c *NetworkManager) AssociateTransitGatewayConnectPeerWithContext(ctx aws.Context, input *AssociateTransitGatewayConnectPeerInput, opts ...request.Option) (*AssociateTransitGatewayConnectPeerOutput, error)

AssociateTransitGatewayConnectPeerWithContext is the same as AssociateTransitGatewayConnectPeer with the addition of the ability to pass a context and additional request options.

See AssociateTransitGatewayConnectPeer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) CreateConnection added in v1.36.6

func (c *NetworkManager) CreateConnection(input *CreateConnectionInput) (*CreateConnectionOutput, error)

CreateConnection API operation for AWS Network Manager.

Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation CreateConnection for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • ServiceQuotaExceededException A service limit was exceeded.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnection

func (*NetworkManager) CreateConnectionRequest added in v1.36.6

func (c *NetworkManager) CreateConnectionRequest(input *CreateConnectionInput) (req *request.Request, output *CreateConnectionOutput)

CreateConnectionRequest generates a "aws/request.Request" representing the client's request for the CreateConnection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateConnection for more information on using the CreateConnection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateConnectionRequest method.
req, resp := client.CreateConnectionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnection

func (*NetworkManager) CreateConnectionWithContext added in v1.36.6

func (c *NetworkManager) CreateConnectionWithContext(ctx aws.Context, input *CreateConnectionInput, opts ...request.Option) (*CreateConnectionOutput, error)

CreateConnectionWithContext is the same as CreateConnection with the addition of the ability to pass a context and additional request options.

See CreateConnection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) CreateDevice

func (c *NetworkManager) CreateDevice(input *CreateDeviceInput) (*CreateDeviceOutput, error)

CreateDevice API operation for AWS Network Manager.

Creates a new device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation CreateDevice for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • ServiceQuotaExceededException A service limit was exceeded.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateDevice

func (*NetworkManager) CreateDeviceRequest

func (c *NetworkManager) CreateDeviceRequest(input *CreateDeviceInput) (req *request.Request, output *CreateDeviceOutput)

CreateDeviceRequest generates a "aws/request.Request" representing the client's request for the CreateDevice operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDevice for more information on using the CreateDevice API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDeviceRequest method.
req, resp := client.CreateDeviceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateDevice

func (*NetworkManager) CreateDeviceWithContext

func (c *NetworkManager) CreateDeviceWithContext(ctx aws.Context, input *CreateDeviceInput, opts ...request.Option) (*CreateDeviceOutput, error)

CreateDeviceWithContext is the same as CreateDevice with the addition of the ability to pass a context and additional request options.

See CreateDevice for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) CreateGlobalNetwork

func (c *NetworkManager) CreateGlobalNetwork(input *CreateGlobalNetworkInput) (*CreateGlobalNetworkOutput, error)

CreateGlobalNetwork API operation for AWS Network Manager.

Creates a new, empty global network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation CreateGlobalNetwork for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • ServiceQuotaExceededException A service limit was exceeded.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateGlobalNetwork

func (*NetworkManager) CreateGlobalNetworkRequest

func (c *NetworkManager) CreateGlobalNetworkRequest(input *CreateGlobalNetworkInput) (req *request.Request, output *CreateGlobalNetworkOutput)

CreateGlobalNetworkRequest generates a "aws/request.Request" representing the client's request for the CreateGlobalNetwork operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateGlobalNetwork for more information on using the CreateGlobalNetwork API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateGlobalNetworkRequest method.
req, resp := client.CreateGlobalNetworkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateGlobalNetwork

func (*NetworkManager) CreateGlobalNetworkWithContext

func (c *NetworkManager) CreateGlobalNetworkWithContext(ctx aws.Context, input *CreateGlobalNetworkInput, opts ...request.Option) (*CreateGlobalNetworkOutput, error)

CreateGlobalNetworkWithContext is the same as CreateGlobalNetwork with the addition of the ability to pass a context and additional request options.

See CreateGlobalNetwork for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (c *NetworkManager) CreateLink(input *CreateLinkInput) (*CreateLinkOutput, error)

CreateLink API operation for AWS Network Manager.

Creates a new link for a specified site.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation CreateLink for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • ServiceQuotaExceededException A service limit was exceeded.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateLink

func (*NetworkManager) CreateLinkRequest

func (c *NetworkManager) CreateLinkRequest(input *CreateLinkInput) (req *request.Request, output *CreateLinkOutput)

CreateLinkRequest generates a "aws/request.Request" representing the client's request for the CreateLink operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateLink for more information on using the CreateLink API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateLinkRequest method.
req, resp := client.CreateLinkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateLink

func (*NetworkManager) CreateLinkWithContext

func (c *NetworkManager) CreateLinkWithContext(ctx aws.Context, input *CreateLinkInput, opts ...request.Option) (*CreateLinkOutput, error)

CreateLinkWithContext is the same as CreateLink with the addition of the ability to pass a context and additional request options.

See CreateLink for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) CreateSite

func (c *NetworkManager) CreateSite(input *CreateSiteInput) (*CreateSiteOutput, error)

CreateSite API operation for AWS Network Manager.

Creates a new site in a global network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation CreateSite for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • ServiceQuotaExceededException A service limit was exceeded.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateSite

func (*NetworkManager) CreateSiteRequest

func (c *NetworkManager) CreateSiteRequest(input *CreateSiteInput) (req *request.Request, output *CreateSiteOutput)

CreateSiteRequest generates a "aws/request.Request" representing the client's request for the CreateSite operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSite for more information on using the CreateSite API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSiteRequest method.
req, resp := client.CreateSiteRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateSite

func (*NetworkManager) CreateSiteWithContext

func (c *NetworkManager) CreateSiteWithContext(ctx aws.Context, input *CreateSiteInput, opts ...request.Option) (*CreateSiteOutput, error)

CreateSiteWithContext is the same as CreateSite with the addition of the ability to pass a context and additional request options.

See CreateSite for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) DeleteConnection added in v1.36.6

func (c *NetworkManager) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error)

DeleteConnection API operation for AWS Network Manager.

Deletes the specified connection in your global network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation DeleteConnection for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteConnection

func (*NetworkManager) DeleteConnectionRequest added in v1.36.6

func (c *NetworkManager) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput)

DeleteConnectionRequest generates a "aws/request.Request" representing the client's request for the DeleteConnection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteConnection for more information on using the DeleteConnection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteConnectionRequest method.
req, resp := client.DeleteConnectionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteConnection

func (*NetworkManager) DeleteConnectionWithContext added in v1.36.6

func (c *NetworkManager) DeleteConnectionWithContext(ctx aws.Context, input *DeleteConnectionInput, opts ...request.Option) (*DeleteConnectionOutput, error)

DeleteConnectionWithContext is the same as DeleteConnection with the addition of the ability to pass a context and additional request options.

See DeleteConnection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) DeleteDevice

func (c *NetworkManager) DeleteDevice(input *DeleteDeviceInput) (*DeleteDeviceOutput, error)

DeleteDevice API operation for AWS Network Manager.

Deletes an existing device. You must first disassociate the device from any links and customer gateways.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation DeleteDevice for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteDevice

func (*NetworkManager) DeleteDeviceRequest

func (c *NetworkManager) DeleteDeviceRequest(input *DeleteDeviceInput) (req *request.Request, output *DeleteDeviceOutput)

DeleteDeviceRequest generates a "aws/request.Request" representing the client's request for the DeleteDevice operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDevice for more information on using the DeleteDevice API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDeviceRequest method.
req, resp := client.DeleteDeviceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteDevice

func (*NetworkManager) DeleteDeviceWithContext

func (c *NetworkManager) DeleteDeviceWithContext(ctx aws.Context, input *DeleteDeviceInput, opts ...request.Option) (*DeleteDeviceOutput, error)

DeleteDeviceWithContext is the same as DeleteDevice with the addition of the ability to pass a context and additional request options.

See DeleteDevice for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) DeleteGlobalNetwork

func (c *NetworkManager) DeleteGlobalNetwork(input *DeleteGlobalNetworkInput) (*DeleteGlobalNetworkOutput, error)

DeleteGlobalNetwork API operation for AWS Network Manager.

Deletes an existing global network. You must first delete all global network objects (devices, links, and sites) and deregister all transit gateways.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation DeleteGlobalNetwork for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteGlobalNetwork

func (*NetworkManager) DeleteGlobalNetworkRequest

func (c *NetworkManager) DeleteGlobalNetworkRequest(input *DeleteGlobalNetworkInput) (req *request.Request, output *DeleteGlobalNetworkOutput)

DeleteGlobalNetworkRequest generates a "aws/request.Request" representing the client's request for the DeleteGlobalNetwork operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteGlobalNetwork for more information on using the DeleteGlobalNetwork API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteGlobalNetworkRequest method.
req, resp := client.DeleteGlobalNetworkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteGlobalNetwork

func (*NetworkManager) DeleteGlobalNetworkWithContext

func (c *NetworkManager) DeleteGlobalNetworkWithContext(ctx aws.Context, input *DeleteGlobalNetworkInput, opts ...request.Option) (*DeleteGlobalNetworkOutput, error)

DeleteGlobalNetworkWithContext is the same as DeleteGlobalNetwork with the addition of the ability to pass a context and additional request options.

See DeleteGlobalNetwork for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (c *NetworkManager) DeleteLink(input *DeleteLinkInput) (*DeleteLinkOutput, error)

DeleteLink API operation for AWS Network Manager.

Deletes an existing link. You must first disassociate the link from any devices and customer gateways.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation DeleteLink for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteLink

func (*NetworkManager) DeleteLinkRequest

func (c *NetworkManager) DeleteLinkRequest(input *DeleteLinkInput) (req *request.Request, output *DeleteLinkOutput)

DeleteLinkRequest generates a "aws/request.Request" representing the client's request for the DeleteLink operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteLink for more information on using the DeleteLink API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteLinkRequest method.
req, resp := client.DeleteLinkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteLink

func (*NetworkManager) DeleteLinkWithContext

func (c *NetworkManager) DeleteLinkWithContext(ctx aws.Context, input *DeleteLinkInput, opts ...request.Option) (*DeleteLinkOutput, error)

DeleteLinkWithContext is the same as DeleteLink with the addition of the ability to pass a context and additional request options.

See DeleteLink for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) DeleteSite

func (c *NetworkManager) DeleteSite(input *DeleteSiteInput) (*DeleteSiteOutput, error)

DeleteSite API operation for AWS Network Manager.

Deletes an existing site. The site cannot be associated with any device or link.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation DeleteSite for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteSite

func (*NetworkManager) DeleteSiteRequest

func (c *NetworkManager) DeleteSiteRequest(input *DeleteSiteInput) (req *request.Request, output *DeleteSiteOutput)

DeleteSiteRequest generates a "aws/request.Request" representing the client's request for the DeleteSite operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSite for more information on using the DeleteSite API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSiteRequest method.
req, resp := client.DeleteSiteRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteSite

func (*NetworkManager) DeleteSiteWithContext

func (c *NetworkManager) DeleteSiteWithContext(ctx aws.Context, input *DeleteSiteInput, opts ...request.Option) (*DeleteSiteOutput, error)

DeleteSiteWithContext is the same as DeleteSite with the addition of the ability to pass a context and additional request options.

See DeleteSite for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) DeregisterTransitGateway

func (c *NetworkManager) DeregisterTransitGateway(input *DeregisterTransitGatewayInput) (*DeregisterTransitGatewayOutput, error)

DeregisterTransitGateway API operation for AWS Network Manager.

Deregisters a transit gateway from your global network. This action does not delete your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation DeregisterTransitGateway for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeregisterTransitGateway

func (*NetworkManager) DeregisterTransitGatewayRequest

func (c *NetworkManager) DeregisterTransitGatewayRequest(input *DeregisterTransitGatewayInput) (req *request.Request, output *DeregisterTransitGatewayOutput)

DeregisterTransitGatewayRequest generates a "aws/request.Request" representing the client's request for the DeregisterTransitGateway operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeregisterTransitGateway for more information on using the DeregisterTransitGateway API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeregisterTransitGatewayRequest method.
req, resp := client.DeregisterTransitGatewayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeregisterTransitGateway

func (*NetworkManager) DeregisterTransitGatewayWithContext

func (c *NetworkManager) DeregisterTransitGatewayWithContext(ctx aws.Context, input *DeregisterTransitGatewayInput, opts ...request.Option) (*DeregisterTransitGatewayOutput, error)

DeregisterTransitGatewayWithContext is the same as DeregisterTransitGateway with the addition of the ability to pass a context and additional request options.

See DeregisterTransitGateway for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) DescribeGlobalNetworks

func (c *NetworkManager) DescribeGlobalNetworks(input *DescribeGlobalNetworksInput) (*DescribeGlobalNetworksOutput, error)

DescribeGlobalNetworks API operation for AWS Network Manager.

Describes one or more global networks. By default, all global networks are described. To describe the objects in your global network, you must use the appropriate Get* action. For example, to list the transit gateways in your global network, use GetTransitGatewayRegistrations.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation DescribeGlobalNetworks for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DescribeGlobalNetworks

func (*NetworkManager) DescribeGlobalNetworksPages

func (c *NetworkManager) DescribeGlobalNetworksPages(input *DescribeGlobalNetworksInput, fn func(*DescribeGlobalNetworksOutput, bool) bool) error

DescribeGlobalNetworksPages iterates over the pages of a DescribeGlobalNetworks operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeGlobalNetworks method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeGlobalNetworks operation.
pageNum := 0
err := client.DescribeGlobalNetworksPages(params,
    func(page *networkmanager.DescribeGlobalNetworksOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*NetworkManager) DescribeGlobalNetworksPagesWithContext

func (c *NetworkManager) DescribeGlobalNetworksPagesWithContext(ctx aws.Context, input *DescribeGlobalNetworksInput, fn func(*DescribeGlobalNetworksOutput, bool) bool, opts ...request.Option) error

DescribeGlobalNetworksPagesWithContext same as DescribeGlobalNetworksPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) DescribeGlobalNetworksRequest

func (c *NetworkManager) DescribeGlobalNetworksRequest(input *DescribeGlobalNetworksInput) (req *request.Request, output *DescribeGlobalNetworksOutput)

DescribeGlobalNetworksRequest generates a "aws/request.Request" representing the client's request for the DescribeGlobalNetworks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeGlobalNetworks for more information on using the DescribeGlobalNetworks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeGlobalNetworksRequest method.
req, resp := client.DescribeGlobalNetworksRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DescribeGlobalNetworks

func (*NetworkManager) DescribeGlobalNetworksWithContext

func (c *NetworkManager) DescribeGlobalNetworksWithContext(ctx aws.Context, input *DescribeGlobalNetworksInput, opts ...request.Option) (*DescribeGlobalNetworksOutput, error)

DescribeGlobalNetworksWithContext is the same as DescribeGlobalNetworks with the addition of the ability to pass a context and additional request options.

See DescribeGlobalNetworks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) DisassociateCustomerGateway

DisassociateCustomerGateway API operation for AWS Network Manager.

Disassociates a customer gateway from a device and a link.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation DisassociateCustomerGateway for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateCustomerGateway

func (*NetworkManager) DisassociateCustomerGatewayRequest

func (c *NetworkManager) DisassociateCustomerGatewayRequest(input *DisassociateCustomerGatewayInput) (req *request.Request, output *DisassociateCustomerGatewayOutput)

DisassociateCustomerGatewayRequest generates a "aws/request.Request" representing the client's request for the DisassociateCustomerGateway operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateCustomerGateway for more information on using the DisassociateCustomerGateway API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateCustomerGatewayRequest method.
req, resp := client.DisassociateCustomerGatewayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateCustomerGateway

func (*NetworkManager) DisassociateCustomerGatewayWithContext

func (c *NetworkManager) DisassociateCustomerGatewayWithContext(ctx aws.Context, input *DisassociateCustomerGatewayInput, opts ...request.Option) (*DisassociateCustomerGatewayOutput, error)

DisassociateCustomerGatewayWithContext is the same as DisassociateCustomerGateway with the addition of the ability to pass a context and additional request options.

See DisassociateCustomerGateway for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (c *NetworkManager) DisassociateLink(input *DisassociateLinkInput) (*DisassociateLinkOutput, error)

DisassociateLink API operation for AWS Network Manager.

Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation DisassociateLink for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateLink

func (*NetworkManager) DisassociateLinkRequest

func (c *NetworkManager) DisassociateLinkRequest(input *DisassociateLinkInput) (req *request.Request, output *DisassociateLinkOutput)

DisassociateLinkRequest generates a "aws/request.Request" representing the client's request for the DisassociateLink operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateLink for more information on using the DisassociateLink API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateLinkRequest method.
req, resp := client.DisassociateLinkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateLink

func (*NetworkManager) DisassociateLinkWithContext

func (c *NetworkManager) DisassociateLinkWithContext(ctx aws.Context, input *DisassociateLinkInput, opts ...request.Option) (*DisassociateLinkOutput, error)

DisassociateLinkWithContext is the same as DisassociateLink with the addition of the ability to pass a context and additional request options.

See DisassociateLink for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) DisassociateTransitGatewayConnectPeer added in v1.36.6

DisassociateTransitGatewayConnectPeer API operation for AWS Network Manager.

Disassociates a transit gateway Connect peer from a device and link.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation DisassociateTransitGatewayConnectPeer for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateTransitGatewayConnectPeer

func (*NetworkManager) DisassociateTransitGatewayConnectPeerRequest added in v1.36.6

func (c *NetworkManager) DisassociateTransitGatewayConnectPeerRequest(input *DisassociateTransitGatewayConnectPeerInput) (req *request.Request, output *DisassociateTransitGatewayConnectPeerOutput)

DisassociateTransitGatewayConnectPeerRequest generates a "aws/request.Request" representing the client's request for the DisassociateTransitGatewayConnectPeer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateTransitGatewayConnectPeer for more information on using the DisassociateTransitGatewayConnectPeer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateTransitGatewayConnectPeerRequest method.
req, resp := client.DisassociateTransitGatewayConnectPeerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateTransitGatewayConnectPeer

func (*NetworkManager) DisassociateTransitGatewayConnectPeerWithContext added in v1.36.6

func (c *NetworkManager) DisassociateTransitGatewayConnectPeerWithContext(ctx aws.Context, input *DisassociateTransitGatewayConnectPeerInput, opts ...request.Option) (*DisassociateTransitGatewayConnectPeerOutput, error)

DisassociateTransitGatewayConnectPeerWithContext is the same as DisassociateTransitGatewayConnectPeer with the addition of the ability to pass a context and additional request options.

See DisassociateTransitGatewayConnectPeer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) GetConnections added in v1.36.6

func (c *NetworkManager) GetConnections(input *GetConnectionsInput) (*GetConnectionsOutput, error)

GetConnections API operation for AWS Network Manager.

Gets information about one or more of your connections in a global network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation GetConnections for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnections

func (*NetworkManager) GetConnectionsPages added in v1.36.6

func (c *NetworkManager) GetConnectionsPages(input *GetConnectionsInput, fn func(*GetConnectionsOutput, bool) bool) error

GetConnectionsPages iterates over the pages of a GetConnections operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetConnections method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetConnections operation.
pageNum := 0
err := client.GetConnectionsPages(params,
    func(page *networkmanager.GetConnectionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*NetworkManager) GetConnectionsPagesWithContext added in v1.36.6

func (c *NetworkManager) GetConnectionsPagesWithContext(ctx aws.Context, input *GetConnectionsInput, fn func(*GetConnectionsOutput, bool) bool, opts ...request.Option) error

GetConnectionsPagesWithContext same as GetConnectionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) GetConnectionsRequest added in v1.36.6

func (c *NetworkManager) GetConnectionsRequest(input *GetConnectionsInput) (req *request.Request, output *GetConnectionsOutput)

GetConnectionsRequest generates a "aws/request.Request" representing the client's request for the GetConnections operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetConnections for more information on using the GetConnections API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetConnectionsRequest method.
req, resp := client.GetConnectionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnections

func (*NetworkManager) GetConnectionsWithContext added in v1.36.6

func (c *NetworkManager) GetConnectionsWithContext(ctx aws.Context, input *GetConnectionsInput, opts ...request.Option) (*GetConnectionsOutput, error)

GetConnectionsWithContext is the same as GetConnections with the addition of the ability to pass a context and additional request options.

See GetConnections for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) GetCustomerGatewayAssociations

GetCustomerGatewayAssociations API operation for AWS Network Manager.

Gets the association information for customer gateways that are associated with devices and links in your global network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation GetCustomerGatewayAssociations for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCustomerGatewayAssociations

func (*NetworkManager) GetCustomerGatewayAssociationsPages

func (c *NetworkManager) GetCustomerGatewayAssociationsPages(input *GetCustomerGatewayAssociationsInput, fn func(*GetCustomerGatewayAssociationsOutput, bool) bool) error

GetCustomerGatewayAssociationsPages iterates over the pages of a GetCustomerGatewayAssociations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetCustomerGatewayAssociations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetCustomerGatewayAssociations operation.
pageNum := 0
err := client.GetCustomerGatewayAssociationsPages(params,
    func(page *networkmanager.GetCustomerGatewayAssociationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*NetworkManager) GetCustomerGatewayAssociationsPagesWithContext

func (c *NetworkManager) GetCustomerGatewayAssociationsPagesWithContext(ctx aws.Context, input *GetCustomerGatewayAssociationsInput, fn func(*GetCustomerGatewayAssociationsOutput, bool) bool, opts ...request.Option) error

GetCustomerGatewayAssociationsPagesWithContext same as GetCustomerGatewayAssociationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) GetCustomerGatewayAssociationsRequest

func (c *NetworkManager) GetCustomerGatewayAssociationsRequest(input *GetCustomerGatewayAssociationsInput) (req *request.Request, output *GetCustomerGatewayAssociationsOutput)

GetCustomerGatewayAssociationsRequest generates a "aws/request.Request" representing the client's request for the GetCustomerGatewayAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetCustomerGatewayAssociations for more information on using the GetCustomerGatewayAssociations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCustomerGatewayAssociationsRequest method.
req, resp := client.GetCustomerGatewayAssociationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCustomerGatewayAssociations

func (*NetworkManager) GetCustomerGatewayAssociationsWithContext

func (c *NetworkManager) GetCustomerGatewayAssociationsWithContext(ctx aws.Context, input *GetCustomerGatewayAssociationsInput, opts ...request.Option) (*GetCustomerGatewayAssociationsOutput, error)

GetCustomerGatewayAssociationsWithContext is the same as GetCustomerGatewayAssociations with the addition of the ability to pass a context and additional request options.

See GetCustomerGatewayAssociations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) GetDevices

func (c *NetworkManager) GetDevices(input *GetDevicesInput) (*GetDevicesOutput, error)

GetDevices API operation for AWS Network Manager.

Gets information about one or more of your devices in a global network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation GetDevices for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetDevices

func (*NetworkManager) GetDevicesPages

func (c *NetworkManager) GetDevicesPages(input *GetDevicesInput, fn func(*GetDevicesOutput, bool) bool) error

GetDevicesPages iterates over the pages of a GetDevices operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetDevices method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetDevices operation.
pageNum := 0
err := client.GetDevicesPages(params,
    func(page *networkmanager.GetDevicesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*NetworkManager) GetDevicesPagesWithContext

func (c *NetworkManager) GetDevicesPagesWithContext(ctx aws.Context, input *GetDevicesInput, fn func(*GetDevicesOutput, bool) bool, opts ...request.Option) error

GetDevicesPagesWithContext same as GetDevicesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) GetDevicesRequest

func (c *NetworkManager) GetDevicesRequest(input *GetDevicesInput) (req *request.Request, output *GetDevicesOutput)

GetDevicesRequest generates a "aws/request.Request" representing the client's request for the GetDevices operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDevices for more information on using the GetDevices API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDevicesRequest method.
req, resp := client.GetDevicesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetDevices

func (*NetworkManager) GetDevicesWithContext

func (c *NetworkManager) GetDevicesWithContext(ctx aws.Context, input *GetDevicesInput, opts ...request.Option) (*GetDevicesOutput, error)

GetDevicesWithContext is the same as GetDevices with the addition of the ability to pass a context and additional request options.

See GetDevices for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) GetLinkAssociations

func (c *NetworkManager) GetLinkAssociations(input *GetLinkAssociationsInput) (*GetLinkAssociationsOutput, error)

GetLinkAssociations API operation for AWS Network Manager.

Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation GetLinkAssociations for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetLinkAssociations

func (*NetworkManager) GetLinkAssociationsPages

func (c *NetworkManager) GetLinkAssociationsPages(input *GetLinkAssociationsInput, fn func(*GetLinkAssociationsOutput, bool) bool) error

GetLinkAssociationsPages iterates over the pages of a GetLinkAssociations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetLinkAssociations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetLinkAssociations operation.
pageNum := 0
err := client.GetLinkAssociationsPages(params,
    func(page *networkmanager.GetLinkAssociationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*NetworkManager) GetLinkAssociationsPagesWithContext

func (c *NetworkManager) GetLinkAssociationsPagesWithContext(ctx aws.Context, input *GetLinkAssociationsInput, fn func(*GetLinkAssociationsOutput, bool) bool, opts ...request.Option) error

GetLinkAssociationsPagesWithContext same as GetLinkAssociationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) GetLinkAssociationsRequest

func (c *NetworkManager) GetLinkAssociationsRequest(input *GetLinkAssociationsInput) (req *request.Request, output *GetLinkAssociationsOutput)

GetLinkAssociationsRequest generates a "aws/request.Request" representing the client's request for the GetLinkAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetLinkAssociations for more information on using the GetLinkAssociations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetLinkAssociationsRequest method.
req, resp := client.GetLinkAssociationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetLinkAssociations

func (*NetworkManager) GetLinkAssociationsWithContext

func (c *NetworkManager) GetLinkAssociationsWithContext(ctx aws.Context, input *GetLinkAssociationsInput, opts ...request.Option) (*GetLinkAssociationsOutput, error)

GetLinkAssociationsWithContext is the same as GetLinkAssociations with the addition of the ability to pass a context and additional request options.

See GetLinkAssociations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (c *NetworkManager) GetLinks(input *GetLinksInput) (*GetLinksOutput, error)

GetLinks API operation for AWS Network Manager.

Gets information about one or more links in a specified global network.

If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation GetLinks for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetLinks

func (*NetworkManager) GetLinksPages

func (c *NetworkManager) GetLinksPages(input *GetLinksInput, fn func(*GetLinksOutput, bool) bool) error

GetLinksPages iterates over the pages of a GetLinks operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetLinks method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetLinks operation.
pageNum := 0
err := client.GetLinksPages(params,
    func(page *networkmanager.GetLinksOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*NetworkManager) GetLinksPagesWithContext

func (c *NetworkManager) GetLinksPagesWithContext(ctx aws.Context, input *GetLinksInput, fn func(*GetLinksOutput, bool) bool, opts ...request.Option) error

GetLinksPagesWithContext same as GetLinksPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) GetLinksRequest

func (c *NetworkManager) GetLinksRequest(input *GetLinksInput) (req *request.Request, output *GetLinksOutput)

GetLinksRequest generates a "aws/request.Request" representing the client's request for the GetLinks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetLinks for more information on using the GetLinks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetLinksRequest method.
req, resp := client.GetLinksRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetLinks

func (*NetworkManager) GetLinksWithContext

func (c *NetworkManager) GetLinksWithContext(ctx aws.Context, input *GetLinksInput, opts ...request.Option) (*GetLinksOutput, error)

GetLinksWithContext is the same as GetLinks with the addition of the ability to pass a context and additional request options.

See GetLinks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) GetSites

func (c *NetworkManager) GetSites(input *GetSitesInput) (*GetSitesOutput, error)

GetSites API operation for AWS Network Manager.

Gets information about one or more of your sites in a global network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation GetSites for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetSites

func (*NetworkManager) GetSitesPages

func (c *NetworkManager) GetSitesPages(input *GetSitesInput, fn func(*GetSitesOutput, bool) bool) error

GetSitesPages iterates over the pages of a GetSites operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetSites method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetSites operation.
pageNum := 0
err := client.GetSitesPages(params,
    func(page *networkmanager.GetSitesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*NetworkManager) GetSitesPagesWithContext

func (c *NetworkManager) GetSitesPagesWithContext(ctx aws.Context, input *GetSitesInput, fn func(*GetSitesOutput, bool) bool, opts ...request.Option) error

GetSitesPagesWithContext same as GetSitesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) GetSitesRequest

func (c *NetworkManager) GetSitesRequest(input *GetSitesInput) (req *request.Request, output *GetSitesOutput)

GetSitesRequest generates a "aws/request.Request" representing the client's request for the GetSites operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSites for more information on using the GetSites API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSitesRequest method.
req, resp := client.GetSitesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetSites

func (*NetworkManager) GetSitesWithContext

func (c *NetworkManager) GetSitesWithContext(ctx aws.Context, input *GetSitesInput, opts ...request.Option) (*GetSitesOutput, error)

GetSitesWithContext is the same as GetSites with the addition of the ability to pass a context and additional request options.

See GetSites for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) GetTransitGatewayConnectPeerAssociations added in v1.36.6

GetTransitGatewayConnectPeerAssociations API operation for AWS Network Manager.

Gets information about one or more of your transit gateway Connect peer associations in a global network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation GetTransitGatewayConnectPeerAssociations for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayConnectPeerAssociations

func (*NetworkManager) GetTransitGatewayConnectPeerAssociationsPages added in v1.36.6

func (c *NetworkManager) GetTransitGatewayConnectPeerAssociationsPages(input *GetTransitGatewayConnectPeerAssociationsInput, fn func(*GetTransitGatewayConnectPeerAssociationsOutput, bool) bool) error

GetTransitGatewayConnectPeerAssociationsPages iterates over the pages of a GetTransitGatewayConnectPeerAssociations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetTransitGatewayConnectPeerAssociations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetTransitGatewayConnectPeerAssociations operation.
pageNum := 0
err := client.GetTransitGatewayConnectPeerAssociationsPages(params,
    func(page *networkmanager.GetTransitGatewayConnectPeerAssociationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*NetworkManager) GetTransitGatewayConnectPeerAssociationsPagesWithContext added in v1.36.6

func (c *NetworkManager) GetTransitGatewayConnectPeerAssociationsPagesWithContext(ctx aws.Context, input *GetTransitGatewayConnectPeerAssociationsInput, fn func(*GetTransitGatewayConnectPeerAssociationsOutput, bool) bool, opts ...request.Option) error

GetTransitGatewayConnectPeerAssociationsPagesWithContext same as GetTransitGatewayConnectPeerAssociationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) GetTransitGatewayConnectPeerAssociationsRequest added in v1.36.6

func (c *NetworkManager) GetTransitGatewayConnectPeerAssociationsRequest(input *GetTransitGatewayConnectPeerAssociationsInput) (req *request.Request, output *GetTransitGatewayConnectPeerAssociationsOutput)

GetTransitGatewayConnectPeerAssociationsRequest generates a "aws/request.Request" representing the client's request for the GetTransitGatewayConnectPeerAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetTransitGatewayConnectPeerAssociations for more information on using the GetTransitGatewayConnectPeerAssociations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTransitGatewayConnectPeerAssociationsRequest method.
req, resp := client.GetTransitGatewayConnectPeerAssociationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayConnectPeerAssociations

func (*NetworkManager) GetTransitGatewayConnectPeerAssociationsWithContext added in v1.36.6

func (c *NetworkManager) GetTransitGatewayConnectPeerAssociationsWithContext(ctx aws.Context, input *GetTransitGatewayConnectPeerAssociationsInput, opts ...request.Option) (*GetTransitGatewayConnectPeerAssociationsOutput, error)

GetTransitGatewayConnectPeerAssociationsWithContext is the same as GetTransitGatewayConnectPeerAssociations with the addition of the ability to pass a context and additional request options.

See GetTransitGatewayConnectPeerAssociations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) GetTransitGatewayRegistrations

GetTransitGatewayRegistrations API operation for AWS Network Manager.

Gets information about the transit gateway registrations in a specified global network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation GetTransitGatewayRegistrations for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayRegistrations

func (*NetworkManager) GetTransitGatewayRegistrationsPages

func (c *NetworkManager) GetTransitGatewayRegistrationsPages(input *GetTransitGatewayRegistrationsInput, fn func(*GetTransitGatewayRegistrationsOutput, bool) bool) error

GetTransitGatewayRegistrationsPages iterates over the pages of a GetTransitGatewayRegistrations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetTransitGatewayRegistrations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetTransitGatewayRegistrations operation.
pageNum := 0
err := client.GetTransitGatewayRegistrationsPages(params,
    func(page *networkmanager.GetTransitGatewayRegistrationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*NetworkManager) GetTransitGatewayRegistrationsPagesWithContext

func (c *NetworkManager) GetTransitGatewayRegistrationsPagesWithContext(ctx aws.Context, input *GetTransitGatewayRegistrationsInput, fn func(*GetTransitGatewayRegistrationsOutput, bool) bool, opts ...request.Option) error

GetTransitGatewayRegistrationsPagesWithContext same as GetTransitGatewayRegistrationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) GetTransitGatewayRegistrationsRequest

func (c *NetworkManager) GetTransitGatewayRegistrationsRequest(input *GetTransitGatewayRegistrationsInput) (req *request.Request, output *GetTransitGatewayRegistrationsOutput)

GetTransitGatewayRegistrationsRequest generates a "aws/request.Request" representing the client's request for the GetTransitGatewayRegistrations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetTransitGatewayRegistrations for more information on using the GetTransitGatewayRegistrations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTransitGatewayRegistrationsRequest method.
req, resp := client.GetTransitGatewayRegistrationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayRegistrations

func (*NetworkManager) GetTransitGatewayRegistrationsWithContext

func (c *NetworkManager) GetTransitGatewayRegistrationsWithContext(ctx aws.Context, input *GetTransitGatewayRegistrationsInput, opts ...request.Option) (*GetTransitGatewayRegistrationsOutput, error)

GetTransitGatewayRegistrationsWithContext is the same as GetTransitGatewayRegistrations with the addition of the ability to pass a context and additional request options.

See GetTransitGatewayRegistrations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) ListTagsForResource

func (c *NetworkManager) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS Network Manager.

Lists the tags for a specified resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListTagsForResource

func (*NetworkManager) ListTagsForResourceRequest

func (c *NetworkManager) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListTagsForResource

func (*NetworkManager) ListTagsForResourceWithContext

func (c *NetworkManager) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) RegisterTransitGateway

func (c *NetworkManager) RegisterTransitGateway(input *RegisterTransitGatewayInput) (*RegisterTransitGatewayOutput, error)

RegisterTransitGateway API operation for AWS Network Manager.

Registers a transit gateway in your global network. The transit gateway can be in any AWS Region, but it must be owned by the same AWS account that owns the global network. You cannot register a transit gateway in more than one global network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation RegisterTransitGateway for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RegisterTransitGateway

func (*NetworkManager) RegisterTransitGatewayRequest

func (c *NetworkManager) RegisterTransitGatewayRequest(input *RegisterTransitGatewayInput) (req *request.Request, output *RegisterTransitGatewayOutput)

RegisterTransitGatewayRequest generates a "aws/request.Request" representing the client's request for the RegisterTransitGateway operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RegisterTransitGateway for more information on using the RegisterTransitGateway API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RegisterTransitGatewayRequest method.
req, resp := client.RegisterTransitGatewayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RegisterTransitGateway

func (*NetworkManager) RegisterTransitGatewayWithContext

func (c *NetworkManager) RegisterTransitGatewayWithContext(ctx aws.Context, input *RegisterTransitGatewayInput, opts ...request.Option) (*RegisterTransitGatewayOutput, error)

RegisterTransitGatewayWithContext is the same as RegisterTransitGateway with the addition of the ability to pass a context and additional request options.

See RegisterTransitGateway for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) TagResource

func (c *NetworkManager) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS Network Manager.

Tags a specified resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation TagResource for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • ServiceQuotaExceededException A service limit was exceeded.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/TagResource

func (*NetworkManager) TagResourceRequest

func (c *NetworkManager) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/TagResource

func (*NetworkManager) TagResourceWithContext

func (c *NetworkManager) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) UntagResource

func (c *NetworkManager) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS Network Manager.

Removes tags from a specified resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation UntagResource for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UntagResource

func (*NetworkManager) UntagResourceRequest

func (c *NetworkManager) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UntagResource

func (*NetworkManager) UntagResourceWithContext

func (c *NetworkManager) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) UpdateConnection added in v1.36.6

func (c *NetworkManager) UpdateConnection(input *UpdateConnectionInput) (*UpdateConnectionOutput, error)

UpdateConnection API operation for AWS Network Manager.

Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation UpdateConnection for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateConnection

func (*NetworkManager) UpdateConnectionRequest added in v1.36.6

func (c *NetworkManager) UpdateConnectionRequest(input *UpdateConnectionInput) (req *request.Request, output *UpdateConnectionOutput)

UpdateConnectionRequest generates a "aws/request.Request" representing the client's request for the UpdateConnection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateConnection for more information on using the UpdateConnection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateConnectionRequest method.
req, resp := client.UpdateConnectionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateConnection

func (*NetworkManager) UpdateConnectionWithContext added in v1.36.6

func (c *NetworkManager) UpdateConnectionWithContext(ctx aws.Context, input *UpdateConnectionInput, opts ...request.Option) (*UpdateConnectionOutput, error)

UpdateConnectionWithContext is the same as UpdateConnection with the addition of the ability to pass a context and additional request options.

See UpdateConnection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) UpdateDevice

func (c *NetworkManager) UpdateDevice(input *UpdateDeviceInput) (*UpdateDeviceOutput, error)

UpdateDevice API operation for AWS Network Manager.

Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation UpdateDevice for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateDevice

func (*NetworkManager) UpdateDeviceRequest

func (c *NetworkManager) UpdateDeviceRequest(input *UpdateDeviceInput) (req *request.Request, output *UpdateDeviceOutput)

UpdateDeviceRequest generates a "aws/request.Request" representing the client's request for the UpdateDevice operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDevice for more information on using the UpdateDevice API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDeviceRequest method.
req, resp := client.UpdateDeviceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateDevice

func (*NetworkManager) UpdateDeviceWithContext

func (c *NetworkManager) UpdateDeviceWithContext(ctx aws.Context, input *UpdateDeviceInput, opts ...request.Option) (*UpdateDeviceOutput, error)

UpdateDeviceWithContext is the same as UpdateDevice with the addition of the ability to pass a context and additional request options.

See UpdateDevice for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) UpdateGlobalNetwork

func (c *NetworkManager) UpdateGlobalNetwork(input *UpdateGlobalNetworkInput) (*UpdateGlobalNetworkOutput, error)

UpdateGlobalNetwork API operation for AWS Network Manager.

Updates an existing global network. To remove information for any of the parameters, specify an empty string.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation UpdateGlobalNetwork for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateGlobalNetwork

func (*NetworkManager) UpdateGlobalNetworkRequest

func (c *NetworkManager) UpdateGlobalNetworkRequest(input *UpdateGlobalNetworkInput) (req *request.Request, output *UpdateGlobalNetworkOutput)

UpdateGlobalNetworkRequest generates a "aws/request.Request" representing the client's request for the UpdateGlobalNetwork operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateGlobalNetwork for more information on using the UpdateGlobalNetwork API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateGlobalNetworkRequest method.
req, resp := client.UpdateGlobalNetworkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateGlobalNetwork

func (*NetworkManager) UpdateGlobalNetworkWithContext

func (c *NetworkManager) UpdateGlobalNetworkWithContext(ctx aws.Context, input *UpdateGlobalNetworkInput, opts ...request.Option) (*UpdateGlobalNetworkOutput, error)

UpdateGlobalNetworkWithContext is the same as UpdateGlobalNetwork with the addition of the ability to pass a context and additional request options.

See UpdateGlobalNetwork for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (c *NetworkManager) UpdateLink(input *UpdateLinkInput) (*UpdateLinkOutput, error)

UpdateLink API operation for AWS Network Manager.

Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation UpdateLink for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • ServiceQuotaExceededException A service limit was exceeded.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateLink

func (*NetworkManager) UpdateLinkRequest

func (c *NetworkManager) UpdateLinkRequest(input *UpdateLinkInput) (req *request.Request, output *UpdateLinkOutput)

UpdateLinkRequest generates a "aws/request.Request" representing the client's request for the UpdateLink operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateLink for more information on using the UpdateLink API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateLinkRequest method.
req, resp := client.UpdateLinkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateLink

func (*NetworkManager) UpdateLinkWithContext

func (c *NetworkManager) UpdateLinkWithContext(ctx aws.Context, input *UpdateLinkInput, opts ...request.Option) (*UpdateLinkOutput, error)

UpdateLinkWithContext is the same as UpdateLink with the addition of the ability to pass a context and additional request options.

See UpdateLink for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NetworkManager) UpdateSite

func (c *NetworkManager) UpdateSite(input *UpdateSiteInput) (*UpdateSiteOutput, error)

UpdateSite API operation for AWS Network Manager.

Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Network Manager's API operation UpdateSite for usage and error information.

Returned Error Types:

  • ValidationException The input fails to satisfy the constraints.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

  • ThrottlingException The request was denied due to request throttling.

  • InternalServerException The request has failed due to an internal error.

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateSite

func (*NetworkManager) UpdateSiteRequest

func (c *NetworkManager) UpdateSiteRequest(input *UpdateSiteInput) (req *request.Request, output *UpdateSiteOutput)

UpdateSiteRequest generates a "aws/request.Request" representing the client's request for the UpdateSite operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateSite for more information on using the UpdateSite API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateSiteRequest method.
req, resp := client.UpdateSiteRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateSite

func (*NetworkManager) UpdateSiteWithContext

func (c *NetworkManager) UpdateSiteWithContext(ctx aws.Context, input *UpdateSiteInput, opts ...request.Option) (*UpdateSiteOutput, error)

UpdateSiteWithContext is the same as UpdateSite with the addition of the ability to pass a context and additional request options.

See UpdateSite for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type RegisterTransitGatewayInput

type RegisterTransitGatewayInput struct {

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the transit gateway. For more information,
	// see Resources Defined by Amazon EC2 (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html#amazonec2-resources-for-iam-policies).
	//
	// TransitGatewayArn is a required field
	TransitGatewayArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RegisterTransitGatewayInput) GoString

func (s RegisterTransitGatewayInput) GoString() string

GoString returns the string representation

func (*RegisterTransitGatewayInput) SetGlobalNetworkId

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*RegisterTransitGatewayInput) SetTransitGatewayArn

SetTransitGatewayArn sets the TransitGatewayArn field's value.

func (RegisterTransitGatewayInput) String

String returns the string representation

func (*RegisterTransitGatewayInput) Validate

func (s *RegisterTransitGatewayInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegisterTransitGatewayOutput

type RegisterTransitGatewayOutput struct {

	// Information about the transit gateway registration.
	TransitGatewayRegistration *TransitGatewayRegistration `type:"structure"`
	// contains filtered or unexported fields
}

func (RegisterTransitGatewayOutput) GoString

func (s RegisterTransitGatewayOutput) GoString() string

GoString returns the string representation

func (*RegisterTransitGatewayOutput) SetTransitGatewayRegistration

SetTransitGatewayRegistration sets the TransitGatewayRegistration field's value.

func (RegisterTransitGatewayOutput) String

String returns the string representation

type ResourceNotFoundException added in v1.28.0

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// The ID of the resource.
	//
	// ResourceId is a required field
	ResourceId *string `type:"string" required:"true"`

	// The resource type.
	//
	// ResourceType is a required field
	ResourceType *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The specified resource could not be found.

func (*ResourceNotFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*ResourceNotFoundException) Error added in v1.28.0

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString added in v1.28.0

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message added in v1.28.0

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr added in v1.28.0

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID added in v1.28.0

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode added in v1.28.0

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String added in v1.28.0

func (s ResourceNotFoundException) String() string

String returns the string representation

type ServiceQuotaExceededException added in v1.28.0

type ServiceQuotaExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The limit code.
	//
	// LimitCode is a required field
	LimitCode *string `type:"string" required:"true"`

	// The error message.
	Message_ *string `locationName:"Message" type:"string"`

	// The ID of the resource.
	ResourceId *string `type:"string"`

	// The resource type.
	ResourceType *string `type:"string"`

	// The service code.
	//
	// ServiceCode is a required field
	ServiceCode *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

A service limit was exceeded.

func (*ServiceQuotaExceededException) Code added in v1.28.0

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error added in v1.28.0

func (ServiceQuotaExceededException) GoString added in v1.28.0

GoString returns the string representation

func (*ServiceQuotaExceededException) Message added in v1.28.0

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr added in v1.28.0

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID added in v1.28.0

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode added in v1.28.0

func (s *ServiceQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaExceededException) String added in v1.28.0

String returns the string representation

type Site

type Site struct {

	// The date and time that the site was created.
	CreatedAt *time.Time `type:"timestamp"`

	// The description of the site.
	Description *string `type:"string"`

	// The ID of the global network.
	GlobalNetworkId *string `type:"string"`

	// The location of the site.
	Location *Location `type:"structure" sensitive:"true"`

	// The Amazon Resource Name (ARN) of the site.
	SiteArn *string `type:"string"`

	// The ID of the site.
	SiteId *string `type:"string"`

	// The state of the site.
	State *string `type:"string" enum:"SiteState"`

	// The tags for the site.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

Describes a site.

func (Site) GoString

func (s Site) GoString() string

GoString returns the string representation

func (*Site) SetCreatedAt

func (s *Site) SetCreatedAt(v time.Time) *Site

SetCreatedAt sets the CreatedAt field's value.

func (*Site) SetDescription

func (s *Site) SetDescription(v string) *Site

SetDescription sets the Description field's value.

func (*Site) SetGlobalNetworkId

func (s *Site) SetGlobalNetworkId(v string) *Site

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*Site) SetLocation

func (s *Site) SetLocation(v *Location) *Site

SetLocation sets the Location field's value.

func (*Site) SetSiteArn

func (s *Site) SetSiteArn(v string) *Site

SetSiteArn sets the SiteArn field's value.

func (*Site) SetSiteId

func (s *Site) SetSiteId(v string) *Site

SetSiteId sets the SiteId field's value.

func (*Site) SetState

func (s *Site) SetState(v string) *Site

SetState sets the State field's value.

func (*Site) SetTags

func (s *Site) SetTags(v []*Tag) *Site

SetTags sets the Tags field's value.

func (Site) String

func (s Site) String() string

String returns the string representation

type Tag

type Tag struct {

	// The tag key.
	//
	// Length Constraints: Maximum length of 128 characters.
	Key *string `type:"string"`

	// The tag value.
	//
	// Length Constraints: Maximum length of 256 characters.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a tag.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// The tags to apply to the specified resource.
	//
	// Tags is a required field
	Tags []*Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type ThrottlingException added in v1.28.0

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// Indicates when to retry the request.
	RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`
	// contains filtered or unexported fields
}

The request was denied due to request throttling.

func (*ThrottlingException) Code added in v1.28.0

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error added in v1.28.0

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString added in v1.28.0

func (s ThrottlingException) GoString() string

GoString returns the string representation

func (*ThrottlingException) Message added in v1.28.0

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr added in v1.28.0

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID added in v1.28.0

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode added in v1.28.0

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String added in v1.28.0

func (s ThrottlingException) String() string

String returns the string representation

type TransitGatewayConnectPeerAssociation added in v1.36.6

type TransitGatewayConnectPeerAssociation struct {

	// The ID of the device.
	DeviceId *string `type:"string"`

	// The ID of the global network.
	GlobalNetworkId *string `type:"string"`

	// The ID of the link.
	LinkId *string `type:"string"`

	// The state of the association.
	State *string `type:"string" enum:"TransitGatewayConnectPeerAssociationState"`

	// The Amazon Resource Name (ARN) of the transit gateway Connect peer.
	TransitGatewayConnectPeerArn *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a transit gateway Connect peer association.

func (TransitGatewayConnectPeerAssociation) GoString added in v1.36.6

GoString returns the string representation

func (*TransitGatewayConnectPeerAssociation) SetDeviceId added in v1.36.6

SetDeviceId sets the DeviceId field's value.

func (*TransitGatewayConnectPeerAssociation) SetGlobalNetworkId added in v1.36.6

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*TransitGatewayConnectPeerAssociation) SetLinkId added in v1.36.6

SetLinkId sets the LinkId field's value.

func (*TransitGatewayConnectPeerAssociation) SetState added in v1.36.6

SetState sets the State field's value.

func (*TransitGatewayConnectPeerAssociation) SetTransitGatewayConnectPeerArn added in v1.36.6

SetTransitGatewayConnectPeerArn sets the TransitGatewayConnectPeerArn field's value.

func (TransitGatewayConnectPeerAssociation) String added in v1.36.6

String returns the string representation

type TransitGatewayRegistration

type TransitGatewayRegistration struct {

	// The ID of the global network.
	GlobalNetworkId *string `type:"string"`

	// The state of the transit gateway registration.
	State *TransitGatewayRegistrationStateReason `type:"structure"`

	// The Amazon Resource Name (ARN) of the transit gateway.
	TransitGatewayArn *string `type:"string"`
	// contains filtered or unexported fields
}

Describes the registration of a transit gateway to a global network.

func (TransitGatewayRegistration) GoString

func (s TransitGatewayRegistration) GoString() string

GoString returns the string representation

func (*TransitGatewayRegistration) SetGlobalNetworkId

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*TransitGatewayRegistration) SetState

SetState sets the State field's value.

func (*TransitGatewayRegistration) SetTransitGatewayArn

func (s *TransitGatewayRegistration) SetTransitGatewayArn(v string) *TransitGatewayRegistration

SetTransitGatewayArn sets the TransitGatewayArn field's value.

func (TransitGatewayRegistration) String

String returns the string representation

type TransitGatewayRegistrationStateReason

type TransitGatewayRegistrationStateReason struct {

	// The code for the state reason.
	Code *string `type:"string" enum:"TransitGatewayRegistrationState"`

	// The message for the state reason.
	Message *string `type:"string"`
	// contains filtered or unexported fields
}

Describes the status of a transit gateway registration.

func (TransitGatewayRegistrationStateReason) GoString

GoString returns the string representation

func (*TransitGatewayRegistrationStateReason) SetCode

SetCode sets the Code field's value.

func (*TransitGatewayRegistrationStateReason) SetMessage

SetMessage sets the Message field's value.

func (TransitGatewayRegistrationStateReason) String

String returns the string representation

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// The tag keys to remove from the specified resource.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateConnectionInput added in v1.36.6

type UpdateConnectionInput struct {

	// The ID of the link for the second device in the connection.
	ConnectedLinkId *string `type:"string"`

	// The ID of the connection.
	//
	// ConnectionId is a required field
	ConnectionId *string `location:"uri" locationName:"connectionId" type:"string" required:"true"`

	// A description of the connection.
	//
	// Length Constraints: Maximum length of 256 characters.
	Description *string `type:"string"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The ID of the link for the first device in the connection.
	LinkId *string `type:"string"`
	// contains filtered or unexported fields
}

func (UpdateConnectionInput) GoString added in v1.36.6

func (s UpdateConnectionInput) GoString() string

GoString returns the string representation

func (*UpdateConnectionInput) SetConnectedLinkId added in v1.36.6

func (s *UpdateConnectionInput) SetConnectedLinkId(v string) *UpdateConnectionInput

SetConnectedLinkId sets the ConnectedLinkId field's value.

func (*UpdateConnectionInput) SetConnectionId added in v1.36.6

func (s *UpdateConnectionInput) SetConnectionId(v string) *UpdateConnectionInput

SetConnectionId sets the ConnectionId field's value.

func (*UpdateConnectionInput) SetDescription added in v1.36.6

func (s *UpdateConnectionInput) SetDescription(v string) *UpdateConnectionInput

SetDescription sets the Description field's value.

func (*UpdateConnectionInput) SetGlobalNetworkId added in v1.36.6

func (s *UpdateConnectionInput) SetGlobalNetworkId(v string) *UpdateConnectionInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*UpdateConnectionInput) SetLinkId added in v1.36.6

SetLinkId sets the LinkId field's value.

func (UpdateConnectionInput) String added in v1.36.6

func (s UpdateConnectionInput) String() string

String returns the string representation

func (*UpdateConnectionInput) Validate added in v1.36.6

func (s *UpdateConnectionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateConnectionOutput added in v1.36.6

type UpdateConnectionOutput struct {

	// Information about the connection.
	Connection *Connection `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateConnectionOutput) GoString added in v1.36.6

func (s UpdateConnectionOutput) GoString() string

GoString returns the string representation

func (*UpdateConnectionOutput) SetConnection added in v1.36.6

SetConnection sets the Connection field's value.

func (UpdateConnectionOutput) String added in v1.36.6

func (s UpdateConnectionOutput) String() string

String returns the string representation

type UpdateDeviceInput

type UpdateDeviceInput struct {

	// The AWS location of the device.
	AWSLocation *AWSLocation `type:"structure"`

	// A description of the device.
	//
	// Length Constraints: Maximum length of 256 characters.
	Description *string `type:"string"`

	// The ID of the device.
	//
	// DeviceId is a required field
	DeviceId *string `location:"uri" locationName:"deviceId" type:"string" required:"true"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// Describes a location.
	Location *Location `type:"structure" sensitive:"true"`

	// The model of the device.
	//
	// Length Constraints: Maximum length of 128 characters.
	Model *string `type:"string"`

	// The serial number of the device.
	//
	// Length Constraints: Maximum length of 128 characters.
	SerialNumber *string `type:"string"`

	// The ID of the site.
	SiteId *string `type:"string"`

	// The type of the device.
	Type *string `type:"string"`

	// The vendor of the device.
	//
	// Length Constraints: Maximum length of 128 characters.
	Vendor *string `type:"string"`
	// contains filtered or unexported fields
}

func (UpdateDeviceInput) GoString

func (s UpdateDeviceInput) GoString() string

GoString returns the string representation

func (*UpdateDeviceInput) SetAWSLocation added in v1.36.6

func (s *UpdateDeviceInput) SetAWSLocation(v *AWSLocation) *UpdateDeviceInput

SetAWSLocation sets the AWSLocation field's value.

func (*UpdateDeviceInput) SetDescription

func (s *UpdateDeviceInput) SetDescription(v string) *UpdateDeviceInput

SetDescription sets the Description field's value.

func (*UpdateDeviceInput) SetDeviceId

func (s *UpdateDeviceInput) SetDeviceId(v string) *UpdateDeviceInput

SetDeviceId sets the DeviceId field's value.

func (*UpdateDeviceInput) SetGlobalNetworkId

func (s *UpdateDeviceInput) SetGlobalNetworkId(v string) *UpdateDeviceInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*UpdateDeviceInput) SetLocation

func (s *UpdateDeviceInput) SetLocation(v *Location) *UpdateDeviceInput

SetLocation sets the Location field's value.

func (*UpdateDeviceInput) SetModel

func (s *UpdateDeviceInput) SetModel(v string) *UpdateDeviceInput

SetModel sets the Model field's value.

func (*UpdateDeviceInput) SetSerialNumber

func (s *UpdateDeviceInput) SetSerialNumber(v string) *UpdateDeviceInput

SetSerialNumber sets the SerialNumber field's value.

func (*UpdateDeviceInput) SetSiteId

func (s *UpdateDeviceInput) SetSiteId(v string) *UpdateDeviceInput

SetSiteId sets the SiteId field's value.

func (*UpdateDeviceInput) SetType

SetType sets the Type field's value.

func (*UpdateDeviceInput) SetVendor

func (s *UpdateDeviceInput) SetVendor(v string) *UpdateDeviceInput

SetVendor sets the Vendor field's value.

func (UpdateDeviceInput) String

func (s UpdateDeviceInput) String() string

String returns the string representation

func (*UpdateDeviceInput) Validate

func (s *UpdateDeviceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDeviceOutput

type UpdateDeviceOutput struct {

	// Information about the device.
	Device *Device `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateDeviceOutput) GoString

func (s UpdateDeviceOutput) GoString() string

GoString returns the string representation

func (*UpdateDeviceOutput) SetDevice

func (s *UpdateDeviceOutput) SetDevice(v *Device) *UpdateDeviceOutput

SetDevice sets the Device field's value.

func (UpdateDeviceOutput) String

func (s UpdateDeviceOutput) String() string

String returns the string representation

type UpdateGlobalNetworkInput

type UpdateGlobalNetworkInput struct {

	// A description of the global network.
	//
	// Length Constraints: Maximum length of 256 characters.
	Description *string `type:"string"`

	// The ID of your global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateGlobalNetworkInput) GoString

func (s UpdateGlobalNetworkInput) GoString() string

GoString returns the string representation

func (*UpdateGlobalNetworkInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateGlobalNetworkInput) SetGlobalNetworkId

func (s *UpdateGlobalNetworkInput) SetGlobalNetworkId(v string) *UpdateGlobalNetworkInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (UpdateGlobalNetworkInput) String

func (s UpdateGlobalNetworkInput) String() string

String returns the string representation

func (*UpdateGlobalNetworkInput) Validate

func (s *UpdateGlobalNetworkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateGlobalNetworkOutput

type UpdateGlobalNetworkOutput struct {

	// Information about the global network object.
	GlobalNetwork *GlobalNetwork `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateGlobalNetworkOutput) GoString

func (s UpdateGlobalNetworkOutput) GoString() string

GoString returns the string representation

func (*UpdateGlobalNetworkOutput) SetGlobalNetwork

SetGlobalNetwork sets the GlobalNetwork field's value.

func (UpdateGlobalNetworkOutput) String

func (s UpdateGlobalNetworkOutput) String() string

String returns the string representation

type UpdateLinkInput

type UpdateLinkInput struct {

	// The upload and download speed in Mbps.
	Bandwidth *Bandwidth `type:"structure"`

	// A description of the link.
	//
	// Length Constraints: Maximum length of 256 characters.
	Description *string `type:"string"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The ID of the link.
	//
	// LinkId is a required field
	LinkId *string `location:"uri" locationName:"linkId" type:"string" required:"true"`

	// The provider of the link.
	//
	// Length Constraints: Maximum length of 128 characters.
	Provider *string `type:"string"`

	// The type of the link.
	//
	// Length Constraints: Maximum length of 128 characters.
	Type *string `type:"string"`
	// contains filtered or unexported fields
}

func (UpdateLinkInput) GoString

func (s UpdateLinkInput) GoString() string

GoString returns the string representation

func (*UpdateLinkInput) SetBandwidth

func (s *UpdateLinkInput) SetBandwidth(v *Bandwidth) *UpdateLinkInput

SetBandwidth sets the Bandwidth field's value.

func (*UpdateLinkInput) SetDescription

func (s *UpdateLinkInput) SetDescription(v string) *UpdateLinkInput

SetDescription sets the Description field's value.

func (*UpdateLinkInput) SetGlobalNetworkId

func (s *UpdateLinkInput) SetGlobalNetworkId(v string) *UpdateLinkInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*UpdateLinkInput) SetLinkId

func (s *UpdateLinkInput) SetLinkId(v string) *UpdateLinkInput

SetLinkId sets the LinkId field's value.

func (*UpdateLinkInput) SetProvider

func (s *UpdateLinkInput) SetProvider(v string) *UpdateLinkInput

SetProvider sets the Provider field's value.

func (*UpdateLinkInput) SetType

func (s *UpdateLinkInput) SetType(v string) *UpdateLinkInput

SetType sets the Type field's value.

func (UpdateLinkInput) String

func (s UpdateLinkInput) String() string

String returns the string representation

func (*UpdateLinkInput) Validate

func (s *UpdateLinkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateLinkOutput

type UpdateLinkOutput struct {

	// Information about the link.
	Link *Link `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateLinkOutput) GoString

func (s UpdateLinkOutput) GoString() string

GoString returns the string representation

func (s *UpdateLinkOutput) SetLink(v *Link) *UpdateLinkOutput

SetLink sets the Link field's value.

func (UpdateLinkOutput) String

func (s UpdateLinkOutput) String() string

String returns the string representation

type UpdateSiteInput

type UpdateSiteInput struct {

	// A description of your site.
	//
	// Length Constraints: Maximum length of 256 characters.
	Description *string `type:"string"`

	// The ID of the global network.
	//
	// GlobalNetworkId is a required field
	GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"`

	// The site location:
	//
	//    * Address: The physical address of the site.
	//
	//    * Latitude: The latitude of the site.
	//
	//    * Longitude: The longitude of the site.
	Location *Location `type:"structure" sensitive:"true"`

	// The ID of your site.
	//
	// SiteId is a required field
	SiteId *string `location:"uri" locationName:"siteId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateSiteInput) GoString

func (s UpdateSiteInput) GoString() string

GoString returns the string representation

func (*UpdateSiteInput) SetDescription

func (s *UpdateSiteInput) SetDescription(v string) *UpdateSiteInput

SetDescription sets the Description field's value.

func (*UpdateSiteInput) SetGlobalNetworkId

func (s *UpdateSiteInput) SetGlobalNetworkId(v string) *UpdateSiteInput

SetGlobalNetworkId sets the GlobalNetworkId field's value.

func (*UpdateSiteInput) SetLocation

func (s *UpdateSiteInput) SetLocation(v *Location) *UpdateSiteInput

SetLocation sets the Location field's value.

func (*UpdateSiteInput) SetSiteId

func (s *UpdateSiteInput) SetSiteId(v string) *UpdateSiteInput

SetSiteId sets the SiteId field's value.

func (UpdateSiteInput) String

func (s UpdateSiteInput) String() string

String returns the string representation

func (*UpdateSiteInput) Validate

func (s *UpdateSiteInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateSiteOutput

type UpdateSiteOutput struct {

	// Information about the site.
	Site *Site `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateSiteOutput) GoString

func (s UpdateSiteOutput) GoString() string

GoString returns the string representation

func (*UpdateSiteOutput) SetSite

func (s *UpdateSiteOutput) SetSite(v *Site) *UpdateSiteOutput

SetSite sets the Site field's value.

func (UpdateSiteOutput) String

func (s UpdateSiteOutput) String() string

String returns the string representation

type ValidationException added in v1.28.0

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The fields that caused the error, if applicable.
	Fields []*ValidationExceptionField `type:"list"`

	Message_ *string `locationName:"Message" type:"string"`

	// The reason for the error.
	Reason *string `type:"string" enum:"ValidationExceptionReason"`
	// contains filtered or unexported fields
}

The input fails to satisfy the constraints.

func (*ValidationException) Code added in v1.28.0

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error added in v1.28.0

func (s *ValidationException) Error() string

func (ValidationException) GoString added in v1.28.0

func (s ValidationException) GoString() string

GoString returns the string representation

func (*ValidationException) Message added in v1.28.0

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr added in v1.28.0

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID added in v1.28.0

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode added in v1.28.0

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String added in v1.28.0

func (s ValidationException) String() string

String returns the string representation

type ValidationExceptionField

type ValidationExceptionField struct {

	// The message for the field.
	//
	// Message is a required field
	Message *string `type:"string" required:"true"`

	// The name of the field.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes a validation exception for a field.

func (ValidationExceptionField) GoString

func (s ValidationExceptionField) GoString() string

GoString returns the string representation

func (*ValidationExceptionField) SetMessage

SetMessage sets the Message field's value.

func (*ValidationExceptionField) SetName

SetName sets the Name field's value.

func (ValidationExceptionField) String

func (s ValidationExceptionField) String() string

String returns the string representation

Directories

Path Synopsis
Package networkmanageriface provides an interface to enable mocking the AWS Network Manager service client for testing your code.
Package networkmanageriface provides an interface to enable mocking the AWS Network Manager service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL