Documentation ¶
Overview ¶
Package networkmanager provides the client and types for making API requests to NetworkManager.
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.
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 use NetworkManager 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 NetworkManager client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/networkmanager/#New
Index ¶
- Constants
- type AssociateCustomerGatewayInput
- type AssociateCustomerGatewayOutput
- type AssociateCustomerGatewayRequest
- type AssociateCustomerGatewayResponse
- type AssociateLinkInput
- type AssociateLinkOutput
- type AssociateLinkRequest
- type AssociateLinkResponse
- type Bandwidth
- type Client
- func (c *Client) AssociateCustomerGatewayRequest(input *AssociateCustomerGatewayInput) AssociateCustomerGatewayRequest
- func (c *Client) AssociateLinkRequest(input *AssociateLinkInput) AssociateLinkRequest
- func (c *Client) CreateDeviceRequest(input *CreateDeviceInput) CreateDeviceRequest
- func (c *Client) CreateGlobalNetworkRequest(input *CreateGlobalNetworkInput) CreateGlobalNetworkRequest
- func (c *Client) CreateLinkRequest(input *CreateLinkInput) CreateLinkRequest
- func (c *Client) CreateSiteRequest(input *CreateSiteInput) CreateSiteRequest
- func (c *Client) DeleteDeviceRequest(input *DeleteDeviceInput) DeleteDeviceRequest
- func (c *Client) DeleteGlobalNetworkRequest(input *DeleteGlobalNetworkInput) DeleteGlobalNetworkRequest
- func (c *Client) DeleteLinkRequest(input *DeleteLinkInput) DeleteLinkRequest
- func (c *Client) DeleteSiteRequest(input *DeleteSiteInput) DeleteSiteRequest
- func (c *Client) DeregisterTransitGatewayRequest(input *DeregisterTransitGatewayInput) DeregisterTransitGatewayRequest
- func (c *Client) DescribeGlobalNetworksRequest(input *DescribeGlobalNetworksInput) DescribeGlobalNetworksRequest
- func (c *Client) DisassociateCustomerGatewayRequest(input *DisassociateCustomerGatewayInput) DisassociateCustomerGatewayRequest
- func (c *Client) DisassociateLinkRequest(input *DisassociateLinkInput) DisassociateLinkRequest
- func (c *Client) GetCustomerGatewayAssociationsRequest(input *GetCustomerGatewayAssociationsInput) GetCustomerGatewayAssociationsRequest
- func (c *Client) GetDevicesRequest(input *GetDevicesInput) GetDevicesRequest
- func (c *Client) GetLinkAssociationsRequest(input *GetLinkAssociationsInput) GetLinkAssociationsRequest
- func (c *Client) GetLinksRequest(input *GetLinksInput) GetLinksRequest
- func (c *Client) GetSitesRequest(input *GetSitesInput) GetSitesRequest
- func (c *Client) GetTransitGatewayRegistrationsRequest(input *GetTransitGatewayRegistrationsInput) GetTransitGatewayRegistrationsRequest
- func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *Client) RegisterTransitGatewayRequest(input *RegisterTransitGatewayInput) RegisterTransitGatewayRequest
- func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *Client) UpdateDeviceRequest(input *UpdateDeviceInput) UpdateDeviceRequest
- func (c *Client) UpdateGlobalNetworkRequest(input *UpdateGlobalNetworkInput) UpdateGlobalNetworkRequest
- func (c *Client) UpdateLinkRequest(input *UpdateLinkInput) UpdateLinkRequest
- func (c *Client) UpdateSiteRequest(input *UpdateSiteInput) UpdateSiteRequest
- type CreateDeviceInput
- type CreateDeviceOutput
- type CreateDeviceRequest
- type CreateDeviceResponse
- type CreateGlobalNetworkInput
- type CreateGlobalNetworkOutput
- type CreateGlobalNetworkRequest
- type CreateGlobalNetworkResponse
- type CreateLinkInput
- type CreateLinkOutput
- type CreateLinkRequest
- type CreateLinkResponse
- type CreateSiteInput
- type CreateSiteOutput
- type CreateSiteRequest
- type CreateSiteResponse
- type CustomerGatewayAssociation
- type CustomerGatewayAssociationState
- type DeleteDeviceInput
- type DeleteDeviceOutput
- type DeleteDeviceRequest
- type DeleteDeviceResponse
- type DeleteGlobalNetworkInput
- type DeleteGlobalNetworkOutput
- type DeleteGlobalNetworkRequest
- type DeleteGlobalNetworkResponse
- type DeleteLinkInput
- type DeleteLinkOutput
- type DeleteLinkRequest
- type DeleteLinkResponse
- type DeleteSiteInput
- type DeleteSiteOutput
- type DeleteSiteRequest
- type DeleteSiteResponse
- type DeregisterTransitGatewayInput
- type DeregisterTransitGatewayOutput
- type DeregisterTransitGatewayRequest
- type DeregisterTransitGatewayResponse
- type DescribeGlobalNetworksInput
- type DescribeGlobalNetworksOutput
- type DescribeGlobalNetworksPaginator
- type DescribeGlobalNetworksRequest
- type DescribeGlobalNetworksResponse
- type Device
- type DeviceState
- type DisassociateCustomerGatewayInput
- type DisassociateCustomerGatewayOutput
- type DisassociateCustomerGatewayRequest
- type DisassociateCustomerGatewayResponse
- type DisassociateLinkInput
- type DisassociateLinkOutput
- type DisassociateLinkRequest
- type DisassociateLinkResponse
- type GetCustomerGatewayAssociationsInput
- type GetCustomerGatewayAssociationsOutput
- type GetCustomerGatewayAssociationsPaginator
- type GetCustomerGatewayAssociationsRequest
- type GetCustomerGatewayAssociationsResponse
- type GetDevicesInput
- type GetDevicesOutput
- type GetDevicesPaginator
- type GetDevicesRequest
- type GetDevicesResponse
- type GetLinkAssociationsInput
- type GetLinkAssociationsOutput
- type GetLinkAssociationsPaginator
- type GetLinkAssociationsRequest
- type GetLinkAssociationsResponse
- type GetLinksInput
- type GetLinksOutput
- type GetLinksPaginator
- type GetLinksRequest
- type GetLinksResponse
- type GetSitesInput
- type GetSitesOutput
- type GetSitesPaginator
- type GetSitesRequest
- type GetSitesResponse
- type GetTransitGatewayRegistrationsInput
- type GetTransitGatewayRegistrationsOutput
- type GetTransitGatewayRegistrationsPaginator
- type GetTransitGatewayRegistrationsRequest
- type GetTransitGatewayRegistrationsResponse
- type GlobalNetwork
- type GlobalNetworkState
- type Link
- type LinkAssociation
- type LinkAssociationState
- type LinkState
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- type Location
- type RegisterTransitGatewayInput
- type RegisterTransitGatewayOutput
- type RegisterTransitGatewayRequest
- type RegisterTransitGatewayResponse
- type Site
- type SiteState
- type Tag
- type TagResourceInput
- type TagResourceOutput
- type TagResourceRequest
- type TagResourceResponse
- type TransitGatewayRegistration
- type TransitGatewayRegistrationState
- type TransitGatewayRegistrationStateReason
- type UntagResourceInput
- type UntagResourceOutput
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateDeviceInput
- type UpdateDeviceOutput
- type UpdateDeviceRequest
- type UpdateDeviceResponse
- type UpdateGlobalNetworkInput
- type UpdateGlobalNetworkOutput
- type UpdateGlobalNetworkRequest
- type UpdateGlobalNetworkResponse
- type UpdateLinkInput
- type UpdateLinkOutput
- type UpdateLinkRequest
- type UpdateLinkResponse
- type UpdateSiteInput
- type UpdateSiteOutput
- type UpdateSiteRequest
- type UpdateSiteResponse
- type ValidationExceptionField
- type ValidationExceptionReason
Constants ¶
const ( ServiceName = "NetworkManager" // Service's name ServiceID = "NetworkManager" // Service's identifier EndpointsID = "networkmanager" // Service's Endpoint identifier )
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" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) MarshalFields ¶
func (s AssociateCustomerGatewayInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AssociateCustomerGatewayInput) String ¶
func (s AssociateCustomerGatewayInput) String() 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) MarshalFields ¶
func (s AssociateCustomerGatewayOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AssociateCustomerGatewayOutput) String ¶
func (s AssociateCustomerGatewayOutput) String() string
String returns the string representation
type AssociateCustomerGatewayRequest ¶
type AssociateCustomerGatewayRequest struct { *aws.Request Input *AssociateCustomerGatewayInput Copy func(*AssociateCustomerGatewayInput) AssociateCustomerGatewayRequest }
AssociateCustomerGatewayRequest is the request type for the AssociateCustomerGateway API operation.
func (AssociateCustomerGatewayRequest) Send ¶
func (r AssociateCustomerGatewayRequest) Send(ctx context.Context) (*AssociateCustomerGatewayResponse, error)
Send marshals and sends the AssociateCustomerGateway API request.
type AssociateCustomerGatewayResponse ¶
type AssociateCustomerGatewayResponse struct { *AssociateCustomerGatewayOutput // contains filtered or unexported fields }
AssociateCustomerGatewayResponse is the response type for the AssociateCustomerGateway API operation.
func (*AssociateCustomerGatewayResponse) SDKResponseMetdata ¶
func (r *AssociateCustomerGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssociateCustomerGateway request.
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) MarshalFields ¶
func (s AssociateLinkInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s AssociateLinkOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AssociateLinkOutput) String ¶
func (s AssociateLinkOutput) String() string
String returns the string representation
type AssociateLinkRequest ¶
type AssociateLinkRequest struct { *aws.Request Input *AssociateLinkInput Copy func(*AssociateLinkInput) AssociateLinkRequest }
AssociateLinkRequest is the request type for the AssociateLink API operation.
func (AssociateLinkRequest) Send ¶
func (r AssociateLinkRequest) Send(ctx context.Context) (*AssociateLinkResponse, error)
Send marshals and sends the AssociateLink API request.
type AssociateLinkResponse ¶
type AssociateLinkResponse struct { *AssociateLinkOutput // contains filtered or unexported fields }
AssociateLinkResponse is the response type for the AssociateLink API operation.
func (*AssociateLinkResponse) SDKResponseMetdata ¶
func (r *AssociateLinkResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssociateLink request.
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) MarshalFields ¶
func (s Bandwidth) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type Client ¶
Client provides the API operation methods for making requests to NetworkManager. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := networkmanager.New(myConfig)
func (*Client) AssociateCustomerGatewayRequest ¶
func (c *Client) AssociateCustomerGatewayRequest(input *AssociateCustomerGatewayInput) AssociateCustomerGatewayRequest
AssociateCustomerGatewayRequest returns a request value for making 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.
// Example sending a request using AssociateCustomerGatewayRequest. req := client.AssociateCustomerGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateCustomerGateway
func (*Client) AssociateLinkRequest ¶
func (c *Client) AssociateLinkRequest(input *AssociateLinkInput) AssociateLinkRequest
AssociateLinkRequest returns a request value for making 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.
// Example sending a request using AssociateLinkRequest. req := client.AssociateLinkRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateLink
func (*Client) CreateDeviceRequest ¶
func (c *Client) CreateDeviceRequest(input *CreateDeviceInput) CreateDeviceRequest
CreateDeviceRequest returns a request value for making 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.
// Example sending a request using CreateDeviceRequest. req := client.CreateDeviceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateDevice
func (*Client) CreateGlobalNetworkRequest ¶
func (c *Client) CreateGlobalNetworkRequest(input *CreateGlobalNetworkInput) CreateGlobalNetworkRequest
CreateGlobalNetworkRequest returns a request value for making API operation for AWS Network Manager.
Creates a new, empty global network.
// Example sending a request using CreateGlobalNetworkRequest. req := client.CreateGlobalNetworkRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateGlobalNetwork
func (*Client) CreateLinkRequest ¶
func (c *Client) CreateLinkRequest(input *CreateLinkInput) CreateLinkRequest
CreateLinkRequest returns a request value for making API operation for AWS Network Manager.
Creates a new link for a specified site.
// Example sending a request using CreateLinkRequest. req := client.CreateLinkRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateLink
func (*Client) CreateSiteRequest ¶
func (c *Client) CreateSiteRequest(input *CreateSiteInput) CreateSiteRequest
CreateSiteRequest returns a request value for making API operation for AWS Network Manager.
Creates a new site in a global network.
// Example sending a request using CreateSiteRequest. req := client.CreateSiteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateSite
func (*Client) DeleteDeviceRequest ¶
func (c *Client) DeleteDeviceRequest(input *DeleteDeviceInput) DeleteDeviceRequest
DeleteDeviceRequest returns a request value for making API operation for AWS Network Manager.
Deletes an existing device. You must first disassociate the device from any links and customer gateways.
// Example sending a request using DeleteDeviceRequest. req := client.DeleteDeviceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteDevice
func (*Client) DeleteGlobalNetworkRequest ¶
func (c *Client) DeleteGlobalNetworkRequest(input *DeleteGlobalNetworkInput) DeleteGlobalNetworkRequest
DeleteGlobalNetworkRequest returns a request value for making 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.
// Example sending a request using DeleteGlobalNetworkRequest. req := client.DeleteGlobalNetworkRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteGlobalNetwork
func (*Client) DeleteLinkRequest ¶
func (c *Client) DeleteLinkRequest(input *DeleteLinkInput) DeleteLinkRequest
DeleteLinkRequest returns a request value for making API operation for AWS Network Manager.
Deletes an existing link. You must first disassociate the link from any devices and customer gateways.
// Example sending a request using DeleteLinkRequest. req := client.DeleteLinkRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteLink
func (*Client) DeleteSiteRequest ¶
func (c *Client) DeleteSiteRequest(input *DeleteSiteInput) DeleteSiteRequest
DeleteSiteRequest returns a request value for making API operation for AWS Network Manager.
Deletes an existing site. The site cannot be associated with any device or link.
// Example sending a request using DeleteSiteRequest. req := client.DeleteSiteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteSite
func (*Client) DeregisterTransitGatewayRequest ¶
func (c *Client) DeregisterTransitGatewayRequest(input *DeregisterTransitGatewayInput) DeregisterTransitGatewayRequest
DeregisterTransitGatewayRequest returns a request value for making 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.
// Example sending a request using DeregisterTransitGatewayRequest. req := client.DeregisterTransitGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeregisterTransitGateway
func (*Client) DescribeGlobalNetworksRequest ¶
func (c *Client) DescribeGlobalNetworksRequest(input *DescribeGlobalNetworksInput) DescribeGlobalNetworksRequest
DescribeGlobalNetworksRequest returns a request value for making 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.
// Example sending a request using DescribeGlobalNetworksRequest. req := client.DescribeGlobalNetworksRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DescribeGlobalNetworks
func (*Client) DisassociateCustomerGatewayRequest ¶
func (c *Client) DisassociateCustomerGatewayRequest(input *DisassociateCustomerGatewayInput) DisassociateCustomerGatewayRequest
DisassociateCustomerGatewayRequest returns a request value for making API operation for AWS Network Manager.
Disassociates a customer gateway from a device and a link.
// Example sending a request using DisassociateCustomerGatewayRequest. req := client.DisassociateCustomerGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateCustomerGateway
func (*Client) DisassociateLinkRequest ¶
func (c *Client) DisassociateLinkRequest(input *DisassociateLinkInput) DisassociateLinkRequest
DisassociateLinkRequest returns a request value for making 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.
// Example sending a request using DisassociateLinkRequest. req := client.DisassociateLinkRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateLink
func (*Client) GetCustomerGatewayAssociationsRequest ¶
func (c *Client) GetCustomerGatewayAssociationsRequest(input *GetCustomerGatewayAssociationsInput) GetCustomerGatewayAssociationsRequest
GetCustomerGatewayAssociationsRequest returns a request value for making API operation for AWS Network Manager.
Gets the association information for customer gateways that are associated with devices and links in your global network.
// Example sending a request using GetCustomerGatewayAssociationsRequest. req := client.GetCustomerGatewayAssociationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCustomerGatewayAssociations
func (*Client) GetDevicesRequest ¶
func (c *Client) GetDevicesRequest(input *GetDevicesInput) GetDevicesRequest
GetDevicesRequest returns a request value for making API operation for AWS Network Manager.
Gets information about one or more of your devices in a global network.
// Example sending a request using GetDevicesRequest. req := client.GetDevicesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetDevices
func (*Client) GetLinkAssociationsRequest ¶
func (c *Client) GetLinkAssociationsRequest(input *GetLinkAssociationsInput) GetLinkAssociationsRequest
GetLinkAssociationsRequest returns a request value for making 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.
// Example sending a request using GetLinkAssociationsRequest. req := client.GetLinkAssociationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetLinkAssociations
func (*Client) GetLinksRequest ¶
func (c *Client) GetLinksRequest(input *GetLinksInput) GetLinksRequest
GetLinksRequest returns a request value for making 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.
// Example sending a request using GetLinksRequest. req := client.GetLinksRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetLinks
func (*Client) GetSitesRequest ¶
func (c *Client) GetSitesRequest(input *GetSitesInput) GetSitesRequest
GetSitesRequest returns a request value for making API operation for AWS Network Manager.
Gets information about one or more of your sites in a global network.
// Example sending a request using GetSitesRequest. req := client.GetSitesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetSites
func (*Client) GetTransitGatewayRegistrationsRequest ¶
func (c *Client) GetTransitGatewayRegistrationsRequest(input *GetTransitGatewayRegistrationsInput) GetTransitGatewayRegistrationsRequest
GetTransitGatewayRegistrationsRequest returns a request value for making API operation for AWS Network Manager.
Gets information about the transit gateway registrations in a specified global network.
// Example sending a request using GetTransitGatewayRegistrationsRequest. req := client.GetTransitGatewayRegistrationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayRegistrations
func (*Client) ListTagsForResourceRequest ¶
func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
ListTagsForResourceRequest returns a request value for making API operation for AWS Network Manager.
Lists the tags for a specified resource.
// Example sending a request using ListTagsForResourceRequest. req := client.ListTagsForResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListTagsForResource
func (*Client) RegisterTransitGatewayRequest ¶
func (c *Client) RegisterTransitGatewayRequest(input *RegisterTransitGatewayInput) RegisterTransitGatewayRequest
RegisterTransitGatewayRequest returns a request value for making 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.
// Example sending a request using RegisterTransitGatewayRequest. req := client.RegisterTransitGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RegisterTransitGateway
func (*Client) TagResourceRequest ¶
func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
TagResourceRequest returns a request value for making API operation for AWS Network Manager.
Tags a specified resource.
// Example sending a request using TagResourceRequest. req := client.TagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/TagResource
func (*Client) UntagResourceRequest ¶
func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
UntagResourceRequest returns a request value for making API operation for AWS Network Manager.
Removes tags from a specified resource.
// Example sending a request using UntagResourceRequest. req := client.UntagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UntagResource
func (*Client) UpdateDeviceRequest ¶
func (c *Client) UpdateDeviceRequest(input *UpdateDeviceInput) UpdateDeviceRequest
UpdateDeviceRequest returns a request value for making 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.
// Example sending a request using UpdateDeviceRequest. req := client.UpdateDeviceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateDevice
func (*Client) UpdateGlobalNetworkRequest ¶
func (c *Client) UpdateGlobalNetworkRequest(input *UpdateGlobalNetworkInput) UpdateGlobalNetworkRequest
UpdateGlobalNetworkRequest returns a request value for making API operation for AWS Network Manager.
Updates an existing global network. To remove information for any of the parameters, specify an empty string.
// Example sending a request using UpdateGlobalNetworkRequest. req := client.UpdateGlobalNetworkRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateGlobalNetwork
func (*Client) UpdateLinkRequest ¶
func (c *Client) UpdateLinkRequest(input *UpdateLinkInput) UpdateLinkRequest
UpdateLinkRequest returns a request value for making 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.
// Example sending a request using UpdateLinkRequest. req := client.UpdateLinkRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateLink
func (*Client) UpdateSiteRequest ¶
func (c *Client) UpdateSiteRequest(input *UpdateSiteInput) UpdateSiteRequest
UpdateSiteRequest returns a request value for making 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.
// Example sending a request using UpdateSiteRequest. req := client.UpdateSiteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateSite
type CreateDeviceInput ¶
type CreateDeviceInput struct { // 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"` // 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) MarshalFields ¶
func (s CreateDeviceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s CreateDeviceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDeviceOutput) String ¶
func (s CreateDeviceOutput) String() string
String returns the string representation
type CreateDeviceRequest ¶
type CreateDeviceRequest struct { *aws.Request Input *CreateDeviceInput Copy func(*CreateDeviceInput) CreateDeviceRequest }
CreateDeviceRequest is the request type for the CreateDevice API operation.
func (CreateDeviceRequest) Send ¶
func (r CreateDeviceRequest) Send(ctx context.Context) (*CreateDeviceResponse, error)
Send marshals and sends the CreateDevice API request.
type CreateDeviceResponse ¶
type CreateDeviceResponse struct { *CreateDeviceOutput // contains filtered or unexported fields }
CreateDeviceResponse is the response type for the CreateDevice API operation.
func (*CreateDeviceResponse) SDKResponseMetdata ¶
func (r *CreateDeviceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateDevice request.
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) MarshalFields ¶
func (s CreateGlobalNetworkInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s CreateGlobalNetworkOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateGlobalNetworkOutput) String ¶
func (s CreateGlobalNetworkOutput) String() string
String returns the string representation
type CreateGlobalNetworkRequest ¶
type CreateGlobalNetworkRequest struct { *aws.Request Input *CreateGlobalNetworkInput Copy func(*CreateGlobalNetworkInput) CreateGlobalNetworkRequest }
CreateGlobalNetworkRequest is the request type for the CreateGlobalNetwork API operation.
func (CreateGlobalNetworkRequest) Send ¶
func (r CreateGlobalNetworkRequest) Send(ctx context.Context) (*CreateGlobalNetworkResponse, error)
Send marshals and sends the CreateGlobalNetwork API request.
type CreateGlobalNetworkResponse ¶
type CreateGlobalNetworkResponse struct { *CreateGlobalNetworkOutput // contains filtered or unexported fields }
CreateGlobalNetworkResponse is the response type for the CreateGlobalNetwork API operation.
func (*CreateGlobalNetworkResponse) SDKResponseMetdata ¶
func (r *CreateGlobalNetworkResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateGlobalNetwork request.
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) MarshalFields ¶
func (s CreateLinkInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s CreateLinkOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateLinkOutput) String ¶
func (s CreateLinkOutput) String() string
String returns the string representation
type CreateLinkRequest ¶
type CreateLinkRequest struct { *aws.Request Input *CreateLinkInput Copy func(*CreateLinkInput) CreateLinkRequest }
CreateLinkRequest is the request type for the CreateLink API operation.
func (CreateLinkRequest) Send ¶
func (r CreateLinkRequest) Send(ctx context.Context) (*CreateLinkResponse, error)
Send marshals and sends the CreateLink API request.
type CreateLinkResponse ¶
type CreateLinkResponse struct { *CreateLinkOutput // contains filtered or unexported fields }
CreateLinkResponse is the response type for the CreateLink API operation.
func (*CreateLinkResponse) SDKResponseMetdata ¶
func (r *CreateLinkResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateLink request.
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"` // The tags to apply to the resource during creation. Tags []Tag `type:"list"` // contains filtered or unexported fields }
func (CreateSiteInput) MarshalFields ¶
func (s CreateSiteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s CreateSiteOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateSiteOutput) String ¶
func (s CreateSiteOutput) String() string
String returns the string representation
type CreateSiteRequest ¶
type CreateSiteRequest struct { *aws.Request Input *CreateSiteInput Copy func(*CreateSiteInput) CreateSiteRequest }
CreateSiteRequest is the request type for the CreateSite API operation.
func (CreateSiteRequest) Send ¶
func (r CreateSiteRequest) Send(ctx context.Context) (*CreateSiteResponse, error)
Send marshals and sends the CreateSite API request.
type CreateSiteResponse ¶
type CreateSiteResponse struct { *CreateSiteOutput // contains filtered or unexported fields }
CreateSiteResponse is the response type for the CreateSite API operation.
func (*CreateSiteResponse) SDKResponseMetdata ¶
func (r *CreateSiteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateSite request.
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 CustomerGatewayAssociationState `type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the association between a customer gateway, a device, and a link.
func (CustomerGatewayAssociation) MarshalFields ¶
func (s CustomerGatewayAssociation) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CustomerGatewayAssociation) String ¶
func (s CustomerGatewayAssociation) String() string
String returns the string representation
type CustomerGatewayAssociationState ¶
type CustomerGatewayAssociationState string
const ( CustomerGatewayAssociationStatePending CustomerGatewayAssociationState = "PENDING" CustomerGatewayAssociationStateAvailable CustomerGatewayAssociationState = "AVAILABLE" CustomerGatewayAssociationStateDeleting CustomerGatewayAssociationState = "DELETING" CustomerGatewayAssociationStateDeleted CustomerGatewayAssociationState = "DELETED" )
Enum values for CustomerGatewayAssociationState
func (CustomerGatewayAssociationState) MarshalValue ¶
func (enum CustomerGatewayAssociationState) MarshalValue() (string, error)
func (CustomerGatewayAssociationState) MarshalValueBuf ¶
func (enum CustomerGatewayAssociationState) MarshalValueBuf(b []byte) ([]byte, error)
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) MarshalFields ¶
func (s DeleteDeviceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s DeleteDeviceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteDeviceOutput) String ¶
func (s DeleteDeviceOutput) String() string
String returns the string representation
type DeleteDeviceRequest ¶
type DeleteDeviceRequest struct { *aws.Request Input *DeleteDeviceInput Copy func(*DeleteDeviceInput) DeleteDeviceRequest }
DeleteDeviceRequest is the request type for the DeleteDevice API operation.
func (DeleteDeviceRequest) Send ¶
func (r DeleteDeviceRequest) Send(ctx context.Context) (*DeleteDeviceResponse, error)
Send marshals and sends the DeleteDevice API request.
type DeleteDeviceResponse ¶
type DeleteDeviceResponse struct { *DeleteDeviceOutput // contains filtered or unexported fields }
DeleteDeviceResponse is the response type for the DeleteDevice API operation.
func (*DeleteDeviceResponse) SDKResponseMetdata ¶
func (r *DeleteDeviceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteDevice request.
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) MarshalFields ¶
func (s DeleteGlobalNetworkInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s DeleteGlobalNetworkOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteGlobalNetworkOutput) String ¶
func (s DeleteGlobalNetworkOutput) String() string
String returns the string representation
type DeleteGlobalNetworkRequest ¶
type DeleteGlobalNetworkRequest struct { *aws.Request Input *DeleteGlobalNetworkInput Copy func(*DeleteGlobalNetworkInput) DeleteGlobalNetworkRequest }
DeleteGlobalNetworkRequest is the request type for the DeleteGlobalNetwork API operation.
func (DeleteGlobalNetworkRequest) Send ¶
func (r DeleteGlobalNetworkRequest) Send(ctx context.Context) (*DeleteGlobalNetworkResponse, error)
Send marshals and sends the DeleteGlobalNetwork API request.
type DeleteGlobalNetworkResponse ¶
type DeleteGlobalNetworkResponse struct { *DeleteGlobalNetworkOutput // contains filtered or unexported fields }
DeleteGlobalNetworkResponse is the response type for the DeleteGlobalNetwork API operation.
func (*DeleteGlobalNetworkResponse) SDKResponseMetdata ¶
func (r *DeleteGlobalNetworkResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteGlobalNetwork request.
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) MarshalFields ¶
func (s DeleteLinkInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s DeleteLinkOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteLinkOutput) String ¶
func (s DeleteLinkOutput) String() string
String returns the string representation
type DeleteLinkRequest ¶
type DeleteLinkRequest struct { *aws.Request Input *DeleteLinkInput Copy func(*DeleteLinkInput) DeleteLinkRequest }
DeleteLinkRequest is the request type for the DeleteLink API operation.
func (DeleteLinkRequest) Send ¶
func (r DeleteLinkRequest) Send(ctx context.Context) (*DeleteLinkResponse, error)
Send marshals and sends the DeleteLink API request.
type DeleteLinkResponse ¶
type DeleteLinkResponse struct { *DeleteLinkOutput // contains filtered or unexported fields }
DeleteLinkResponse is the response type for the DeleteLink API operation.
func (*DeleteLinkResponse) SDKResponseMetdata ¶
func (r *DeleteLinkResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteLink request.
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) MarshalFields ¶
func (s DeleteSiteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s DeleteSiteOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteSiteOutput) String ¶
func (s DeleteSiteOutput) String() string
String returns the string representation
type DeleteSiteRequest ¶
type DeleteSiteRequest struct { *aws.Request Input *DeleteSiteInput Copy func(*DeleteSiteInput) DeleteSiteRequest }
DeleteSiteRequest is the request type for the DeleteSite API operation.
func (DeleteSiteRequest) Send ¶
func (r DeleteSiteRequest) Send(ctx context.Context) (*DeleteSiteResponse, error)
Send marshals and sends the DeleteSite API request.
type DeleteSiteResponse ¶
type DeleteSiteResponse struct { *DeleteSiteOutput // contains filtered or unexported fields }
DeleteSiteResponse is the response type for the DeleteSite API operation.
func (*DeleteSiteResponse) SDKResponseMetdata ¶
func (r *DeleteSiteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteSite request.
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) MarshalFields ¶
func (s DeregisterTransitGatewayInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeregisterTransitGatewayInput) String ¶
func (s DeregisterTransitGatewayInput) String() 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) MarshalFields ¶
func (s DeregisterTransitGatewayOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeregisterTransitGatewayOutput) String ¶
func (s DeregisterTransitGatewayOutput) String() string
String returns the string representation
type DeregisterTransitGatewayRequest ¶
type DeregisterTransitGatewayRequest struct { *aws.Request Input *DeregisterTransitGatewayInput Copy func(*DeregisterTransitGatewayInput) DeregisterTransitGatewayRequest }
DeregisterTransitGatewayRequest is the request type for the DeregisterTransitGateway API operation.
func (DeregisterTransitGatewayRequest) Send ¶
func (r DeregisterTransitGatewayRequest) Send(ctx context.Context) (*DeregisterTransitGatewayResponse, error)
Send marshals and sends the DeregisterTransitGateway API request.
type DeregisterTransitGatewayResponse ¶
type DeregisterTransitGatewayResponse struct { *DeregisterTransitGatewayOutput // contains filtered or unexported fields }
DeregisterTransitGatewayResponse is the response type for the DeregisterTransitGateway API operation.
func (*DeregisterTransitGatewayResponse) SDKResponseMetdata ¶
func (r *DeregisterTransitGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeregisterTransitGateway request.
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) MarshalFields ¶
func (s DescribeGlobalNetworksInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeGlobalNetworksInput) String ¶
func (s DescribeGlobalNetworksInput) String() 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) MarshalFields ¶
func (s DescribeGlobalNetworksOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeGlobalNetworksOutput) String ¶
func (s DescribeGlobalNetworksOutput) String() string
String returns the string representation
type DescribeGlobalNetworksPaginator ¶
DescribeGlobalNetworksPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeGlobalNetworksPaginator ¶
func NewDescribeGlobalNetworksPaginator(req DescribeGlobalNetworksRequest) DescribeGlobalNetworksPaginator
NewDescribeGlobalNetworksRequestPaginator returns a paginator for DescribeGlobalNetworks. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.DescribeGlobalNetworksRequest(input) p := networkmanager.NewDescribeGlobalNetworksRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeGlobalNetworksPaginator) CurrentPage ¶
func (p *DescribeGlobalNetworksPaginator) CurrentPage() *DescribeGlobalNetworksOutput
type DescribeGlobalNetworksRequest ¶
type DescribeGlobalNetworksRequest struct { *aws.Request Input *DescribeGlobalNetworksInput Copy func(*DescribeGlobalNetworksInput) DescribeGlobalNetworksRequest }
DescribeGlobalNetworksRequest is the request type for the DescribeGlobalNetworks API operation.
func (DescribeGlobalNetworksRequest) Send ¶
func (r DescribeGlobalNetworksRequest) Send(ctx context.Context) (*DescribeGlobalNetworksResponse, error)
Send marshals and sends the DescribeGlobalNetworks API request.
type DescribeGlobalNetworksResponse ¶
type DescribeGlobalNetworksResponse struct { *DescribeGlobalNetworksOutput // contains filtered or unexported fields }
DescribeGlobalNetworksResponse is the response type for the DescribeGlobalNetworks API operation.
func (*DescribeGlobalNetworksResponse) SDKResponseMetdata ¶
func (r *DescribeGlobalNetworksResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeGlobalNetworks request.
type Device ¶
type Device struct { // 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"` // 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 DeviceState `type:"string" enum:"true"` // 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) MarshalFields ¶
func (s Device) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type DeviceState ¶
type DeviceState string
const ( DeviceStatePending DeviceState = "PENDING" DeviceStateAvailable DeviceState = "AVAILABLE" DeviceStateDeleting DeviceState = "DELETING" DeviceStateUpdating DeviceState = "UPDATING" )
Enum values for DeviceState
func (DeviceState) MarshalValue ¶
func (enum DeviceState) MarshalValue() (string, error)
func (DeviceState) MarshalValueBuf ¶
func (enum DeviceState) MarshalValueBuf(b []byte) ([]byte, error)
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) MarshalFields ¶
func (s DisassociateCustomerGatewayInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DisassociateCustomerGatewayInput) String ¶
func (s DisassociateCustomerGatewayInput) String() string
String returns the string representation
func (*DisassociateCustomerGatewayInput) Validate ¶
func (s *DisassociateCustomerGatewayInput) Validate() error
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) MarshalFields ¶
func (s DisassociateCustomerGatewayOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DisassociateCustomerGatewayOutput) String ¶
func (s DisassociateCustomerGatewayOutput) String() string
String returns the string representation
type DisassociateCustomerGatewayRequest ¶
type DisassociateCustomerGatewayRequest struct { *aws.Request Input *DisassociateCustomerGatewayInput Copy func(*DisassociateCustomerGatewayInput) DisassociateCustomerGatewayRequest }
DisassociateCustomerGatewayRequest is the request type for the DisassociateCustomerGateway API operation.
func (DisassociateCustomerGatewayRequest) Send ¶
func (r DisassociateCustomerGatewayRequest) Send(ctx context.Context) (*DisassociateCustomerGatewayResponse, error)
Send marshals and sends the DisassociateCustomerGateway API request.
type DisassociateCustomerGatewayResponse ¶
type DisassociateCustomerGatewayResponse struct { *DisassociateCustomerGatewayOutput // contains filtered or unexported fields }
DisassociateCustomerGatewayResponse is the response type for the DisassociateCustomerGateway API operation.
func (*DisassociateCustomerGatewayResponse) SDKResponseMetdata ¶
func (r *DisassociateCustomerGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateCustomerGateway request.
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) MarshalFields ¶
func (s DisassociateLinkInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s DisassociateLinkOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DisassociateLinkOutput) String ¶
func (s DisassociateLinkOutput) String() string
String returns the string representation
type DisassociateLinkRequest ¶
type DisassociateLinkRequest struct { *aws.Request Input *DisassociateLinkInput Copy func(*DisassociateLinkInput) DisassociateLinkRequest }
DisassociateLinkRequest is the request type for the DisassociateLink API operation.
func (DisassociateLinkRequest) Send ¶
func (r DisassociateLinkRequest) Send(ctx context.Context) (*DisassociateLinkResponse, error)
Send marshals and sends the DisassociateLink API request.
type DisassociateLinkResponse ¶
type DisassociateLinkResponse struct { *DisassociateLinkOutput // contains filtered or unexported fields }
DisassociateLinkResponse is the response type for the DisassociateLink API operation.
func (*DisassociateLinkResponse) SDKResponseMetdata ¶
func (r *DisassociateLinkResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateLink request.
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) MarshalFields ¶
func (s GetCustomerGatewayAssociationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetCustomerGatewayAssociationsInput) String ¶
func (s GetCustomerGatewayAssociationsInput) String() string
String returns the string representation
func (*GetCustomerGatewayAssociationsInput) Validate ¶
func (s *GetCustomerGatewayAssociationsInput) Validate() error
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) MarshalFields ¶
func (s GetCustomerGatewayAssociationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetCustomerGatewayAssociationsOutput) String ¶
func (s GetCustomerGatewayAssociationsOutput) String() string
String returns the string representation
type GetCustomerGatewayAssociationsPaginator ¶
GetCustomerGatewayAssociationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetCustomerGatewayAssociationsPaginator ¶
func NewGetCustomerGatewayAssociationsPaginator(req GetCustomerGatewayAssociationsRequest) GetCustomerGatewayAssociationsPaginator
NewGetCustomerGatewayAssociationsRequestPaginator returns a paginator for GetCustomerGatewayAssociations. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetCustomerGatewayAssociationsRequest(input) p := networkmanager.NewGetCustomerGatewayAssociationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetCustomerGatewayAssociationsPaginator) CurrentPage ¶
func (p *GetCustomerGatewayAssociationsPaginator) CurrentPage() *GetCustomerGatewayAssociationsOutput
type GetCustomerGatewayAssociationsRequest ¶
type GetCustomerGatewayAssociationsRequest struct { *aws.Request Input *GetCustomerGatewayAssociationsInput Copy func(*GetCustomerGatewayAssociationsInput) GetCustomerGatewayAssociationsRequest }
GetCustomerGatewayAssociationsRequest is the request type for the GetCustomerGatewayAssociations API operation.
func (GetCustomerGatewayAssociationsRequest) Send ¶
func (r GetCustomerGatewayAssociationsRequest) Send(ctx context.Context) (*GetCustomerGatewayAssociationsResponse, error)
Send marshals and sends the GetCustomerGatewayAssociations API request.
type GetCustomerGatewayAssociationsResponse ¶
type GetCustomerGatewayAssociationsResponse struct { *GetCustomerGatewayAssociationsOutput // contains filtered or unexported fields }
GetCustomerGatewayAssociationsResponse is the response type for the GetCustomerGatewayAssociations API operation.
func (*GetCustomerGatewayAssociationsResponse) SDKResponseMetdata ¶
func (r *GetCustomerGatewayAssociationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetCustomerGatewayAssociations request.
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) MarshalFields ¶
func (s GetDevicesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s GetDevicesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetDevicesOutput) String ¶
func (s GetDevicesOutput) String() string
String returns the string representation
type GetDevicesPaginator ¶
GetDevicesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetDevicesPaginator ¶
func NewGetDevicesPaginator(req GetDevicesRequest) GetDevicesPaginator
NewGetDevicesRequestPaginator returns a paginator for GetDevices. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetDevicesRequest(input) p := networkmanager.NewGetDevicesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetDevicesPaginator) CurrentPage ¶
func (p *GetDevicesPaginator) CurrentPage() *GetDevicesOutput
type GetDevicesRequest ¶
type GetDevicesRequest struct { *aws.Request Input *GetDevicesInput Copy func(*GetDevicesInput) GetDevicesRequest }
GetDevicesRequest is the request type for the GetDevices API operation.
func (GetDevicesRequest) Send ¶
func (r GetDevicesRequest) Send(ctx context.Context) (*GetDevicesResponse, error)
Send marshals and sends the GetDevices API request.
type GetDevicesResponse ¶
type GetDevicesResponse struct { *GetDevicesOutput // contains filtered or unexported fields }
GetDevicesResponse is the response type for the GetDevices API operation.
func (*GetDevicesResponse) SDKResponseMetdata ¶
func (r *GetDevicesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDevices request.
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) MarshalFields ¶
func (s GetLinkAssociationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s GetLinkAssociationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetLinkAssociationsOutput) String ¶
func (s GetLinkAssociationsOutput) String() string
String returns the string representation
type GetLinkAssociationsPaginator ¶
GetLinkAssociationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetLinkAssociationsPaginator ¶
func NewGetLinkAssociationsPaginator(req GetLinkAssociationsRequest) GetLinkAssociationsPaginator
NewGetLinkAssociationsRequestPaginator returns a paginator for GetLinkAssociations. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetLinkAssociationsRequest(input) p := networkmanager.NewGetLinkAssociationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetLinkAssociationsPaginator) CurrentPage ¶
func (p *GetLinkAssociationsPaginator) CurrentPage() *GetLinkAssociationsOutput
type GetLinkAssociationsRequest ¶
type GetLinkAssociationsRequest struct { *aws.Request Input *GetLinkAssociationsInput Copy func(*GetLinkAssociationsInput) GetLinkAssociationsRequest }
GetLinkAssociationsRequest is the request type for the GetLinkAssociations API operation.
func (GetLinkAssociationsRequest) Send ¶
func (r GetLinkAssociationsRequest) Send(ctx context.Context) (*GetLinkAssociationsResponse, error)
Send marshals and sends the GetLinkAssociations API request.
type GetLinkAssociationsResponse ¶
type GetLinkAssociationsResponse struct { *GetLinkAssociationsOutput // contains filtered or unexported fields }
GetLinkAssociationsResponse is the response type for the GetLinkAssociations API operation.
func (*GetLinkAssociationsResponse) SDKResponseMetdata ¶
func (r *GetLinkAssociationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetLinkAssociations request.
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) MarshalFields ¶
func (s GetLinksInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s GetLinksOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetLinksOutput) String ¶
func (s GetLinksOutput) String() string
String returns the string representation
type GetLinksPaginator ¶
GetLinksPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetLinksPaginator ¶
func NewGetLinksPaginator(req GetLinksRequest) GetLinksPaginator
NewGetLinksRequestPaginator returns a paginator for GetLinks. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetLinksRequest(input) p := networkmanager.NewGetLinksRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetLinksPaginator) CurrentPage ¶
func (p *GetLinksPaginator) CurrentPage() *GetLinksOutput
type GetLinksRequest ¶
type GetLinksRequest struct { *aws.Request Input *GetLinksInput Copy func(*GetLinksInput) GetLinksRequest }
GetLinksRequest is the request type for the GetLinks API operation.
func (GetLinksRequest) Send ¶
func (r GetLinksRequest) Send(ctx context.Context) (*GetLinksResponse, error)
Send marshals and sends the GetLinks API request.
type GetLinksResponse ¶
type GetLinksResponse struct { *GetLinksOutput // contains filtered or unexported fields }
GetLinksResponse is the response type for the GetLinks API operation.
func (*GetLinksResponse) SDKResponseMetdata ¶
func (r *GetLinksResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetLinks request.
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) MarshalFields ¶
func (s GetSitesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s GetSitesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetSitesOutput) String ¶
func (s GetSitesOutput) String() string
String returns the string representation
type GetSitesPaginator ¶
GetSitesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetSitesPaginator ¶
func NewGetSitesPaginator(req GetSitesRequest) GetSitesPaginator
NewGetSitesRequestPaginator returns a paginator for GetSites. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetSitesRequest(input) p := networkmanager.NewGetSitesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetSitesPaginator) CurrentPage ¶
func (p *GetSitesPaginator) CurrentPage() *GetSitesOutput
type GetSitesRequest ¶
type GetSitesRequest struct { *aws.Request Input *GetSitesInput Copy func(*GetSitesInput) GetSitesRequest }
GetSitesRequest is the request type for the GetSites API operation.
func (GetSitesRequest) Send ¶
func (r GetSitesRequest) Send(ctx context.Context) (*GetSitesResponse, error)
Send marshals and sends the GetSites API request.
type GetSitesResponse ¶
type GetSitesResponse struct { *GetSitesOutput // contains filtered or unexported fields }
GetSitesResponse is the response type for the GetSites API operation.
func (*GetSitesResponse) SDKResponseMetdata ¶
func (r *GetSitesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetSites request.
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) MarshalFields ¶
func (s GetTransitGatewayRegistrationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetTransitGatewayRegistrationsInput) String ¶
func (s GetTransitGatewayRegistrationsInput) String() string
String returns the string representation
func (*GetTransitGatewayRegistrationsInput) Validate ¶
func (s *GetTransitGatewayRegistrationsInput) Validate() error
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) MarshalFields ¶
func (s GetTransitGatewayRegistrationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetTransitGatewayRegistrationsOutput) String ¶
func (s GetTransitGatewayRegistrationsOutput) String() string
String returns the string representation
type GetTransitGatewayRegistrationsPaginator ¶
GetTransitGatewayRegistrationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetTransitGatewayRegistrationsPaginator ¶
func NewGetTransitGatewayRegistrationsPaginator(req GetTransitGatewayRegistrationsRequest) GetTransitGatewayRegistrationsPaginator
NewGetTransitGatewayRegistrationsRequestPaginator returns a paginator for GetTransitGatewayRegistrations. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetTransitGatewayRegistrationsRequest(input) p := networkmanager.NewGetTransitGatewayRegistrationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetTransitGatewayRegistrationsPaginator) CurrentPage ¶
func (p *GetTransitGatewayRegistrationsPaginator) CurrentPage() *GetTransitGatewayRegistrationsOutput
type GetTransitGatewayRegistrationsRequest ¶
type GetTransitGatewayRegistrationsRequest struct { *aws.Request Input *GetTransitGatewayRegistrationsInput Copy func(*GetTransitGatewayRegistrationsInput) GetTransitGatewayRegistrationsRequest }
GetTransitGatewayRegistrationsRequest is the request type for the GetTransitGatewayRegistrations API operation.
func (GetTransitGatewayRegistrationsRequest) Send ¶
func (r GetTransitGatewayRegistrationsRequest) Send(ctx context.Context) (*GetTransitGatewayRegistrationsResponse, error)
Send marshals and sends the GetTransitGatewayRegistrations API request.
type GetTransitGatewayRegistrationsResponse ¶
type GetTransitGatewayRegistrationsResponse struct { *GetTransitGatewayRegistrationsOutput // contains filtered or unexported fields }
GetTransitGatewayRegistrationsResponse is the response type for the GetTransitGatewayRegistrations API operation.
func (*GetTransitGatewayRegistrationsResponse) SDKResponseMetdata ¶
func (r *GetTransitGatewayRegistrationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetTransitGatewayRegistrations request.
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 GlobalNetworkState `type:"string" enum:"true"` // The tags for the global network. Tags []Tag `type:"list"` // contains filtered or unexported fields }
Describes a global network.
func (GlobalNetwork) MarshalFields ¶
func (s GlobalNetwork) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GlobalNetwork) String ¶
func (s GlobalNetwork) String() string
String returns the string representation
type GlobalNetworkState ¶
type GlobalNetworkState string
const ( GlobalNetworkStatePending GlobalNetworkState = "PENDING" GlobalNetworkStateAvailable GlobalNetworkState = "AVAILABLE" GlobalNetworkStateDeleting GlobalNetworkState = "DELETING" GlobalNetworkStateUpdating GlobalNetworkState = "UPDATING" )
Enum values for GlobalNetworkState
func (GlobalNetworkState) MarshalValue ¶
func (enum GlobalNetworkState) MarshalValue() (string, error)
func (GlobalNetworkState) MarshalValueBuf ¶
func (enum GlobalNetworkState) MarshalValueBuf(b []byte) ([]byte, error)
type Link ¶
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 LinkState `type:"string" enum:"true"` // 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) MarshalFields ¶
func (s Link) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 LinkAssociationState `type:"string" enum:"true"` // 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) MarshalFields ¶
func (s LinkAssociation) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LinkAssociation) String ¶
func (s LinkAssociation) String() string
String returns the string representation
type LinkAssociationState ¶
type LinkAssociationState string
const ( LinkAssociationStatePending LinkAssociationState = "PENDING" LinkAssociationStateAvailable LinkAssociationState = "AVAILABLE" LinkAssociationStateDeleting LinkAssociationState = "DELETING" LinkAssociationStateDeleted LinkAssociationState = "DELETED" )
Enum values for LinkAssociationState
func (LinkAssociationState) MarshalValue ¶
func (enum LinkAssociationState) MarshalValue() (string, error)
func (LinkAssociationState) MarshalValueBuf ¶
func (enum LinkAssociationState) MarshalValueBuf(b []byte) ([]byte, error)
type LinkState ¶
type LinkState string
const ( LinkStatePending LinkState = "PENDING" LinkStateAvailable LinkState = "AVAILABLE" LinkStateDeleting LinkState = "DELETING" LinkStateUpdating LinkState = "UPDATING" )
Enum values for LinkState
func (LinkState) MarshalValue ¶
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) MarshalFields ¶
func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTagsForResourceRequest ¶
type ListTagsForResourceRequest struct { *aws.Request Input *ListTagsForResourceInput Copy func(*ListTagsForResourceInput) ListTagsForResourceRequest }
ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.
func (ListTagsForResourceRequest) Send ¶
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceResponse, error)
Send marshals and sends the ListTagsForResource API request.
type ListTagsForResourceResponse ¶
type ListTagsForResourceResponse struct { *ListTagsForResourceOutput // contains filtered or unexported fields }
ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.
func (*ListTagsForResourceResponse) SDKResponseMetdata ¶
func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTagsForResource request.
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) MarshalFields ¶
func (s Location) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s RegisterTransitGatewayInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RegisterTransitGatewayInput) String ¶
func (s RegisterTransitGatewayInput) String() 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) MarshalFields ¶
func (s RegisterTransitGatewayOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RegisterTransitGatewayOutput) String ¶
func (s RegisterTransitGatewayOutput) String() string
String returns the string representation
type RegisterTransitGatewayRequest ¶
type RegisterTransitGatewayRequest struct { *aws.Request Input *RegisterTransitGatewayInput Copy func(*RegisterTransitGatewayInput) RegisterTransitGatewayRequest }
RegisterTransitGatewayRequest is the request type for the RegisterTransitGateway API operation.
func (RegisterTransitGatewayRequest) Send ¶
func (r RegisterTransitGatewayRequest) Send(ctx context.Context) (*RegisterTransitGatewayResponse, error)
Send marshals and sends the RegisterTransitGateway API request.
type RegisterTransitGatewayResponse ¶
type RegisterTransitGatewayResponse struct { *RegisterTransitGatewayOutput // contains filtered or unexported fields }
RegisterTransitGatewayResponse is the response type for the RegisterTransitGateway API operation.
func (*RegisterTransitGatewayResponse) SDKResponseMetdata ¶
func (r *RegisterTransitGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RegisterTransitGateway request.
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"` // 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 SiteState `type:"string" enum:"true"` // The tags for the site. Tags []Tag `type:"list"` // contains filtered or unexported fields }
Describes a site.
func (Site) MarshalFields ¶
func (s Site) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type SiteState ¶
type SiteState string
const ( SiteStatePending SiteState = "PENDING" SiteStateAvailable SiteState = "AVAILABLE" SiteStateDeleting SiteState = "DELETING" SiteStateUpdating SiteState = "UPDATING" )
Enum values for SiteState
func (SiteState) MarshalValue ¶
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) MarshalFields ¶
func (s Tag) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is the request type for the TagResource API operation.
func (TagResourceRequest) Send ¶
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
Send marshals and sends the TagResource API request.
type TagResourceResponse ¶
type TagResourceResponse struct { *TagResourceOutput // contains filtered or unexported fields }
TagResourceResponse is the response type for the TagResource API operation.
func (*TagResourceResponse) SDKResponseMetdata ¶
func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TagResource request.
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) MarshalFields ¶
func (s TransitGatewayRegistration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TransitGatewayRegistration) String ¶
func (s TransitGatewayRegistration) String() string
String returns the string representation
type TransitGatewayRegistrationState ¶
type TransitGatewayRegistrationState string
const ( TransitGatewayRegistrationStatePending TransitGatewayRegistrationState = "PENDING" TransitGatewayRegistrationStateAvailable TransitGatewayRegistrationState = "AVAILABLE" TransitGatewayRegistrationStateDeleting TransitGatewayRegistrationState = "DELETING" TransitGatewayRegistrationStateDeleted TransitGatewayRegistrationState = "DELETED" TransitGatewayRegistrationStateFailed TransitGatewayRegistrationState = "FAILED" )
Enum values for TransitGatewayRegistrationState
func (TransitGatewayRegistrationState) MarshalValue ¶
func (enum TransitGatewayRegistrationState) MarshalValue() (string, error)
func (TransitGatewayRegistrationState) MarshalValueBuf ¶
func (enum TransitGatewayRegistrationState) MarshalValueBuf(b []byte) ([]byte, error)
type TransitGatewayRegistrationStateReason ¶
type TransitGatewayRegistrationStateReason struct { // The code for the state reason. Code TransitGatewayRegistrationState `type:"string" enum:"true"` // 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) MarshalFields ¶
func (s TransitGatewayRegistrationStateReason) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TransitGatewayRegistrationStateReason) String ¶
func (s TransitGatewayRegistrationStateReason) String() 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) MarshalFields ¶
func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is the request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
Send marshals and sends the UntagResource API request.
type UntagResourceResponse ¶
type UntagResourceResponse struct { *UntagResourceOutput // contains filtered or unexported fields }
UntagResourceResponse is the response type for the UntagResource API operation.
func (*UntagResourceResponse) SDKResponseMetdata ¶
func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UntagResource request.
type UpdateDeviceInput ¶
type UpdateDeviceInput struct { // 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"` // 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) MarshalFields ¶
func (s UpdateDeviceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s UpdateDeviceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDeviceOutput) String ¶
func (s UpdateDeviceOutput) String() string
String returns the string representation
type UpdateDeviceRequest ¶
type UpdateDeviceRequest struct { *aws.Request Input *UpdateDeviceInput Copy func(*UpdateDeviceInput) UpdateDeviceRequest }
UpdateDeviceRequest is the request type for the UpdateDevice API operation.
func (UpdateDeviceRequest) Send ¶
func (r UpdateDeviceRequest) Send(ctx context.Context) (*UpdateDeviceResponse, error)
Send marshals and sends the UpdateDevice API request.
type UpdateDeviceResponse ¶
type UpdateDeviceResponse struct { *UpdateDeviceOutput // contains filtered or unexported fields }
UpdateDeviceResponse is the response type for the UpdateDevice API operation.
func (*UpdateDeviceResponse) SDKResponseMetdata ¶
func (r *UpdateDeviceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateDevice request.
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) MarshalFields ¶
func (s UpdateGlobalNetworkInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s UpdateGlobalNetworkOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateGlobalNetworkOutput) String ¶
func (s UpdateGlobalNetworkOutput) String() string
String returns the string representation
type UpdateGlobalNetworkRequest ¶
type UpdateGlobalNetworkRequest struct { *aws.Request Input *UpdateGlobalNetworkInput Copy func(*UpdateGlobalNetworkInput) UpdateGlobalNetworkRequest }
UpdateGlobalNetworkRequest is the request type for the UpdateGlobalNetwork API operation.
func (UpdateGlobalNetworkRequest) Send ¶
func (r UpdateGlobalNetworkRequest) Send(ctx context.Context) (*UpdateGlobalNetworkResponse, error)
Send marshals and sends the UpdateGlobalNetwork API request.
type UpdateGlobalNetworkResponse ¶
type UpdateGlobalNetworkResponse struct { *UpdateGlobalNetworkOutput // contains filtered or unexported fields }
UpdateGlobalNetworkResponse is the response type for the UpdateGlobalNetwork API operation.
func (*UpdateGlobalNetworkResponse) SDKResponseMetdata ¶
func (r *UpdateGlobalNetworkResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateGlobalNetwork request.
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) MarshalFields ¶
func (s UpdateLinkInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s UpdateLinkOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateLinkOutput) String ¶
func (s UpdateLinkOutput) String() string
String returns the string representation
type UpdateLinkRequest ¶
type UpdateLinkRequest struct { *aws.Request Input *UpdateLinkInput Copy func(*UpdateLinkInput) UpdateLinkRequest }
UpdateLinkRequest is the request type for the UpdateLink API operation.
func (UpdateLinkRequest) Send ¶
func (r UpdateLinkRequest) Send(ctx context.Context) (*UpdateLinkResponse, error)
Send marshals and sends the UpdateLink API request.
type UpdateLinkResponse ¶
type UpdateLinkResponse struct { *UpdateLinkOutput // contains filtered or unexported fields }
UpdateLinkResponse is the response type for the UpdateLink API operation.
func (*UpdateLinkResponse) SDKResponseMetdata ¶
func (r *UpdateLinkResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateLink request.
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"` // 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) MarshalFields ¶
func (s UpdateSiteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶
func (s UpdateSiteOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateSiteOutput) String ¶
func (s UpdateSiteOutput) String() string
String returns the string representation
type UpdateSiteRequest ¶
type UpdateSiteRequest struct { *aws.Request Input *UpdateSiteInput Copy func(*UpdateSiteInput) UpdateSiteRequest }
UpdateSiteRequest is the request type for the UpdateSite API operation.
func (UpdateSiteRequest) Send ¶
func (r UpdateSiteRequest) Send(ctx context.Context) (*UpdateSiteResponse, error)
Send marshals and sends the UpdateSite API request.
type UpdateSiteResponse ¶
type UpdateSiteResponse struct { *UpdateSiteOutput // contains filtered or unexported fields }
UpdateSiteResponse is the response type for the UpdateSite API operation.
func (*UpdateSiteResponse) SDKResponseMetdata ¶
func (r *UpdateSiteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateSite request.
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) MarshalFields ¶
func (s ValidationExceptionField) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ValidationExceptionField) String ¶
func (s ValidationExceptionField) String() string
String returns the string representation
type ValidationExceptionReason ¶
type ValidationExceptionReason string
const ( ValidationExceptionReasonUnknownOperation ValidationExceptionReason = "UnknownOperation" ValidationExceptionReasonCannotParse ValidationExceptionReason = "CannotParse" ValidationExceptionReasonFieldValidationFailed ValidationExceptionReason = "FieldValidationFailed" ValidationExceptionReasonOther ValidationExceptionReason = "Other" )
Enum values for ValidationExceptionReason
func (ValidationExceptionReason) MarshalValue ¶
func (enum ValidationExceptionReason) MarshalValue() (string, error)
func (ValidationExceptionReason) MarshalValueBuf ¶
func (enum ValidationExceptionReason) MarshalValueBuf(b []byte) ([]byte, error)
Source Files ¶
- api_client.go
- api_doc.go
- api_enums.go
- api_errors.go
- api_op_AssociateCustomerGateway.go
- api_op_AssociateLink.go
- api_op_CreateDevice.go
- api_op_CreateGlobalNetwork.go
- api_op_CreateLink.go
- api_op_CreateSite.go
- api_op_DeleteDevice.go
- api_op_DeleteGlobalNetwork.go
- api_op_DeleteLink.go
- api_op_DeleteSite.go
- api_op_DeregisterTransitGateway.go
- api_op_DescribeGlobalNetworks.go
- api_op_DisassociateCustomerGateway.go
- api_op_DisassociateLink.go
- api_op_GetCustomerGatewayAssociations.go
- api_op_GetDevices.go
- api_op_GetLinkAssociations.go
- api_op_GetLinks.go
- api_op_GetSites.go
- api_op_GetTransitGatewayRegistrations.go
- api_op_ListTagsForResource.go
- api_op_RegisterTransitGateway.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateDevice.go
- api_op_UpdateGlobalNetwork.go
- api_op_UpdateLink.go
- api_op_UpdateSite.go
- api_types.go
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. |