aws-sdk-go-v2: github.com/aws/aws-sdk-go-v2/service/ec2 Index | Examples | Files | Directories

package ec2

import "github.com/aws/aws-sdk-go-v2/service/ec2"

Package ec2 provides the client and types for making API requests to Amazon EC2.

Amazon Elastic Compute Cloud (Amazon EC2) provides secure and resizable computing capacity in the AWS cloud. Using Amazon EC2 eliminates the need to invest in hardware up front, so you can develop and deploy applications faster.

To learn more, see the following resources:

* Amazon EC2: AmazonEC2 product page (http://aws.amazon.com/ec2), Amazon
EC2 documentation (http://aws.amazon.com/documentation/ec2)

* Amazon EBS: Amazon EBS product page (http://aws.amazon.com/ebs), Amazon
EBS documentation (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html)

* Amazon VPC: Amazon VPC product page (http://aws.amazon.com/vpc), Amazon
VPC documentation (http://aws.amazon.com/documentation/vpc)

* AWS VPN: AWS VPN product page (http://aws.amazon.com/vpn), AWS VPN documentation
(http://aws.amazon.com/documentation/vpn)

See https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15 for more information on this service.

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

Using the Client

To use Amazon EC2 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 Amazon EC2 client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/ec2/#New

Index

Examples

Package Files

api_client.go api_doc.go api_enums.go api_errors.go api_op_AcceptReservedInstancesExchangeQuote.go api_op_AcceptTransitGatewayPeeringAttachment.go api_op_AcceptTransitGatewayVpcAttachment.go api_op_AcceptVpcEndpointConnections.go api_op_AcceptVpcPeeringConnection.go api_op_AdvertiseByoipCidr.go api_op_AllocateAddress.go api_op_AllocateHosts.go api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go api_op_AssignIpv6Addresses.go api_op_AssignPrivateIpAddresses.go api_op_AssociateAddress.go api_op_AssociateClientVpnTargetNetwork.go api_op_AssociateDhcpOptions.go api_op_AssociateIamInstanceProfile.go api_op_AssociateRouteTable.go api_op_AssociateSubnetCidrBlock.go api_op_AssociateTransitGatewayMulticastDomain.go api_op_AssociateTransitGatewayRouteTable.go api_op_AssociateVpcCidrBlock.go api_op_AttachClassicLinkVpc.go api_op_AttachInternetGateway.go api_op_AttachNetworkInterface.go api_op_AttachVolume.go api_op_AttachVpnGateway.go api_op_AuthorizeClientVpnIngress.go api_op_AuthorizeSecurityGroupEgress.go api_op_AuthorizeSecurityGroupIngress.go api_op_BundleInstance.go api_op_CancelBundleTask.go api_op_CancelCapacityReservation.go api_op_CancelConversionTask.go api_op_CancelExportTask.go api_op_CancelImportTask.go api_op_CancelReservedInstancesListing.go api_op_CancelSpotFleetRequests.go api_op_CancelSpotInstanceRequests.go api_op_ConfirmProductInstance.go api_op_CopyFpgaImage.go api_op_CopyImage.go api_op_CopySnapshot.go api_op_CreateCapacityReservation.go api_op_CreateClientVpnEndpoint.go api_op_CreateClientVpnRoute.go api_op_CreateCustomerGateway.go api_op_CreateDefaultSubnet.go api_op_CreateDefaultVpc.go api_op_CreateDhcpOptions.go api_op_CreateEgressOnlyInternetGateway.go api_op_CreateFleet.go api_op_CreateFlowLogs.go api_op_CreateFpgaImage.go api_op_CreateImage.go api_op_CreateInstanceExportTask.go api_op_CreateInternetGateway.go api_op_CreateKeyPair.go api_op_CreateLaunchTemplate.go api_op_CreateLaunchTemplateVersion.go api_op_CreateLocalGatewayRoute.go api_op_CreateLocalGatewayRouteTableVpcAssociation.go api_op_CreateManagedPrefixList.go api_op_CreateNatGateway.go api_op_CreateNetworkAcl.go api_op_CreateNetworkAclEntry.go api_op_CreateNetworkInterface.go api_op_CreateNetworkInterfacePermission.go api_op_CreatePlacementGroup.go api_op_CreateReservedInstancesListing.go api_op_CreateRoute.go api_op_CreateRouteTable.go api_op_CreateSecurityGroup.go api_op_CreateSnapshot.go api_op_CreateSnapshots.go api_op_CreateSpotDatafeedSubscription.go api_op_CreateSubnet.go api_op_CreateTags.go api_op_CreateTrafficMirrorFilter.go api_op_CreateTrafficMirrorFilterRule.go api_op_CreateTrafficMirrorSession.go api_op_CreateTrafficMirrorTarget.go api_op_CreateTransitGateway.go api_op_CreateTransitGatewayMulticastDomain.go api_op_CreateTransitGatewayPeeringAttachment.go api_op_CreateTransitGatewayRoute.go api_op_CreateTransitGatewayRouteTable.go api_op_CreateTransitGatewayVpcAttachment.go api_op_CreateVolume.go api_op_CreateVpc.go api_op_CreateVpcEndpoint.go api_op_CreateVpcEndpointConnectionNotification.go api_op_CreateVpcEndpointServiceConfiguration.go api_op_CreateVpcPeeringConnection.go api_op_CreateVpnConnection.go api_op_CreateVpnConnectionRoute.go api_op_CreateVpnGateway.go api_op_DeleteClientVpnEndpoint.go api_op_DeleteClientVpnRoute.go api_op_DeleteCustomerGateway.go api_op_DeleteDhcpOptions.go api_op_DeleteEgressOnlyInternetGateway.go api_op_DeleteFleets.go api_op_DeleteFlowLogs.go api_op_DeleteFpgaImage.go api_op_DeleteInternetGateway.go api_op_DeleteKeyPair.go api_op_DeleteLaunchTemplate.go api_op_DeleteLaunchTemplateVersions.go api_op_DeleteLocalGatewayRoute.go api_op_DeleteLocalGatewayRouteTableVpcAssociation.go api_op_DeleteManagedPrefixList.go api_op_DeleteNatGateway.go api_op_DeleteNetworkAcl.go api_op_DeleteNetworkAclEntry.go api_op_DeleteNetworkInterface.go api_op_DeleteNetworkInterfacePermission.go api_op_DeletePlacementGroup.go api_op_DeleteQueuedReservedInstances.go api_op_DeleteRoute.go api_op_DeleteRouteTable.go api_op_DeleteSecurityGroup.go api_op_DeleteSnapshot.go api_op_DeleteSpotDatafeedSubscription.go api_op_DeleteSubnet.go api_op_DeleteTags.go api_op_DeleteTrafficMirrorFilter.go api_op_DeleteTrafficMirrorFilterRule.go api_op_DeleteTrafficMirrorSession.go api_op_DeleteTrafficMirrorTarget.go api_op_DeleteTransitGateway.go api_op_DeleteTransitGatewayMulticastDomain.go api_op_DeleteTransitGatewayPeeringAttachment.go api_op_DeleteTransitGatewayRoute.go api_op_DeleteTransitGatewayRouteTable.go api_op_DeleteTransitGatewayVpcAttachment.go api_op_DeleteVolume.go api_op_DeleteVpc.go api_op_DeleteVpcEndpointConnectionNotifications.go api_op_DeleteVpcEndpointServiceConfigurations.go api_op_DeleteVpcEndpoints.go api_op_DeleteVpcPeeringConnection.go api_op_DeleteVpnConnection.go api_op_DeleteVpnConnectionRoute.go api_op_DeleteVpnGateway.go api_op_DeprovisionByoipCidr.go api_op_DeregisterImage.go api_op_DeregisterInstanceEventNotificationAttributes.go api_op_DeregisterTransitGatewayMulticastGroupMembers.go api_op_DeregisterTransitGatewayMulticastGroupSources.go api_op_DescribeAccountAttributes.go api_op_DescribeAddresses.go api_op_DescribeAggregateIdFormat.go api_op_DescribeAvailabilityZones.go api_op_DescribeBundleTasks.go api_op_DescribeByoipCidrs.go api_op_DescribeCapacityReservations.go api_op_DescribeClassicLinkInstances.go api_op_DescribeClientVpnAuthorizationRules.go api_op_DescribeClientVpnConnections.go api_op_DescribeClientVpnEndpoints.go api_op_DescribeClientVpnRoutes.go api_op_DescribeClientVpnTargetNetworks.go api_op_DescribeCoipPools.go api_op_DescribeConversionTasks.go api_op_DescribeCustomerGateways.go api_op_DescribeDhcpOptions.go api_op_DescribeEgressOnlyInternetGateways.go api_op_DescribeElasticGpus.go api_op_DescribeExportImageTasks.go api_op_DescribeExportTasks.go api_op_DescribeFastSnapshotRestores.go api_op_DescribeFleetHistory.go api_op_DescribeFleetInstances.go api_op_DescribeFleets.go api_op_DescribeFlowLogs.go api_op_DescribeFpgaImageAttribute.go api_op_DescribeFpgaImages.go api_op_DescribeHostReservationOfferings.go api_op_DescribeHostReservations.go api_op_DescribeHosts.go api_op_DescribeIamInstanceProfileAssociations.go api_op_DescribeIdFormat.go api_op_DescribeIdentityIdFormat.go api_op_DescribeImageAttribute.go api_op_DescribeImages.go api_op_DescribeImportImageTasks.go api_op_DescribeImportSnapshotTasks.go api_op_DescribeInstanceAttribute.go api_op_DescribeInstanceCreditSpecifications.go api_op_DescribeInstanceEventNotificationAttributes.go api_op_DescribeInstanceStatus.go api_op_DescribeInstanceTypeOfferings.go api_op_DescribeInstanceTypes.go api_op_DescribeInstances.go api_op_DescribeInternetGateways.go api_op_DescribeIpv6Pools.go api_op_DescribeKeyPairs.go api_op_DescribeLaunchTemplateVersions.go api_op_DescribeLaunchTemplates.go api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go api_op_DescribeLocalGatewayRouteTableVpcAssociations.go api_op_DescribeLocalGatewayRouteTables.go api_op_DescribeLocalGatewayVirtualInterfaceGroups.go api_op_DescribeLocalGatewayVirtualInterfaces.go api_op_DescribeLocalGateways.go api_op_DescribeManagedPrefixLists.go api_op_DescribeMovingAddresses.go api_op_DescribeNatGateways.go api_op_DescribeNetworkAcls.go api_op_DescribeNetworkInterfaceAttribute.go api_op_DescribeNetworkInterfacePermissions.go api_op_DescribeNetworkInterfaces.go api_op_DescribePlacementGroups.go api_op_DescribePrefixLists.go api_op_DescribePrincipalIdFormat.go api_op_DescribePublicIpv4Pools.go api_op_DescribeRegions.go api_op_DescribeReservedInstances.go api_op_DescribeReservedInstancesListings.go api_op_DescribeReservedInstancesModifications.go api_op_DescribeReservedInstancesOfferings.go api_op_DescribeRouteTables.go api_op_DescribeScheduledInstanceAvailability.go api_op_DescribeScheduledInstances.go api_op_DescribeSecurityGroupReferences.go api_op_DescribeSecurityGroups.go api_op_DescribeSnapshotAttribute.go api_op_DescribeSnapshots.go api_op_DescribeSpotDatafeedSubscription.go api_op_DescribeSpotFleetInstances.go api_op_DescribeSpotFleetRequestHistory.go api_op_DescribeSpotFleetRequests.go api_op_DescribeSpotInstanceRequests.go api_op_DescribeSpotPriceHistory.go api_op_DescribeStaleSecurityGroups.go api_op_DescribeSubnets.go api_op_DescribeTags.go api_op_DescribeTrafficMirrorFilters.go api_op_DescribeTrafficMirrorSessions.go api_op_DescribeTrafficMirrorTargets.go api_op_DescribeTransitGatewayAttachments.go api_op_DescribeTransitGatewayMulticastDomains.go api_op_DescribeTransitGatewayPeeringAttachments.go api_op_DescribeTransitGatewayRouteTables.go api_op_DescribeTransitGatewayVpcAttachments.go api_op_DescribeTransitGateways.go api_op_DescribeVolumeAttribute.go api_op_DescribeVolumeStatus.go api_op_DescribeVolumes.go api_op_DescribeVolumesModifications.go api_op_DescribeVpcAttribute.go api_op_DescribeVpcClassicLink.go api_op_DescribeVpcClassicLinkDnsSupport.go api_op_DescribeVpcEndpointConnectionNotifications.go api_op_DescribeVpcEndpointConnections.go api_op_DescribeVpcEndpointServiceConfigurations.go api_op_DescribeVpcEndpointServicePermissions.go api_op_DescribeVpcEndpointServices.go api_op_DescribeVpcEndpoints.go api_op_DescribeVpcPeeringConnections.go api_op_DescribeVpcs.go api_op_DescribeVpnConnections.go api_op_DescribeVpnGateways.go api_op_DetachClassicLinkVpc.go api_op_DetachInternetGateway.go api_op_DetachNetworkInterface.go api_op_DetachVolume.go api_op_DetachVpnGateway.go api_op_DisableEbsEncryptionByDefault.go api_op_DisableFastSnapshotRestores.go api_op_DisableTransitGatewayRouteTablePropagation.go api_op_DisableVgwRoutePropagation.go api_op_DisableVpcClassicLink.go api_op_DisableVpcClassicLinkDnsSupport.go api_op_DisassociateAddress.go api_op_DisassociateClientVpnTargetNetwork.go api_op_DisassociateIamInstanceProfile.go api_op_DisassociateRouteTable.go api_op_DisassociateSubnetCidrBlock.go api_op_DisassociateTransitGatewayMulticastDomain.go api_op_DisassociateTransitGatewayRouteTable.go api_op_DisassociateVpcCidrBlock.go api_op_EnableEbsEncryptionByDefault.go api_op_EnableFastSnapshotRestores.go api_op_EnableTransitGatewayRouteTablePropagation.go api_op_EnableVgwRoutePropagation.go api_op_EnableVolumeIO.go api_op_EnableVpcClassicLink.go api_op_EnableVpcClassicLinkDnsSupport.go api_op_ExportClientVpnClientCertificateRevocationList.go api_op_ExportClientVpnClientConfiguration.go api_op_ExportImage.go api_op_ExportTransitGatewayRoutes.go api_op_GetAssociatedIpv6PoolCidrs.go api_op_GetCapacityReservationUsage.go api_op_GetCoipPoolUsage.go api_op_GetConsoleOutput.go api_op_GetConsoleScreenshot.go api_op_GetDefaultCreditSpecification.go api_op_GetEbsDefaultKmsKeyId.go api_op_GetEbsEncryptionByDefault.go api_op_GetHostReservationPurchasePreview.go api_op_GetLaunchTemplateData.go api_op_GetManagedPrefixListAssociations.go api_op_GetManagedPrefixListEntries.go api_op_GetPasswordData.go api_op_GetReservedInstancesExchangeQuote.go api_op_GetTransitGatewayAttachmentPropagations.go api_op_GetTransitGatewayMulticastDomainAssociations.go api_op_GetTransitGatewayRouteTableAssociations.go api_op_GetTransitGatewayRouteTablePropagations.go api_op_ImportClientVpnClientCertificateRevocationList.go api_op_ImportImage.go api_op_ImportInstance.go api_op_ImportKeyPair.go api_op_ImportSnapshot.go api_op_ImportVolume.go api_op_ModifyAvailabilityZoneGroup.go api_op_ModifyCapacityReservation.go api_op_ModifyClientVpnEndpoint.go api_op_ModifyDefaultCreditSpecification.go api_op_ModifyEbsDefaultKmsKeyId.go api_op_ModifyFleet.go api_op_ModifyFpgaImageAttribute.go api_op_ModifyHosts.go api_op_ModifyIdFormat.go api_op_ModifyIdentityIdFormat.go api_op_ModifyImageAttribute.go api_op_ModifyInstanceAttribute.go api_op_ModifyInstanceCapacityReservationAttributes.go api_op_ModifyInstanceCreditSpecification.go api_op_ModifyInstanceEventStartTime.go api_op_ModifyInstanceMetadataOptions.go api_op_ModifyInstancePlacement.go api_op_ModifyLaunchTemplate.go api_op_ModifyManagedPrefixList.go api_op_ModifyNetworkInterfaceAttribute.go api_op_ModifyReservedInstances.go api_op_ModifySnapshotAttribute.go api_op_ModifySpotFleetRequest.go api_op_ModifySubnetAttribute.go api_op_ModifyTrafficMirrorFilterNetworkServices.go api_op_ModifyTrafficMirrorFilterRule.go api_op_ModifyTrafficMirrorSession.go api_op_ModifyTransitGatewayVpcAttachment.go api_op_ModifyVolume.go api_op_ModifyVolumeAttribute.go api_op_ModifyVpcAttribute.go api_op_ModifyVpcEndpoint.go api_op_ModifyVpcEndpointConnectionNotification.go api_op_ModifyVpcEndpointServiceConfiguration.go api_op_ModifyVpcEndpointServicePermissions.go api_op_ModifyVpcPeeringConnectionOptions.go api_op_ModifyVpcTenancy.go api_op_ModifyVpnConnection.go api_op_ModifyVpnTunnelCertificate.go api_op_ModifyVpnTunnelOptions.go api_op_MonitorInstances.go api_op_MoveAddressToVpc.go api_op_ProvisionByoipCidr.go api_op_PurchaseHostReservation.go api_op_PurchaseReservedInstancesOffering.go api_op_PurchaseScheduledInstances.go api_op_RebootInstances.go api_op_RegisterImage.go api_op_RegisterInstanceEventNotificationAttributes.go api_op_RegisterTransitGatewayMulticastGroupMembers.go api_op_RegisterTransitGatewayMulticastGroupSources.go api_op_RejectTransitGatewayPeeringAttachment.go api_op_RejectTransitGatewayVpcAttachment.go api_op_RejectVpcEndpointConnections.go api_op_RejectVpcPeeringConnection.go api_op_ReleaseAddress.go api_op_ReleaseHosts.go api_op_ReplaceIamInstanceProfileAssociation.go api_op_ReplaceNetworkAclAssociation.go api_op_ReplaceNetworkAclEntry.go api_op_ReplaceRoute.go api_op_ReplaceRouteTableAssociation.go api_op_ReplaceTransitGatewayRoute.go api_op_ReportInstanceStatus.go api_op_RequestSpotFleet.go api_op_RequestSpotInstances.go api_op_ResetEbsDefaultKmsKeyId.go api_op_ResetFpgaImageAttribute.go api_op_ResetImageAttribute.go api_op_ResetInstanceAttribute.go api_op_ResetNetworkInterfaceAttribute.go api_op_ResetSnapshotAttribute.go api_op_RestoreAddressToClassic.go api_op_RestoreManagedPrefixListVersion.go api_op_RevokeClientVpnIngress.go api_op_RevokeSecurityGroupEgress.go api_op_RevokeSecurityGroupIngress.go api_op_RunInstances.go api_op_RunScheduledInstances.go api_op_SearchLocalGatewayRoutes.go api_op_SearchTransitGatewayMulticastGroups.go api_op_SearchTransitGatewayRoutes.go api_op_SendDiagnosticInterrupt.go api_op_StartInstances.go api_op_StartVpcEndpointServicePrivateDnsVerification.go api_op_StopInstances.go api_op_TerminateClientVpnConnections.go api_op_TerminateInstances.go api_op_UnassignIpv6Addresses.go api_op_UnassignPrivateIpAddresses.go api_op_UnmonitorInstances.go api_op_UpdateSecurityGroupRuleDescriptionsEgress.go api_op_UpdateSecurityGroupRuleDescriptionsIngress.go api_op_WithdrawByoipCidr.go api_types.go api_waiters.go customizations.go

Constants

const (
    ServiceName = "Amazon EC2" // Service's name
    ServiceID   = "EC2"        // Service's identifier
    EndpointsID = "ec2"        // Service's Endpoint identifier
)

type AcceptReservedInstancesExchangeQuoteInput Uses

type AcceptReservedInstancesExchangeQuoteInput struct {

    // Checks whether you have the required permissions for the action, without
    // actually making the request, and provides an error response. If you have
    // the required permissions, the error response is DryRunOperation. Otherwise,
    // it is UnauthorizedOperation.
    DryRun *bool `type:"boolean"`

    // The IDs of the Convertible Reserved Instances to exchange for another Convertible
    // Reserved Instance of the same or higher value.
    //
    // ReservedInstanceIds is a required field
    ReservedInstanceIds []string `locationName:"ReservedInstanceId" locationNameList:"ReservedInstanceId" type:"list" required:"true"`

    // The configuration of the target Convertible Reserved Instance to exchange
    // for your current Convertible Reserved Instances.
    TargetConfigurations []TargetConfigurationRequest `locationName:"TargetConfiguration" locationNameList:"TargetConfigurationRequest" type:"list"`
    // contains filtered or unexported fields
}

Contains the parameters for accepting the quote.

func (AcceptReservedInstancesExchangeQuoteInput) String Uses

func (s AcceptReservedInstancesExchangeQuoteInput) String() string

String returns the string representation

func (*AcceptReservedInstancesExchangeQuoteInput) Validate Uses

func (s *AcceptReservedInstancesExchangeQuoteInput) Validate() error

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

type AcceptReservedInstancesExchangeQuoteOutput Uses

type AcceptReservedInstancesExchangeQuoteOutput struct {

    // The ID of the successful exchange.
    ExchangeId *string `locationName:"exchangeId" type:"string"`
    // contains filtered or unexported fields
}

The result of the exchange and whether it was successful.

func (AcceptReservedInstancesExchangeQuoteOutput) String Uses

func (s AcceptReservedInstancesExchangeQuoteOutput) String() string

String returns the string representation

type AcceptReservedInstancesExchangeQuoteRequest Uses

type AcceptReservedInstancesExchangeQuoteRequest struct {
    *aws.Request
    Input *AcceptReservedInstancesExchangeQuoteInput
    Copy  func(*AcceptReservedInstancesExchangeQuoteInput) AcceptReservedInstancesExchangeQuoteRequest
}

AcceptReservedInstancesExchangeQuoteRequest is the request type for the AcceptReservedInstancesExchangeQuote API operation.

func (AcceptReservedInstancesExchangeQuoteRequest) Send Uses

func (r AcceptReservedInstancesExchangeQuoteRequest) Send(ctx context.Context) (*AcceptReservedInstancesExchangeQuoteResponse, error)

Send marshals and sends the AcceptReservedInstancesExchangeQuote API request.

type AcceptReservedInstancesExchangeQuoteResponse Uses

type AcceptReservedInstancesExchangeQuoteResponse struct {
    *AcceptReservedInstancesExchangeQuoteOutput
    // contains filtered or unexported fields
}

AcceptReservedInstancesExchangeQuoteResponse is the response type for the AcceptReservedInstancesExchangeQuote API operation.

func (*AcceptReservedInstancesExchangeQuoteResponse) SDKResponseMetdata Uses

func (r *AcceptReservedInstancesExchangeQuoteResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AcceptReservedInstancesExchangeQuote request.

type AcceptTransitGatewayPeeringAttachmentInput Uses

type AcceptTransitGatewayPeeringAttachmentInput struct {

    // Checks whether you have the required permissions for the action, without
    // actually making the request, and provides an error response. If you have
    // the required permissions, the error response is DryRunOperation. Otherwise,
    // it is UnauthorizedOperation.
    DryRun *bool `type:"boolean"`

    // The ID of the transit gateway attachment.
    //
    // TransitGatewayAttachmentId is a required field
    TransitGatewayAttachmentId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AcceptTransitGatewayPeeringAttachmentInput) String Uses

func (s AcceptTransitGatewayPeeringAttachmentInput) String() string

String returns the string representation

func (*AcceptTransitGatewayPeeringAttachmentInput) Validate Uses

func (s *AcceptTransitGatewayPeeringAttachmentInput) Validate() error

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

type AcceptTransitGatewayPeeringAttachmentOutput Uses

type AcceptTransitGatewayPeeringAttachmentOutput struct {

    // The transit gateway peering attachment.
    TransitGatewayPeeringAttachment *TransitGatewayPeeringAttachment `locationName:"transitGatewayPeeringAttachment" type:"structure"`
    // contains filtered or unexported fields
}

func (AcceptTransitGatewayPeeringAttachmentOutput) String Uses

func (s AcceptTransitGatewayPeeringAttachmentOutput) String() string

String returns the string representation

type AcceptTransitGatewayPeeringAttachmentRequest Uses

type AcceptTransitGatewayPeeringAttachmentRequest struct {
    *aws.Request
    Input *AcceptTransitGatewayPeeringAttachmentInput
    Copy  func(*AcceptTransitGatewayPeeringAttachmentInput) AcceptTransitGatewayPeeringAttachmentRequest
}

AcceptTransitGatewayPeeringAttachmentRequest is the request type for the AcceptTransitGatewayPeeringAttachment API operation.

func (AcceptTransitGatewayPeeringAttachmentRequest) Send Uses

func (r AcceptTransitGatewayPeeringAttachmentRequest) Send(ctx context.Context) (*AcceptTransitGatewayPeeringAttachmentResponse, error)

Send marshals and sends the AcceptTransitGatewayPeeringAttachment API request.

type AcceptTransitGatewayPeeringAttachmentResponse Uses

type AcceptTransitGatewayPeeringAttachmentResponse struct {
    *AcceptTransitGatewayPeeringAttachmentOutput
    // contains filtered or unexported fields
}

AcceptTransitGatewayPeeringAttachmentResponse is the response type for the AcceptTransitGatewayPeeringAttachment API operation.

func (*AcceptTransitGatewayPeeringAttachmentResponse) SDKResponseMetdata Uses

func (r *AcceptTransitGatewayPeeringAttachmentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AcceptTransitGatewayPeeringAttachment request.

type AcceptTransitGatewayVpcAttachmentInput Uses

type AcceptTransitGatewayVpcAttachmentInput struct {

    // Checks whether you have the required permissions for the action, without
    // actually making the request, and provides an error response. If you have
    // the required permissions, the error response is DryRunOperation. Otherwise,
    // it is UnauthorizedOperation.
    DryRun *bool `type:"boolean"`

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

func (AcceptTransitGatewayVpcAttachmentInput) String Uses

func (s AcceptTransitGatewayVpcAttachmentInput) String() string

String returns the string representation

func (*AcceptTransitGatewayVpcAttachmentInput) Validate Uses

func (s *AcceptTransitGatewayVpcAttachmentInput) Validate() error

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

type AcceptTransitGatewayVpcAttachmentOutput Uses

type AcceptTransitGatewayVpcAttachmentOutput struct {

    // The VPC attachment.
    TransitGatewayVpcAttachment *TransitGatewayVpcAttachment `locationName:"transitGatewayVpcAttachment" type:"structure"`
    // contains filtered or unexported fields
}

func (AcceptTransitGatewayVpcAttachmentOutput) String Uses

func (s AcceptTransitGatewayVpcAttachmentOutput) String() string

String returns the string representation

type AcceptTransitGatewayVpcAttachmentRequest Uses

type AcceptTransitGatewayVpcAttachmentRequest struct {
    *aws.Request
    Input *AcceptTransitGatewayVpcAttachmentInput
    Copy  func(*AcceptTransitGatewayVpcAttachmentInput) AcceptTransitGatewayVpcAttachmentRequest
}

AcceptTransitGatewayVpcAttachmentRequest is the request type for the AcceptTransitGatewayVpcAttachment API operation.

func (AcceptTransitGatewayVpcAttachmentRequest) Send Uses

func (r AcceptTransitGatewayVpcAttachmentRequest) Send(ctx context.Context) (*AcceptTransitGatewayVpcAttachmentResponse, error)

Send marshals and sends the AcceptTransitGatewayVpcAttachment API request.

type AcceptTransitGatewayVpcAttachmentResponse Uses

type AcceptTransitGatewayVpcAttachmentResponse struct {
    *AcceptTransitGatewayVpcAttachmentOutput
    // contains filtered or unexported fields
}

AcceptTransitGatewayVpcAttachmentResponse is the response type for the AcceptTransitGatewayVpcAttachment API operation.

func (*AcceptTransitGatewayVpcAttachmentResponse) SDKResponseMetdata Uses

func (r *AcceptTransitGatewayVpcAttachmentResponse) SDKResponseMetdata() *aws<