Documentation ¶
Overview ¶
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 ¶
- Constants
- type AcceptReservedInstancesExchangeQuoteInput
- type AcceptReservedInstancesExchangeQuoteOutput
- type AcceptReservedInstancesExchangeQuoteRequest
- type AcceptReservedInstancesExchangeQuoteResponse
- type AcceptTransitGatewayVpcAttachmentInput
- type AcceptTransitGatewayVpcAttachmentOutput
- type AcceptTransitGatewayVpcAttachmentRequest
- type AcceptTransitGatewayVpcAttachmentResponse
- type AcceptVpcEndpointConnectionsInput
- type AcceptVpcEndpointConnectionsOutput
- type AcceptVpcEndpointConnectionsRequest
- type AcceptVpcEndpointConnectionsResponse
- type AcceptVpcPeeringConnectionInput
- type AcceptVpcPeeringConnectionOutput
- type AcceptVpcPeeringConnectionRequest
- type AcceptVpcPeeringConnectionResponse
- type AccountAttribute
- type AccountAttributeName
- type AccountAttributeValue
- type ActiveInstance
- type ActivityStatus
- type Address
- type AdvertiseByoipCidrInput
- type AdvertiseByoipCidrOutput
- type AdvertiseByoipCidrRequest
- type AdvertiseByoipCidrResponse
- type Affinity
- type AllocateAddressInput
- type AllocateAddressOutput
- type AllocateAddressRequest
- type AllocateAddressResponse
- type AllocateHostsInput
- type AllocateHostsOutput
- type AllocateHostsRequest
- type AllocateHostsResponse
- type AllocationState
- type AllocationStrategy
- type AllowedPrincipal
- type ApplySecurityGroupsToClientVpnTargetNetworkInput
- type ApplySecurityGroupsToClientVpnTargetNetworkOutput
- type ApplySecurityGroupsToClientVpnTargetNetworkRequest
- type ApplySecurityGroupsToClientVpnTargetNetworkResponse
- type ArchitectureValues
- type AssignIpv6AddressesInput
- type AssignIpv6AddressesOutput
- type AssignIpv6AddressesRequest
- type AssignIpv6AddressesResponse
- type AssignPrivateIpAddressesInput
- type AssignPrivateIpAddressesOutput
- type AssignPrivateIpAddressesRequest
- type AssignPrivateIpAddressesResponse
- type AssignedPrivateIpAddress
- type AssociateAddressInput
- type AssociateAddressOutput
- type AssociateAddressRequest
- type AssociateAddressResponse
- type AssociateClientVpnTargetNetworkInput
- type AssociateClientVpnTargetNetworkOutput
- type AssociateClientVpnTargetNetworkRequest
- type AssociateClientVpnTargetNetworkResponse
- type AssociateDhcpOptionsInput
- type AssociateDhcpOptionsOutput
- type AssociateDhcpOptionsRequest
- type AssociateDhcpOptionsResponse
- type AssociateIamInstanceProfileInput
- type AssociateIamInstanceProfileOutput
- type AssociateIamInstanceProfileRequest
- type AssociateIamInstanceProfileResponse
- type AssociateRouteTableInput
- type AssociateRouteTableOutput
- type AssociateRouteTableRequest
- type AssociateRouteTableResponse
- type AssociateSubnetCidrBlockInput
- type AssociateSubnetCidrBlockOutput
- type AssociateSubnetCidrBlockRequest
- type AssociateSubnetCidrBlockResponse
- type AssociateTransitGatewayRouteTableInput
- type AssociateTransitGatewayRouteTableOutput
- type AssociateTransitGatewayRouteTableRequest
- type AssociateTransitGatewayRouteTableResponse
- type AssociateVpcCidrBlockInput
- type AssociateVpcCidrBlockOutput
- type AssociateVpcCidrBlockRequest
- type AssociateVpcCidrBlockResponse
- type AssociatedNetworkType
- type AssociatedTargetNetwork
- type AssociationStatus
- type AssociationStatusCode
- type AttachClassicLinkVpcInput
- type AttachClassicLinkVpcOutput
- type AttachClassicLinkVpcRequest
- type AttachClassicLinkVpcResponse
- type AttachInternetGatewayInput
- type AttachInternetGatewayOutput
- type AttachInternetGatewayRequest
- type AttachInternetGatewayResponse
- type AttachNetworkInterfaceInput
- type AttachNetworkInterfaceOutput
- type AttachNetworkInterfaceRequest
- type AttachNetworkInterfaceResponse
- type AttachVolumeInput
- type AttachVolumeOutput
- type AttachVolumeRequest
- type AttachVolumeResponse
- type AttachVpnGatewayInput
- type AttachVpnGatewayOutput
- type AttachVpnGatewayRequest
- type AttachVpnGatewayResponse
- type AttachmentStatus
- type AttributeBooleanValue
- type AttributeValue
- type AuthorizationRule
- type AuthorizeClientVpnIngressInput
- type AuthorizeClientVpnIngressOutput
- type AuthorizeClientVpnIngressRequest
- type AuthorizeClientVpnIngressResponse
- type AuthorizeSecurityGroupEgressInput
- type AuthorizeSecurityGroupEgressOutput
- type AuthorizeSecurityGroupEgressRequest
- type AuthorizeSecurityGroupEgressResponse
- type AuthorizeSecurityGroupIngressInput
- type AuthorizeSecurityGroupIngressOutput
- type AuthorizeSecurityGroupIngressRequest
- type AuthorizeSecurityGroupIngressResponse
- type AutoAcceptSharedAttachmentsValue
- type AutoPlacement
- type AvailabilityZone
- type AvailabilityZoneMessage
- type AvailabilityZoneState
- type AvailableCapacity
- type BatchState
- type BlobAttributeValue
- type BlockDeviceMapping
- type BundleInstanceInput
- type BundleInstanceOutput
- type BundleInstanceRequest
- type BundleInstanceResponse
- type BundleTask
- type BundleTaskError
- type BundleTaskState
- type ByoipCidr
- type ByoipCidrState
- type CancelBatchErrorCode
- type CancelBundleTaskInput
- type CancelBundleTaskOutput
- type CancelBundleTaskRequest
- type CancelBundleTaskResponse
- type CancelCapacityReservationInput
- type CancelCapacityReservationOutput
- type CancelCapacityReservationRequest
- type CancelCapacityReservationResponse
- type CancelConversionTaskInput
- type CancelConversionTaskOutput
- type CancelConversionTaskRequest
- type CancelConversionTaskResponse
- type CancelExportTaskInput
- type CancelExportTaskOutput
- type CancelExportTaskRequest
- type CancelExportTaskResponse
- type CancelImportTaskInput
- type CancelImportTaskOutput
- type CancelImportTaskRequest
- type CancelImportTaskResponse
- type CancelReservedInstancesListingInput
- type CancelReservedInstancesListingOutput
- type CancelReservedInstancesListingRequest
- type CancelReservedInstancesListingResponse
- type CancelSpotFleetRequestsError
- type CancelSpotFleetRequestsErrorItem
- type CancelSpotFleetRequestsInput
- type CancelSpotFleetRequestsOutput
- type CancelSpotFleetRequestsRequest
- type CancelSpotFleetRequestsResponse
- type CancelSpotFleetRequestsSuccessItem
- type CancelSpotInstanceRequestState
- type CancelSpotInstanceRequestsInput
- type CancelSpotInstanceRequestsOutput
- type CancelSpotInstanceRequestsRequest
- type CancelSpotInstanceRequestsResponse
- type CancelledSpotInstanceRequest
- type CapacityReservation
- type CapacityReservationInstancePlatform
- type CapacityReservationPreference
- type CapacityReservationSpecification
- type CapacityReservationSpecificationResponse
- type CapacityReservationState
- type CapacityReservationTarget
- type CapacityReservationTargetResponse
- type CapacityReservationTenancy
- type CertificateAuthentication
- type CertificateAuthenticationRequest
- type CertificateRevocationListStatus
- type CertificateRevocationListStatusCode
- type CidrAuthorizationContext
- type CidrBlock
- type ClassicLinkDnsSupport
- type ClassicLinkInstance
- type ClassicLoadBalancer
- type ClassicLoadBalancersConfig
- type Client
- func (c *Client) AcceptReservedInstancesExchangeQuoteRequest(input *AcceptReservedInstancesExchangeQuoteInput) AcceptReservedInstancesExchangeQuoteRequest
- func (c *Client) AcceptTransitGatewayVpcAttachmentRequest(input *AcceptTransitGatewayVpcAttachmentInput) AcceptTransitGatewayVpcAttachmentRequest
- func (c *Client) AcceptVpcEndpointConnectionsRequest(input *AcceptVpcEndpointConnectionsInput) AcceptVpcEndpointConnectionsRequest
- func (c *Client) AcceptVpcPeeringConnectionRequest(input *AcceptVpcPeeringConnectionInput) AcceptVpcPeeringConnectionRequest
- func (c *Client) AdvertiseByoipCidrRequest(input *AdvertiseByoipCidrInput) AdvertiseByoipCidrRequest
- func (c *Client) AllocateAddressRequest(input *AllocateAddressInput) AllocateAddressRequest
- func (c *Client) AllocateHostsRequest(input *AllocateHostsInput) AllocateHostsRequest
- func (c *Client) ApplySecurityGroupsToClientVpnTargetNetworkRequest(input *ApplySecurityGroupsToClientVpnTargetNetworkInput) ApplySecurityGroupsToClientVpnTargetNetworkRequest
- func (c *Client) AssignIpv6AddressesRequest(input *AssignIpv6AddressesInput) AssignIpv6AddressesRequest
- func (c *Client) AssignPrivateIpAddressesRequest(input *AssignPrivateIpAddressesInput) AssignPrivateIpAddressesRequest
- func (c *Client) AssociateAddressRequest(input *AssociateAddressInput) AssociateAddressRequest
- func (c *Client) AssociateClientVpnTargetNetworkRequest(input *AssociateClientVpnTargetNetworkInput) AssociateClientVpnTargetNetworkRequest
- func (c *Client) AssociateDhcpOptionsRequest(input *AssociateDhcpOptionsInput) AssociateDhcpOptionsRequest
- func (c *Client) AssociateIamInstanceProfileRequest(input *AssociateIamInstanceProfileInput) AssociateIamInstanceProfileRequest
- func (c *Client) AssociateRouteTableRequest(input *AssociateRouteTableInput) AssociateRouteTableRequest
- func (c *Client) AssociateSubnetCidrBlockRequest(input *AssociateSubnetCidrBlockInput) AssociateSubnetCidrBlockRequest
- func (c *Client) AssociateTransitGatewayRouteTableRequest(input *AssociateTransitGatewayRouteTableInput) AssociateTransitGatewayRouteTableRequest
- func (c *Client) AssociateVpcCidrBlockRequest(input *AssociateVpcCidrBlockInput) AssociateVpcCidrBlockRequest
- func (c *Client) AttachClassicLinkVpcRequest(input *AttachClassicLinkVpcInput) AttachClassicLinkVpcRequest
- func (c *Client) AttachInternetGatewayRequest(input *AttachInternetGatewayInput) AttachInternetGatewayRequest
- func (c *Client) AttachNetworkInterfaceRequest(input *AttachNetworkInterfaceInput) AttachNetworkInterfaceRequest
- func (c *Client) AttachVolumeRequest(input *AttachVolumeInput) AttachVolumeRequest
- func (c *Client) AttachVpnGatewayRequest(input *AttachVpnGatewayInput) AttachVpnGatewayRequest
- func (c *Client) AuthorizeClientVpnIngressRequest(input *AuthorizeClientVpnIngressInput) AuthorizeClientVpnIngressRequest
- func (c *Client) AuthorizeSecurityGroupEgressRequest(input *AuthorizeSecurityGroupEgressInput) AuthorizeSecurityGroupEgressRequest
- func (c *Client) AuthorizeSecurityGroupIngressRequest(input *AuthorizeSecurityGroupIngressInput) AuthorizeSecurityGroupIngressRequest
- func (c *Client) BundleInstanceRequest(input *BundleInstanceInput) BundleInstanceRequest
- func (c *Client) CancelBundleTaskRequest(input *CancelBundleTaskInput) CancelBundleTaskRequest
- func (c *Client) CancelCapacityReservationRequest(input *CancelCapacityReservationInput) CancelCapacityReservationRequest
- func (c *Client) CancelConversionTaskRequest(input *CancelConversionTaskInput) CancelConversionTaskRequest
- func (c *Client) CancelExportTaskRequest(input *CancelExportTaskInput) CancelExportTaskRequest
- func (c *Client) CancelImportTaskRequest(input *CancelImportTaskInput) CancelImportTaskRequest
- func (c *Client) CancelReservedInstancesListingRequest(input *CancelReservedInstancesListingInput) CancelReservedInstancesListingRequest
- func (c *Client) CancelSpotFleetRequestsRequest(input *CancelSpotFleetRequestsInput) CancelSpotFleetRequestsRequest
- func (c *Client) CancelSpotInstanceRequestsRequest(input *CancelSpotInstanceRequestsInput) CancelSpotInstanceRequestsRequest
- func (c *Client) ConfirmProductInstanceRequest(input *ConfirmProductInstanceInput) ConfirmProductInstanceRequest
- func (c *Client) CopyFpgaImageRequest(input *CopyFpgaImageInput) CopyFpgaImageRequest
- func (c *Client) CopyImageRequest(input *CopyImageInput) CopyImageRequest
- func (c *Client) CopySnapshotRequest(input *CopySnapshotInput) CopySnapshotRequest
- func (c *Client) CreateCapacityReservationRequest(input *CreateCapacityReservationInput) CreateCapacityReservationRequest
- func (c *Client) CreateClientVpnEndpointRequest(input *CreateClientVpnEndpointInput) CreateClientVpnEndpointRequest
- func (c *Client) CreateClientVpnRouteRequest(input *CreateClientVpnRouteInput) CreateClientVpnRouteRequest
- func (c *Client) CreateCustomerGatewayRequest(input *CreateCustomerGatewayInput) CreateCustomerGatewayRequest
- func (c *Client) CreateDefaultSubnetRequest(input *CreateDefaultSubnetInput) CreateDefaultSubnetRequest
- func (c *Client) CreateDefaultVpcRequest(input *CreateDefaultVpcInput) CreateDefaultVpcRequest
- func (c *Client) CreateDhcpOptionsRequest(input *CreateDhcpOptionsInput) CreateDhcpOptionsRequest
- func (c *Client) CreateEgressOnlyInternetGatewayRequest(input *CreateEgressOnlyInternetGatewayInput) CreateEgressOnlyInternetGatewayRequest
- func (c *Client) CreateFleetRequest(input *CreateFleetInput) CreateFleetRequest
- func (c *Client) CreateFlowLogsRequest(input *CreateFlowLogsInput) CreateFlowLogsRequest
- func (c *Client) CreateFpgaImageRequest(input *CreateFpgaImageInput) CreateFpgaImageRequest
- func (c *Client) CreateImageRequest(input *CreateImageInput) CreateImageRequest
- func (c *Client) CreateInstanceExportTaskRequest(input *CreateInstanceExportTaskInput) CreateInstanceExportTaskRequest
- func (c *Client) CreateInternetGatewayRequest(input *CreateInternetGatewayInput) CreateInternetGatewayRequest
- func (c *Client) CreateKeyPairRequest(input *CreateKeyPairInput) CreateKeyPairRequest
- func (c *Client) CreateLaunchTemplateRequest(input *CreateLaunchTemplateInput) CreateLaunchTemplateRequest
- func (c *Client) CreateLaunchTemplateVersionRequest(input *CreateLaunchTemplateVersionInput) CreateLaunchTemplateVersionRequest
- func (c *Client) CreateNatGatewayRequest(input *CreateNatGatewayInput) CreateNatGatewayRequest
- func (c *Client) CreateNetworkAclEntryRequest(input *CreateNetworkAclEntryInput) CreateNetworkAclEntryRequest
- func (c *Client) CreateNetworkAclRequest(input *CreateNetworkAclInput) CreateNetworkAclRequest
- func (c *Client) CreateNetworkInterfacePermissionRequest(input *CreateNetworkInterfacePermissionInput) CreateNetworkInterfacePermissionRequest
- func (c *Client) CreateNetworkInterfaceRequest(input *CreateNetworkInterfaceInput) CreateNetworkInterfaceRequest
- func (c *Client) CreatePlacementGroupRequest(input *CreatePlacementGroupInput) CreatePlacementGroupRequest
- func (c *Client) CreateReservedInstancesListingRequest(input *CreateReservedInstancesListingInput) CreateReservedInstancesListingRequest
- func (c *Client) CreateRouteRequest(input *CreateRouteInput) CreateRouteRequest
- func (c *Client) CreateRouteTableRequest(input *CreateRouteTableInput) CreateRouteTableRequest
- func (c *Client) CreateSecurityGroupRequest(input *CreateSecurityGroupInput) CreateSecurityGroupRequest
- func (c *Client) CreateSnapshotRequest(input *CreateSnapshotInput) CreateSnapshotRequest
- func (c *Client) CreateSnapshotsRequest(input *CreateSnapshotsInput) CreateSnapshotsRequest
- func (c *Client) CreateSpotDatafeedSubscriptionRequest(input *CreateSpotDatafeedSubscriptionInput) CreateSpotDatafeedSubscriptionRequest
- func (c *Client) CreateSubnetRequest(input *CreateSubnetInput) CreateSubnetRequest
- func (c *Client) CreateTagsRequest(input *CreateTagsInput) CreateTagsRequest
- func (c *Client) CreateTrafficMirrorFilterRequest(input *CreateTrafficMirrorFilterInput) CreateTrafficMirrorFilterRequest
- func (c *Client) CreateTrafficMirrorFilterRuleRequest(input *CreateTrafficMirrorFilterRuleInput) CreateTrafficMirrorFilterRuleRequest
- func (c *Client) CreateTrafficMirrorSessionRequest(input *CreateTrafficMirrorSessionInput) CreateTrafficMirrorSessionRequest
- func (c *Client) CreateTrafficMirrorTargetRequest(input *CreateTrafficMirrorTargetInput) CreateTrafficMirrorTargetRequest
- func (c *Client) CreateTransitGatewayRequest(input *CreateTransitGatewayInput) CreateTransitGatewayRequest
- func (c *Client) CreateTransitGatewayRouteRequest(input *CreateTransitGatewayRouteInput) CreateTransitGatewayRouteRequest
- func (c *Client) CreateTransitGatewayRouteTableRequest(input *CreateTransitGatewayRouteTableInput) CreateTransitGatewayRouteTableRequest
- func (c *Client) CreateTransitGatewayVpcAttachmentRequest(input *CreateTransitGatewayVpcAttachmentInput) CreateTransitGatewayVpcAttachmentRequest
- func (c *Client) CreateVolumeRequest(input *CreateVolumeInput) CreateVolumeRequest
- func (c *Client) CreateVpcEndpointConnectionNotificationRequest(input *CreateVpcEndpointConnectionNotificationInput) CreateVpcEndpointConnectionNotificationRequest
- func (c *Client) CreateVpcEndpointRequest(input *CreateVpcEndpointInput) CreateVpcEndpointRequest
- func (c *Client) CreateVpcEndpointServiceConfigurationRequest(input *CreateVpcEndpointServiceConfigurationInput) CreateVpcEndpointServiceConfigurationRequest
- func (c *Client) CreateVpcPeeringConnectionRequest(input *CreateVpcPeeringConnectionInput) CreateVpcPeeringConnectionRequest
- func (c *Client) CreateVpcRequest(input *CreateVpcInput) CreateVpcRequest
- func (c *Client) CreateVpnConnectionRequest(input *CreateVpnConnectionInput) CreateVpnConnectionRequest
- func (c *Client) CreateVpnConnectionRouteRequest(input *CreateVpnConnectionRouteInput) CreateVpnConnectionRouteRequest
- func (c *Client) CreateVpnGatewayRequest(input *CreateVpnGatewayInput) CreateVpnGatewayRequest
- func (c *Client) DeleteClientVpnEndpointRequest(input *DeleteClientVpnEndpointInput) DeleteClientVpnEndpointRequest
- func (c *Client) DeleteClientVpnRouteRequest(input *DeleteClientVpnRouteInput) DeleteClientVpnRouteRequest
- func (c *Client) DeleteCustomerGatewayRequest(input *DeleteCustomerGatewayInput) DeleteCustomerGatewayRequest
- func (c *Client) DeleteDhcpOptionsRequest(input *DeleteDhcpOptionsInput) DeleteDhcpOptionsRequest
- func (c *Client) DeleteEgressOnlyInternetGatewayRequest(input *DeleteEgressOnlyInternetGatewayInput) DeleteEgressOnlyInternetGatewayRequest
- func (c *Client) DeleteFleetsRequest(input *DeleteFleetsInput) DeleteFleetsRequest
- func (c *Client) DeleteFlowLogsRequest(input *DeleteFlowLogsInput) DeleteFlowLogsRequest
- func (c *Client) DeleteFpgaImageRequest(input *DeleteFpgaImageInput) DeleteFpgaImageRequest
- func (c *Client) DeleteInternetGatewayRequest(input *DeleteInternetGatewayInput) DeleteInternetGatewayRequest
- func (c *Client) DeleteKeyPairRequest(input *DeleteKeyPairInput) DeleteKeyPairRequest
- func (c *Client) DeleteLaunchTemplateRequest(input *DeleteLaunchTemplateInput) DeleteLaunchTemplateRequest
- func (c *Client) DeleteLaunchTemplateVersionsRequest(input *DeleteLaunchTemplateVersionsInput) DeleteLaunchTemplateVersionsRequest
- func (c *Client) DeleteNatGatewayRequest(input *DeleteNatGatewayInput) DeleteNatGatewayRequest
- func (c *Client) DeleteNetworkAclEntryRequest(input *DeleteNetworkAclEntryInput) DeleteNetworkAclEntryRequest
- func (c *Client) DeleteNetworkAclRequest(input *DeleteNetworkAclInput) DeleteNetworkAclRequest
- func (c *Client) DeleteNetworkInterfacePermissionRequest(input *DeleteNetworkInterfacePermissionInput) DeleteNetworkInterfacePermissionRequest
- func (c *Client) DeleteNetworkInterfaceRequest(input *DeleteNetworkInterfaceInput) DeleteNetworkInterfaceRequest
- func (c *Client) DeletePlacementGroupRequest(input *DeletePlacementGroupInput) DeletePlacementGroupRequest
- func (c *Client) DeleteQueuedReservedInstancesRequest(input *DeleteQueuedReservedInstancesInput) DeleteQueuedReservedInstancesRequest
- func (c *Client) DeleteRouteRequest(input *DeleteRouteInput) DeleteRouteRequest
- func (c *Client) DeleteRouteTableRequest(input *DeleteRouteTableInput) DeleteRouteTableRequest
- func (c *Client) DeleteSecurityGroupRequest(input *DeleteSecurityGroupInput) DeleteSecurityGroupRequest
- func (c *Client) DeleteSnapshotRequest(input *DeleteSnapshotInput) DeleteSnapshotRequest
- func (c *Client) DeleteSpotDatafeedSubscriptionRequest(input *DeleteSpotDatafeedSubscriptionInput) DeleteSpotDatafeedSubscriptionRequest
- func (c *Client) DeleteSubnetRequest(input *DeleteSubnetInput) DeleteSubnetRequest
- func (c *Client) DeleteTagsRequest(input *DeleteTagsInput) DeleteTagsRequest
- func (c *Client) DeleteTrafficMirrorFilterRequest(input *DeleteTrafficMirrorFilterInput) DeleteTrafficMirrorFilterRequest
- func (c *Client) DeleteTrafficMirrorFilterRuleRequest(input *DeleteTrafficMirrorFilterRuleInput) DeleteTrafficMirrorFilterRuleRequest
- func (c *Client) DeleteTrafficMirrorSessionRequest(input *DeleteTrafficMirrorSessionInput) DeleteTrafficMirrorSessionRequest
- func (c *Client) DeleteTrafficMirrorTargetRequest(input *DeleteTrafficMirrorTargetInput) DeleteTrafficMirrorTargetRequest
- func (c *Client) DeleteTransitGatewayRequest(input *DeleteTransitGatewayInput) DeleteTransitGatewayRequest
- func (c *Client) DeleteTransitGatewayRouteRequest(input *DeleteTransitGatewayRouteInput) DeleteTransitGatewayRouteRequest
- func (c *Client) DeleteTransitGatewayRouteTableRequest(input *DeleteTransitGatewayRouteTableInput) DeleteTransitGatewayRouteTableRequest
- func (c *Client) DeleteTransitGatewayVpcAttachmentRequest(input *DeleteTransitGatewayVpcAttachmentInput) DeleteTransitGatewayVpcAttachmentRequest
- func (c *Client) DeleteVolumeRequest(input *DeleteVolumeInput) DeleteVolumeRequest
- func (c *Client) DeleteVpcEndpointConnectionNotificationsRequest(input *DeleteVpcEndpointConnectionNotificationsInput) DeleteVpcEndpointConnectionNotificationsRequest
- func (c *Client) DeleteVpcEndpointServiceConfigurationsRequest(input *DeleteVpcEndpointServiceConfigurationsInput) DeleteVpcEndpointServiceConfigurationsRequest
- func (c *Client) DeleteVpcEndpointsRequest(input *DeleteVpcEndpointsInput) DeleteVpcEndpointsRequest
- func (c *Client) DeleteVpcPeeringConnectionRequest(input *DeleteVpcPeeringConnectionInput) DeleteVpcPeeringConnectionRequest
- func (c *Client) DeleteVpcRequest(input *DeleteVpcInput) DeleteVpcRequest
- func (c *Client) DeleteVpnConnectionRequest(input *DeleteVpnConnectionInput) DeleteVpnConnectionRequest
- func (c *Client) DeleteVpnConnectionRouteRequest(input *DeleteVpnConnectionRouteInput) DeleteVpnConnectionRouteRequest
- func (c *Client) DeleteVpnGatewayRequest(input *DeleteVpnGatewayInput) DeleteVpnGatewayRequest
- func (c *Client) DeprovisionByoipCidrRequest(input *DeprovisionByoipCidrInput) DeprovisionByoipCidrRequest
- func (c *Client) DeregisterImageRequest(input *DeregisterImageInput) DeregisterImageRequest
- func (c *Client) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) DescribeAccountAttributesRequest
- func (c *Client) DescribeAddressesRequest(input *DescribeAddressesInput) DescribeAddressesRequest
- func (c *Client) DescribeAggregateIdFormatRequest(input *DescribeAggregateIdFormatInput) DescribeAggregateIdFormatRequest
- func (c *Client) DescribeAvailabilityZonesRequest(input *DescribeAvailabilityZonesInput) DescribeAvailabilityZonesRequest
- func (c *Client) DescribeBundleTasksRequest(input *DescribeBundleTasksInput) DescribeBundleTasksRequest
- func (c *Client) DescribeByoipCidrsRequest(input *DescribeByoipCidrsInput) DescribeByoipCidrsRequest
- func (c *Client) DescribeCapacityReservationsRequest(input *DescribeCapacityReservationsInput) DescribeCapacityReservationsRequest
- func (c *Client) DescribeClassicLinkInstancesRequest(input *DescribeClassicLinkInstancesInput) DescribeClassicLinkInstancesRequest
- func (c *Client) DescribeClientVpnAuthorizationRulesRequest(input *DescribeClientVpnAuthorizationRulesInput) DescribeClientVpnAuthorizationRulesRequest
- func (c *Client) DescribeClientVpnConnectionsRequest(input *DescribeClientVpnConnectionsInput) DescribeClientVpnConnectionsRequest
- func (c *Client) DescribeClientVpnEndpointsRequest(input *DescribeClientVpnEndpointsInput) DescribeClientVpnEndpointsRequest
- func (c *Client) DescribeClientVpnRoutesRequest(input *DescribeClientVpnRoutesInput) DescribeClientVpnRoutesRequest
- func (c *Client) DescribeClientVpnTargetNetworksRequest(input *DescribeClientVpnTargetNetworksInput) DescribeClientVpnTargetNetworksRequest
- func (c *Client) DescribeConversionTasksRequest(input *DescribeConversionTasksInput) DescribeConversionTasksRequest
- func (c *Client) DescribeCustomerGatewaysRequest(input *DescribeCustomerGatewaysInput) DescribeCustomerGatewaysRequest
- func (c *Client) DescribeDhcpOptionsRequest(input *DescribeDhcpOptionsInput) DescribeDhcpOptionsRequest
- func (c *Client) DescribeEgressOnlyInternetGatewaysRequest(input *DescribeEgressOnlyInternetGatewaysInput) DescribeEgressOnlyInternetGatewaysRequest
- func (c *Client) DescribeElasticGpusRequest(input *DescribeElasticGpusInput) DescribeElasticGpusRequest
- func (c *Client) DescribeExportImageTasksRequest(input *DescribeExportImageTasksInput) DescribeExportImageTasksRequest
- func (c *Client) DescribeExportTasksRequest(input *DescribeExportTasksInput) DescribeExportTasksRequest
- func (c *Client) DescribeFleetHistoryRequest(input *DescribeFleetHistoryInput) DescribeFleetHistoryRequest
- func (c *Client) DescribeFleetInstancesRequest(input *DescribeFleetInstancesInput) DescribeFleetInstancesRequest
- func (c *Client) DescribeFleetsRequest(input *DescribeFleetsInput) DescribeFleetsRequest
- func (c *Client) DescribeFlowLogsRequest(input *DescribeFlowLogsInput) DescribeFlowLogsRequest
- func (c *Client) DescribeFpgaImageAttributeRequest(input *DescribeFpgaImageAttributeInput) DescribeFpgaImageAttributeRequest
- func (c *Client) DescribeFpgaImagesRequest(input *DescribeFpgaImagesInput) DescribeFpgaImagesRequest
- func (c *Client) DescribeHostReservationOfferingsRequest(input *DescribeHostReservationOfferingsInput) DescribeHostReservationOfferingsRequest
- func (c *Client) DescribeHostReservationsRequest(input *DescribeHostReservationsInput) DescribeHostReservationsRequest
- func (c *Client) DescribeHostsRequest(input *DescribeHostsInput) DescribeHostsRequest
- func (c *Client) DescribeIamInstanceProfileAssociationsRequest(input *DescribeIamInstanceProfileAssociationsInput) DescribeIamInstanceProfileAssociationsRequest
- func (c *Client) DescribeIdFormatRequest(input *DescribeIdFormatInput) DescribeIdFormatRequest
- func (c *Client) DescribeIdentityIdFormatRequest(input *DescribeIdentityIdFormatInput) DescribeIdentityIdFormatRequest
- func (c *Client) DescribeImageAttributeRequest(input *DescribeImageAttributeInput) DescribeImageAttributeRequest
- func (c *Client) DescribeImagesRequest(input *DescribeImagesInput) DescribeImagesRequest
- func (c *Client) DescribeImportImageTasksRequest(input *DescribeImportImageTasksInput) DescribeImportImageTasksRequest
- func (c *Client) DescribeImportSnapshotTasksRequest(input *DescribeImportSnapshotTasksInput) DescribeImportSnapshotTasksRequest
- func (c *Client) DescribeInstanceAttributeRequest(input *DescribeInstanceAttributeInput) DescribeInstanceAttributeRequest
- func (c *Client) DescribeInstanceCreditSpecificationsRequest(input *DescribeInstanceCreditSpecificationsInput) DescribeInstanceCreditSpecificationsRequest
- func (c *Client) DescribeInstanceStatusRequest(input *DescribeInstanceStatusInput) DescribeInstanceStatusRequest
- func (c *Client) DescribeInstancesRequest(input *DescribeInstancesInput) DescribeInstancesRequest
- func (c *Client) DescribeInternetGatewaysRequest(input *DescribeInternetGatewaysInput) DescribeInternetGatewaysRequest
- func (c *Client) DescribeKeyPairsRequest(input *DescribeKeyPairsInput) DescribeKeyPairsRequest
- func (c *Client) DescribeLaunchTemplateVersionsRequest(input *DescribeLaunchTemplateVersionsInput) DescribeLaunchTemplateVersionsRequest
- func (c *Client) DescribeLaunchTemplatesRequest(input *DescribeLaunchTemplatesInput) DescribeLaunchTemplatesRequest
- func (c *Client) DescribeMovingAddressesRequest(input *DescribeMovingAddressesInput) DescribeMovingAddressesRequest
- func (c *Client) DescribeNatGatewaysRequest(input *DescribeNatGatewaysInput) DescribeNatGatewaysRequest
- func (c *Client) DescribeNetworkAclsRequest(input *DescribeNetworkAclsInput) DescribeNetworkAclsRequest
- func (c *Client) DescribeNetworkInterfaceAttributeRequest(input *DescribeNetworkInterfaceAttributeInput) DescribeNetworkInterfaceAttributeRequest
- func (c *Client) DescribeNetworkInterfacePermissionsRequest(input *DescribeNetworkInterfacePermissionsInput) DescribeNetworkInterfacePermissionsRequest
- func (c *Client) DescribeNetworkInterfacesRequest(input *DescribeNetworkInterfacesInput) DescribeNetworkInterfacesRequest
- func (c *Client) DescribePlacementGroupsRequest(input *DescribePlacementGroupsInput) DescribePlacementGroupsRequest
- func (c *Client) DescribePrefixListsRequest(input *DescribePrefixListsInput) DescribePrefixListsRequest
- func (c *Client) DescribePrincipalIdFormatRequest(input *DescribePrincipalIdFormatInput) DescribePrincipalIdFormatRequest
- func (c *Client) DescribePublicIpv4PoolsRequest(input *DescribePublicIpv4PoolsInput) DescribePublicIpv4PoolsRequest
- func (c *Client) DescribeRegionsRequest(input *DescribeRegionsInput) DescribeRegionsRequest
- func (c *Client) DescribeReservedInstancesListingsRequest(input *DescribeReservedInstancesListingsInput) DescribeReservedInstancesListingsRequest
- func (c *Client) DescribeReservedInstancesModificationsRequest(input *DescribeReservedInstancesModificationsInput) DescribeReservedInstancesModificationsRequest
- func (c *Client) DescribeReservedInstancesOfferingsRequest(input *DescribeReservedInstancesOfferingsInput) DescribeReservedInstancesOfferingsRequest
- func (c *Client) DescribeReservedInstancesRequest(input *DescribeReservedInstancesInput) DescribeReservedInstancesRequest
- func (c *Client) DescribeRouteTablesRequest(input *DescribeRouteTablesInput) DescribeRouteTablesRequest
- func (c *Client) DescribeScheduledInstanceAvailabilityRequest(input *DescribeScheduledInstanceAvailabilityInput) DescribeScheduledInstanceAvailabilityRequest
- func (c *Client) DescribeScheduledInstancesRequest(input *DescribeScheduledInstancesInput) DescribeScheduledInstancesRequest
- func (c *Client) DescribeSecurityGroupReferencesRequest(input *DescribeSecurityGroupReferencesInput) DescribeSecurityGroupReferencesRequest
- func (c *Client) DescribeSecurityGroupsRequest(input *DescribeSecurityGroupsInput) DescribeSecurityGroupsRequest
- func (c *Client) DescribeSnapshotAttributeRequest(input *DescribeSnapshotAttributeInput) DescribeSnapshotAttributeRequest
- func (c *Client) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) DescribeSnapshotsRequest
- func (c *Client) DescribeSpotDatafeedSubscriptionRequest(input *DescribeSpotDatafeedSubscriptionInput) DescribeSpotDatafeedSubscriptionRequest
- func (c *Client) DescribeSpotFleetInstancesRequest(input *DescribeSpotFleetInstancesInput) DescribeSpotFleetInstancesRequest
- func (c *Client) DescribeSpotFleetRequestHistoryRequest(input *DescribeSpotFleetRequestHistoryInput) DescribeSpotFleetRequestHistoryRequest
- func (c *Client) DescribeSpotFleetRequestsRequest(input *DescribeSpotFleetRequestsInput) DescribeSpotFleetRequestsRequest
- func (c *Client) DescribeSpotInstanceRequestsRequest(input *DescribeSpotInstanceRequestsInput) DescribeSpotInstanceRequestsRequest
- func (c *Client) DescribeSpotPriceHistoryRequest(input *DescribeSpotPriceHistoryInput) DescribeSpotPriceHistoryRequest
- func (c *Client) DescribeStaleSecurityGroupsRequest(input *DescribeStaleSecurityGroupsInput) DescribeStaleSecurityGroupsRequest
- func (c *Client) DescribeSubnetsRequest(input *DescribeSubnetsInput) DescribeSubnetsRequest
- func (c *Client) DescribeTagsRequest(input *DescribeTagsInput) DescribeTagsRequest
- func (c *Client) DescribeTrafficMirrorFiltersRequest(input *DescribeTrafficMirrorFiltersInput) DescribeTrafficMirrorFiltersRequest
- func (c *Client) DescribeTrafficMirrorSessionsRequest(input *DescribeTrafficMirrorSessionsInput) DescribeTrafficMirrorSessionsRequest
- func (c *Client) DescribeTrafficMirrorTargetsRequest(input *DescribeTrafficMirrorTargetsInput) DescribeTrafficMirrorTargetsRequest
- func (c *Client) DescribeTransitGatewayAttachmentsRequest(input *DescribeTransitGatewayAttachmentsInput) DescribeTransitGatewayAttachmentsRequest
- func (c *Client) DescribeTransitGatewayRouteTablesRequest(input *DescribeTransitGatewayRouteTablesInput) DescribeTransitGatewayRouteTablesRequest
- func (c *Client) DescribeTransitGatewayVpcAttachmentsRequest(input *DescribeTransitGatewayVpcAttachmentsInput) DescribeTransitGatewayVpcAttachmentsRequest
- func (c *Client) DescribeTransitGatewaysRequest(input *DescribeTransitGatewaysInput) DescribeTransitGatewaysRequest
- func (c *Client) DescribeVolumeAttributeRequest(input *DescribeVolumeAttributeInput) DescribeVolumeAttributeRequest
- func (c *Client) DescribeVolumeStatusRequest(input *DescribeVolumeStatusInput) DescribeVolumeStatusRequest
- func (c *Client) DescribeVolumesModificationsRequest(input *DescribeVolumesModificationsInput) DescribeVolumesModificationsRequest
- func (c *Client) DescribeVolumesRequest(input *DescribeVolumesInput) DescribeVolumesRequest
- func (c *Client) DescribeVpcAttributeRequest(input *DescribeVpcAttributeInput) DescribeVpcAttributeRequest
- func (c *Client) DescribeVpcClassicLinkDnsSupportRequest(input *DescribeVpcClassicLinkDnsSupportInput) DescribeVpcClassicLinkDnsSupportRequest
- func (c *Client) DescribeVpcClassicLinkRequest(input *DescribeVpcClassicLinkInput) DescribeVpcClassicLinkRequest
- func (c *Client) DescribeVpcEndpointConnectionNotificationsRequest(input *DescribeVpcEndpointConnectionNotificationsInput) DescribeVpcEndpointConnectionNotificationsRequest
- func (c *Client) DescribeVpcEndpointConnectionsRequest(input *DescribeVpcEndpointConnectionsInput) DescribeVpcEndpointConnectionsRequest
- func (c *Client) DescribeVpcEndpointServiceConfigurationsRequest(input *DescribeVpcEndpointServiceConfigurationsInput) DescribeVpcEndpointServiceConfigurationsRequest
- func (c *Client) DescribeVpcEndpointServicePermissionsRequest(input *DescribeVpcEndpointServicePermissionsInput) DescribeVpcEndpointServicePermissionsRequest
- func (c *Client) DescribeVpcEndpointServicesRequest(input *DescribeVpcEndpointServicesInput) DescribeVpcEndpointServicesRequest
- func (c *Client) DescribeVpcEndpointsRequest(input *DescribeVpcEndpointsInput) DescribeVpcEndpointsRequest
- func (c *Client) DescribeVpcPeeringConnectionsRequest(input *DescribeVpcPeeringConnectionsInput) DescribeVpcPeeringConnectionsRequest
- func (c *Client) DescribeVpcsRequest(input *DescribeVpcsInput) DescribeVpcsRequest
- func (c *Client) DescribeVpnConnectionsRequest(input *DescribeVpnConnectionsInput) DescribeVpnConnectionsRequest
- func (c *Client) DescribeVpnGatewaysRequest(input *DescribeVpnGatewaysInput) DescribeVpnGatewaysRequest
- func (c *Client) DetachClassicLinkVpcRequest(input *DetachClassicLinkVpcInput) DetachClassicLinkVpcRequest
- func (c *Client) DetachInternetGatewayRequest(input *DetachInternetGatewayInput) DetachInternetGatewayRequest
- func (c *Client) DetachNetworkInterfaceRequest(input *DetachNetworkInterfaceInput) DetachNetworkInterfaceRequest
- func (c *Client) DetachVolumeRequest(input *DetachVolumeInput) DetachVolumeRequest
- func (c *Client) DetachVpnGatewayRequest(input *DetachVpnGatewayInput) DetachVpnGatewayRequest
- func (c *Client) DisableEbsEncryptionByDefaultRequest(input *DisableEbsEncryptionByDefaultInput) DisableEbsEncryptionByDefaultRequest
- func (c *Client) DisableTransitGatewayRouteTablePropagationRequest(input *DisableTransitGatewayRouteTablePropagationInput) DisableTransitGatewayRouteTablePropagationRequest
- func (c *Client) DisableVgwRoutePropagationRequest(input *DisableVgwRoutePropagationInput) DisableVgwRoutePropagationRequest
- func (c *Client) DisableVpcClassicLinkDnsSupportRequest(input *DisableVpcClassicLinkDnsSupportInput) DisableVpcClassicLinkDnsSupportRequest
- func (c *Client) DisableVpcClassicLinkRequest(input *DisableVpcClassicLinkInput) DisableVpcClassicLinkRequest
- func (c *Client) DisassociateAddressRequest(input *DisassociateAddressInput) DisassociateAddressRequest
- func (c *Client) DisassociateClientVpnTargetNetworkRequest(input *DisassociateClientVpnTargetNetworkInput) DisassociateClientVpnTargetNetworkRequest
- func (c *Client) DisassociateIamInstanceProfileRequest(input *DisassociateIamInstanceProfileInput) DisassociateIamInstanceProfileRequest
- func (c *Client) DisassociateRouteTableRequest(input *DisassociateRouteTableInput) DisassociateRouteTableRequest
- func (c *Client) DisassociateSubnetCidrBlockRequest(input *DisassociateSubnetCidrBlockInput) DisassociateSubnetCidrBlockRequest
- func (c *Client) DisassociateTransitGatewayRouteTableRequest(input *DisassociateTransitGatewayRouteTableInput) DisassociateTransitGatewayRouteTableRequest
- func (c *Client) DisassociateVpcCidrBlockRequest(input *DisassociateVpcCidrBlockInput) DisassociateVpcCidrBlockRequest
- func (c *Client) EnableEbsEncryptionByDefaultRequest(input *EnableEbsEncryptionByDefaultInput) EnableEbsEncryptionByDefaultRequest
- func (c *Client) EnableTransitGatewayRouteTablePropagationRequest(input *EnableTransitGatewayRouteTablePropagationInput) EnableTransitGatewayRouteTablePropagationRequest
- func (c *Client) EnableVgwRoutePropagationRequest(input *EnableVgwRoutePropagationInput) EnableVgwRoutePropagationRequest
- func (c *Client) EnableVolumeIORequest(input *EnableVolumeIOInput) EnableVolumeIORequest
- func (c *Client) EnableVpcClassicLinkDnsSupportRequest(input *EnableVpcClassicLinkDnsSupportInput) EnableVpcClassicLinkDnsSupportRequest
- func (c *Client) EnableVpcClassicLinkRequest(input *EnableVpcClassicLinkInput) EnableVpcClassicLinkRequest
- func (c *Client) ExportClientVpnClientCertificateRevocationListRequest(input *ExportClientVpnClientCertificateRevocationListInput) ExportClientVpnClientCertificateRevocationListRequest
- func (c *Client) ExportClientVpnClientConfigurationRequest(input *ExportClientVpnClientConfigurationInput) ExportClientVpnClientConfigurationRequest
- func (c *Client) ExportImageRequest(input *ExportImageInput) ExportImageRequest
- func (c *Client) ExportTransitGatewayRoutesRequest(input *ExportTransitGatewayRoutesInput) ExportTransitGatewayRoutesRequest
- func (c *Client) GetCapacityReservationUsageRequest(input *GetCapacityReservationUsageInput) GetCapacityReservationUsageRequest
- func (c *Client) GetConsoleOutputRequest(input *GetConsoleOutputInput) GetConsoleOutputRequest
- func (c *Client) GetConsoleScreenshotRequest(input *GetConsoleScreenshotInput) GetConsoleScreenshotRequest
- func (c *Client) GetEbsDefaultKmsKeyIdRequest(input *GetEbsDefaultKmsKeyIdInput) GetEbsDefaultKmsKeyIdRequest
- func (c *Client) GetEbsEncryptionByDefaultRequest(input *GetEbsEncryptionByDefaultInput) GetEbsEncryptionByDefaultRequest
- func (c *Client) GetHostReservationPurchasePreviewRequest(input *GetHostReservationPurchasePreviewInput) GetHostReservationPurchasePreviewRequest
- func (c *Client) GetLaunchTemplateDataRequest(input *GetLaunchTemplateDataInput) GetLaunchTemplateDataRequest
- func (c *Client) GetPasswordDataRequest(input *GetPasswordDataInput) GetPasswordDataRequest
- func (c *Client) GetReservedInstancesExchangeQuoteRequest(input *GetReservedInstancesExchangeQuoteInput) GetReservedInstancesExchangeQuoteRequest
- func (c *Client) GetTransitGatewayAttachmentPropagationsRequest(input *GetTransitGatewayAttachmentPropagationsInput) GetTransitGatewayAttachmentPropagationsRequest
- func (c *Client) GetTransitGatewayRouteTableAssociationsRequest(input *GetTransitGatewayRouteTableAssociationsInput) GetTransitGatewayRouteTableAssociationsRequest
- func (c *Client) GetTransitGatewayRouteTablePropagationsRequest(input *GetTransitGatewayRouteTablePropagationsInput) GetTransitGatewayRouteTablePropagationsRequest
- func (c *Client) ImportClientVpnClientCertificateRevocationListRequest(input *ImportClientVpnClientCertificateRevocationListInput) ImportClientVpnClientCertificateRevocationListRequest
- func (c *Client) ImportImageRequest(input *ImportImageInput) ImportImageRequest
- func (c *Client) ImportInstanceRequest(input *ImportInstanceInput) ImportInstanceRequest
- func (c *Client) ImportKeyPairRequest(input *ImportKeyPairInput) ImportKeyPairRequest
- func (c *Client) ImportSnapshotRequest(input *ImportSnapshotInput) ImportSnapshotRequest
- func (c *Client) ImportVolumeRequest(input *ImportVolumeInput) ImportVolumeRequest
- func (c *Client) ModifyCapacityReservationRequest(input *ModifyCapacityReservationInput) ModifyCapacityReservationRequest
- func (c *Client) ModifyClientVpnEndpointRequest(input *ModifyClientVpnEndpointInput) ModifyClientVpnEndpointRequest
- func (c *Client) ModifyEbsDefaultKmsKeyIdRequest(input *ModifyEbsDefaultKmsKeyIdInput) ModifyEbsDefaultKmsKeyIdRequest
- func (c *Client) ModifyFleetRequest(input *ModifyFleetInput) ModifyFleetRequest
- func (c *Client) ModifyFpgaImageAttributeRequest(input *ModifyFpgaImageAttributeInput) ModifyFpgaImageAttributeRequest
- func (c *Client) ModifyHostsRequest(input *ModifyHostsInput) ModifyHostsRequest
- func (c *Client) ModifyIdFormatRequest(input *ModifyIdFormatInput) ModifyIdFormatRequest
- func (c *Client) ModifyIdentityIdFormatRequest(input *ModifyIdentityIdFormatInput) ModifyIdentityIdFormatRequest
- func (c *Client) ModifyImageAttributeRequest(input *ModifyImageAttributeInput) ModifyImageAttributeRequest
- func (c *Client) ModifyInstanceAttributeRequest(input *ModifyInstanceAttributeInput) ModifyInstanceAttributeRequest
- func (c *Client) ModifyInstanceCapacityReservationAttributesRequest(input *ModifyInstanceCapacityReservationAttributesInput) ModifyInstanceCapacityReservationAttributesRequest
- func (c *Client) ModifyInstanceCreditSpecificationRequest(input *ModifyInstanceCreditSpecificationInput) ModifyInstanceCreditSpecificationRequest
- func (c *Client) ModifyInstanceEventStartTimeRequest(input *ModifyInstanceEventStartTimeInput) ModifyInstanceEventStartTimeRequest
- func (c *Client) ModifyInstancePlacementRequest(input *ModifyInstancePlacementInput) ModifyInstancePlacementRequest
- func (c *Client) ModifyLaunchTemplateRequest(input *ModifyLaunchTemplateInput) ModifyLaunchTemplateRequest
- func (c *Client) ModifyNetworkInterfaceAttributeRequest(input *ModifyNetworkInterfaceAttributeInput) ModifyNetworkInterfaceAttributeRequest
- func (c *Client) ModifyReservedInstancesRequest(input *ModifyReservedInstancesInput) ModifyReservedInstancesRequest
- func (c *Client) ModifySnapshotAttributeRequest(input *ModifySnapshotAttributeInput) ModifySnapshotAttributeRequest
- func (c *Client) ModifySpotFleetRequestRequest(input *ModifySpotFleetRequestInput) ModifySpotFleetRequestRequest
- func (c *Client) ModifySubnetAttributeRequest(input *ModifySubnetAttributeInput) ModifySubnetAttributeRequest
- func (c *Client) ModifyTrafficMirrorFilterNetworkServicesRequest(input *ModifyTrafficMirrorFilterNetworkServicesInput) ModifyTrafficMirrorFilterNetworkServicesRequest
- func (c *Client) ModifyTrafficMirrorFilterRuleRequest(input *ModifyTrafficMirrorFilterRuleInput) ModifyTrafficMirrorFilterRuleRequest
- func (c *Client) ModifyTrafficMirrorSessionRequest(input *ModifyTrafficMirrorSessionInput) ModifyTrafficMirrorSessionRequest
- func (c *Client) ModifyTransitGatewayVpcAttachmentRequest(input *ModifyTransitGatewayVpcAttachmentInput) ModifyTransitGatewayVpcAttachmentRequest
- func (c *Client) ModifyVolumeAttributeRequest(input *ModifyVolumeAttributeInput) ModifyVolumeAttributeRequest
- func (c *Client) ModifyVolumeRequest(input *ModifyVolumeInput) ModifyVolumeRequest
- func (c *Client) ModifyVpcAttributeRequest(input *ModifyVpcAttributeInput) ModifyVpcAttributeRequest
- func (c *Client) ModifyVpcEndpointConnectionNotificationRequest(input *ModifyVpcEndpointConnectionNotificationInput) ModifyVpcEndpointConnectionNotificationRequest
- func (c *Client) ModifyVpcEndpointRequest(input *ModifyVpcEndpointInput) ModifyVpcEndpointRequest
- func (c *Client) ModifyVpcEndpointServiceConfigurationRequest(input *ModifyVpcEndpointServiceConfigurationInput) ModifyVpcEndpointServiceConfigurationRequest
- func (c *Client) ModifyVpcEndpointServicePermissionsRequest(input *ModifyVpcEndpointServicePermissionsInput) ModifyVpcEndpointServicePermissionsRequest
- func (c *Client) ModifyVpcPeeringConnectionOptionsRequest(input *ModifyVpcPeeringConnectionOptionsInput) ModifyVpcPeeringConnectionOptionsRequest
- func (c *Client) ModifyVpcTenancyRequest(input *ModifyVpcTenancyInput) ModifyVpcTenancyRequest
- func (c *Client) ModifyVpnConnectionRequest(input *ModifyVpnConnectionInput) ModifyVpnConnectionRequest
- func (c *Client) ModifyVpnTunnelCertificateRequest(input *ModifyVpnTunnelCertificateInput) ModifyVpnTunnelCertificateRequest
- func (c *Client) ModifyVpnTunnelOptionsRequest(input *ModifyVpnTunnelOptionsInput) ModifyVpnTunnelOptionsRequest
- func (c *Client) MonitorInstancesRequest(input *MonitorInstancesInput) MonitorInstancesRequest
- func (c *Client) MoveAddressToVpcRequest(input *MoveAddressToVpcInput) MoveAddressToVpcRequest
- func (c *Client) ProvisionByoipCidrRequest(input *ProvisionByoipCidrInput) ProvisionByoipCidrRequest
- func (c *Client) PurchaseHostReservationRequest(input *PurchaseHostReservationInput) PurchaseHostReservationRequest
- func (c *Client) PurchaseReservedInstancesOfferingRequest(input *PurchaseReservedInstancesOfferingInput) PurchaseReservedInstancesOfferingRequest
- func (c *Client) PurchaseScheduledInstancesRequest(input *PurchaseScheduledInstancesInput) PurchaseScheduledInstancesRequest
- func (c *Client) RebootInstancesRequest(input *RebootInstancesInput) RebootInstancesRequest
- func (c *Client) RegisterImageRequest(input *RegisterImageInput) RegisterImageRequest
- func (c *Client) RejectTransitGatewayVpcAttachmentRequest(input *RejectTransitGatewayVpcAttachmentInput) RejectTransitGatewayVpcAttachmentRequest
- func (c *Client) RejectVpcEndpointConnectionsRequest(input *RejectVpcEndpointConnectionsInput) RejectVpcEndpointConnectionsRequest
- func (c *Client) RejectVpcPeeringConnectionRequest(input *RejectVpcPeeringConnectionInput) RejectVpcPeeringConnectionRequest
- func (c *Client) ReleaseAddressRequest(input *ReleaseAddressInput) ReleaseAddressRequest
- func (c *Client) ReleaseHostsRequest(input *ReleaseHostsInput) ReleaseHostsRequest
- func (c *Client) ReplaceIamInstanceProfileAssociationRequest(input *ReplaceIamInstanceProfileAssociationInput) ReplaceIamInstanceProfileAssociationRequest
- func (c *Client) ReplaceNetworkAclAssociationRequest(input *ReplaceNetworkAclAssociationInput) ReplaceNetworkAclAssociationRequest
- func (c *Client) ReplaceNetworkAclEntryRequest(input *ReplaceNetworkAclEntryInput) ReplaceNetworkAclEntryRequest
- func (c *Client) ReplaceRouteRequest(input *ReplaceRouteInput) ReplaceRouteRequest
- func (c *Client) ReplaceRouteTableAssociationRequest(input *ReplaceRouteTableAssociationInput) ReplaceRouteTableAssociationRequest
- func (c *Client) ReplaceTransitGatewayRouteRequest(input *ReplaceTransitGatewayRouteInput) ReplaceTransitGatewayRouteRequest
- func (c *Client) ReportInstanceStatusRequest(input *ReportInstanceStatusInput) ReportInstanceStatusRequest
- func (c *Client) RequestSpotFleetRequest(input *RequestSpotFleetInput) RequestSpotFleetRequest
- func (c *Client) RequestSpotInstancesRequest(input *RequestSpotInstancesInput) RequestSpotInstancesRequest
- func (c *Client) ResetEbsDefaultKmsKeyIdRequest(input *ResetEbsDefaultKmsKeyIdInput) ResetEbsDefaultKmsKeyIdRequest
- func (c *Client) ResetFpgaImageAttributeRequest(input *ResetFpgaImageAttributeInput) ResetFpgaImageAttributeRequest
- func (c *Client) ResetImageAttributeRequest(input *ResetImageAttributeInput) ResetImageAttributeRequest
- func (c *Client) ResetInstanceAttributeRequest(input *ResetInstanceAttributeInput) ResetInstanceAttributeRequest
- func (c *Client) ResetNetworkInterfaceAttributeRequest(input *ResetNetworkInterfaceAttributeInput) ResetNetworkInterfaceAttributeRequest
- func (c *Client) ResetSnapshotAttributeRequest(input *ResetSnapshotAttributeInput) ResetSnapshotAttributeRequest
- func (c *Client) RestoreAddressToClassicRequest(input *RestoreAddressToClassicInput) RestoreAddressToClassicRequest
- func (c *Client) RevokeClientVpnIngressRequest(input *RevokeClientVpnIngressInput) RevokeClientVpnIngressRequest
- func (c *Client) RevokeSecurityGroupEgressRequest(input *RevokeSecurityGroupEgressInput) RevokeSecurityGroupEgressRequest
- func (c *Client) RevokeSecurityGroupIngressRequest(input *RevokeSecurityGroupIngressInput) RevokeSecurityGroupIngressRequest
- func (c *Client) RunInstancesRequest(input *RunInstancesInput) RunInstancesRequest
- func (c *Client) RunScheduledInstancesRequest(input *RunScheduledInstancesInput) RunScheduledInstancesRequest
- func (c *Client) SearchTransitGatewayRoutesRequest(input *SearchTransitGatewayRoutesInput) SearchTransitGatewayRoutesRequest
- func (c *Client) SendDiagnosticInterruptRequest(input *SendDiagnosticInterruptInput) SendDiagnosticInterruptRequest
- func (c *Client) StartInstancesRequest(input *StartInstancesInput) StartInstancesRequest
- func (c *Client) StopInstancesRequest(input *StopInstancesInput) StopInstancesRequest
- func (c *Client) TerminateClientVpnConnectionsRequest(input *TerminateClientVpnConnectionsInput) TerminateClientVpnConnectionsRequest
- func (c *Client) TerminateInstancesRequest(input *TerminateInstancesInput) TerminateInstancesRequest
- func (c *Client) UnassignIpv6AddressesRequest(input *UnassignIpv6AddressesInput) UnassignIpv6AddressesRequest
- func (c *Client) UnassignPrivateIpAddressesRequest(input *UnassignPrivateIpAddressesInput) UnassignPrivateIpAddressesRequest
- func (c *Client) UnmonitorInstancesRequest(input *UnmonitorInstancesInput) UnmonitorInstancesRequest
- func (c *Client) UpdateSecurityGroupRuleDescriptionsEgressRequest(input *UpdateSecurityGroupRuleDescriptionsEgressInput) UpdateSecurityGroupRuleDescriptionsEgressRequest
- func (c *Client) UpdateSecurityGroupRuleDescriptionsIngressRequest(input *UpdateSecurityGroupRuleDescriptionsIngressInput) UpdateSecurityGroupRuleDescriptionsIngressRequest
- func (c *Client) WaitUntilBundleTaskComplete(ctx context.Context, input *DescribeBundleTasksInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilConversionTaskCancelled(ctx context.Context, input *DescribeConversionTasksInput, ...) error
- func (c *Client) WaitUntilConversionTaskCompleted(ctx context.Context, input *DescribeConversionTasksInput, ...) error
- func (c *Client) WaitUntilConversionTaskDeleted(ctx context.Context, input *DescribeConversionTasksInput, ...) error
- func (c *Client) WaitUntilCustomerGatewayAvailable(ctx context.Context, input *DescribeCustomerGatewaysInput, ...) error
- func (c *Client) WaitUntilExportTaskCancelled(ctx context.Context, input *DescribeExportTasksInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilExportTaskCompleted(ctx context.Context, input *DescribeExportTasksInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilImageAvailable(ctx context.Context, input *DescribeImagesInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilImageExists(ctx context.Context, input *DescribeImagesInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilInstanceExists(ctx context.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilInstanceRunning(ctx context.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilInstanceStatusOk(ctx context.Context, input *DescribeInstanceStatusInput, ...) error
- func (c *Client) WaitUntilInstanceStopped(ctx context.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilInstanceTerminated(ctx context.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilKeyPairExists(ctx context.Context, input *DescribeKeyPairsInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilNatGatewayAvailable(ctx context.Context, input *DescribeNatGatewaysInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilNetworkInterfaceAvailable(ctx context.Context, input *DescribeNetworkInterfacesInput, ...) error
- func (c *Client) WaitUntilPasswordDataAvailable(ctx context.Context, input *GetPasswordDataInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilSnapshotCompleted(ctx context.Context, input *DescribeSnapshotsInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilSpotInstanceRequestFulfilled(ctx context.Context, input *DescribeSpotInstanceRequestsInput, ...) error
- func (c *Client) WaitUntilSubnetAvailable(ctx context.Context, input *DescribeSubnetsInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilSystemStatusOk(ctx context.Context, input *DescribeInstanceStatusInput, ...) error
- func (c *Client) WaitUntilVolumeAvailable(ctx context.Context, input *DescribeVolumesInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilVolumeDeleted(ctx context.Context, input *DescribeVolumesInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilVolumeInUse(ctx context.Context, input *DescribeVolumesInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilVpcAvailable(ctx context.Context, input *DescribeVpcsInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilVpcExists(ctx context.Context, input *DescribeVpcsInput, opts ...aws.WaiterOption) error
- func (c *Client) WaitUntilVpcPeeringConnectionDeleted(ctx context.Context, input *DescribeVpcPeeringConnectionsInput, ...) error
- func (c *Client) WaitUntilVpcPeeringConnectionExists(ctx context.Context, input *DescribeVpcPeeringConnectionsInput, ...) error
- func (c *Client) WaitUntilVpnConnectionAvailable(ctx context.Context, input *DescribeVpnConnectionsInput, ...) error
- func (c *Client) WaitUntilVpnConnectionDeleted(ctx context.Context, input *DescribeVpnConnectionsInput, ...) error
- func (c *Client) WithdrawByoipCidrRequest(input *WithdrawByoipCidrInput) WithdrawByoipCidrRequest
- type ConfirmProductInstanceInput
- type ConfirmProductInstanceOutput
- type ConfirmProductInstanceRequest
- type ConfirmProductInstanceResponse
- type ConnectionLogOptions
- type ConnectionLogResponseOptions
- type ConnectionNotification
- type ConnectionNotificationState
- type ConnectionNotificationType
- type ContainerFormat
- type ConversionTask
- type ConversionTaskState
- type CopyFpgaImageInput
- type CopyFpgaImageOutput
- type CopyFpgaImageRequest
- type CopyFpgaImageResponse
- type CopyImageInput
- type CopyImageOutput
- type CopyImageRequest
- type CopyImageResponse
- type CopySnapshotInput
- type CopySnapshotOutput
- type CopySnapshotRequest
- type CopySnapshotResponse
- type CopyTagsFromSource
- type CpuOptions
- type CpuOptionsRequest
- type CreateCapacityReservationInput
- type CreateCapacityReservationOutput
- type CreateCapacityReservationRequest
- type CreateCapacityReservationResponse
- type CreateClientVpnEndpointInput
- type CreateClientVpnEndpointOutput
- type CreateClientVpnEndpointRequest
- type CreateClientVpnEndpointResponse
- type CreateClientVpnRouteInput
- type CreateClientVpnRouteOutput
- type CreateClientVpnRouteRequest
- type CreateClientVpnRouteResponse
- type CreateCustomerGatewayInput
- type CreateCustomerGatewayOutput
- type CreateCustomerGatewayRequest
- type CreateCustomerGatewayResponse
- type CreateDefaultSubnetInput
- type CreateDefaultSubnetOutput
- type CreateDefaultSubnetRequest
- type CreateDefaultSubnetResponse
- type CreateDefaultVpcInput
- type CreateDefaultVpcOutput
- type CreateDefaultVpcRequest
- type CreateDefaultVpcResponse
- type CreateDhcpOptionsInput
- type CreateDhcpOptionsOutput
- type CreateDhcpOptionsRequest
- type CreateDhcpOptionsResponse
- type CreateEgressOnlyInternetGatewayInput
- type CreateEgressOnlyInternetGatewayOutput
- type CreateEgressOnlyInternetGatewayRequest
- type CreateEgressOnlyInternetGatewayResponse
- type CreateFleetError
- type CreateFleetInput
- type CreateFleetInstance
- type CreateFleetOutput
- type CreateFleetRequest
- type CreateFleetResponse
- type CreateFlowLogsInput
- type CreateFlowLogsOutput
- type CreateFlowLogsRequest
- type CreateFlowLogsResponse
- type CreateFpgaImageInput
- type CreateFpgaImageOutput
- type CreateFpgaImageRequest
- type CreateFpgaImageResponse
- type CreateImageInput
- type CreateImageOutput
- type CreateImageRequest
- type CreateImageResponse
- type CreateInstanceExportTaskInput
- type CreateInstanceExportTaskOutput
- type CreateInstanceExportTaskRequest
- type CreateInstanceExportTaskResponse
- type CreateInternetGatewayInput
- type CreateInternetGatewayOutput
- type CreateInternetGatewayRequest
- type CreateInternetGatewayResponse
- type CreateKeyPairInput
- type CreateKeyPairOutput
- type CreateKeyPairRequest
- type CreateKeyPairResponse
- type CreateLaunchTemplateInput
- type CreateLaunchTemplateOutput
- type CreateLaunchTemplateRequest
- type CreateLaunchTemplateResponse
- type CreateLaunchTemplateVersionInput
- type CreateLaunchTemplateVersionOutput
- type CreateLaunchTemplateVersionRequest
- type CreateLaunchTemplateVersionResponse
- type CreateNatGatewayInput
- type CreateNatGatewayOutput
- type CreateNatGatewayRequest
- type CreateNatGatewayResponse
- type CreateNetworkAclEntryInput
- type CreateNetworkAclEntryOutput
- type CreateNetworkAclEntryRequest
- type CreateNetworkAclEntryResponse
- type CreateNetworkAclInput
- type CreateNetworkAclOutput
- type CreateNetworkAclRequest
- type CreateNetworkAclResponse
- type CreateNetworkInterfaceInput
- type CreateNetworkInterfaceOutput
- type CreateNetworkInterfacePermissionInput
- type CreateNetworkInterfacePermissionOutput
- type CreateNetworkInterfacePermissionRequest
- type CreateNetworkInterfacePermissionResponse
- type CreateNetworkInterfaceRequest
- type CreateNetworkInterfaceResponse
- type CreatePlacementGroupInput
- type CreatePlacementGroupOutput
- type CreatePlacementGroupRequest
- type CreatePlacementGroupResponse
- type CreateReservedInstancesListingInput
- type CreateReservedInstancesListingOutput
- type CreateReservedInstancesListingRequest
- type CreateReservedInstancesListingResponse
- type CreateRouteInput
- type CreateRouteOutput
- type CreateRouteRequest
- type CreateRouteResponse
- type CreateRouteTableInput
- type CreateRouteTableOutput
- type CreateRouteTableRequest
- type CreateRouteTableResponse
- type CreateSecurityGroupInput
- type CreateSecurityGroupOutput
- type CreateSecurityGroupRequest
- type CreateSecurityGroupResponse
- type CreateSnapshotInput
- type CreateSnapshotOutput
- type CreateSnapshotRequest
- type CreateSnapshotResponse
- type CreateSnapshotsInput
- type CreateSnapshotsOutput
- type CreateSnapshotsRequest
- type CreateSnapshotsResponse
- type CreateSpotDatafeedSubscriptionInput
- type CreateSpotDatafeedSubscriptionOutput
- type CreateSpotDatafeedSubscriptionRequest
- type CreateSpotDatafeedSubscriptionResponse
- type CreateSubnetInput
- type CreateSubnetOutput
- type CreateSubnetRequest
- type CreateSubnetResponse
- type CreateTagsInput
- type CreateTagsOutput
- type CreateTagsRequest
- type CreateTagsResponse
- type CreateTrafficMirrorFilterInput
- type CreateTrafficMirrorFilterOutput
- type CreateTrafficMirrorFilterRequest
- type CreateTrafficMirrorFilterResponse
- type CreateTrafficMirrorFilterRuleInput
- type CreateTrafficMirrorFilterRuleOutput
- type CreateTrafficMirrorFilterRuleRequest
- type CreateTrafficMirrorFilterRuleResponse
- type CreateTrafficMirrorSessionInput
- type CreateTrafficMirrorSessionOutput
- type CreateTrafficMirrorSessionRequest
- type CreateTrafficMirrorSessionResponse
- type CreateTrafficMirrorTargetInput
- type CreateTrafficMirrorTargetOutput
- type CreateTrafficMirrorTargetRequest
- type CreateTrafficMirrorTargetResponse
- type CreateTransitGatewayInput
- type CreateTransitGatewayOutput
- type CreateTransitGatewayRequest
- type CreateTransitGatewayResponse
- type CreateTransitGatewayRouteInput
- type CreateTransitGatewayRouteOutput
- type CreateTransitGatewayRouteRequest
- type CreateTransitGatewayRouteResponse
- type CreateTransitGatewayRouteTableInput
- type CreateTransitGatewayRouteTableOutput
- type CreateTransitGatewayRouteTableRequest
- type CreateTransitGatewayRouteTableResponse
- type CreateTransitGatewayVpcAttachmentInput
- type CreateTransitGatewayVpcAttachmentOutput
- type CreateTransitGatewayVpcAttachmentRequest
- type CreateTransitGatewayVpcAttachmentRequestOptions
- type CreateTransitGatewayVpcAttachmentResponse
- type CreateVolumeInput
- type CreateVolumeOutput
- type CreateVolumePermission
- type CreateVolumePermissionModifications
- type CreateVolumeRequest
- type CreateVolumeResponse
- type CreateVpcEndpointConnectionNotificationInput
- type CreateVpcEndpointConnectionNotificationOutput
- type CreateVpcEndpointConnectionNotificationRequest
- type CreateVpcEndpointConnectionNotificationResponse
- type CreateVpcEndpointInput
- type CreateVpcEndpointOutput
- type CreateVpcEndpointRequest
- type CreateVpcEndpointResponse
- type CreateVpcEndpointServiceConfigurationInput
- type CreateVpcEndpointServiceConfigurationOutput
- type CreateVpcEndpointServiceConfigurationRequest
- type CreateVpcEndpointServiceConfigurationResponse
- type CreateVpcInput
- type CreateVpcOutput
- type CreateVpcPeeringConnectionInput
- type CreateVpcPeeringConnectionOutput
- type CreateVpcPeeringConnectionRequest
- type CreateVpcPeeringConnectionResponse
- type CreateVpcRequest
- type CreateVpcResponse
- type CreateVpnConnectionInput
- type CreateVpnConnectionOutput
- type CreateVpnConnectionRequest
- type CreateVpnConnectionResponse
- type CreateVpnConnectionRouteInput
- type CreateVpnConnectionRouteOutput
- type CreateVpnConnectionRouteRequest
- type CreateVpnConnectionRouteResponse
- type CreateVpnGatewayInput
- type CreateVpnGatewayOutput
- type CreateVpnGatewayRequest
- type CreateVpnGatewayResponse
- type CreditSpecification
- type CreditSpecificationRequest
- type CurrencyCodeValues
- type CustomerGateway
- type Data
- type DatafeedSubscriptionState
- type DefaultRouteTableAssociationValue
- type DefaultRouteTablePropagationValue
- type DefaultTargetCapacityType
- type DeleteClientVpnEndpointInput
- type DeleteClientVpnEndpointOutput
- type DeleteClientVpnEndpointRequest
- type DeleteClientVpnEndpointResponse
- type DeleteClientVpnRouteInput
- type DeleteClientVpnRouteOutput
- type DeleteClientVpnRouteRequest
- type DeleteClientVpnRouteResponse
- type DeleteCustomerGatewayInput
- type DeleteCustomerGatewayOutput
- type DeleteCustomerGatewayRequest
- type DeleteCustomerGatewayResponse
- type DeleteDhcpOptionsInput
- type DeleteDhcpOptionsOutput
- type DeleteDhcpOptionsRequest
- type DeleteDhcpOptionsResponse
- type DeleteEgressOnlyInternetGatewayInput
- type DeleteEgressOnlyInternetGatewayOutput
- type DeleteEgressOnlyInternetGatewayRequest
- type DeleteEgressOnlyInternetGatewayResponse
- type DeleteFleetError
- type DeleteFleetErrorCode
- type DeleteFleetErrorItem
- type DeleteFleetSuccessItem
- type DeleteFleetsInput
- type DeleteFleetsOutput
- type DeleteFleetsRequest
- type DeleteFleetsResponse
- type DeleteFlowLogsInput
- type DeleteFlowLogsOutput
- type DeleteFlowLogsRequest
- type DeleteFlowLogsResponse
- type DeleteFpgaImageInput
- type DeleteFpgaImageOutput
- type DeleteFpgaImageRequest
- type DeleteFpgaImageResponse
- type DeleteInternetGatewayInput
- type DeleteInternetGatewayOutput
- type DeleteInternetGatewayRequest
- type DeleteInternetGatewayResponse
- type DeleteKeyPairInput
- type DeleteKeyPairOutput
- type DeleteKeyPairRequest
- type DeleteKeyPairResponse
- type DeleteLaunchTemplateInput
- type DeleteLaunchTemplateOutput
- type DeleteLaunchTemplateRequest
- type DeleteLaunchTemplateResponse
- type DeleteLaunchTemplateVersionsInput
- type DeleteLaunchTemplateVersionsOutput
- type DeleteLaunchTemplateVersionsRequest
- type DeleteLaunchTemplateVersionsResponse
- type DeleteLaunchTemplateVersionsResponseErrorItem
- type DeleteLaunchTemplateVersionsResponseSuccessItem
- type DeleteNatGatewayInput
- type DeleteNatGatewayOutput
- type DeleteNatGatewayRequest
- type DeleteNatGatewayResponse
- type DeleteNetworkAclEntryInput
- type DeleteNetworkAclEntryOutput
- type DeleteNetworkAclEntryRequest
- type DeleteNetworkAclEntryResponse
- type DeleteNetworkAclInput
- type DeleteNetworkAclOutput
- type DeleteNetworkAclRequest
- type DeleteNetworkAclResponse
- type DeleteNetworkInterfaceInput
- type DeleteNetworkInterfaceOutput
- type DeleteNetworkInterfacePermissionInput
- type DeleteNetworkInterfacePermissionOutput
- type DeleteNetworkInterfacePermissionRequest
- type DeleteNetworkInterfacePermissionResponse
- type DeleteNetworkInterfaceRequest
- type DeleteNetworkInterfaceResponse
- type DeletePlacementGroupInput
- type DeletePlacementGroupOutput
- type DeletePlacementGroupRequest
- type DeletePlacementGroupResponse
- type DeleteQueuedReservedInstancesError
- type DeleteQueuedReservedInstancesErrorCode
- type DeleteQueuedReservedInstancesInput
- type DeleteQueuedReservedInstancesOutput
- type DeleteQueuedReservedInstancesRequest
- type DeleteQueuedReservedInstancesResponse
- type DeleteRouteInput
- type DeleteRouteOutput
- type DeleteRouteRequest
- type DeleteRouteResponse
- type DeleteRouteTableInput
- type DeleteRouteTableOutput
- type DeleteRouteTableRequest
- type DeleteRouteTableResponse
- type DeleteSecurityGroupInput
- type DeleteSecurityGroupOutput
- type DeleteSecurityGroupRequest
- type DeleteSecurityGroupResponse
- type DeleteSnapshotInput
- type DeleteSnapshotOutput
- type DeleteSnapshotRequest
- type DeleteSnapshotResponse
- type DeleteSpotDatafeedSubscriptionInput
- type DeleteSpotDatafeedSubscriptionOutput
- type DeleteSpotDatafeedSubscriptionRequest
- type DeleteSpotDatafeedSubscriptionResponse
- type DeleteSubnetInput
- type DeleteSubnetOutput
- type DeleteSubnetRequest
- type DeleteSubnetResponse
- type DeleteTagsInput
- type DeleteTagsOutput
- type DeleteTagsRequest
- type DeleteTagsResponse
- type DeleteTrafficMirrorFilterInput
- type DeleteTrafficMirrorFilterOutput
- type DeleteTrafficMirrorFilterRequest
- type DeleteTrafficMirrorFilterResponse
- type DeleteTrafficMirrorFilterRuleInput
- type DeleteTrafficMirrorFilterRuleOutput
- type DeleteTrafficMirrorFilterRuleRequest
- type DeleteTrafficMirrorFilterRuleResponse
- type DeleteTrafficMirrorSessionInput
- type DeleteTrafficMirrorSessionOutput
- type DeleteTrafficMirrorSessionRequest
- type DeleteTrafficMirrorSessionResponse
- type DeleteTrafficMirrorTargetInput
- type DeleteTrafficMirrorTargetOutput
- type DeleteTrafficMirrorTargetRequest
- type DeleteTrafficMirrorTargetResponse
- type DeleteTransitGatewayInput
- type DeleteTransitGatewayOutput
- type DeleteTransitGatewayRequest
- type DeleteTransitGatewayResponse
- type DeleteTransitGatewayRouteInput
- type DeleteTransitGatewayRouteOutput
- type DeleteTransitGatewayRouteRequest
- type DeleteTransitGatewayRouteResponse
- type DeleteTransitGatewayRouteTableInput
- type DeleteTransitGatewayRouteTableOutput
- type DeleteTransitGatewayRouteTableRequest
- type DeleteTransitGatewayRouteTableResponse
- type DeleteTransitGatewayVpcAttachmentInput
- type DeleteTransitGatewayVpcAttachmentOutput
- type DeleteTransitGatewayVpcAttachmentRequest
- type DeleteTransitGatewayVpcAttachmentResponse
- type DeleteVolumeInput
- type DeleteVolumeOutput
- type DeleteVolumeRequest
- type DeleteVolumeResponse
- type DeleteVpcEndpointConnectionNotificationsInput
- type DeleteVpcEndpointConnectionNotificationsOutput
- type DeleteVpcEndpointConnectionNotificationsRequest
- type DeleteVpcEndpointConnectionNotificationsResponse
- type DeleteVpcEndpointServiceConfigurationsInput
- type DeleteVpcEndpointServiceConfigurationsOutput
- type DeleteVpcEndpointServiceConfigurationsRequest
- type DeleteVpcEndpointServiceConfigurationsResponse
- type DeleteVpcEndpointsInput
- type DeleteVpcEndpointsOutput
- type DeleteVpcEndpointsRequest
- type DeleteVpcEndpointsResponse
- type DeleteVpcInput
- type DeleteVpcOutput
- type DeleteVpcPeeringConnectionInput
- type DeleteVpcPeeringConnectionOutput
- type DeleteVpcPeeringConnectionRequest
- type DeleteVpcPeeringConnectionResponse
- type DeleteVpcRequest
- type DeleteVpcResponse
- type DeleteVpnConnectionInput
- type DeleteVpnConnectionOutput
- type DeleteVpnConnectionRequest
- type DeleteVpnConnectionResponse
- type DeleteVpnConnectionRouteInput
- type DeleteVpnConnectionRouteOutput
- type DeleteVpnConnectionRouteRequest
- type DeleteVpnConnectionRouteResponse
- type DeleteVpnGatewayInput
- type DeleteVpnGatewayOutput
- type DeleteVpnGatewayRequest
- type DeleteVpnGatewayResponse
- type DeprovisionByoipCidrInput
- type DeprovisionByoipCidrOutput
- type DeprovisionByoipCidrRequest
- type DeprovisionByoipCidrResponse
- type DeregisterImageInput
- type DeregisterImageOutput
- type DeregisterImageRequest
- type DeregisterImageResponse
- type DescribeAccountAttributesInput
- type DescribeAccountAttributesOutput
- type DescribeAccountAttributesRequest
- type DescribeAccountAttributesResponse
- type DescribeAddressesInput
- type DescribeAddressesOutput
- type DescribeAddressesRequest
- type DescribeAddressesResponse
- type DescribeAggregateIdFormatInput
- type DescribeAggregateIdFormatOutput
- type DescribeAggregateIdFormatRequest
- type DescribeAggregateIdFormatResponse
- type DescribeAvailabilityZonesInput
- type DescribeAvailabilityZonesOutput
- type DescribeAvailabilityZonesRequest
- type DescribeAvailabilityZonesResponse
- type DescribeBundleTasksInput
- type DescribeBundleTasksOutput
- type DescribeBundleTasksRequest
- type DescribeBundleTasksResponse
- type DescribeByoipCidrsInput
- type DescribeByoipCidrsOutput
- type DescribeByoipCidrsPaginator
- type DescribeByoipCidrsRequest
- type DescribeByoipCidrsResponse
- type DescribeCapacityReservationsInput
- type DescribeCapacityReservationsOutput
- type DescribeCapacityReservationsPaginator
- type DescribeCapacityReservationsRequest
- type DescribeCapacityReservationsResponse
- type DescribeClassicLinkInstancesInput
- type DescribeClassicLinkInstancesOutput
- type DescribeClassicLinkInstancesPaginator
- type DescribeClassicLinkInstancesRequest
- type DescribeClassicLinkInstancesResponse
- type DescribeClientVpnAuthorizationRulesInput
- type DescribeClientVpnAuthorizationRulesOutput
- type DescribeClientVpnAuthorizationRulesPaginator
- type DescribeClientVpnAuthorizationRulesRequest
- type DescribeClientVpnAuthorizationRulesResponse
- type DescribeClientVpnConnectionsInput
- type DescribeClientVpnConnectionsOutput
- type DescribeClientVpnConnectionsPaginator
- type DescribeClientVpnConnectionsRequest
- type DescribeClientVpnConnectionsResponse
- type DescribeClientVpnEndpointsInput
- type DescribeClientVpnEndpointsOutput
- type DescribeClientVpnEndpointsPaginator
- type DescribeClientVpnEndpointsRequest
- type DescribeClientVpnEndpointsResponse
- type DescribeClientVpnRoutesInput
- type DescribeClientVpnRoutesOutput
- type DescribeClientVpnRoutesPaginator
- type DescribeClientVpnRoutesRequest
- type DescribeClientVpnRoutesResponse
- type DescribeClientVpnTargetNetworksInput
- type DescribeClientVpnTargetNetworksOutput
- type DescribeClientVpnTargetNetworksPaginator
- type DescribeClientVpnTargetNetworksRequest
- type DescribeClientVpnTargetNetworksResponse
- type DescribeConversionTasksInput
- type DescribeConversionTasksOutput
- type DescribeConversionTasksRequest
- type DescribeConversionTasksResponse
- type DescribeCustomerGatewaysInput
- type DescribeCustomerGatewaysOutput
- type DescribeCustomerGatewaysRequest
- type DescribeCustomerGatewaysResponse
- type DescribeDhcpOptionsInput
- type DescribeDhcpOptionsOutput
- type DescribeDhcpOptionsPaginator
- type DescribeDhcpOptionsRequest
- type DescribeDhcpOptionsResponse
- type DescribeEgressOnlyInternetGatewaysInput
- type DescribeEgressOnlyInternetGatewaysOutput
- type DescribeEgressOnlyInternetGatewaysPaginator
- type DescribeEgressOnlyInternetGatewaysRequest
- type DescribeEgressOnlyInternetGatewaysResponse
- type DescribeElasticGpusInput
- type DescribeElasticGpusOutput
- type DescribeElasticGpusRequest
- type DescribeElasticGpusResponse
- type DescribeExportImageTasksInput
- type DescribeExportImageTasksOutput
- type DescribeExportImageTasksRequest
- type DescribeExportImageTasksResponse
- type DescribeExportTasksInput
- type DescribeExportTasksOutput
- type DescribeExportTasksRequest
- type DescribeExportTasksResponse
- type DescribeFleetError
- type DescribeFleetHistoryInput
- type DescribeFleetHistoryOutput
- type DescribeFleetHistoryRequest
- type DescribeFleetHistoryResponse
- type DescribeFleetInstancesInput
- type DescribeFleetInstancesOutput
- type DescribeFleetInstancesRequest
- type DescribeFleetInstancesResponse
- type DescribeFleetsInput
- type DescribeFleetsInstances
- type DescribeFleetsOutput
- type DescribeFleetsPaginator
- type DescribeFleetsRequest
- type DescribeFleetsResponse
- type DescribeFlowLogsInput
- type DescribeFlowLogsOutput
- type DescribeFlowLogsPaginator
- type DescribeFlowLogsRequest
- type DescribeFlowLogsResponse
- type DescribeFpgaImageAttributeInput
- type DescribeFpgaImageAttributeOutput
- type DescribeFpgaImageAttributeRequest
- type DescribeFpgaImageAttributeResponse
- type DescribeFpgaImagesInput
- type DescribeFpgaImagesOutput
- type DescribeFpgaImagesPaginator
- type DescribeFpgaImagesRequest
- type DescribeFpgaImagesResponse
- type DescribeHostReservationOfferingsInput
- type DescribeHostReservationOfferingsOutput
- type DescribeHostReservationOfferingsPaginator
- type DescribeHostReservationOfferingsRequest
- type DescribeHostReservationOfferingsResponse
- type DescribeHostReservationsInput
- type DescribeHostReservationsOutput
- type DescribeHostReservationsPaginator
- type DescribeHostReservationsRequest
- type DescribeHostReservationsResponse
- type DescribeHostsInput
- type DescribeHostsOutput
- type DescribeHostsPaginator
- type DescribeHostsRequest
- type DescribeHostsResponse
- type DescribeIamInstanceProfileAssociationsInput
- type DescribeIamInstanceProfileAssociationsOutput
- type DescribeIamInstanceProfileAssociationsPaginator
- type DescribeIamInstanceProfileAssociationsRequest
- type DescribeIamInstanceProfileAssociationsResponse
- type DescribeIdFormatInput
- type DescribeIdFormatOutput
- type DescribeIdFormatRequest
- type DescribeIdFormatResponse
- type DescribeIdentityIdFormatInput
- type DescribeIdentityIdFormatOutput
- type DescribeIdentityIdFormatRequest
- type DescribeIdentityIdFormatResponse
- type DescribeImageAttributeInput
- type DescribeImageAttributeOutput
- type DescribeImageAttributeRequest
- type DescribeImageAttributeResponse
- type DescribeImagesInput
- type DescribeImagesOutput
- type DescribeImagesRequest
- type DescribeImagesResponse
- type DescribeImportImageTasksInput
- type DescribeImportImageTasksOutput
- type DescribeImportImageTasksPaginator
- type DescribeImportImageTasksRequest
- type DescribeImportImageTasksResponse
- type DescribeImportSnapshotTasksInput
- type DescribeImportSnapshotTasksOutput
- type DescribeImportSnapshotTasksPaginator
- type DescribeImportSnapshotTasksRequest
- type DescribeImportSnapshotTasksResponse
- type DescribeInstanceAttributeInput
- type DescribeInstanceAttributeOutput
- type DescribeInstanceAttributeRequest
- type DescribeInstanceAttributeResponse
- type DescribeInstanceCreditSpecificationsInput
- type DescribeInstanceCreditSpecificationsOutput
- type DescribeInstanceCreditSpecificationsPaginator
- type DescribeInstanceCreditSpecificationsRequest
- type DescribeInstanceCreditSpecificationsResponse
- type DescribeInstanceStatusInput
- type DescribeInstanceStatusOutput
- type DescribeInstanceStatusPaginator
- type DescribeInstanceStatusRequest
- type DescribeInstanceStatusResponse
- type DescribeInstancesInput
- type DescribeInstancesOutput
- type DescribeInstancesPaginator
- type DescribeInstancesRequest
- type DescribeInstancesResponse
- type DescribeInternetGatewaysInput
- type DescribeInternetGatewaysOutput
- type DescribeInternetGatewaysPaginator
- type DescribeInternetGatewaysRequest
- type DescribeInternetGatewaysResponse
- type DescribeKeyPairsInput
- type DescribeKeyPairsOutput
- type DescribeKeyPairsRequest
- type DescribeKeyPairsResponse
- type DescribeLaunchTemplateVersionsInput
- type DescribeLaunchTemplateVersionsOutput
- type DescribeLaunchTemplateVersionsPaginator
- type DescribeLaunchTemplateVersionsRequest
- type DescribeLaunchTemplateVersionsResponse
- type DescribeLaunchTemplatesInput
- type DescribeLaunchTemplatesOutput
- type DescribeLaunchTemplatesPaginator
- type DescribeLaunchTemplatesRequest
- type DescribeLaunchTemplatesResponse
- type DescribeMovingAddressesInput
- type DescribeMovingAddressesOutput
- type DescribeMovingAddressesPaginator
- type DescribeMovingAddressesRequest
- type DescribeMovingAddressesResponse
- type DescribeNatGatewaysInput
- type DescribeNatGatewaysOutput
- type DescribeNatGatewaysPaginator
- type DescribeNatGatewaysRequest
- type DescribeNatGatewaysResponse
- type DescribeNetworkAclsInput
- type DescribeNetworkAclsOutput
- type DescribeNetworkAclsPaginator
- type DescribeNetworkAclsRequest
- type DescribeNetworkAclsResponse
- type DescribeNetworkInterfaceAttributeInput
- type DescribeNetworkInterfaceAttributeOutput
- type DescribeNetworkInterfaceAttributeRequest
- type DescribeNetworkInterfaceAttributeResponse
- type DescribeNetworkInterfacePermissionsInput
- type DescribeNetworkInterfacePermissionsOutput
- type DescribeNetworkInterfacePermissionsPaginator
- type DescribeNetworkInterfacePermissionsRequest
- type DescribeNetworkInterfacePermissionsResponse
- type DescribeNetworkInterfacesInput
- type DescribeNetworkInterfacesOutput
- type DescribeNetworkInterfacesPaginator
- type DescribeNetworkInterfacesRequest
- type DescribeNetworkInterfacesResponse
- type DescribePlacementGroupsInput
- type DescribePlacementGroupsOutput
- type DescribePlacementGroupsRequest
- type DescribePlacementGroupsResponse
- type DescribePrefixListsInput
- type DescribePrefixListsOutput
- type DescribePrefixListsPaginator
- type DescribePrefixListsRequest
- type DescribePrefixListsResponse
- type DescribePrincipalIdFormatInput
- type DescribePrincipalIdFormatOutput
- type DescribePrincipalIdFormatPaginator
- type DescribePrincipalIdFormatRequest
- type DescribePrincipalIdFormatResponse
- type DescribePublicIpv4PoolsInput
- type DescribePublicIpv4PoolsOutput
- type DescribePublicIpv4PoolsPaginator
- type DescribePublicIpv4PoolsRequest
- type DescribePublicIpv4PoolsResponse
- type DescribeRegionsInput
- type DescribeRegionsOutput
- type DescribeRegionsRequest
- type DescribeRegionsResponse
- type DescribeReservedInstancesInput
- type DescribeReservedInstancesListingsInput
- type DescribeReservedInstancesListingsOutput
- type DescribeReservedInstancesListingsRequest
- type DescribeReservedInstancesListingsResponse
- type DescribeReservedInstancesModificationsInput
- type DescribeReservedInstancesModificationsOutput
- type DescribeReservedInstancesModificationsPaginator
- type DescribeReservedInstancesModificationsRequest
- type DescribeReservedInstancesModificationsResponse
- type DescribeReservedInstancesOfferingsInput
- type DescribeReservedInstancesOfferingsOutput
- type DescribeReservedInstancesOfferingsPaginator
- type DescribeReservedInstancesOfferingsRequest
- type DescribeReservedInstancesOfferingsResponse
- type DescribeReservedInstancesOutput
- type DescribeReservedInstancesRequest
- type DescribeReservedInstancesResponse
- type DescribeRouteTablesInput
- type DescribeRouteTablesOutput
- type DescribeRouteTablesPaginator
- type DescribeRouteTablesRequest
- type DescribeRouteTablesResponse
- type DescribeScheduledInstanceAvailabilityInput
- type DescribeScheduledInstanceAvailabilityOutput
- type DescribeScheduledInstanceAvailabilityPaginator
- type DescribeScheduledInstanceAvailabilityRequest
- type DescribeScheduledInstanceAvailabilityResponse
- type DescribeScheduledInstancesInput
- type DescribeScheduledInstancesOutput
- type DescribeScheduledInstancesPaginator
- type DescribeScheduledInstancesRequest
- type DescribeScheduledInstancesResponse
- type DescribeSecurityGroupReferencesInput
- type DescribeSecurityGroupReferencesOutput
- type DescribeSecurityGroupReferencesRequest
- type DescribeSecurityGroupReferencesResponse
- type DescribeSecurityGroupsInput
- type DescribeSecurityGroupsOutput
- type DescribeSecurityGroupsPaginator
- type DescribeSecurityGroupsRequest
- type DescribeSecurityGroupsResponse
- type DescribeSnapshotAttributeInput
- type DescribeSnapshotAttributeOutput
- type DescribeSnapshotAttributeRequest
- type DescribeSnapshotAttributeResponse
- type DescribeSnapshotsInput
- type DescribeSnapshotsOutput
- type DescribeSnapshotsPaginator
- type DescribeSnapshotsRequest
- type DescribeSnapshotsResponse
- type DescribeSpotDatafeedSubscriptionInput
- type DescribeSpotDatafeedSubscriptionOutput
- type DescribeSpotDatafeedSubscriptionRequest
- type DescribeSpotDatafeedSubscriptionResponse
- type DescribeSpotFleetInstancesInput
- type DescribeSpotFleetInstancesOutput
- type DescribeSpotFleetInstancesRequest
- type DescribeSpotFleetInstancesResponse
- type DescribeSpotFleetRequestHistoryInput
- type DescribeSpotFleetRequestHistoryOutput
- type DescribeSpotFleetRequestHistoryRequest
- type DescribeSpotFleetRequestHistoryResponse
- type DescribeSpotFleetRequestsInput
- type DescribeSpotFleetRequestsOutput
- type DescribeSpotFleetRequestsPaginator
- type DescribeSpotFleetRequestsRequest
- type DescribeSpotFleetRequestsResponse
- type DescribeSpotInstanceRequestsInput
- type DescribeSpotInstanceRequestsOutput
- type DescribeSpotInstanceRequestsPaginator
- type DescribeSpotInstanceRequestsRequest
- type DescribeSpotInstanceRequestsResponse
- type DescribeSpotPriceHistoryInput
- type DescribeSpotPriceHistoryOutput
- type DescribeSpotPriceHistoryPaginator
- type DescribeSpotPriceHistoryRequest
- type DescribeSpotPriceHistoryResponse
- type DescribeStaleSecurityGroupsInput
- type DescribeStaleSecurityGroupsOutput
- type DescribeStaleSecurityGroupsPaginator
- type DescribeStaleSecurityGroupsRequest
- type DescribeStaleSecurityGroupsResponse
- type DescribeSubnetsInput
- type DescribeSubnetsOutput
- type DescribeSubnetsPaginator
- type DescribeSubnetsRequest
- type DescribeSubnetsResponse
- type DescribeTagsInput
- type DescribeTagsOutput
- type DescribeTagsPaginator
- type DescribeTagsRequest
- type DescribeTagsResponse
- type DescribeTrafficMirrorFiltersInput
- type DescribeTrafficMirrorFiltersOutput
- type DescribeTrafficMirrorFiltersPaginator
- type DescribeTrafficMirrorFiltersRequest
- type DescribeTrafficMirrorFiltersResponse
- type DescribeTrafficMirrorSessionsInput
- type DescribeTrafficMirrorSessionsOutput
- type DescribeTrafficMirrorSessionsPaginator
- type DescribeTrafficMirrorSessionsRequest
- type DescribeTrafficMirrorSessionsResponse
- type DescribeTrafficMirrorTargetsInput
- type DescribeTrafficMirrorTargetsOutput
- type DescribeTrafficMirrorTargetsPaginator
- type DescribeTrafficMirrorTargetsRequest
- type DescribeTrafficMirrorTargetsResponse
- type DescribeTransitGatewayAttachmentsInput
- type DescribeTransitGatewayAttachmentsOutput
- type DescribeTransitGatewayAttachmentsPaginator
- type DescribeTransitGatewayAttachmentsRequest
- type DescribeTransitGatewayAttachmentsResponse
- type DescribeTransitGatewayRouteTablesInput
- type DescribeTransitGatewayRouteTablesOutput
- type DescribeTransitGatewayRouteTablesPaginator
- type DescribeTransitGatewayRouteTablesRequest
- type DescribeTransitGatewayRouteTablesResponse
- type DescribeTransitGatewayVpcAttachmentsInput
- type DescribeTransitGatewayVpcAttachmentsOutput
- type DescribeTransitGatewayVpcAttachmentsPaginator
- type DescribeTransitGatewayVpcAttachmentsRequest
- type DescribeTransitGatewayVpcAttachmentsResponse
- type DescribeTransitGatewaysInput
- type DescribeTransitGatewaysOutput
- type DescribeTransitGatewaysPaginator
- type DescribeTransitGatewaysRequest
- type DescribeTransitGatewaysResponse
- type DescribeVolumeAttributeInput
- type DescribeVolumeAttributeOutput
- type DescribeVolumeAttributeRequest
- type DescribeVolumeAttributeResponse
- type DescribeVolumeStatusInput
- type DescribeVolumeStatusOutput
- type DescribeVolumeStatusPaginator
- type DescribeVolumeStatusRequest
- type DescribeVolumeStatusResponse
- type DescribeVolumesInput
- type DescribeVolumesModificationsInput
- type DescribeVolumesModificationsOutput
- type DescribeVolumesModificationsPaginator
- type DescribeVolumesModificationsRequest
- type DescribeVolumesModificationsResponse
- type DescribeVolumesOutput
- type DescribeVolumesPaginator
- type DescribeVolumesRequest
- type DescribeVolumesResponse
- type DescribeVpcAttributeInput
- type DescribeVpcAttributeOutput
- type DescribeVpcAttributeRequest
- type DescribeVpcAttributeResponse
- type DescribeVpcClassicLinkDnsSupportInput
- type DescribeVpcClassicLinkDnsSupportOutput
- type DescribeVpcClassicLinkDnsSupportPaginator
- type DescribeVpcClassicLinkDnsSupportRequest
- type DescribeVpcClassicLinkDnsSupportResponse
- type DescribeVpcClassicLinkInput
- type DescribeVpcClassicLinkOutput
- type DescribeVpcClassicLinkRequest
- type DescribeVpcClassicLinkResponse
- type DescribeVpcEndpointConnectionNotificationsInput
- type DescribeVpcEndpointConnectionNotificationsOutput
- type DescribeVpcEndpointConnectionNotificationsPaginator
- type DescribeVpcEndpointConnectionNotificationsRequest
- type DescribeVpcEndpointConnectionNotificationsResponse
- type DescribeVpcEndpointConnectionsInput
- type DescribeVpcEndpointConnectionsOutput
- type DescribeVpcEndpointConnectionsPaginator
- type DescribeVpcEndpointConnectionsRequest
- type DescribeVpcEndpointConnectionsResponse
- type DescribeVpcEndpointServiceConfigurationsInput
- type DescribeVpcEndpointServiceConfigurationsOutput
- type DescribeVpcEndpointServiceConfigurationsPaginator
- type DescribeVpcEndpointServiceConfigurationsRequest
- type DescribeVpcEndpointServiceConfigurationsResponse
- type DescribeVpcEndpointServicePermissionsInput
- type DescribeVpcEndpointServicePermissionsOutput
- type DescribeVpcEndpointServicePermissionsPaginator
- type DescribeVpcEndpointServicePermissionsRequest
- type DescribeVpcEndpointServicePermissionsResponse
- type DescribeVpcEndpointServicesInput
- type DescribeVpcEndpointServicesOutput
- type DescribeVpcEndpointServicesRequest
- type DescribeVpcEndpointServicesResponse
- type DescribeVpcEndpointsInput
- type DescribeVpcEndpointsOutput
- type DescribeVpcEndpointsPaginator
- type DescribeVpcEndpointsRequest
- type DescribeVpcEndpointsResponse
- type DescribeVpcPeeringConnectionsInput
- type DescribeVpcPeeringConnectionsOutput
- type DescribeVpcPeeringConnectionsPaginator
- type DescribeVpcPeeringConnectionsRequest
- type DescribeVpcPeeringConnectionsResponse
- type DescribeVpcsInput
- type DescribeVpcsOutput
- type DescribeVpcsPaginator
- type DescribeVpcsRequest
- type DescribeVpcsResponse
- type DescribeVpnConnectionsInput
- type DescribeVpnConnectionsOutput
- type DescribeVpnConnectionsRequest
- type DescribeVpnConnectionsResponse
- type DescribeVpnGatewaysInput
- type DescribeVpnGatewaysOutput
- type DescribeVpnGatewaysRequest
- type DescribeVpnGatewaysResponse
- type DetachClassicLinkVpcInput
- type DetachClassicLinkVpcOutput
- type DetachClassicLinkVpcRequest
- type DetachClassicLinkVpcResponse
- type DetachInternetGatewayInput
- type DetachInternetGatewayOutput
- type DetachInternetGatewayRequest
- type DetachInternetGatewayResponse
- type DetachNetworkInterfaceInput
- type DetachNetworkInterfaceOutput
- type DetachNetworkInterfaceRequest
- type DetachNetworkInterfaceResponse
- type DetachVolumeInput
- type DetachVolumeOutput
- type DetachVolumeRequest
- type DetachVolumeResponse
- type DetachVpnGatewayInput
- type DetachVpnGatewayOutput
- type DetachVpnGatewayRequest
- type DetachVpnGatewayResponse
- type DeviceType
- type DhcpConfiguration
- type DhcpOptions
- type DirectoryServiceAuthentication
- type DirectoryServiceAuthenticationRequest
- type DisableEbsEncryptionByDefaultInput
- type DisableEbsEncryptionByDefaultOutput
- type DisableEbsEncryptionByDefaultRequest
- type DisableEbsEncryptionByDefaultResponse
- type DisableTransitGatewayRouteTablePropagationInput
- type DisableTransitGatewayRouteTablePropagationOutput
- type DisableTransitGatewayRouteTablePropagationRequest
- type DisableTransitGatewayRouteTablePropagationResponse
- type DisableVgwRoutePropagationInput
- type DisableVgwRoutePropagationOutput
- type DisableVgwRoutePropagationRequest
- type DisableVgwRoutePropagationResponse
- type DisableVpcClassicLinkDnsSupportInput
- type DisableVpcClassicLinkDnsSupportOutput
- type DisableVpcClassicLinkDnsSupportRequest
- type DisableVpcClassicLinkDnsSupportResponse
- type DisableVpcClassicLinkInput
- type DisableVpcClassicLinkOutput
- type DisableVpcClassicLinkRequest
- type DisableVpcClassicLinkResponse
- type DisassociateAddressInput
- type DisassociateAddressOutput
- type DisassociateAddressRequest
- type DisassociateAddressResponse
- type DisassociateClientVpnTargetNetworkInput
- type DisassociateClientVpnTargetNetworkOutput
- type DisassociateClientVpnTargetNetworkRequest
- type DisassociateClientVpnTargetNetworkResponse
- type DisassociateIamInstanceProfileInput
- type DisassociateIamInstanceProfileOutput
- type DisassociateIamInstanceProfileRequest
- type DisassociateIamInstanceProfileResponse
- type DisassociateRouteTableInput
- type DisassociateRouteTableOutput
- type DisassociateRouteTableRequest
- type DisassociateRouteTableResponse
- type DisassociateSubnetCidrBlockInput
- type DisassociateSubnetCidrBlockOutput
- type DisassociateSubnetCidrBlockRequest
- type DisassociateSubnetCidrBlockResponse
- type DisassociateTransitGatewayRouteTableInput
- type DisassociateTransitGatewayRouteTableOutput
- type DisassociateTransitGatewayRouteTableRequest
- type DisassociateTransitGatewayRouteTableResponse
- type DisassociateVpcCidrBlockInput
- type DisassociateVpcCidrBlockOutput
- type DisassociateVpcCidrBlockRequest
- type DisassociateVpcCidrBlockResponse
- type DiskImage
- type DiskImageDescription
- type DiskImageDetail
- type DiskImageFormat
- type DiskImageVolumeDescription
- type DnsEntry
- type DnsServersOptionsModifyStructure
- type DnsSupportValue
- type DomainType
- type EbsBlockDevice
- type EbsInstanceBlockDevice
- type EbsInstanceBlockDeviceSpecification
- type EgressOnlyInternetGateway
- type ElasticGpuAssociation
- type ElasticGpuHealth
- type ElasticGpuSpecification
- type ElasticGpuSpecificationResponse
- type ElasticGpuState
- type ElasticGpuStatus
- type ElasticGpus
- type ElasticInferenceAccelerator
- type ElasticInferenceAcceleratorAssociation
- type EnableEbsEncryptionByDefaultInput
- type EnableEbsEncryptionByDefaultOutput
- type EnableEbsEncryptionByDefaultRequest
- type EnableEbsEncryptionByDefaultResponse
- type EnableTransitGatewayRouteTablePropagationInput
- type EnableTransitGatewayRouteTablePropagationOutput
- type EnableTransitGatewayRouteTablePropagationRequest
- type EnableTransitGatewayRouteTablePropagationResponse
- type EnableVgwRoutePropagationInput
- type EnableVgwRoutePropagationOutput
- type EnableVgwRoutePropagationRequest
- type EnableVgwRoutePropagationResponse
- type EnableVolumeIOInput
- type EnableVolumeIOOutput
- type EnableVolumeIORequest
- type EnableVolumeIOResponse
- type EnableVpcClassicLinkDnsSupportInput
- type EnableVpcClassicLinkDnsSupportOutput
- type EnableVpcClassicLinkDnsSupportRequest
- type EnableVpcClassicLinkDnsSupportResponse
- type EnableVpcClassicLinkInput
- type EnableVpcClassicLinkOutput
- type EnableVpcClassicLinkRequest
- type EnableVpcClassicLinkResponse
- type EndDateType
- type EventCode
- type EventInformation
- type EventType
- type ExcessCapacityTerminationPolicy
- type ExportClientVpnClientCertificateRevocationListInput
- type ExportClientVpnClientCertificateRevocationListOutput
- type ExportClientVpnClientCertificateRevocationListRequest
- type ExportClientVpnClientCertificateRevocationListResponse
- type ExportClientVpnClientConfigurationInput
- type ExportClientVpnClientConfigurationOutput
- type ExportClientVpnClientConfigurationRequest
- type ExportClientVpnClientConfigurationResponse
- type ExportEnvironment
- type ExportImageInput
- type ExportImageOutput
- type ExportImageRequest
- type ExportImageResponse
- type ExportImageTask
- type ExportTask
- type ExportTaskS3Location
- type ExportTaskS3LocationRequest
- type ExportTaskState
- type ExportToS3Task
- type ExportToS3TaskSpecification
- type ExportTransitGatewayRoutesInput
- type ExportTransitGatewayRoutesOutput
- type ExportTransitGatewayRoutesRequest
- type ExportTransitGatewayRoutesResponse
- type FailedQueuedPurchaseDeletion
- type Filter
- type FleetActivityStatus
- type FleetData
- type FleetEventType
- type FleetExcessCapacityTerminationPolicy
- type FleetLaunchTemplateConfig
- type FleetLaunchTemplateConfigRequest
- type FleetLaunchTemplateOverrides
- type FleetLaunchTemplateOverridesRequest
- type FleetLaunchTemplateSpecification
- type FleetLaunchTemplateSpecificationRequest
- type FleetOnDemandAllocationStrategy
- type FleetStateCode
- type FleetType
- type FlowLog
- type FlowLogsResourceType
- type FpgaImage
- type FpgaImageAttribute
- type FpgaImageAttributeName
- type FpgaImageState
- type FpgaImageStateCode
- type GatewayType
- type GetCapacityReservationUsageInput
- type GetCapacityReservationUsageOutput
- type GetCapacityReservationUsageRequest
- type GetCapacityReservationUsageResponse
- type GetConsoleOutputInput
- type GetConsoleOutputOutput
- type GetConsoleOutputRequest
- type GetConsoleOutputResponse
- type GetConsoleScreenshotInput
- type GetConsoleScreenshotOutput
- type GetConsoleScreenshotRequest
- type GetConsoleScreenshotResponse
- type GetEbsDefaultKmsKeyIdInput
- type GetEbsDefaultKmsKeyIdOutput
- type GetEbsDefaultKmsKeyIdRequest
- type GetEbsDefaultKmsKeyIdResponse
- type GetEbsEncryptionByDefaultInput
- type GetEbsEncryptionByDefaultOutput
- type GetEbsEncryptionByDefaultRequest
- type GetEbsEncryptionByDefaultResponse
- type GetHostReservationPurchasePreviewInput
- type GetHostReservationPurchasePreviewOutput
- type GetHostReservationPurchasePreviewRequest
- type GetHostReservationPurchasePreviewResponse
- type GetLaunchTemplateDataInput
- type GetLaunchTemplateDataOutput
- type GetLaunchTemplateDataRequest
- type GetLaunchTemplateDataResponse
- type GetPasswordDataInput
- type GetPasswordDataOutput
- type GetPasswordDataRequest
- type GetPasswordDataResponse
- type GetReservedInstancesExchangeQuoteInput
- type GetReservedInstancesExchangeQuoteOutput
- type GetReservedInstancesExchangeQuoteRequest
- type GetReservedInstancesExchangeQuoteResponse
- type GetTransitGatewayAttachmentPropagationsInput
- type GetTransitGatewayAttachmentPropagationsOutput
- type GetTransitGatewayAttachmentPropagationsPaginator
- type GetTransitGatewayAttachmentPropagationsRequest
- type GetTransitGatewayAttachmentPropagationsResponse
- type GetTransitGatewayRouteTableAssociationsInput
- type GetTransitGatewayRouteTableAssociationsOutput
- type GetTransitGatewayRouteTableAssociationsPaginator
- type GetTransitGatewayRouteTableAssociationsRequest
- type GetTransitGatewayRouteTableAssociationsResponse
- type GetTransitGatewayRouteTablePropagationsInput
- type GetTransitGatewayRouteTablePropagationsOutput
- type GetTransitGatewayRouteTablePropagationsPaginator
- type GetTransitGatewayRouteTablePropagationsRequest
- type GetTransitGatewayRouteTablePropagationsResponse
- type GroupIdentifier
- type HibernationOptions
- type HibernationOptionsRequest
- type HistoryRecord
- type HistoryRecordEntry
- type Host
- type HostInstance
- type HostOffering
- type HostProperties
- type HostRecovery
- type HostReservation
- type HostTenancy
- type HypervisorType
- type IKEVersionsListValue
- type IKEVersionsRequestListValue
- type IamInstanceProfile
- type IamInstanceProfileAssociation
- type IamInstanceProfileAssociationState
- type IamInstanceProfileSpecification
- type IcmpTypeCode
- type IdFormat
- type Image
- type ImageAttributeName
- type ImageDiskContainer
- type ImageState
- type ImageTypeValues
- type ImportClientVpnClientCertificateRevocationListInput
- type ImportClientVpnClientCertificateRevocationListOutput
- type ImportClientVpnClientCertificateRevocationListRequest
- type ImportClientVpnClientCertificateRevocationListResponse
- type ImportImageInput
- type ImportImageOutput
- type ImportImageRequest
- type ImportImageResponse
- type ImportImageTask
- type ImportInstanceInput
- type ImportInstanceLaunchSpecification
- type ImportInstanceOutput
- type ImportInstanceRequest
- type ImportInstanceResponse
- type ImportInstanceTaskDetails
- type ImportInstanceVolumeDetailItem
- type ImportKeyPairInput
- type ImportKeyPairOutput
- type ImportKeyPairRequest
- type ImportKeyPairResponse
- type ImportSnapshotInput
- type ImportSnapshotOutput
- type ImportSnapshotRequest
- type ImportSnapshotResponse
- type ImportSnapshotTask
- type ImportVolumeInput
- type ImportVolumeOutput
- type ImportVolumeRequest
- type ImportVolumeResponse
- type ImportVolumeTaskDetails
- type Instance
- type InstanceAttributeName
- type InstanceBlockDeviceMapping
- type InstanceBlockDeviceMappingSpecification
- type InstanceCapacity
- type InstanceCount
- type InstanceCreditSpecification
- type InstanceCreditSpecificationRequest
- type InstanceExportDetails
- type InstanceHealthStatus
- type InstanceInterruptionBehavior
- type InstanceIpv6Address
- type InstanceIpv6AddressRequest
- type InstanceLifecycle
- type InstanceLifecycleType
- type InstanceMarketOptionsRequest
- type InstanceMatchCriteria
- type InstanceMonitoring
- type InstanceNetworkInterface
- type InstanceNetworkInterfaceAssociation
- type InstanceNetworkInterfaceAttachment
- type InstanceNetworkInterfaceSpecification
- type InstancePrivateIpAddress
- type InstanceSpecification
- type InstanceState
- type InstanceStateChange
- type InstanceStateName
- type InstanceStatus
- type InstanceStatusDetails
- type InstanceStatusEvent
- type InstanceStatusSummary
- type InstanceType
- type InstanceUsage
- type InterfacePermissionType
- type InternetGateway
- type InternetGatewayAttachment
- type IpPermission
- type IpRange
- type Ipv6CidrBlock
- type Ipv6Range
- type Ipv6SupportValue
- type KeyPairInfo
- type LaunchPermission
- type LaunchPermissionModifications
- type LaunchSpecification
- type LaunchTemplate
- type LaunchTemplateAndOverridesResponse
- type LaunchTemplateBlockDeviceMapping
- type LaunchTemplateBlockDeviceMappingRequest
- type LaunchTemplateCapacityReservationSpecificationRequest
- type LaunchTemplateCapacityReservationSpecificationResponse
- type LaunchTemplateConfig
- type LaunchTemplateCpuOptions
- type LaunchTemplateCpuOptionsRequest
- type LaunchTemplateEbsBlockDevice
- type LaunchTemplateEbsBlockDeviceRequest
- type LaunchTemplateElasticInferenceAccelerator
- type LaunchTemplateElasticInferenceAcceleratorResponse
- type LaunchTemplateErrorCode
- type LaunchTemplateHibernationOptions
- type LaunchTemplateHibernationOptionsRequest
- type LaunchTemplateIamInstanceProfileSpecification
- type LaunchTemplateIamInstanceProfileSpecificationRequest
- type LaunchTemplateInstanceMarketOptions
- type LaunchTemplateInstanceMarketOptionsRequest
- type LaunchTemplateInstanceNetworkInterfaceSpecification
- type LaunchTemplateInstanceNetworkInterfaceSpecificationRequest
- type LaunchTemplateLicenseConfiguration
- type LaunchTemplateLicenseConfigurationRequest
- type LaunchTemplateOverrides
- type LaunchTemplatePlacement
- type LaunchTemplatePlacementRequest
- type LaunchTemplateSpecification
- type LaunchTemplateSpotMarketOptions
- type LaunchTemplateSpotMarketOptionsRequest
- type LaunchTemplateTagSpecification
- type LaunchTemplateTagSpecificationRequest
- type LaunchTemplateVersion
- type LaunchTemplatesMonitoring
- type LaunchTemplatesMonitoringRequest
- type LicenseConfiguration
- type LicenseConfigurationRequest
- type ListingState
- type ListingStatus
- type LoadBalancersConfig
- type LoadPermission
- type LoadPermissionModifications
- type LoadPermissionRequest
- type LogDestinationType
- type MarketType
- type ModifyCapacityReservationInput
- type ModifyCapacityReservationOutput
- type ModifyCapacityReservationRequest
- type ModifyCapacityReservationResponse
- type ModifyClientVpnEndpointInput
- type ModifyClientVpnEndpointOutput
- type ModifyClientVpnEndpointRequest
- type ModifyClientVpnEndpointResponse
- type ModifyEbsDefaultKmsKeyIdInput
- type ModifyEbsDefaultKmsKeyIdOutput
- type ModifyEbsDefaultKmsKeyIdRequest
- type ModifyEbsDefaultKmsKeyIdResponse
- type ModifyFleetInput
- type ModifyFleetOutput
- type ModifyFleetRequest
- type ModifyFleetResponse
- type ModifyFpgaImageAttributeInput
- type ModifyFpgaImageAttributeOutput
- type ModifyFpgaImageAttributeRequest
- type ModifyFpgaImageAttributeResponse
- type ModifyHostsInput
- type ModifyHostsOutput
- type ModifyHostsRequest
- type ModifyHostsResponse
- type ModifyIdFormatInput
- type ModifyIdFormatOutput
- type ModifyIdFormatRequest
- type ModifyIdFormatResponse
- type ModifyIdentityIdFormatInput
- type ModifyIdentityIdFormatOutput
- type ModifyIdentityIdFormatRequest
- type ModifyIdentityIdFormatResponse
- type ModifyImageAttributeInput
- type ModifyImageAttributeOutput
- type ModifyImageAttributeRequest
- type ModifyImageAttributeResponse
- type ModifyInstanceAttributeInput
- type ModifyInstanceAttributeOutput
- type ModifyInstanceAttributeRequest
- type ModifyInstanceAttributeResponse
- type ModifyInstanceCapacityReservationAttributesInput
- type ModifyInstanceCapacityReservationAttributesOutput
- type ModifyInstanceCapacityReservationAttributesRequest
- type ModifyInstanceCapacityReservationAttributesResponse
- type ModifyInstanceCreditSpecificationInput
- type ModifyInstanceCreditSpecificationOutput
- type ModifyInstanceCreditSpecificationRequest
- type ModifyInstanceCreditSpecificationResponse
- type ModifyInstanceEventStartTimeInput
- type ModifyInstanceEventStartTimeOutput
- type ModifyInstanceEventStartTimeRequest
- type ModifyInstanceEventStartTimeResponse
- type ModifyInstancePlacementInput
- type ModifyInstancePlacementOutput
- type ModifyInstancePlacementRequest
- type ModifyInstancePlacementResponse
- type ModifyLaunchTemplateInput
- type ModifyLaunchTemplateOutput
- type ModifyLaunchTemplateRequest
- type ModifyLaunchTemplateResponse
- type ModifyNetworkInterfaceAttributeInput
- type ModifyNetworkInterfaceAttributeOutput
- type ModifyNetworkInterfaceAttributeRequest
- type ModifyNetworkInterfaceAttributeResponse
- type ModifyReservedInstancesInput
- type ModifyReservedInstancesOutput
- type ModifyReservedInstancesRequest
- type ModifyReservedInstancesResponse
- type ModifySnapshotAttributeInput
- type ModifySnapshotAttributeOutput
- type ModifySnapshotAttributeRequest
- type ModifySnapshotAttributeResponse
- type ModifySpotFleetRequestInput
- type ModifySpotFleetRequestOutput
- type ModifySpotFleetRequestRequest
- type ModifySpotFleetRequestResponse
- type ModifySubnetAttributeInput
- type ModifySubnetAttributeOutput
- type ModifySubnetAttributeRequest
- type ModifySubnetAttributeResponse
- type ModifyTrafficMirrorFilterNetworkServicesInput
- type ModifyTrafficMirrorFilterNetworkServicesOutput
- type ModifyTrafficMirrorFilterNetworkServicesRequest
- type ModifyTrafficMirrorFilterNetworkServicesResponse
- type ModifyTrafficMirrorFilterRuleInput
- type ModifyTrafficMirrorFilterRuleOutput
- type ModifyTrafficMirrorFilterRuleRequest
- type ModifyTrafficMirrorFilterRuleResponse
- type ModifyTrafficMirrorSessionInput
- type ModifyTrafficMirrorSessionOutput
- type ModifyTrafficMirrorSessionRequest
- type ModifyTrafficMirrorSessionResponse
- type ModifyTransitGatewayVpcAttachmentInput
- type ModifyTransitGatewayVpcAttachmentOutput
- type ModifyTransitGatewayVpcAttachmentRequest
- type ModifyTransitGatewayVpcAttachmentRequestOptions
- type ModifyTransitGatewayVpcAttachmentResponse
- type ModifyVolumeAttributeInput
- type ModifyVolumeAttributeOutput
- type ModifyVolumeAttributeRequest
- type ModifyVolumeAttributeResponse
- type ModifyVolumeInput
- type ModifyVolumeOutput
- type ModifyVolumeRequest
- type ModifyVolumeResponse
- type ModifyVpcAttributeInput
- type ModifyVpcAttributeOutput
- type ModifyVpcAttributeRequest
- type ModifyVpcAttributeResponse
- type ModifyVpcEndpointConnectionNotificationInput
- type ModifyVpcEndpointConnectionNotificationOutput
- type ModifyVpcEndpointConnectionNotificationRequest
- type ModifyVpcEndpointConnectionNotificationResponse
- type ModifyVpcEndpointInput
- type ModifyVpcEndpointOutput
- type ModifyVpcEndpointRequest
- type ModifyVpcEndpointResponse
- type ModifyVpcEndpointServiceConfigurationInput
- type ModifyVpcEndpointServiceConfigurationOutput
- type ModifyVpcEndpointServiceConfigurationRequest
- type ModifyVpcEndpointServiceConfigurationResponse
- type ModifyVpcEndpointServicePermissionsInput
- type ModifyVpcEndpointServicePermissionsOutput
- type ModifyVpcEndpointServicePermissionsRequest
- type ModifyVpcEndpointServicePermissionsResponse
- type ModifyVpcPeeringConnectionOptionsInput
- type ModifyVpcPeeringConnectionOptionsOutput
- type ModifyVpcPeeringConnectionOptionsRequest
- type ModifyVpcPeeringConnectionOptionsResponse
- type ModifyVpcTenancyInput
- type ModifyVpcTenancyOutput
- type ModifyVpcTenancyRequest
- type ModifyVpcTenancyResponse
- type ModifyVpnConnectionInput
- type ModifyVpnConnectionOutput
- type ModifyVpnConnectionRequest
- type ModifyVpnConnectionResponse
- type ModifyVpnTunnelCertificateInput
- type ModifyVpnTunnelCertificateOutput
- type ModifyVpnTunnelCertificateRequest
- type ModifyVpnTunnelCertificateResponse
- type ModifyVpnTunnelOptionsInput
- type ModifyVpnTunnelOptionsOutput
- type ModifyVpnTunnelOptionsRequest
- type ModifyVpnTunnelOptionsResponse
- type ModifyVpnTunnelOptionsSpecification
- type MonitorInstancesInput
- type MonitorInstancesOutput
- type MonitorInstancesRequest
- type MonitorInstancesResponse
- type Monitoring
- type MonitoringState
- type MoveAddressToVpcInput
- type MoveAddressToVpcOutput
- type MoveAddressToVpcRequest
- type MoveAddressToVpcResponse
- type MoveStatus
- type MovingAddressStatus
- type NatGateway
- type NatGatewayAddress
- type NatGatewayState
- type NetworkAcl
- type NetworkAclAssociation
- type NetworkAclEntry
- type NetworkInterface
- type NetworkInterfaceAssociation
- type NetworkInterfaceAttachment
- type NetworkInterfaceAttachmentChanges
- type NetworkInterfaceAttribute
- type NetworkInterfaceCreationType
- type NetworkInterfaceIpv6Address
- type NetworkInterfacePermission
- type NetworkInterfacePermissionState
- type NetworkInterfacePermissionStateCode
- type NetworkInterfacePrivateIpAddress
- type NetworkInterfaceStatus
- type NetworkInterfaceType
- type NewDhcpConfiguration
- type OfferingClassType
- type OfferingTypeValues
- type OnDemandAllocationStrategy
- type OnDemandOptions
- type OnDemandOptionsRequest
- type OperationType
- type PaymentOption
- type PciId
- type PeeringConnectionOptions
- type PeeringConnectionOptionsRequest
- type PermissionGroup
- type Phase1DHGroupNumbersListValue
- type Phase1DHGroupNumbersRequestListValue
- type Phase1EncryptionAlgorithmsListValue
- type Phase1EncryptionAlgorithmsRequestListValue
- type Phase1IntegrityAlgorithmsListValue
- type Phase1IntegrityAlgorithmsRequestListValue
- type Phase2DHGroupNumbersListValue
- type Phase2DHGroupNumbersRequestListValue
- type Phase2EncryptionAlgorithmsListValue
- type Phase2EncryptionAlgorithmsRequestListValue
- type Phase2IntegrityAlgorithmsListValue
- type Phase2IntegrityAlgorithmsRequestListValue
- type Placement
- type PlacementGroup
- type PlacementGroupState
- type PlacementResponse
- type PlacementStrategy
- type PlatformValues
- type PortRange
- type PrefixList
- type PrefixListId
- type PriceSchedule
- type PriceScheduleSpecification
- type PricingDetail
- type PrincipalIdFormat
- type PrincipalType
- type PrivateIpAddressSpecification
- type ProductCode
- type ProductCodeValues
- type PropagatingVgw
- type ProvisionByoipCidrInput
- type ProvisionByoipCidrOutput
- type ProvisionByoipCidrRequest
- type ProvisionByoipCidrResponse
- type ProvisionedBandwidth
- type PublicIpv4Pool
- type PublicIpv4PoolRange
- type Purchase
- type PurchaseHostReservationInput
- type PurchaseHostReservationOutput
- type PurchaseHostReservationRequest
- type PurchaseHostReservationResponse
- type PurchaseRequest
- type PurchaseReservedInstancesOfferingInput
- type PurchaseReservedInstancesOfferingOutput
- type PurchaseReservedInstancesOfferingRequest
- type PurchaseReservedInstancesOfferingResponse
- type PurchaseScheduledInstancesInput
- type PurchaseScheduledInstancesOutput
- type PurchaseScheduledInstancesRequest
- type PurchaseScheduledInstancesResponse
- type RIProductDescription
- type RebootInstancesInput
- type RebootInstancesOutput
- type RebootInstancesRequest
- type RebootInstancesResponse
- type RecurringCharge
- type RecurringChargeFrequency
- type Region
- type RegisterImageInput
- type RegisterImageOutput
- type RegisterImageRequest
- type RegisterImageResponse
- type RejectTransitGatewayVpcAttachmentInput
- type RejectTransitGatewayVpcAttachmentOutput
- type RejectTransitGatewayVpcAttachmentRequest
- type RejectTransitGatewayVpcAttachmentResponse
- type RejectVpcEndpointConnectionsInput
- type RejectVpcEndpointConnectionsOutput
- type RejectVpcEndpointConnectionsRequest
- type RejectVpcEndpointConnectionsResponse
- type RejectVpcPeeringConnectionInput
- type RejectVpcPeeringConnectionOutput
- type RejectVpcPeeringConnectionRequest
- type RejectVpcPeeringConnectionResponse
- type ReleaseAddressInput
- type ReleaseAddressOutput
- type ReleaseAddressRequest
- type ReleaseAddressResponse
- type ReleaseHostsInput
- type ReleaseHostsOutput
- type ReleaseHostsRequest
- type ReleaseHostsResponse
- type ReplaceIamInstanceProfileAssociationInput
- type ReplaceIamInstanceProfileAssociationOutput
- type ReplaceIamInstanceProfileAssociationRequest
- type ReplaceIamInstanceProfileAssociationResponse
- type ReplaceNetworkAclAssociationInput
- type ReplaceNetworkAclAssociationOutput
- type ReplaceNetworkAclAssociationRequest
- type ReplaceNetworkAclAssociationResponse
- type ReplaceNetworkAclEntryInput
- type ReplaceNetworkAclEntryOutput
- type ReplaceNetworkAclEntryRequest
- type ReplaceNetworkAclEntryResponse
- type ReplaceRouteInput
- type ReplaceRouteOutput
- type ReplaceRouteRequest
- type ReplaceRouteResponse
- type ReplaceRouteTableAssociationInput
- type ReplaceRouteTableAssociationOutput
- type ReplaceRouteTableAssociationRequest
- type ReplaceRouteTableAssociationResponse
- type ReplaceTransitGatewayRouteInput
- type ReplaceTransitGatewayRouteOutput
- type ReplaceTransitGatewayRouteRequest
- type ReplaceTransitGatewayRouteResponse
- type ReportInstanceReasonCodes
- type ReportInstanceStatusInput
- type ReportInstanceStatusOutput
- type ReportInstanceStatusRequest
- type ReportInstanceStatusResponse
- type ReportStatusType
- type RequestLaunchTemplateData
- type RequestSpotFleetInput
- type RequestSpotFleetOutput
- type RequestSpotFleetRequest
- type RequestSpotFleetResponse
- type RequestSpotInstancesInput
- type RequestSpotInstancesOutput
- type RequestSpotInstancesRequest
- type RequestSpotInstancesResponse
- type RequestSpotLaunchSpecification
- type Reservation
- type ReservationState
- type ReservationValue
- type ReservedInstanceLimitPrice
- type ReservedInstanceReservationValue
- type ReservedInstanceState
- type ReservedInstances
- type ReservedInstancesConfiguration
- type ReservedInstancesId
- type ReservedInstancesListing
- type ReservedInstancesModification
- type ReservedInstancesModificationResult
- type ReservedInstancesOffering
- type ResetEbsDefaultKmsKeyIdInput
- type ResetEbsDefaultKmsKeyIdOutput
- type ResetEbsDefaultKmsKeyIdRequest
- type ResetEbsDefaultKmsKeyIdResponse
- type ResetFpgaImageAttributeInput
- type ResetFpgaImageAttributeName
- type ResetFpgaImageAttributeOutput
- type ResetFpgaImageAttributeRequest
- type ResetFpgaImageAttributeResponse
- type ResetImageAttributeInput
- type ResetImageAttributeName
- type ResetImageAttributeOutput
- type ResetImageAttributeRequest
- type ResetImageAttributeResponse
- type ResetInstanceAttributeInput
- type ResetInstanceAttributeOutput
- type ResetInstanceAttributeRequest
- type ResetInstanceAttributeResponse
- type ResetNetworkInterfaceAttributeInput
- type ResetNetworkInterfaceAttributeOutput
- type ResetNetworkInterfaceAttributeRequest
- type ResetNetworkInterfaceAttributeResponse
- type ResetSnapshotAttributeInput
- type ResetSnapshotAttributeOutput
- type ResetSnapshotAttributeRequest
- type ResetSnapshotAttributeResponse
- type ResourceType
- type ResponseError
- type ResponseLaunchTemplateData
- type RestoreAddressToClassicInput
- type RestoreAddressToClassicOutput
- type RestoreAddressToClassicRequest
- type RestoreAddressToClassicResponse
- type RevokeClientVpnIngressInput
- type RevokeClientVpnIngressOutput
- type RevokeClientVpnIngressRequest
- type RevokeClientVpnIngressResponse
- type RevokeSecurityGroupEgressInput
- type RevokeSecurityGroupEgressOutput
- type RevokeSecurityGroupEgressRequest
- type RevokeSecurityGroupEgressResponse
- type RevokeSecurityGroupIngressInput
- type RevokeSecurityGroupIngressOutput
- type RevokeSecurityGroupIngressRequest
- type RevokeSecurityGroupIngressResponse
- type Route
- type RouteOrigin
- type RouteState
- type RouteTable
- type RouteTableAssociation
- type RuleAction
- type RunInstancesInput
- type RunInstancesMonitoringEnabled
- type RunInstancesOutput
- type RunInstancesRequest
- type RunInstancesResponse
- type RunScheduledInstancesInput
- type RunScheduledInstancesOutput
- type RunScheduledInstancesRequest
- type RunScheduledInstancesResponse
- type S3Storage
- type ScheduledInstance
- type ScheduledInstanceAvailability
- type ScheduledInstanceRecurrence
- type ScheduledInstanceRecurrenceRequest
- type ScheduledInstancesBlockDeviceMapping
- type ScheduledInstancesEbs
- type ScheduledInstancesIamInstanceProfile
- type ScheduledInstancesIpv6Address
- type ScheduledInstancesLaunchSpecification
- type ScheduledInstancesMonitoring
- type ScheduledInstancesNetworkInterface
- type ScheduledInstancesPlacement
- type ScheduledInstancesPrivateIpAddressConfig
- type Scope
- type SearchTransitGatewayRoutesInput
- type SearchTransitGatewayRoutesOutput
- type SearchTransitGatewayRoutesRequest
- type SearchTransitGatewayRoutesResponse
- type SecurityGroup
- type SecurityGroupIdentifier
- type SecurityGroupReference
- type SendDiagnosticInterruptInput
- type SendDiagnosticInterruptOutput
- type SendDiagnosticInterruptRequest
- type SendDiagnosticInterruptResponse
- type ServiceConfiguration
- type ServiceDetail
- type ServiceState
- type ServiceType
- type ServiceTypeDetail
- type ShutdownBehavior
- type SlotDateTimeRangeRequest
- type SlotStartTimeRangeRequest
- type Snapshot
- type SnapshotAttributeName
- type SnapshotDetail
- type SnapshotDiskContainer
- type SnapshotInfo
- type SnapshotState
- type SnapshotTaskDetail
- type SpotAllocationStrategy
- type SpotDatafeedSubscription
- type SpotFleetLaunchSpecification
- type SpotFleetMonitoring
- type SpotFleetRequestConfig
- type SpotFleetRequestConfigData
- type SpotFleetTagSpecification
- type SpotInstanceInterruptionBehavior
- type SpotInstanceRequest
- type SpotInstanceState
- type SpotInstanceStateFault
- type SpotInstanceStatus
- type SpotInstanceType
- type SpotMarketOptions
- type SpotOptions
- type SpotOptionsRequest
- type SpotPlacement
- type SpotPrice
- type StaleIpPermission
- type StaleSecurityGroup
- type StartInstancesInput
- type StartInstancesOutput
- type StartInstancesRequest
- type StartInstancesResponse
- type State
- type StateReason
- type Status
- type StatusName
- type StatusType
- type StopInstancesInput
- type StopInstancesOutput
- type StopInstancesRequest
- type StopInstancesResponse
- type Storage
- type StorageLocation
- type Subnet
- type SubnetCidrBlockState
- type SubnetCidrBlockStateCode
- type SubnetIpv6CidrBlockAssociation
- type SubnetState
- type SuccessfulInstanceCreditSpecificationItem
- type SuccessfulQueuedPurchaseDeletion
- type SummaryStatus
- type Tag
- type TagDescription
- type TagSpecification
- type TargetCapacitySpecification
- type TargetCapacitySpecificationRequest
- type TargetConfiguration
- type TargetConfigurationRequest
- type TargetGroup
- type TargetGroupsConfig
- type TargetNetwork
- type TargetReservationValue
- type TelemetryStatus
- type Tenancy
- type TerminateClientVpnConnectionsInput
- type TerminateClientVpnConnectionsOutput
- type TerminateClientVpnConnectionsRequest
- type TerminateClientVpnConnectionsResponse
- type TerminateConnectionStatus
- type TerminateInstancesInput
- type TerminateInstancesOutput
- type TerminateInstancesRequest
- type TerminateInstancesResponse
- type TrafficDirection
- type TrafficMirrorFilter
- type TrafficMirrorFilterRule
- type TrafficMirrorFilterRuleField
- type TrafficMirrorNetworkService
- type TrafficMirrorPortRange
- type TrafficMirrorPortRangeRequest
- type TrafficMirrorRuleAction
- type TrafficMirrorSession
- type TrafficMirrorSessionField
- type TrafficMirrorTarget
- type TrafficMirrorTargetType
- type TrafficType
- type TransitGateway
- type TransitGatewayAssociation
- type TransitGatewayAssociationState
- type TransitGatewayAttachment
- type TransitGatewayAttachmentAssociation
- type TransitGatewayAttachmentPropagation
- type TransitGatewayAttachmentResourceType
- type TransitGatewayAttachmentState
- type TransitGatewayOptions
- type TransitGatewayPropagation
- type TransitGatewayPropagationState
- type TransitGatewayRequestOptions
- type TransitGatewayRoute
- type TransitGatewayRouteAttachment
- type TransitGatewayRouteState
- type TransitGatewayRouteTable
- type TransitGatewayRouteTableAssociation
- type TransitGatewayRouteTablePropagation
- type TransitGatewayRouteTableState
- type TransitGatewayRouteType
- type TransitGatewayState
- type TransitGatewayVpcAttachment
- type TransitGatewayVpcAttachmentOptions
- type TransportProtocol
- type TunnelOption
- type UnassignIpv6AddressesInput
- type UnassignIpv6AddressesOutput
- type UnassignIpv6AddressesRequest
- type UnassignIpv6AddressesResponse
- type UnassignPrivateIpAddressesInput
- type UnassignPrivateIpAddressesOutput
- type UnassignPrivateIpAddressesRequest
- type UnassignPrivateIpAddressesResponse
- type UnmonitorInstancesInput
- type UnmonitorInstancesOutput
- type UnmonitorInstancesRequest
- type UnmonitorInstancesResponse
- type UnsuccessfulInstanceCreditSpecificationErrorCode
- type UnsuccessfulInstanceCreditSpecificationItem
- type UnsuccessfulInstanceCreditSpecificationItemError
- type UnsuccessfulItem
- type UnsuccessfulItemError
- type UpdateSecurityGroupRuleDescriptionsEgressInput
- type UpdateSecurityGroupRuleDescriptionsEgressOutput
- type UpdateSecurityGroupRuleDescriptionsEgressRequest
- type UpdateSecurityGroupRuleDescriptionsEgressResponse
- type UpdateSecurityGroupRuleDescriptionsIngressInput
- type UpdateSecurityGroupRuleDescriptionsIngressOutput
- type UpdateSecurityGroupRuleDescriptionsIngressRequest
- type UpdateSecurityGroupRuleDescriptionsIngressResponse
- type UserBucket
- type UserBucketDetails
- type UserData
- type UserIdGroupPair
- type VgwTelemetry
- type VirtualizationType
- type Volume
- type VolumeAttachment
- type VolumeAttachmentState
- type VolumeAttributeName
- type VolumeDetail
- type VolumeModification
- type VolumeModificationState
- type VolumeState
- type VolumeStatusAction
- type VolumeStatusDetails
- type VolumeStatusEvent
- type VolumeStatusInfo
- type VolumeStatusInfoStatus
- type VolumeStatusItem
- type VolumeStatusName
- type VolumeType
- type Vpc
- type VpcAttachment
- type VpcAttributeName
- type VpcCidrBlockAssociation
- type VpcCidrBlockState
- type VpcCidrBlockStateCode
- type VpcClassicLink
- type VpcEndpoint
- type VpcEndpointConnection
- type VpcEndpointType
- type VpcIpv6CidrBlockAssociation
- type VpcPeeringConnection
- type VpcPeeringConnectionOptionsDescription
- type VpcPeeringConnectionStateReason
- type VpcPeeringConnectionStateReasonCode
- type VpcPeeringConnectionVpcInfo
- type VpcState
- type VpcTenancy
- type VpnAuthentication
- type VpnAuthenticationRequest
- type VpnAuthenticationType
- type VpnAuthorizationRuleStatus
- type VpnAuthorizationRuleStatusCode
- type VpnConnection
- type VpnConnectionOptions
- type VpnConnectionOptionsSpecification
- type VpnConnectionStatus
- type VpnConnectionStatusCode
- type VpnEcmpSupportValue
- type VpnEndpoint
- type VpnEndpointStatus
- type VpnEndpointStatusCode
- type VpnGateway
- type VpnProtocol
- type VpnRoute
- type VpnRouteStatus
- type VpnRouteStatusCode
- type VpnState
- type VpnStaticRoute
- type VpnStaticRouteSource
- type VpnTunnelOptionsSpecification
- type WithdrawByoipCidrInput
- type WithdrawByoipCidrOutput
- type WithdrawByoipCidrRequest
- type WithdrawByoipCidrResponse
Examples ¶
- Client.AllocateAddressRequest (Shared00)
- Client.AllocateAddressRequest (Shared01)
- Client.AssignPrivateIpAddressesRequest (Shared00)
- Client.AssignPrivateIpAddressesRequest (Shared01)
- Client.AssociateAddressRequest (Shared00)
- Client.AssociateAddressRequest (Shared01)
- Client.AssociateAddressRequest (Shared02)
- Client.AssociateDhcpOptionsRequest (Shared00)
- Client.AssociateDhcpOptionsRequest (Shared01)
- Client.AssociateIamInstanceProfileRequest (Shared00)
- Client.AssociateRouteTableRequest (Shared00)
- Client.AttachInternetGatewayRequest (Shared00)
- Client.AttachNetworkInterfaceRequest (Shared00)
- Client.AttachVolumeRequest (Shared00)
- Client.AuthorizeSecurityGroupEgressRequest (Shared00)
- Client.AuthorizeSecurityGroupEgressRequest (Shared01)
- Client.AuthorizeSecurityGroupIngressRequest (Shared00)
- Client.AuthorizeSecurityGroupIngressRequest (Shared01)
- Client.AuthorizeSecurityGroupIngressRequest (Shared02)
- Client.CancelSpotFleetRequestsRequest (Shared00)
- Client.CancelSpotFleetRequestsRequest (Shared01)
- Client.CancelSpotInstanceRequestsRequest (Shared00)
- Client.ConfirmProductInstanceRequest (Shared00)
- Client.CopyImageRequest (Shared00)
- Client.CopySnapshotRequest (Shared00)
- Client.CreateCustomerGatewayRequest (Shared00)
- Client.CreateDhcpOptionsRequest (Shared00)
- Client.CreateImageRequest (Shared00)
- Client.CreateInternetGatewayRequest (Shared00)
- Client.CreateKeyPairRequest (Shared00)
- Client.CreateLaunchTemplateRequest (Shared00)
- Client.CreateLaunchTemplateVersionRequest (Shared00)
- Client.CreateNatGatewayRequest (Shared00)
- Client.CreateNetworkAclEntryRequest (Shared00)
- Client.CreateNetworkAclRequest (Shared00)
- Client.CreateNetworkInterfaceRequest (Shared00)
- Client.CreatePlacementGroupRequest (Shared00)
- Client.CreateRouteRequest (Shared00)
- Client.CreateRouteTableRequest (Shared00)
- Client.CreateSecurityGroupRequest (Shared00)
- Client.CreateSnapshotRequest (Shared00)
- Client.CreateSpotDatafeedSubscriptionRequest (Shared00)
- Client.CreateSubnetRequest (Shared00)
- Client.CreateTagsRequest (Shared00)
- Client.CreateVolumeRequest (Shared00)
- Client.CreateVolumeRequest (Shared01)
- Client.CreateVpcRequest (Shared00)
- Client.DeleteCustomerGatewayRequest (Shared00)
- Client.DeleteDhcpOptionsRequest (Shared00)
- Client.DeleteInternetGatewayRequest (Shared00)
- Client.DeleteKeyPairRequest (Shared00)
- Client.DeleteLaunchTemplateRequest (Shared00)
- Client.DeleteLaunchTemplateVersionsRequest (Shared00)
- Client.DeleteNatGatewayRequest (Shared00)
- Client.DeleteNetworkAclEntryRequest (Shared00)
- Client.DeleteNetworkAclRequest (Shared00)
- Client.DeleteNetworkInterfaceRequest (Shared00)
- Client.DeletePlacementGroupRequest (Shared00)
- Client.DeleteRouteRequest (Shared00)
- Client.DeleteRouteTableRequest (Shared00)
- Client.DeleteSecurityGroupRequest (Shared00)
- Client.DeleteSnapshotRequest (Shared00)
- Client.DeleteSpotDatafeedSubscriptionRequest (Shared00)
- Client.DeleteSubnetRequest (Shared00)
- Client.DeleteTagsRequest (Shared00)
- Client.DeleteVolumeRequest (Shared00)
- Client.DeleteVpcRequest (Shared00)
- Client.DescribeAccountAttributesRequest (Shared00)
- Client.DescribeAccountAttributesRequest (Shared01)
- Client.DescribeAddressesRequest (Shared00)
- Client.DescribeAddressesRequest (Shared01)
- Client.DescribeAddressesRequest (Shared02)
- Client.DescribeAvailabilityZonesRequest (Shared00)
- Client.DescribeCustomerGatewaysRequest (Shared00)
- Client.DescribeDhcpOptionsRequest (Shared00)
- Client.DescribeIamInstanceProfileAssociationsRequest (Shared00)
- Client.DescribeImageAttributeRequest (Shared00)
- Client.DescribeImagesRequest (Shared00)
- Client.DescribeInstanceAttributeRequest (Shared00)
- Client.DescribeInstanceAttributeRequest (Shared01)
- Client.DescribeInstanceAttributeRequest (Shared02)
- Client.DescribeInstanceStatusRequest (Shared00)
- Client.DescribeInstancesRequest (Shared00)
- Client.DescribeInstancesRequest (Shared01)
- Client.DescribeInstancesRequest (Shared02)
- Client.DescribeInternetGatewaysRequest (Shared00)
- Client.DescribeKeyPairsRequest (Shared00)
- Client.DescribeLaunchTemplateVersionsRequest (Shared00)
- Client.DescribeLaunchTemplatesRequest (Shared00)
- Client.DescribeMovingAddressesRequest (Shared00)
- Client.DescribeNatGatewaysRequest (Shared00)
- Client.DescribeNetworkAclsRequest (Shared00)
- Client.DescribeNetworkInterfaceAttributeRequest (Shared00)
- Client.DescribeNetworkInterfaceAttributeRequest (Shared01)
- Client.DescribeNetworkInterfaceAttributeRequest (Shared02)
- Client.DescribeNetworkInterfaceAttributeRequest (Shared03)
- Client.DescribeNetworkInterfacesRequest (Shared00)
- Client.DescribeRegionsRequest (Shared00)
- Client.DescribeRouteTablesRequest (Shared00)
- Client.DescribeScheduledInstanceAvailabilityRequest (Shared00)
- Client.DescribeScheduledInstancesRequest (Shared00)
- Client.DescribeSecurityGroupReferencesRequest (Shared00)
- Client.DescribeSecurityGroupsRequest (Shared00)
- Client.DescribeSecurityGroupsRequest (Shared01)
- Client.DescribeSnapshotAttributeRequest (Shared00)
- Client.DescribeSnapshotsRequest (Shared00)
- Client.DescribeSnapshotsRequest (Shared01)
- Client.DescribeSpotDatafeedSubscriptionRequest (Shared00)
- Client.DescribeSpotFleetInstancesRequest (Shared00)
- Client.DescribeSpotFleetRequestHistoryRequest (Shared00)
- Client.DescribeSpotFleetRequestsRequest (Shared00)
- Client.DescribeSpotInstanceRequestsRequest (Shared00)
- Client.DescribeSpotPriceHistoryRequest (Shared00)
- Client.DescribeSubnetsRequest (Shared00)
- Client.DescribeTagsRequest (Shared00)
- Client.DescribeVolumeAttributeRequest (Shared00)
- Client.DescribeVolumeStatusRequest (Shared00)
- Client.DescribeVolumeStatusRequest (Shared01)
- Client.DescribeVolumesRequest (Shared00)
- Client.DescribeVolumesRequest (Shared01)
- Client.DescribeVpcAttributeRequest (Shared00)
- Client.DescribeVpcAttributeRequest (Shared01)
- Client.DescribeVpcsRequest (Shared00)
- Client.DetachInternetGatewayRequest (Shared00)
- Client.DetachNetworkInterfaceRequest (Shared00)
- Client.DetachVolumeRequest (Shared00)
- Client.DisableVgwRoutePropagationRequest (Shared00)
- Client.DisassociateAddressRequest (Shared00)
- Client.DisassociateAddressRequest (Shared01)
- Client.DisassociateIamInstanceProfileRequest (Shared00)
- Client.DisassociateRouteTableRequest (Shared00)
- Client.EnableVgwRoutePropagationRequest (Shared00)
- Client.EnableVolumeIORequest (Shared00)
- Client.GetConsoleOutputRequest (Shared00)
- Client.GetLaunchTemplateDataRequest (Shared00)
- Client.ModifyImageAttributeRequest (Shared00)
- Client.ModifyImageAttributeRequest (Shared01)
- Client.ModifyInstanceAttributeRequest (Shared00)
- Client.ModifyInstanceAttributeRequest (Shared01)
- Client.ModifyLaunchTemplateRequest (Shared00)
- Client.ModifyNetworkInterfaceAttributeRequest (Shared00)
- Client.ModifyNetworkInterfaceAttributeRequest (Shared01)
- Client.ModifyNetworkInterfaceAttributeRequest (Shared02)
- Client.ModifyNetworkInterfaceAttributeRequest (Shared03)
- Client.ModifySnapshotAttributeRequest (Shared00)
- Client.ModifySnapshotAttributeRequest (Shared01)
- Client.ModifySpotFleetRequestRequest (Shared00)
- Client.ModifySpotFleetRequestRequest (Shared01)
- Client.ModifySubnetAttributeRequest (Shared00)
- Client.ModifyVolumeAttributeRequest (Shared00)
- Client.ModifyVpcAttributeRequest (Shared00)
- Client.ModifyVpcAttributeRequest (Shared01)
- Client.MoveAddressToVpcRequest (Shared00)
- Client.PurchaseScheduledInstancesRequest (Shared00)
- Client.RebootInstancesRequest (Shared00)
- Client.ReleaseAddressRequest (Shared00)
- Client.ReleaseAddressRequest (Shared01)
- Client.ReplaceNetworkAclAssociationRequest (Shared00)
- Client.ReplaceNetworkAclEntryRequest (Shared00)
- Client.ReplaceRouteRequest (Shared00)
- Client.ReplaceRouteTableAssociationRequest (Shared00)
- Client.RequestSpotFleetRequest (Shared00)
- Client.RequestSpotFleetRequest (Shared01)
- Client.RequestSpotFleetRequest (Shared02)
- Client.RequestSpotFleetRequest (Shared03)
- Client.RequestSpotInstancesRequest (Shared00)
- Client.RequestSpotInstancesRequest (Shared01)
- Client.ResetImageAttributeRequest (Shared00)
- Client.ResetInstanceAttributeRequest (Shared00)
- Client.ResetSnapshotAttributeRequest (Shared00)
- Client.RestoreAddressToClassicRequest (Shared00)
- Client.RunInstancesRequest (Shared00)
- Client.RunScheduledInstancesRequest (Shared00)
- Client.RunScheduledInstancesRequest (Shared01)
- Client.StartInstancesRequest (Shared00)
- Client.StopInstancesRequest (Shared00)
- Client.TerminateInstancesRequest (Shared00)
- Client.UnassignPrivateIpAddressesRequest (Shared00)
- Client.UpdateSecurityGroupRuleDescriptionsEgressRequest (Shared00)
- Client.UpdateSecurityGroupRuleDescriptionsIngressRequest (Shared00)
Constants ¶
const ( ServiceName = "Amazon EC2" // Service's name ServiceID = "EC2" // Service's identifier EndpointsID = "ec2" // Service's Endpoint identifier )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptReservedInstancesExchangeQuoteInput ¶
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 ¶
func (s AcceptReservedInstancesExchangeQuoteInput) String() string
String returns the string representation
func (*AcceptReservedInstancesExchangeQuoteInput) Validate ¶
func (s *AcceptReservedInstancesExchangeQuoteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AcceptReservedInstancesExchangeQuoteOutput ¶
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 ¶
func (s AcceptReservedInstancesExchangeQuoteOutput) String() string
String returns the string representation
type AcceptReservedInstancesExchangeQuoteRequest ¶
type AcceptReservedInstancesExchangeQuoteRequest struct { *aws.Request Input *AcceptReservedInstancesExchangeQuoteInput Copy func(*AcceptReservedInstancesExchangeQuoteInput) AcceptReservedInstancesExchangeQuoteRequest }
AcceptReservedInstancesExchangeQuoteRequest is the request type for the AcceptReservedInstancesExchangeQuote API operation.
func (AcceptReservedInstancesExchangeQuoteRequest) Send ¶
func (r AcceptReservedInstancesExchangeQuoteRequest) Send(ctx context.Context) (*AcceptReservedInstancesExchangeQuoteResponse, error)
Send marshals and sends the AcceptReservedInstancesExchangeQuote API request.
type AcceptReservedInstancesExchangeQuoteResponse ¶ added in v0.9.0
type AcceptReservedInstancesExchangeQuoteResponse struct { *AcceptReservedInstancesExchangeQuoteOutput // contains filtered or unexported fields }
AcceptReservedInstancesExchangeQuoteResponse is the response type for the AcceptReservedInstancesExchangeQuote API operation.
func (*AcceptReservedInstancesExchangeQuoteResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AcceptReservedInstancesExchangeQuoteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AcceptReservedInstancesExchangeQuote request.
type AcceptTransitGatewayVpcAttachmentInput ¶ added in v0.6.0
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 ¶ added in v0.6.0
func (s AcceptTransitGatewayVpcAttachmentInput) String() string
String returns the string representation
func (*AcceptTransitGatewayVpcAttachmentInput) Validate ¶ added in v0.6.0
func (s *AcceptTransitGatewayVpcAttachmentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AcceptTransitGatewayVpcAttachmentOutput ¶ added in v0.6.0
type AcceptTransitGatewayVpcAttachmentOutput struct { // The VPC attachment. TransitGatewayVpcAttachment *TransitGatewayVpcAttachment `locationName:"transitGatewayVpcAttachment" type:"structure"` // contains filtered or unexported fields }
func (AcceptTransitGatewayVpcAttachmentOutput) String ¶ added in v0.6.0
func (s AcceptTransitGatewayVpcAttachmentOutput) String() string
String returns the string representation
type AcceptTransitGatewayVpcAttachmentRequest ¶ added in v0.6.0
type AcceptTransitGatewayVpcAttachmentRequest struct { *aws.Request Input *AcceptTransitGatewayVpcAttachmentInput Copy func(*AcceptTransitGatewayVpcAttachmentInput) AcceptTransitGatewayVpcAttachmentRequest }
AcceptTransitGatewayVpcAttachmentRequest is the request type for the AcceptTransitGatewayVpcAttachment API operation.
func (AcceptTransitGatewayVpcAttachmentRequest) Send ¶ added in v0.6.0
func (r AcceptTransitGatewayVpcAttachmentRequest) Send(ctx context.Context) (*AcceptTransitGatewayVpcAttachmentResponse, error)
Send marshals and sends the AcceptTransitGatewayVpcAttachment API request.
type AcceptTransitGatewayVpcAttachmentResponse ¶ added in v0.9.0
type AcceptTransitGatewayVpcAttachmentResponse struct { *AcceptTransitGatewayVpcAttachmentOutput // contains filtered or unexported fields }
AcceptTransitGatewayVpcAttachmentResponse is the response type for the AcceptTransitGatewayVpcAttachment API operation.
func (*AcceptTransitGatewayVpcAttachmentResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AcceptTransitGatewayVpcAttachmentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AcceptTransitGatewayVpcAttachment request.
type AcceptVpcEndpointConnectionsInput ¶ added in v0.2.0
type AcceptVpcEndpointConnectionsInput 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 endpoint service. // // ServiceId is a required field ServiceId *string `type:"string" required:"true"` // The IDs of one or more interface VPC endpoints. // // VpcEndpointIds is a required field VpcEndpointIds []string `locationName:"VpcEndpointId" locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
func (AcceptVpcEndpointConnectionsInput) String ¶ added in v0.2.0
func (s AcceptVpcEndpointConnectionsInput) String() string
String returns the string representation
func (*AcceptVpcEndpointConnectionsInput) Validate ¶ added in v0.2.0
func (s *AcceptVpcEndpointConnectionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AcceptVpcEndpointConnectionsOutput ¶ added in v0.2.0
type AcceptVpcEndpointConnectionsOutput struct { // Information about the interface endpoints that were not accepted, if applicable. Unsuccessful []UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (AcceptVpcEndpointConnectionsOutput) String ¶ added in v0.2.0
func (s AcceptVpcEndpointConnectionsOutput) String() string
String returns the string representation
type AcceptVpcEndpointConnectionsRequest ¶ added in v0.2.0
type AcceptVpcEndpointConnectionsRequest struct { *aws.Request Input *AcceptVpcEndpointConnectionsInput Copy func(*AcceptVpcEndpointConnectionsInput) AcceptVpcEndpointConnectionsRequest }
AcceptVpcEndpointConnectionsRequest is the request type for the AcceptVpcEndpointConnections API operation.
func (AcceptVpcEndpointConnectionsRequest) Send ¶ added in v0.2.0
func (r AcceptVpcEndpointConnectionsRequest) Send(ctx context.Context) (*AcceptVpcEndpointConnectionsResponse, error)
Send marshals and sends the AcceptVpcEndpointConnections API request.
type AcceptVpcEndpointConnectionsResponse ¶ added in v0.9.0
type AcceptVpcEndpointConnectionsResponse struct { *AcceptVpcEndpointConnectionsOutput // contains filtered or unexported fields }
AcceptVpcEndpointConnectionsResponse is the response type for the AcceptVpcEndpointConnections API operation.
func (*AcceptVpcEndpointConnectionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AcceptVpcEndpointConnectionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AcceptVpcEndpointConnections request.
type AcceptVpcPeeringConnectionInput ¶
type AcceptVpcPeeringConnectionInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the VPC peering connection. You must specify this parameter in // the request. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"` // contains filtered or unexported fields }
func (AcceptVpcPeeringConnectionInput) String ¶
func (s AcceptVpcPeeringConnectionInput) String() string
String returns the string representation
type AcceptVpcPeeringConnectionOutput ¶
type AcceptVpcPeeringConnectionOutput struct { // Information about the VPC peering connection. VpcPeeringConnection *VpcPeeringConnection `locationName:"vpcPeeringConnection" type:"structure"` // contains filtered or unexported fields }
func (AcceptVpcPeeringConnectionOutput) String ¶
func (s AcceptVpcPeeringConnectionOutput) String() string
String returns the string representation
type AcceptVpcPeeringConnectionRequest ¶
type AcceptVpcPeeringConnectionRequest struct { *aws.Request Input *AcceptVpcPeeringConnectionInput Copy func(*AcceptVpcPeeringConnectionInput) AcceptVpcPeeringConnectionRequest }
AcceptVpcPeeringConnectionRequest is the request type for the AcceptVpcPeeringConnection API operation.
func (AcceptVpcPeeringConnectionRequest) Send ¶
func (r AcceptVpcPeeringConnectionRequest) Send(ctx context.Context) (*AcceptVpcPeeringConnectionResponse, error)
Send marshals and sends the AcceptVpcPeeringConnection API request.
type AcceptVpcPeeringConnectionResponse ¶ added in v0.9.0
type AcceptVpcPeeringConnectionResponse struct { *AcceptVpcPeeringConnectionOutput // contains filtered or unexported fields }
AcceptVpcPeeringConnectionResponse is the response type for the AcceptVpcPeeringConnection API operation.
func (*AcceptVpcPeeringConnectionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AcceptVpcPeeringConnectionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AcceptVpcPeeringConnection request.
type AccountAttribute ¶
type AccountAttribute struct { // The name of the account attribute. AttributeName *string `locationName:"attributeName" type:"string"` // The values for the account attribute. AttributeValues []AccountAttributeValue `locationName:"attributeValueSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes an account attribute.
func (AccountAttribute) String ¶
func (s AccountAttribute) String() string
String returns the string representation
type AccountAttributeName ¶
type AccountAttributeName string
const ( AccountAttributeNameSupportedPlatforms AccountAttributeName = "supported-platforms" AccountAttributeNameDefaultVpc AccountAttributeName = "default-vpc" )
Enum values for AccountAttributeName
func (AccountAttributeName) MarshalValue ¶ added in v0.3.0
func (enum AccountAttributeName) MarshalValue() (string, error)
func (AccountAttributeName) MarshalValueBuf ¶ added in v0.3.0
func (enum AccountAttributeName) MarshalValueBuf(b []byte) ([]byte, error)
type AccountAttributeValue ¶
type AccountAttributeValue struct { // The value of the attribute. AttributeValue *string `locationName:"attributeValue" type:"string"` // contains filtered or unexported fields }
Describes a value of an account attribute.
func (AccountAttributeValue) String ¶
func (s AccountAttributeValue) String() string
String returns the string representation
type ActiveInstance ¶
type ActiveInstance struct { // The health status of the instance. If the status of either the instance status // check or the system status check is impaired, the health status of the instance // is unhealthy. Otherwise, the health status is healthy. InstanceHealth InstanceHealthStatus `locationName:"instanceHealth" type:"string" enum:"true"` // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // The instance type. InstanceType *string `locationName:"instanceType" type:"string"` // The ID of the Spot Instance request. SpotInstanceRequestId *string `locationName:"spotInstanceRequestId" type:"string"` // contains filtered or unexported fields }
Describes a running instance in a Spot Fleet.
func (ActiveInstance) String ¶
func (s ActiveInstance) String() string
String returns the string representation
type ActivityStatus ¶
type ActivityStatus string
const ( ActivityStatusError ActivityStatus = "error" ActivityStatusPendingFulfillment ActivityStatus = "pending_fulfillment" ActivityStatusPendingTermination ActivityStatus = "pending_termination" ActivityStatusFulfilled ActivityStatus = "fulfilled" )
Enum values for ActivityStatus
func (ActivityStatus) MarshalValue ¶ added in v0.3.0
func (enum ActivityStatus) MarshalValue() (string, error)
func (ActivityStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum ActivityStatus) MarshalValueBuf(b []byte) ([]byte, error)
type Address ¶
type Address struct { // The ID representing the allocation of the address for use with EC2-VPC. AllocationId *string `locationName:"allocationId" type:"string"` // The ID representing the association of the address with an instance in a // VPC. AssociationId *string `locationName:"associationId" type:"string"` // Indicates whether this Elastic IP address is for use with instances in EC2-Classic // (standard) or instances in a VPC (vpc). Domain DomainType `locationName:"domain" type:"string" enum:"true"` // The ID of the instance that the address is associated with (if any). InstanceId *string `locationName:"instanceId" type:"string"` // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // The ID of the AWS account that owns the network interface. NetworkInterfaceOwnerId *string `locationName:"networkInterfaceOwnerId" type:"string"` // The private IP address associated with the Elastic IP address. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // The Elastic IP address. PublicIp *string `locationName:"publicIp" type:"string"` // The ID of an address pool. PublicIpv4Pool *string `locationName:"publicIpv4Pool" type:"string"` // Any tags assigned to the Elastic IP address. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes an Elastic IP address.
type AdvertiseByoipCidrInput ¶ added in v0.6.0
type AdvertiseByoipCidrInput struct { // The IPv4 address range, in CIDR notation. This must be the exact range that // you provisioned. You can't advertise only a portion of the provisioned range. // // Cidr is a required field Cidr *string `type:"string" required:"true"` // 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"` // contains filtered or unexported fields }
func (AdvertiseByoipCidrInput) String ¶ added in v0.6.0
func (s AdvertiseByoipCidrInput) String() string
String returns the string representation
func (*AdvertiseByoipCidrInput) Validate ¶ added in v0.6.0
func (s *AdvertiseByoipCidrInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdvertiseByoipCidrOutput ¶ added in v0.6.0
type AdvertiseByoipCidrOutput struct { // Information about the address range. ByoipCidr *ByoipCidr `locationName:"byoipCidr" type:"structure"` // contains filtered or unexported fields }
func (AdvertiseByoipCidrOutput) String ¶ added in v0.6.0
func (s AdvertiseByoipCidrOutput) String() string
String returns the string representation
type AdvertiseByoipCidrRequest ¶ added in v0.6.0
type AdvertiseByoipCidrRequest struct { *aws.Request Input *AdvertiseByoipCidrInput Copy func(*AdvertiseByoipCidrInput) AdvertiseByoipCidrRequest }
AdvertiseByoipCidrRequest is the request type for the AdvertiseByoipCidr API operation.
func (AdvertiseByoipCidrRequest) Send ¶ added in v0.6.0
func (r AdvertiseByoipCidrRequest) Send(ctx context.Context) (*AdvertiseByoipCidrResponse, error)
Send marshals and sends the AdvertiseByoipCidr API request.
type AdvertiseByoipCidrResponse ¶ added in v0.9.0
type AdvertiseByoipCidrResponse struct { *AdvertiseByoipCidrOutput // contains filtered or unexported fields }
AdvertiseByoipCidrResponse is the response type for the AdvertiseByoipCidr API operation.
func (*AdvertiseByoipCidrResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AdvertiseByoipCidrResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AdvertiseByoipCidr request.
type Affinity ¶
type Affinity string
Enum values for Affinity
func (Affinity) MarshalValue ¶ added in v0.3.0
type AllocateAddressInput ¶
type AllocateAddressInput struct { // [EC2-VPC] The Elastic IP address to recover or an IPv4 address from an address // pool. Address *string `type:"string"` // Set to vpc to allocate the address for use with instances in a VPC. // // Default: The address is for use with instances in EC2-Classic. Domain DomainType `type:"string" enum:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of an address pool that you own. Use this parameter to let Amazon // EC2 select an address from the address pool. To specify a specific address // from the address pool, use the Address parameter instead. PublicIpv4Pool *string `type:"string"` // contains filtered or unexported fields }
func (AllocateAddressInput) String ¶
func (s AllocateAddressInput) String() string
String returns the string representation
type AllocateAddressOutput ¶
type AllocateAddressOutput struct { // [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic // IP address for use with instances in a VPC. AllocationId *string `locationName:"allocationId" type:"string"` // Indicates whether this Elastic IP address is for use with instances in EC2-Classic // (standard) or instances in a VPC (vpc). Domain DomainType `locationName:"domain" type:"string" enum:"true"` // The Elastic IP address. PublicIp *string `locationName:"publicIp" type:"string"` // The ID of an address pool. PublicIpv4Pool *string `locationName:"publicIpv4Pool" type:"string"` // contains filtered or unexported fields }
func (AllocateAddressOutput) String ¶
func (s AllocateAddressOutput) String() string
String returns the string representation
type AllocateAddressRequest ¶
type AllocateAddressRequest struct { *aws.Request Input *AllocateAddressInput Copy func(*AllocateAddressInput) AllocateAddressRequest }
AllocateAddressRequest is the request type for the AllocateAddress API operation.
func (AllocateAddressRequest) Send ¶
func (r AllocateAddressRequest) Send(ctx context.Context) (*AllocateAddressResponse, error)
Send marshals and sends the AllocateAddress API request.
type AllocateAddressResponse ¶ added in v0.9.0
type AllocateAddressResponse struct { *AllocateAddressOutput // contains filtered or unexported fields }
AllocateAddressResponse is the response type for the AllocateAddress API operation.
func (*AllocateAddressResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AllocateAddressResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AllocateAddress request.
type AllocateHostsInput ¶
type AllocateHostsInput struct { // Indicates whether the host accepts any untargeted instance launches that // match its instance type configuration, or if it only accepts Host tenancy // instance launches that specify its unique host ID. For more information, // see Understanding Instance Placement and Host Affinity (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-understanding) // in the Amazon EC2 User Guide for Linux Instances. // // Default: on AutoPlacement AutoPlacement `locationName:"autoPlacement" type:"string" enum:"true"` // The Availability Zone in which to allocate the Dedicated Host. // // AvailabilityZone is a required field AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // Indicates whether to enable or disable host recovery for the Dedicated Host. // Host recovery is disabled by default. For more information, see Host Recovery // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html) // in the Amazon Elastic Compute Cloud User Guide. // // Default: off HostRecovery HostRecovery `type:"string" enum:"true"` // Specifies the instance type for which to configure your Dedicated Hosts. // When you specify the instance type, that is the only instance type that you // can launch onto that host. // // InstanceType is a required field InstanceType *string `locationName:"instanceType" type:"string" required:"true"` // The number of Dedicated Hosts to allocate to your account with these parameters. // // Quantity is a required field Quantity *int64 `locationName:"quantity" type:"integer" required:"true"` // The tags to apply to the Dedicated Host during creation. TagSpecifications []TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (AllocateHostsInput) String ¶
func (s AllocateHostsInput) String() string
String returns the string representation
func (*AllocateHostsInput) Validate ¶
func (s *AllocateHostsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AllocateHostsOutput ¶
type AllocateHostsOutput struct { // The ID of the allocated Dedicated Host. This is used to launch an instance // onto a specific host. HostIds []string `locationName:"hostIdSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of AllocateHosts.
func (AllocateHostsOutput) String ¶
func (s AllocateHostsOutput) String() string
String returns the string representation
type AllocateHostsRequest ¶
type AllocateHostsRequest struct { *aws.Request Input *AllocateHostsInput Copy func(*AllocateHostsInput) AllocateHostsRequest }
AllocateHostsRequest is the request type for the AllocateHosts API operation.
func (AllocateHostsRequest) Send ¶
func (r AllocateHostsRequest) Send(ctx context.Context) (*AllocateHostsResponse, error)
Send marshals and sends the AllocateHosts API request.
type AllocateHostsResponse ¶ added in v0.9.0
type AllocateHostsResponse struct { *AllocateHostsOutput // contains filtered or unexported fields }
AllocateHostsResponse is the response type for the AllocateHosts API operation.
func (*AllocateHostsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AllocateHostsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AllocateHosts request.
type AllocationState ¶
type AllocationState string
const ( AllocationStateAvailable AllocationState = "available" AllocationStateUnderAssessment AllocationState = "under-assessment" AllocationStatePermanentFailure AllocationState = "permanent-failure" AllocationStateReleased AllocationState = "released" AllocationStateReleasedPermanentFailure AllocationState = "released-permanent-failure" AllocationStatePending AllocationState = "pending" )
Enum values for AllocationState
func (AllocationState) MarshalValue ¶ added in v0.3.0
func (enum AllocationState) MarshalValue() (string, error)
func (AllocationState) MarshalValueBuf ¶ added in v0.3.0
func (enum AllocationState) MarshalValueBuf(b []byte) ([]byte, error)
type AllocationStrategy ¶
type AllocationStrategy string
const ( AllocationStrategyLowestPrice AllocationStrategy = "lowestPrice" AllocationStrategyDiversified AllocationStrategy = "diversified" AllocationStrategyCapacityOptimized AllocationStrategy = "capacityOptimized" )
Enum values for AllocationStrategy
func (AllocationStrategy) MarshalValue ¶ added in v0.3.0
func (enum AllocationStrategy) MarshalValue() (string, error)
func (AllocationStrategy) MarshalValueBuf ¶ added in v0.3.0
func (enum AllocationStrategy) MarshalValueBuf(b []byte) ([]byte, error)
type AllowedPrincipal ¶ added in v0.2.0
type AllowedPrincipal struct { // The Amazon Resource Name (ARN) of the principal. Principal *string `locationName:"principal" type:"string"` // The type of principal. PrincipalType PrincipalType `locationName:"principalType" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a principal.
func (AllowedPrincipal) String ¶ added in v0.2.0
func (s AllowedPrincipal) String() string
String returns the string representation
type ApplySecurityGroupsToClientVpnTargetNetworkInput ¶ added in v0.7.0
type ApplySecurityGroupsToClientVpnTargetNetworkInput struct { // The ID of the Client VPN endpoint. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // 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 security groups to apply to the associated target network. // Up to 5 security groups can be applied to an associated target network. // // SecurityGroupIds is a required field SecurityGroupIds []string `locationName:"SecurityGroupId" locationNameList:"item" type:"list" required:"true"` // The ID of the VPC in which the associated target network is located. // // VpcId is a required field VpcId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ApplySecurityGroupsToClientVpnTargetNetworkInput) String ¶ added in v0.7.0
func (s ApplySecurityGroupsToClientVpnTargetNetworkInput) String() string
String returns the string representation
func (*ApplySecurityGroupsToClientVpnTargetNetworkInput) Validate ¶ added in v0.7.0
func (s *ApplySecurityGroupsToClientVpnTargetNetworkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ApplySecurityGroupsToClientVpnTargetNetworkOutput ¶ added in v0.7.0
type ApplySecurityGroupsToClientVpnTargetNetworkOutput struct { // The IDs of the applied security groups. SecurityGroupIds []string `locationName:"securityGroupIds" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (ApplySecurityGroupsToClientVpnTargetNetworkOutput) String ¶ added in v0.7.0
func (s ApplySecurityGroupsToClientVpnTargetNetworkOutput) String() string
String returns the string representation
type ApplySecurityGroupsToClientVpnTargetNetworkRequest ¶ added in v0.7.0
type ApplySecurityGroupsToClientVpnTargetNetworkRequest struct { *aws.Request Input *ApplySecurityGroupsToClientVpnTargetNetworkInput Copy func(*ApplySecurityGroupsToClientVpnTargetNetworkInput) ApplySecurityGroupsToClientVpnTargetNetworkRequest }
ApplySecurityGroupsToClientVpnTargetNetworkRequest is the request type for the ApplySecurityGroupsToClientVpnTargetNetwork API operation.
func (ApplySecurityGroupsToClientVpnTargetNetworkRequest) Send ¶ added in v0.7.0
func (r ApplySecurityGroupsToClientVpnTargetNetworkRequest) Send(ctx context.Context) (*ApplySecurityGroupsToClientVpnTargetNetworkResponse, error)
Send marshals and sends the ApplySecurityGroupsToClientVpnTargetNetwork API request.
type ApplySecurityGroupsToClientVpnTargetNetworkResponse ¶ added in v0.9.0
type ApplySecurityGroupsToClientVpnTargetNetworkResponse struct { *ApplySecurityGroupsToClientVpnTargetNetworkOutput // contains filtered or unexported fields }
ApplySecurityGroupsToClientVpnTargetNetworkResponse is the response type for the ApplySecurityGroupsToClientVpnTargetNetwork API operation.
func (*ApplySecurityGroupsToClientVpnTargetNetworkResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ApplySecurityGroupsToClientVpnTargetNetworkResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ApplySecurityGroupsToClientVpnTargetNetwork request.
type ArchitectureValues ¶
type ArchitectureValues string
const ( ArchitectureValuesI386 ArchitectureValues = "i386" ArchitectureValuesX8664 ArchitectureValues = "x86_64" ArchitectureValuesArm64 ArchitectureValues = "arm64" )
Enum values for ArchitectureValues
func (ArchitectureValues) MarshalValue ¶ added in v0.3.0
func (enum ArchitectureValues) MarshalValue() (string, error)
func (ArchitectureValues) MarshalValueBuf ¶ added in v0.3.0
func (enum ArchitectureValues) MarshalValueBuf(b []byte) ([]byte, error)
type AssignIpv6AddressesInput ¶
type AssignIpv6AddressesInput struct { // The number of IPv6 addresses to assign to the network interface. Amazon EC2 // automatically selects the IPv6 addresses from the subnet range. You can't // use this option if specifying specific IPv6 addresses. Ipv6AddressCount *int64 `locationName:"ipv6AddressCount" type:"integer"` // One or more specific IPv6 addresses to be assigned to the network interface. // You can't use this option if you're specifying a number of IPv6 addresses. Ipv6Addresses []string `locationName:"ipv6Addresses" locationNameList:"item" type:"list"` // The ID of the network interface. // // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` // contains filtered or unexported fields }
func (AssignIpv6AddressesInput) String ¶
func (s AssignIpv6AddressesInput) String() string
String returns the string representation
func (*AssignIpv6AddressesInput) Validate ¶
func (s *AssignIpv6AddressesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssignIpv6AddressesOutput ¶
type AssignIpv6AddressesOutput struct { // The IPv6 addresses assigned to the network interface. AssignedIpv6Addresses []string `locationName:"assignedIpv6Addresses" locationNameList:"item" type:"list"` // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // contains filtered or unexported fields }
func (AssignIpv6AddressesOutput) String ¶
func (s AssignIpv6AddressesOutput) String() string
String returns the string representation
type AssignIpv6AddressesRequest ¶
type AssignIpv6AddressesRequest struct { *aws.Request Input *AssignIpv6AddressesInput Copy func(*AssignIpv6AddressesInput) AssignIpv6AddressesRequest }
AssignIpv6AddressesRequest is the request type for the AssignIpv6Addresses API operation.
func (AssignIpv6AddressesRequest) Send ¶
func (r AssignIpv6AddressesRequest) Send(ctx context.Context) (*AssignIpv6AddressesResponse, error)
Send marshals and sends the AssignIpv6Addresses API request.
type AssignIpv6AddressesResponse ¶ added in v0.9.0
type AssignIpv6AddressesResponse struct { *AssignIpv6AddressesOutput // contains filtered or unexported fields }
AssignIpv6AddressesResponse is the response type for the AssignIpv6Addresses API operation.
func (*AssignIpv6AddressesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AssignIpv6AddressesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssignIpv6Addresses request.
type AssignPrivateIpAddressesInput ¶
type AssignPrivateIpAddressesInput struct { // Indicates whether to allow an IP address that is already assigned to another // network interface or instance to be reassigned to the specified network interface. AllowReassignment *bool `locationName:"allowReassignment" type:"boolean"` // The ID of the network interface. // // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` // One or more IP addresses to be assigned as a secondary private IP address // to the network interface. You can't specify this parameter when also specifying // a number of secondary IP addresses. // // If you don't specify an IP address, Amazon EC2 automatically selects an IP // address within the subnet range. PrivateIpAddresses []string `locationName:"privateIpAddress" locationNameList:"PrivateIpAddress" type:"list"` // The number of secondary IP addresses to assign to the network interface. // You can't specify this parameter when also specifying private IP addresses. SecondaryPrivateIpAddressCount *int64 `locationName:"secondaryPrivateIpAddressCount" type:"integer"` // contains filtered or unexported fields }
Contains the parameters for AssignPrivateIpAddresses.
func (AssignPrivateIpAddressesInput) String ¶
func (s AssignPrivateIpAddressesInput) String() string
String returns the string representation
func (*AssignPrivateIpAddressesInput) Validate ¶
func (s *AssignPrivateIpAddressesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssignPrivateIpAddressesOutput ¶
type AssignPrivateIpAddressesOutput struct { // The private IP addresses assigned to the network interface. AssignedPrivateIpAddresses []AssignedPrivateIpAddress `locationName:"assignedPrivateIpAddressesSet" locationNameList:"item" type:"list"` // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // contains filtered or unexported fields }
func (AssignPrivateIpAddressesOutput) String ¶
func (s AssignPrivateIpAddressesOutput) String() string
String returns the string representation
type AssignPrivateIpAddressesRequest ¶
type AssignPrivateIpAddressesRequest struct { *aws.Request Input *AssignPrivateIpAddressesInput Copy func(*AssignPrivateIpAddressesInput) AssignPrivateIpAddressesRequest }
AssignPrivateIpAddressesRequest is the request type for the AssignPrivateIpAddresses API operation.
func (AssignPrivateIpAddressesRequest) Send ¶
func (r AssignPrivateIpAddressesRequest) Send(ctx context.Context) (*AssignPrivateIpAddressesResponse, error)
Send marshals and sends the AssignPrivateIpAddresses API request.
type AssignPrivateIpAddressesResponse ¶ added in v0.9.0
type AssignPrivateIpAddressesResponse struct { *AssignPrivateIpAddressesOutput // contains filtered or unexported fields }
AssignPrivateIpAddressesResponse is the response type for the AssignPrivateIpAddresses API operation.
func (*AssignPrivateIpAddressesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AssignPrivateIpAddressesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssignPrivateIpAddresses request.
type AssignedPrivateIpAddress ¶ added in v0.10.0
type AssignedPrivateIpAddress struct { // The private IP address assigned to the network interface. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // contains filtered or unexported fields }
Describes the private IP addresses assigned to a network interface.
func (AssignedPrivateIpAddress) String ¶ added in v0.10.0
func (s AssignedPrivateIpAddress) String() string
String returns the string representation
type AssociateAddressInput ¶
type AssociateAddressInput struct { // [EC2-VPC] The allocation ID. This is required for EC2-VPC. AllocationId *string `type:"string"` // [EC2-VPC] For a VPC in an EC2-Classic account, specify true to allow an Elastic // IP address that is already associated with an instance or network interface // to be reassociated with the specified instance or network interface. Otherwise, // the operation fails. In a VPC in an EC2-VPC-only account, reassociation is // automatic, therefore you can specify false to ensure the operation fails // if the Elastic IP address is already associated with another resource. AllowReassociation *bool `locationName:"allowReassociation" type:"boolean"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the instance. This is required for EC2-Classic. For EC2-VPC, you // can specify either the instance ID or the network interface ID, but not both. // The operation fails if you specify an instance ID unless exactly one network // interface is attached. InstanceId *string `type:"string"` // [EC2-VPC] The ID of the network interface. If the instance has more than // one network interface, you must specify a network interface ID. // // For EC2-VPC, you can specify either the instance ID or the network interface // ID, but not both. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // [EC2-VPC] The primary or secondary private IP address to associate with the // Elastic IP address. If no private IP address is specified, the Elastic IP // address is associated with the primary private IP address. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // The Elastic IP address to associate with the instance. This is required for // EC2-Classic. PublicIp *string `type:"string"` // contains filtered or unexported fields }
func (AssociateAddressInput) String ¶
func (s AssociateAddressInput) String() string
String returns the string representation
type AssociateAddressOutput ¶
type AssociateAddressOutput struct { // [EC2-VPC] The ID that represents the association of the Elastic IP address // with an instance. AssociationId *string `locationName:"associationId" type:"string"` // contains filtered or unexported fields }
func (AssociateAddressOutput) String ¶
func (s AssociateAddressOutput) String() string
String returns the string representation
type AssociateAddressRequest ¶
type AssociateAddressRequest struct { *aws.Request Input *AssociateAddressInput Copy func(*AssociateAddressInput) AssociateAddressRequest }
AssociateAddressRequest is the request type for the AssociateAddress API operation.
func (AssociateAddressRequest) Send ¶
func (r AssociateAddressRequest) Send(ctx context.Context) (*AssociateAddressResponse, error)
Send marshals and sends the AssociateAddress API request.
type AssociateAddressResponse ¶ added in v0.9.0
type AssociateAddressResponse struct { *AssociateAddressOutput // contains filtered or unexported fields }
AssociateAddressResponse is the response type for the AssociateAddress API operation.
func (*AssociateAddressResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AssociateAddressResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssociateAddress request.
type AssociateClientVpnTargetNetworkInput ¶ added in v0.7.0
type AssociateClientVpnTargetNetworkInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // The ID of the Client VPN endpoint. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // 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 subnet to associate with the Client VPN endpoint. // // SubnetId is a required field SubnetId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (AssociateClientVpnTargetNetworkInput) String ¶ added in v0.7.0
func (s AssociateClientVpnTargetNetworkInput) String() string
String returns the string representation
func (*AssociateClientVpnTargetNetworkInput) Validate ¶ added in v0.7.0
func (s *AssociateClientVpnTargetNetworkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateClientVpnTargetNetworkOutput ¶ added in v0.7.0
type AssociateClientVpnTargetNetworkOutput struct { // The unique ID of the target network association. AssociationId *string `locationName:"associationId" type:"string"` // The current state of the target network association. Status *AssociationStatus `locationName:"status" type:"structure"` // contains filtered or unexported fields }
func (AssociateClientVpnTargetNetworkOutput) String ¶ added in v0.7.0
func (s AssociateClientVpnTargetNetworkOutput) String() string
String returns the string representation
type AssociateClientVpnTargetNetworkRequest ¶ added in v0.7.0
type AssociateClientVpnTargetNetworkRequest struct { *aws.Request Input *AssociateClientVpnTargetNetworkInput Copy func(*AssociateClientVpnTargetNetworkInput) AssociateClientVpnTargetNetworkRequest }
AssociateClientVpnTargetNetworkRequest is the request type for the AssociateClientVpnTargetNetwork API operation.
func (AssociateClientVpnTargetNetworkRequest) Send ¶ added in v0.7.0
func (r AssociateClientVpnTargetNetworkRequest) Send(ctx context.Context) (*AssociateClientVpnTargetNetworkResponse, error)
Send marshals and sends the AssociateClientVpnTargetNetwork API request.
type AssociateClientVpnTargetNetworkResponse ¶ added in v0.9.0
type AssociateClientVpnTargetNetworkResponse struct { *AssociateClientVpnTargetNetworkOutput // contains filtered or unexported fields }
AssociateClientVpnTargetNetworkResponse is the response type for the AssociateClientVpnTargetNetwork API operation.
func (*AssociateClientVpnTargetNetworkResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AssociateClientVpnTargetNetworkResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssociateClientVpnTargetNetwork request.
type AssociateDhcpOptionsInput ¶
type AssociateDhcpOptionsInput struct { // The ID of the DHCP options set, or default to associate no DHCP options with // the VPC. // // DhcpOptionsId is a required field DhcpOptionsId *string `type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the VPC. // // VpcId is a required field VpcId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (AssociateDhcpOptionsInput) String ¶
func (s AssociateDhcpOptionsInput) String() string
String returns the string representation
func (*AssociateDhcpOptionsInput) Validate ¶
func (s *AssociateDhcpOptionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateDhcpOptionsOutput ¶
type AssociateDhcpOptionsOutput struct {
// contains filtered or unexported fields
}
func (AssociateDhcpOptionsOutput) String ¶
func (s AssociateDhcpOptionsOutput) String() string
String returns the string representation
type AssociateDhcpOptionsRequest ¶
type AssociateDhcpOptionsRequest struct { *aws.Request Input *AssociateDhcpOptionsInput Copy func(*AssociateDhcpOptionsInput) AssociateDhcpOptionsRequest }
AssociateDhcpOptionsRequest is the request type for the AssociateDhcpOptions API operation.
func (AssociateDhcpOptionsRequest) Send ¶
func (r AssociateDhcpOptionsRequest) Send(ctx context.Context) (*AssociateDhcpOptionsResponse, error)
Send marshals and sends the AssociateDhcpOptions API request.
type AssociateDhcpOptionsResponse ¶ added in v0.9.0
type AssociateDhcpOptionsResponse struct { *AssociateDhcpOptionsOutput // contains filtered or unexported fields }
AssociateDhcpOptionsResponse is the response type for the AssociateDhcpOptions API operation.
func (*AssociateDhcpOptionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AssociateDhcpOptionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssociateDhcpOptions request.
type AssociateIamInstanceProfileInput ¶
type AssociateIamInstanceProfileInput struct { // The IAM instance profile. // // IamInstanceProfile is a required field IamInstanceProfile *IamInstanceProfileSpecification `type:"structure" required:"true"` // The ID of the instance. // // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (AssociateIamInstanceProfileInput) String ¶
func (s AssociateIamInstanceProfileInput) String() string
String returns the string representation
func (*AssociateIamInstanceProfileInput) Validate ¶
func (s *AssociateIamInstanceProfileInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateIamInstanceProfileOutput ¶
type AssociateIamInstanceProfileOutput struct { // Information about the IAM instance profile association. IamInstanceProfileAssociation *IamInstanceProfileAssociation `locationName:"iamInstanceProfileAssociation" type:"structure"` // contains filtered or unexported fields }
func (AssociateIamInstanceProfileOutput) String ¶
func (s AssociateIamInstanceProfileOutput) String() string
String returns the string representation
type AssociateIamInstanceProfileRequest ¶
type AssociateIamInstanceProfileRequest struct { *aws.Request Input *AssociateIamInstanceProfileInput Copy func(*AssociateIamInstanceProfileInput) AssociateIamInstanceProfileRequest }
AssociateIamInstanceProfileRequest is the request type for the AssociateIamInstanceProfile API operation.
func (AssociateIamInstanceProfileRequest) Send ¶
func (r AssociateIamInstanceProfileRequest) Send(ctx context.Context) (*AssociateIamInstanceProfileResponse, error)
Send marshals and sends the AssociateIamInstanceProfile API request.
type AssociateIamInstanceProfileResponse ¶ added in v0.9.0
type AssociateIamInstanceProfileResponse struct { *AssociateIamInstanceProfileOutput // contains filtered or unexported fields }
AssociateIamInstanceProfileResponse is the response type for the AssociateIamInstanceProfile API operation.
func (*AssociateIamInstanceProfileResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AssociateIamInstanceProfileResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssociateIamInstanceProfile request.
type AssociateRouteTableInput ¶
type AssociateRouteTableInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the route table. // // RouteTableId is a required field RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` // The ID of the subnet. // // SubnetId is a required field SubnetId *string `locationName:"subnetId" type:"string" required:"true"` // contains filtered or unexported fields }
func (AssociateRouteTableInput) String ¶
func (s AssociateRouteTableInput) String() string
String returns the string representation
func (*AssociateRouteTableInput) Validate ¶
func (s *AssociateRouteTableInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateRouteTableOutput ¶
type AssociateRouteTableOutput struct { // The route table association ID. This ID is required for disassociating the // route table. AssociationId *string `locationName:"associationId" type:"string"` // contains filtered or unexported fields }
func (AssociateRouteTableOutput) String ¶
func (s AssociateRouteTableOutput) String() string
String returns the string representation
type AssociateRouteTableRequest ¶
type AssociateRouteTableRequest struct { *aws.Request Input *AssociateRouteTableInput Copy func(*AssociateRouteTableInput) AssociateRouteTableRequest }
AssociateRouteTableRequest is the request type for the AssociateRouteTable API operation.
func (AssociateRouteTableRequest) Send ¶
func (r AssociateRouteTableRequest) Send(ctx context.Context) (*AssociateRouteTableResponse, error)
Send marshals and sends the AssociateRouteTable API request.
type AssociateRouteTableResponse ¶ added in v0.9.0
type AssociateRouteTableResponse struct { *AssociateRouteTableOutput // contains filtered or unexported fields }
AssociateRouteTableResponse is the response type for the AssociateRouteTable API operation.
func (*AssociateRouteTableResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AssociateRouteTableResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssociateRouteTable request.
type AssociateSubnetCidrBlockInput ¶
type AssociateSubnetCidrBlockInput struct { // The IPv6 CIDR block for your subnet. The subnet must have a /64 prefix length. // // Ipv6CidrBlock is a required field Ipv6CidrBlock *string `locationName:"ipv6CidrBlock" type:"string" required:"true"` // The ID of your subnet. // // SubnetId is a required field SubnetId *string `locationName:"subnetId" type:"string" required:"true"` // contains filtered or unexported fields }
func (AssociateSubnetCidrBlockInput) String ¶
func (s AssociateSubnetCidrBlockInput) String() string
String returns the string representation
func (*AssociateSubnetCidrBlockInput) Validate ¶
func (s *AssociateSubnetCidrBlockInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateSubnetCidrBlockOutput ¶
type AssociateSubnetCidrBlockOutput struct { // Information about the IPv6 CIDR block association. Ipv6CidrBlockAssociation *SubnetIpv6CidrBlockAssociation `locationName:"ipv6CidrBlockAssociation" type:"structure"` // The ID of the subnet. SubnetId *string `locationName:"subnetId" type:"string"` // contains filtered or unexported fields }
func (AssociateSubnetCidrBlockOutput) String ¶
func (s AssociateSubnetCidrBlockOutput) String() string
String returns the string representation
type AssociateSubnetCidrBlockRequest ¶
type AssociateSubnetCidrBlockRequest struct { *aws.Request Input *AssociateSubnetCidrBlockInput Copy func(*AssociateSubnetCidrBlockInput) AssociateSubnetCidrBlockRequest }
AssociateSubnetCidrBlockRequest is the request type for the AssociateSubnetCidrBlock API operation.
func (AssociateSubnetCidrBlockRequest) Send ¶
func (r AssociateSubnetCidrBlockRequest) Send(ctx context.Context) (*AssociateSubnetCidrBlockResponse, error)
Send marshals and sends the AssociateSubnetCidrBlock API request.
type AssociateSubnetCidrBlockResponse ¶ added in v0.9.0
type AssociateSubnetCidrBlockResponse struct { *AssociateSubnetCidrBlockOutput // contains filtered or unexported fields }
AssociateSubnetCidrBlockResponse is the response type for the AssociateSubnetCidrBlock API operation.
func (*AssociateSubnetCidrBlockResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AssociateSubnetCidrBlockResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssociateSubnetCidrBlock request.
type AssociateTransitGatewayRouteTableInput ¶ added in v0.6.0
type AssociateTransitGatewayRouteTableInput 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"` // The ID of the transit gateway route table. // // TransitGatewayRouteTableId is a required field TransitGatewayRouteTableId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (AssociateTransitGatewayRouteTableInput) String ¶ added in v0.6.0
func (s AssociateTransitGatewayRouteTableInput) String() string
String returns the string representation
func (*AssociateTransitGatewayRouteTableInput) Validate ¶ added in v0.6.0
func (s *AssociateTransitGatewayRouteTableInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateTransitGatewayRouteTableOutput ¶ added in v0.6.0
type AssociateTransitGatewayRouteTableOutput struct { // The ID of the association. Association *TransitGatewayAssociation `locationName:"association" type:"structure"` // contains filtered or unexported fields }
func (AssociateTransitGatewayRouteTableOutput) String ¶ added in v0.6.0
func (s AssociateTransitGatewayRouteTableOutput) String() string
String returns the string representation
type AssociateTransitGatewayRouteTableRequest ¶ added in v0.6.0
type AssociateTransitGatewayRouteTableRequest struct { *aws.Request Input *AssociateTransitGatewayRouteTableInput Copy func(*AssociateTransitGatewayRouteTableInput) AssociateTransitGatewayRouteTableRequest }
AssociateTransitGatewayRouteTableRequest is the request type for the AssociateTransitGatewayRouteTable API operation.
func (AssociateTransitGatewayRouteTableRequest) Send ¶ added in v0.6.0
func (r AssociateTransitGatewayRouteTableRequest) Send(ctx context.Context) (*AssociateTransitGatewayRouteTableResponse, error)
Send marshals and sends the AssociateTransitGatewayRouteTable API request.
type AssociateTransitGatewayRouteTableResponse ¶ added in v0.9.0
type AssociateTransitGatewayRouteTableResponse struct { *AssociateTransitGatewayRouteTableOutput // contains filtered or unexported fields }
AssociateTransitGatewayRouteTableResponse is the response type for the AssociateTransitGatewayRouteTable API operation.
func (*AssociateTransitGatewayRouteTableResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AssociateTransitGatewayRouteTableResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssociateTransitGatewayRouteTable request.
type AssociateVpcCidrBlockInput ¶
type AssociateVpcCidrBlockInput struct { // Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for // the VPC. You cannot specify the range of IPv6 addresses, or the size of the // CIDR block. AmazonProvidedIpv6CidrBlock *bool `locationName:"amazonProvidedIpv6CidrBlock" type:"boolean"` // An IPv4 CIDR block to associate with the VPC. CidrBlock *string `type:"string"` // The ID of the VPC. // // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` // contains filtered or unexported fields }
func (AssociateVpcCidrBlockInput) String ¶
func (s AssociateVpcCidrBlockInput) String() string
String returns the string representation
func (*AssociateVpcCidrBlockInput) Validate ¶
func (s *AssociateVpcCidrBlockInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateVpcCidrBlockOutput ¶
type AssociateVpcCidrBlockOutput struct { // Information about the IPv4 CIDR block association. CidrBlockAssociation *VpcCidrBlockAssociation `locationName:"cidrBlockAssociation" type:"structure"` // Information about the IPv6 CIDR block association. Ipv6CidrBlockAssociation *VpcIpv6CidrBlockAssociation `locationName:"ipv6CidrBlockAssociation" type:"structure"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
func (AssociateVpcCidrBlockOutput) String ¶
func (s AssociateVpcCidrBlockOutput) String() string
String returns the string representation
type AssociateVpcCidrBlockRequest ¶
type AssociateVpcCidrBlockRequest struct { *aws.Request Input *AssociateVpcCidrBlockInput Copy func(*AssociateVpcCidrBlockInput) AssociateVpcCidrBlockRequest }
AssociateVpcCidrBlockRequest is the request type for the AssociateVpcCidrBlock API operation.
func (AssociateVpcCidrBlockRequest) Send ¶
func (r AssociateVpcCidrBlockRequest) Send(ctx context.Context) (*AssociateVpcCidrBlockResponse, error)
Send marshals and sends the AssociateVpcCidrBlock API request.
type AssociateVpcCidrBlockResponse ¶ added in v0.9.0
type AssociateVpcCidrBlockResponse struct { *AssociateVpcCidrBlockOutput // contains filtered or unexported fields }
AssociateVpcCidrBlockResponse is the response type for the AssociateVpcCidrBlock API operation.
func (*AssociateVpcCidrBlockResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AssociateVpcCidrBlockResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssociateVpcCidrBlock request.
type AssociatedNetworkType ¶ added in v0.7.0
type AssociatedNetworkType string
const (
AssociatedNetworkTypeVpc AssociatedNetworkType = "vpc"
)
Enum values for AssociatedNetworkType
func (AssociatedNetworkType) MarshalValue ¶ added in v0.7.0
func (enum AssociatedNetworkType) MarshalValue() (string, error)
func (AssociatedNetworkType) MarshalValueBuf ¶ added in v0.7.0
func (enum AssociatedNetworkType) MarshalValueBuf(b []byte) ([]byte, error)
type AssociatedTargetNetwork ¶ added in v0.7.0
type AssociatedTargetNetwork struct { // The ID of the subnet. NetworkId *string `locationName:"networkId" type:"string"` // The target network type. NetworkType AssociatedNetworkType `locationName:"networkType" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a target network that is associated with a Client VPN endpoint. A target network is a subnet in a VPC.
func (AssociatedTargetNetwork) String ¶ added in v0.7.0
func (s AssociatedTargetNetwork) String() string
String returns the string representation
type AssociationStatus ¶ added in v0.7.0
type AssociationStatus struct { // The state of the target network association. Code AssociationStatusCode `locationName:"code" type:"string" enum:"true"` // A message about the status of the target network association, if applicable. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes the state of a target network association.
func (AssociationStatus) String ¶ added in v0.7.0
func (s AssociationStatus) String() string
String returns the string representation
type AssociationStatusCode ¶ added in v0.7.0
type AssociationStatusCode string
const ( AssociationStatusCodeAssociating AssociationStatusCode = "associating" AssociationStatusCodeAssociated AssociationStatusCode = "associated" AssociationStatusCodeAssociationFailed AssociationStatusCode = "association-failed" AssociationStatusCodeDisassociating AssociationStatusCode = "disassociating" AssociationStatusCodeDisassociated AssociationStatusCode = "disassociated" )
Enum values for AssociationStatusCode
func (AssociationStatusCode) MarshalValue ¶ added in v0.7.0
func (enum AssociationStatusCode) MarshalValue() (string, error)
func (AssociationStatusCode) MarshalValueBuf ¶ added in v0.7.0
func (enum AssociationStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type AttachClassicLinkVpcInput ¶
type AttachClassicLinkVpcInput 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 `locationName:"dryRun" type:"boolean"` // The ID of one or more of the VPC's security groups. You cannot specify security // groups from a different VPC. // // Groups is a required field Groups []string `locationName:"SecurityGroupId" locationNameList:"groupId" type:"list" required:"true"` // The ID of an EC2-Classic instance to link to the ClassicLink-enabled VPC. // // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // The ID of a ClassicLink-enabled VPC. // // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` // contains filtered or unexported fields }
func (AttachClassicLinkVpcInput) String ¶
func (s AttachClassicLinkVpcInput) String() string
String returns the string representation
func (*AttachClassicLinkVpcInput) Validate ¶
func (s *AttachClassicLinkVpcInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AttachClassicLinkVpcOutput ¶
type AttachClassicLinkVpcOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (AttachClassicLinkVpcOutput) String ¶
func (s AttachClassicLinkVpcOutput) String() string
String returns the string representation
type AttachClassicLinkVpcRequest ¶
type AttachClassicLinkVpcRequest struct { *aws.Request Input *AttachClassicLinkVpcInput Copy func(*AttachClassicLinkVpcInput) AttachClassicLinkVpcRequest }
AttachClassicLinkVpcRequest is the request type for the AttachClassicLinkVpc API operation.
func (AttachClassicLinkVpcRequest) Send ¶
func (r AttachClassicLinkVpcRequest) Send(ctx context.Context) (*AttachClassicLinkVpcResponse, error)
Send marshals and sends the AttachClassicLinkVpc API request.
type AttachClassicLinkVpcResponse ¶ added in v0.9.0
type AttachClassicLinkVpcResponse struct { *AttachClassicLinkVpcOutput // contains filtered or unexported fields }
AttachClassicLinkVpcResponse is the response type for the AttachClassicLinkVpc API operation.
func (*AttachClassicLinkVpcResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AttachClassicLinkVpcResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AttachClassicLinkVpc request.
type AttachInternetGatewayInput ¶
type AttachInternetGatewayInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the internet gateway. // // InternetGatewayId is a required field InternetGatewayId *string `locationName:"internetGatewayId" type:"string" required:"true"` // The ID of the VPC. // // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` // contains filtered or unexported fields }
func (AttachInternetGatewayInput) String ¶
func (s AttachInternetGatewayInput) String() string
String returns the string representation
func (*AttachInternetGatewayInput) Validate ¶
func (s *AttachInternetGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AttachInternetGatewayOutput ¶
type AttachInternetGatewayOutput struct {
// contains filtered or unexported fields
}
func (AttachInternetGatewayOutput) String ¶
func (s AttachInternetGatewayOutput) String() string
String returns the string representation
type AttachInternetGatewayRequest ¶
type AttachInternetGatewayRequest struct { *aws.Request Input *AttachInternetGatewayInput Copy func(*AttachInternetGatewayInput) AttachInternetGatewayRequest }
AttachInternetGatewayRequest is the request type for the AttachInternetGateway API operation.
func (AttachInternetGatewayRequest) Send ¶
func (r AttachInternetGatewayRequest) Send(ctx context.Context) (*AttachInternetGatewayResponse, error)
Send marshals and sends the AttachInternetGateway API request.
type AttachInternetGatewayResponse ¶ added in v0.9.0
type AttachInternetGatewayResponse struct { *AttachInternetGatewayOutput // contains filtered or unexported fields }
AttachInternetGatewayResponse is the response type for the AttachInternetGateway API operation.
func (*AttachInternetGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AttachInternetGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AttachInternetGateway request.
type AttachNetworkInterfaceInput ¶
type AttachNetworkInterfaceInput struct { // The index of the device for the network interface attachment. // // DeviceIndex is a required field DeviceIndex *int64 `locationName:"deviceIndex" type:"integer" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the instance. // // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // The ID of the network interface. // // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for AttachNetworkInterface.
func (AttachNetworkInterfaceInput) String ¶
func (s AttachNetworkInterfaceInput) String() string
String returns the string representation
func (*AttachNetworkInterfaceInput) Validate ¶
func (s *AttachNetworkInterfaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AttachNetworkInterfaceOutput ¶
type AttachNetworkInterfaceOutput struct { // The ID of the network interface attachment. AttachmentId *string `locationName:"attachmentId" type:"string"` // contains filtered or unexported fields }
Contains the output of AttachNetworkInterface.
func (AttachNetworkInterfaceOutput) String ¶
func (s AttachNetworkInterfaceOutput) String() string
String returns the string representation
type AttachNetworkInterfaceRequest ¶
type AttachNetworkInterfaceRequest struct { *aws.Request Input *AttachNetworkInterfaceInput Copy func(*AttachNetworkInterfaceInput) AttachNetworkInterfaceRequest }
AttachNetworkInterfaceRequest is the request type for the AttachNetworkInterface API operation.
func (AttachNetworkInterfaceRequest) Send ¶
func (r AttachNetworkInterfaceRequest) Send(ctx context.Context) (*AttachNetworkInterfaceResponse, error)
Send marshals and sends the AttachNetworkInterface API request.
type AttachNetworkInterfaceResponse ¶ added in v0.9.0
type AttachNetworkInterfaceResponse struct { *AttachNetworkInterfaceOutput // contains filtered or unexported fields }
AttachNetworkInterfaceResponse is the response type for the AttachNetworkInterface API operation.
func (*AttachNetworkInterfaceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AttachNetworkInterfaceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AttachNetworkInterface request.
type AttachVolumeInput ¶
type AttachVolumeInput struct { // The device name (for example, /dev/sdh or xvdh). // // Device is a required field Device *string `type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the instance. // // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The ID of the EBS volume. The volume and instance must be within the same // Availability Zone. // // VolumeId is a required field VolumeId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for AttachVolume.
func (AttachVolumeInput) String ¶
func (s AttachVolumeInput) String() string
String returns the string representation
func (*AttachVolumeInput) Validate ¶
func (s *AttachVolumeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AttachVolumeOutput ¶ added in v0.9.0
type AttachVolumeOutput struct { // The time stamp when the attachment initiated. AttachTime *time.Time `locationName:"attachTime" type:"timestamp"` // Indicates whether the EBS volume is deleted on instance termination. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` // The device name. Device *string `locationName:"device" type:"string"` // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // The attachment state of the volume. State VolumeAttachmentState `locationName:"status" type:"string" enum:"true"` // The ID of the volume. VolumeId *string `locationName:"volumeId" type:"string"` // contains filtered or unexported fields }
Describes volume attachment details.
func (AttachVolumeOutput) String ¶ added in v0.9.0
func (s AttachVolumeOutput) String() string
String returns the string representation
type AttachVolumeRequest ¶
type AttachVolumeRequest struct { *aws.Request Input *AttachVolumeInput Copy func(*AttachVolumeInput) AttachVolumeRequest }
AttachVolumeRequest is the request type for the AttachVolume API operation.
func (AttachVolumeRequest) Send ¶
func (r AttachVolumeRequest) Send(ctx context.Context) (*AttachVolumeResponse, error)
Send marshals and sends the AttachVolume API request.
type AttachVolumeResponse ¶ added in v0.9.0
type AttachVolumeResponse struct { *AttachVolumeOutput // contains filtered or unexported fields }
AttachVolumeResponse is the response type for the AttachVolume API operation.
func (*AttachVolumeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AttachVolumeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AttachVolume request.
type AttachVpnGatewayInput ¶
type AttachVpnGatewayInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the VPC. // // VpcId is a required field VpcId *string `type:"string" required:"true"` // The ID of the virtual private gateway. // // VpnGatewayId is a required field VpnGatewayId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for AttachVpnGateway.
func (AttachVpnGatewayInput) String ¶
func (s AttachVpnGatewayInput) String() string
String returns the string representation
func (*AttachVpnGatewayInput) Validate ¶
func (s *AttachVpnGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AttachVpnGatewayOutput ¶
type AttachVpnGatewayOutput struct { // Information about the attachment. VpcAttachment *VpcAttachment `locationName:"attachment" type:"structure"` // contains filtered or unexported fields }
Contains the output of AttachVpnGateway.
func (AttachVpnGatewayOutput) String ¶
func (s AttachVpnGatewayOutput) String() string
String returns the string representation
type AttachVpnGatewayRequest ¶
type AttachVpnGatewayRequest struct { *aws.Request Input *AttachVpnGatewayInput Copy func(*AttachVpnGatewayInput) AttachVpnGatewayRequest }
AttachVpnGatewayRequest is the request type for the AttachVpnGateway API operation.
func (AttachVpnGatewayRequest) Send ¶
func (r AttachVpnGatewayRequest) Send(ctx context.Context) (*AttachVpnGatewayResponse, error)
Send marshals and sends the AttachVpnGateway API request.
type AttachVpnGatewayResponse ¶ added in v0.9.0
type AttachVpnGatewayResponse struct { *AttachVpnGatewayOutput // contains filtered or unexported fields }
AttachVpnGatewayResponse is the response type for the AttachVpnGateway API operation.
func (*AttachVpnGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AttachVpnGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AttachVpnGateway request.
type AttachmentStatus ¶
type AttachmentStatus string
const ( AttachmentStatusAttaching AttachmentStatus = "attaching" AttachmentStatusAttached AttachmentStatus = "attached" AttachmentStatusDetaching AttachmentStatus = "detaching" AttachmentStatusDetached AttachmentStatus = "detached" )
Enum values for AttachmentStatus
func (AttachmentStatus) MarshalValue ¶ added in v0.3.0
func (enum AttachmentStatus) MarshalValue() (string, error)
func (AttachmentStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum AttachmentStatus) MarshalValueBuf(b []byte) ([]byte, error)
type AttributeBooleanValue ¶
type AttributeBooleanValue struct { // The attribute value. The valid values are true or false. Value *bool `locationName:"value" type:"boolean"` // contains filtered or unexported fields }
Describes a value for a resource attribute that is a Boolean value.
func (AttributeBooleanValue) String ¶
func (s AttributeBooleanValue) String() string
String returns the string representation
type AttributeValue ¶
type AttributeValue struct { // The attribute value. The value is case-sensitive. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
Describes a value for a resource attribute that is a String.
func (AttributeValue) String ¶
func (s AttributeValue) String() string
String returns the string representation
type AuthorizationRule ¶ added in v0.7.0
type AuthorizationRule struct { // Indicates whether the authorization rule grants access to all clients. AccessAll *bool `locationName:"accessAll" type:"boolean"` // The ID of the Client VPN endpoint with which the authorization rule is associated. ClientVpnEndpointId *string `locationName:"clientVpnEndpointId" type:"string"` // A brief description of the authorization rule. Description *string `locationName:"description" type:"string"` // The IPv4 address range, in CIDR notation, of the network to which the authorization // rule applies. DestinationCidr *string `locationName:"destinationCidr" type:"string"` // The ID of the Active Directory group to which the authorization rule grants // access. GroupId *string `locationName:"groupId" type:"string"` // The current state of the authorization rule. Status *VpnAuthorizationRuleStatus `locationName:"status" type:"structure"` // contains filtered or unexported fields }
Information about an authorization rule.
func (AuthorizationRule) String ¶ added in v0.7.0
func (s AuthorizationRule) String() string
String returns the string representation
type AuthorizeClientVpnIngressInput ¶ added in v0.7.0
type AuthorizeClientVpnIngressInput struct { // The ID of the Active Directory group to grant access. AccessGroupId *string `type:"string"` // Indicates whether to grant access to all clients. Use true to grant all clients // who successfully establish a VPN connection access to the network. AuthorizeAllGroups *bool `type:"boolean"` // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // The ID of the Client VPN endpoint. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // A brief description of the authorization rule. Description *string `type:"string"` // 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 IPv4 address range, in CIDR notation, of the network for which access // is being authorized. // // TargetNetworkCidr is a required field TargetNetworkCidr *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (AuthorizeClientVpnIngressInput) String ¶ added in v0.7.0
func (s AuthorizeClientVpnIngressInput) String() string
String returns the string representation
func (*AuthorizeClientVpnIngressInput) Validate ¶ added in v0.7.0
func (s *AuthorizeClientVpnIngressInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AuthorizeClientVpnIngressOutput ¶ added in v0.7.0
type AuthorizeClientVpnIngressOutput struct { // The current state of the authorization rule. Status *VpnAuthorizationRuleStatus `locationName:"status" type:"structure"` // contains filtered or unexported fields }
func (AuthorizeClientVpnIngressOutput) String ¶ added in v0.7.0
func (s AuthorizeClientVpnIngressOutput) String() string
String returns the string representation
type AuthorizeClientVpnIngressRequest ¶ added in v0.7.0
type AuthorizeClientVpnIngressRequest struct { *aws.Request Input *AuthorizeClientVpnIngressInput Copy func(*AuthorizeClientVpnIngressInput) AuthorizeClientVpnIngressRequest }
AuthorizeClientVpnIngressRequest is the request type for the AuthorizeClientVpnIngress API operation.
func (AuthorizeClientVpnIngressRequest) Send ¶ added in v0.7.0
func (r AuthorizeClientVpnIngressRequest) Send(ctx context.Context) (*AuthorizeClientVpnIngressResponse, error)
Send marshals and sends the AuthorizeClientVpnIngress API request.
type AuthorizeClientVpnIngressResponse ¶ added in v0.9.0
type AuthorizeClientVpnIngressResponse struct { *AuthorizeClientVpnIngressOutput // contains filtered or unexported fields }
AuthorizeClientVpnIngressResponse is the response type for the AuthorizeClientVpnIngress API operation.
func (*AuthorizeClientVpnIngressResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AuthorizeClientVpnIngressResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AuthorizeClientVpnIngress request.
type AuthorizeSecurityGroupEgressInput ¶
type AuthorizeSecurityGroupEgressInput struct { // Not supported. Use a set of IP permissions to specify the CIDR. CidrIp *string `locationName:"cidrIp" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // Not supported. Use a set of IP permissions to specify the port. FromPort *int64 `locationName:"fromPort" type:"integer"` // The ID of the security group. // // GroupId is a required field GroupId *string `locationName:"groupId" type:"string" required:"true"` // The sets of IP permissions. You can't specify a destination security group // and a CIDR IP address range in the same set of permissions. IpPermissions []IpPermission `locationName:"ipPermissions" locationNameList:"item" type:"list"` // Not supported. Use a set of IP permissions to specify the protocol name or // number. IpProtocol *string `locationName:"ipProtocol" type:"string"` // Not supported. Use a set of IP permissions to specify a destination security // group. SourceSecurityGroupName *string `locationName:"sourceSecurityGroupName" type:"string"` // Not supported. Use a set of IP permissions to specify a destination security // group. SourceSecurityGroupOwnerId *string `locationName:"sourceSecurityGroupOwnerId" type:"string"` // Not supported. Use a set of IP permissions to specify the port. ToPort *int64 `locationName:"toPort" type:"integer"` // contains filtered or unexported fields }
func (AuthorizeSecurityGroupEgressInput) String ¶
func (s AuthorizeSecurityGroupEgressInput) String() string
String returns the string representation
func (*AuthorizeSecurityGroupEgressInput) Validate ¶
func (s *AuthorizeSecurityGroupEgressInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AuthorizeSecurityGroupEgressOutput ¶
type AuthorizeSecurityGroupEgressOutput struct {
// contains filtered or unexported fields
}
func (AuthorizeSecurityGroupEgressOutput) String ¶
func (s AuthorizeSecurityGroupEgressOutput) String() string
String returns the string representation
type AuthorizeSecurityGroupEgressRequest ¶
type AuthorizeSecurityGroupEgressRequest struct { *aws.Request Input *AuthorizeSecurityGroupEgressInput Copy func(*AuthorizeSecurityGroupEgressInput) AuthorizeSecurityGroupEgressRequest }
AuthorizeSecurityGroupEgressRequest is the request type for the AuthorizeSecurityGroupEgress API operation.
func (AuthorizeSecurityGroupEgressRequest) Send ¶
func (r AuthorizeSecurityGroupEgressRequest) Send(ctx context.Context) (*AuthorizeSecurityGroupEgressResponse, error)
Send marshals and sends the AuthorizeSecurityGroupEgress API request.
type AuthorizeSecurityGroupEgressResponse ¶ added in v0.9.0
type AuthorizeSecurityGroupEgressResponse struct { *AuthorizeSecurityGroupEgressOutput // contains filtered or unexported fields }
AuthorizeSecurityGroupEgressResponse is the response type for the AuthorizeSecurityGroupEgress API operation.
func (*AuthorizeSecurityGroupEgressResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AuthorizeSecurityGroupEgressResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AuthorizeSecurityGroupEgress request.
type AuthorizeSecurityGroupIngressInput ¶
type AuthorizeSecurityGroupIngressInput struct { // The IPv4 address range, in CIDR format. You can't specify this parameter // when specifying a source security group. To specify an IPv6 address range, // use a set of IP permissions. // // Alternatively, use a set of IP permissions to specify multiple rules and // a description for the rule. CidrIp *string `type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // The start of port range for the TCP and UDP protocols, or an ICMP type number. // For the ICMP type number, use -1 to specify all types. If you specify all // ICMP types, you must specify all codes. // // Alternatively, use a set of IP permissions to specify multiple rules and // a description for the rule. FromPort *int64 `type:"integer"` // The ID of the security group. You must specify either the security group // ID or the security group name in the request. For security groups in a nondefault // VPC, you must specify the security group ID. GroupId *string `type:"string"` // [EC2-Classic, default VPC] The name of the security group. You must specify // either the security group ID or the security group name in the request. GroupName *string `type:"string"` // The sets of IP permissions. IpPermissions []IpPermission `locationNameList:"item" type:"list"` // The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). // To specify icmpv6, use a set of IP permissions. // // [VPC only] Use -1 to specify all protocols. If you specify -1 or a protocol // other than tcp, udp, or icmp, traffic on all ports is allowed, regardless // of any ports you specify. // // Alternatively, use a set of IP permissions to specify multiple rules and // a description for the rule. IpProtocol *string `type:"string"` // [EC2-Classic, default VPC] The name of the source security group. You can't // specify this parameter in combination with the following parameters: the // CIDR IP address range, the start of the port range, the IP protocol, and // the end of the port range. Creates rules that grant full ICMP, UDP, and TCP // access. To create a rule with a specific IP protocol and port range, use // a set of IP permissions instead. For EC2-VPC, the source security group must // be in the same VPC. SourceSecurityGroupName *string `type:"string"` // [nondefault VPC] The AWS account ID for the source security group, if the // source security group is in a different account. You can't specify this parameter // in combination with the following parameters: the CIDR IP address range, // the IP protocol, the start of the port range, and the end of the port range. // Creates rules that grant full ICMP, UDP, and TCP access. To create a rule // with a specific IP protocol and port range, use a set of IP permissions instead. SourceSecurityGroupOwnerId *string `type:"string"` // The end of port range for the TCP and UDP protocols, or an ICMP code number. // For the ICMP code number, use -1 to specify all codes. If you specify all // ICMP types, you must specify all codes. // // Alternatively, use a set of IP permissions to specify multiple rules and // a description for the rule. ToPort *int64 `type:"integer"` // contains filtered or unexported fields }
func (AuthorizeSecurityGroupIngressInput) String ¶
func (s AuthorizeSecurityGroupIngressInput) String() string
String returns the string representation
type AuthorizeSecurityGroupIngressOutput ¶
type AuthorizeSecurityGroupIngressOutput struct {
// contains filtered or unexported fields
}
func (AuthorizeSecurityGroupIngressOutput) String ¶
func (s AuthorizeSecurityGroupIngressOutput) String() string
String returns the string representation
type AuthorizeSecurityGroupIngressRequest ¶
type AuthorizeSecurityGroupIngressRequest struct { *aws.Request Input *AuthorizeSecurityGroupIngressInput Copy func(*AuthorizeSecurityGroupIngressInput) AuthorizeSecurityGroupIngressRequest }
AuthorizeSecurityGroupIngressRequest is the request type for the AuthorizeSecurityGroupIngress API operation.
func (AuthorizeSecurityGroupIngressRequest) Send ¶
func (r AuthorizeSecurityGroupIngressRequest) Send(ctx context.Context) (*AuthorizeSecurityGroupIngressResponse, error)
Send marshals and sends the AuthorizeSecurityGroupIngress API request.
type AuthorizeSecurityGroupIngressResponse ¶ added in v0.9.0
type AuthorizeSecurityGroupIngressResponse struct { *AuthorizeSecurityGroupIngressOutput // contains filtered or unexported fields }
AuthorizeSecurityGroupIngressResponse is the response type for the AuthorizeSecurityGroupIngress API operation.
func (*AuthorizeSecurityGroupIngressResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AuthorizeSecurityGroupIngressResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AuthorizeSecurityGroupIngress request.
type AutoAcceptSharedAttachmentsValue ¶ added in v0.6.0
type AutoAcceptSharedAttachmentsValue string
const ()
Enum values for AutoAcceptSharedAttachmentsValue
func (AutoAcceptSharedAttachmentsValue) MarshalValue ¶ added in v0.6.0
func (enum AutoAcceptSharedAttachmentsValue) MarshalValue() (string, error)
func (AutoAcceptSharedAttachmentsValue) MarshalValueBuf ¶ added in v0.6.0
func (enum AutoAcceptSharedAttachmentsValue) MarshalValueBuf(b []byte) ([]byte, error)
type AutoPlacement ¶
type AutoPlacement string
const ( AutoPlacementOn AutoPlacement = "on" AutoPlacementOff AutoPlacement = "off" )
Enum values for AutoPlacement
func (AutoPlacement) MarshalValue ¶ added in v0.3.0
func (enum AutoPlacement) MarshalValue() (string, error)
func (AutoPlacement) MarshalValueBuf ¶ added in v0.3.0
func (enum AutoPlacement) MarshalValueBuf(b []byte) ([]byte, error)
type AvailabilityZone ¶
type AvailabilityZone struct { // Any messages about the Availability Zone. Messages []AvailabilityZoneMessage `locationName:"messageSet" locationNameList:"item" type:"list"` // The name of the Region. RegionName *string `locationName:"regionName" type:"string"` // The state of the Availability Zone. State AvailabilityZoneState `locationName:"zoneState" type:"string" enum:"true"` // The ID of the Availability Zone. ZoneId *string `locationName:"zoneId" type:"string"` // The name of the Availability Zone. ZoneName *string `locationName:"zoneName" type:"string"` // contains filtered or unexported fields }
Describes an Availability Zone.
func (AvailabilityZone) String ¶
func (s AvailabilityZone) String() string
String returns the string representation
type AvailabilityZoneMessage ¶
type AvailabilityZoneMessage struct { // The message about the Availability Zone. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes a message about an Availability Zone.
func (AvailabilityZoneMessage) String ¶
func (s AvailabilityZoneMessage) String() string
String returns the string representation
type AvailabilityZoneState ¶
type AvailabilityZoneState string
const ( AvailabilityZoneStateAvailable AvailabilityZoneState = "available" AvailabilityZoneStateInformation AvailabilityZoneState = "information" AvailabilityZoneStateImpaired AvailabilityZoneState = "impaired" )
Enum values for AvailabilityZoneState
func (AvailabilityZoneState) MarshalValue ¶ added in v0.3.0
func (enum AvailabilityZoneState) MarshalValue() (string, error)
func (AvailabilityZoneState) MarshalValueBuf ¶ added in v0.3.0
func (enum AvailabilityZoneState) MarshalValueBuf(b []byte) ([]byte, error)
type AvailableCapacity ¶
type AvailableCapacity struct { // The total number of instances supported by the Dedicated Host. AvailableInstanceCapacity []InstanceCapacity `locationName:"availableInstanceCapacity" locationNameList:"item" type:"list"` // The number of vCPUs available on the Dedicated Host. AvailableVCpus *int64 `locationName:"availableVCpus" type:"integer"` // contains filtered or unexported fields }
The capacity information for instances launched onto the Dedicated Host.
func (AvailableCapacity) String ¶
func (s AvailableCapacity) String() string
String returns the string representation
type BatchState ¶
type BatchState string
const ( BatchStateSubmitted BatchState = "submitted" BatchStateActive BatchState = "active" BatchStateCancelled BatchState = "cancelled" BatchStateFailed BatchState = "failed" BatchStateCancelledRunning BatchState = "cancelled_running" BatchStateCancelledTerminating BatchState = "cancelled_terminating" BatchStateModifying BatchState = "modifying" )
Enum values for BatchState
func (BatchState) MarshalValue ¶ added in v0.3.0
func (enum BatchState) MarshalValue() (string, error)
func (BatchState) MarshalValueBuf ¶ added in v0.3.0
func (enum BatchState) MarshalValueBuf(b []byte) ([]byte, error)
type BlobAttributeValue ¶
type BlobAttributeValue struct { // Value is automatically base64 encoded/decoded by the SDK. Value []byte `locationName:"value" type:"blob"` // contains filtered or unexported fields }
func (BlobAttributeValue) String ¶
func (s BlobAttributeValue) String() string
String returns the string representation
type BlockDeviceMapping ¶
type BlockDeviceMapping struct { // The device name (for example, /dev/sdh or xvdh). DeviceName *string `locationName:"deviceName" type:"string"` // Parameters used to automatically set up EBS volumes when the instance is // launched. Ebs *EbsBlockDevice `locationName:"ebs" type:"structure"` // Suppresses the specified device included in the block device mapping of the // AMI. NoDevice *string `locationName:"noDevice" type:"string"` // The virtual device name (ephemeralN). Instance store volumes are numbered // starting from 0. An instance type with 2 available instance store volumes // can specify mappings for ephemeral0 and ephemeral1. The number of available // instance store volumes depends on the instance type. After you connect to // the instance, you must mount the volume. // // NVMe instance store volumes are automatically enumerated and assigned a device // name. Including them in your block device mapping has no effect. // // Constraints: For M3 instances, you must specify instance store volumes in // the block device mapping for the instance. When you launch an M3 instance, // we ignore any instance store volumes specified in the block device mapping // for the AMI. VirtualName *string `locationName:"virtualName" type:"string"` // contains filtered or unexported fields }
Describes a block device mapping.
func (BlockDeviceMapping) String ¶
func (s BlockDeviceMapping) String() string
String returns the string representation
type BundleInstanceInput ¶
type BundleInstanceInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the instance to bundle. // // Type: String // // Default: None // // Required: Yes // // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The bucket in which to store the AMI. You can specify a bucket that you already // own or a new bucket that Amazon EC2 creates on your behalf. If you specify // a bucket that belongs to someone else, Amazon EC2 returns an error. // // Storage is a required field Storage *Storage `type:"structure" required:"true"` // contains filtered or unexported fields }
Contains the parameters for BundleInstance.
func (BundleInstanceInput) String ¶
func (s BundleInstanceInput) String() string
String returns the string representation
func (*BundleInstanceInput) Validate ¶
func (s *BundleInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BundleInstanceOutput ¶
type BundleInstanceOutput struct { // Information about the bundle task. BundleTask *BundleTask `locationName:"bundleInstanceTask" type:"structure"` // contains filtered or unexported fields }
Contains the output of BundleInstance.
func (BundleInstanceOutput) String ¶
func (s BundleInstanceOutput) String() string
String returns the string representation
type BundleInstanceRequest ¶
type BundleInstanceRequest struct { *aws.Request Input *BundleInstanceInput Copy func(*BundleInstanceInput) BundleInstanceRequest }
BundleInstanceRequest is the request type for the BundleInstance API operation.
func (BundleInstanceRequest) Send ¶
func (r BundleInstanceRequest) Send(ctx context.Context) (*BundleInstanceResponse, error)
Send marshals and sends the BundleInstance API request.
type BundleInstanceResponse ¶ added in v0.9.0
type BundleInstanceResponse struct { *BundleInstanceOutput // contains filtered or unexported fields }
BundleInstanceResponse is the response type for the BundleInstance API operation.
func (*BundleInstanceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *BundleInstanceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the BundleInstance request.
type BundleTask ¶
type BundleTask struct { // The ID of the bundle task. BundleId *string `locationName:"bundleId" type:"string"` // If the task fails, a description of the error. BundleTaskError *BundleTaskError `locationName:"error" type:"structure"` // The ID of the instance associated with this bundle task. InstanceId *string `locationName:"instanceId" type:"string"` // The level of task completion, as a percent (for example, 20%). Progress *string `locationName:"progress" type:"string"` // The time this task started. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // The state of the task. State BundleTaskState `locationName:"state" type:"string" enum:"true"` // The Amazon S3 storage locations. Storage *Storage `locationName:"storage" type:"structure"` // The time of the most recent update for the task. UpdateTime *time.Time `locationName:"updateTime" type:"timestamp"` // contains filtered or unexported fields }
Describes a bundle task.
func (BundleTask) String ¶
func (s BundleTask) String() string
String returns the string representation
type BundleTaskError ¶
type BundleTaskError struct { // The error code. Code *string `locationName:"code" type:"string"` // The error message. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes an error for BundleInstance.
func (BundleTaskError) String ¶
func (s BundleTaskError) String() string
String returns the string representation
type BundleTaskState ¶
type BundleTaskState string
const ( BundleTaskStatePending BundleTaskState = "pending" BundleTaskStateWaitingForShutdown BundleTaskState = "waiting-for-shutdown" BundleTaskStateBundling BundleTaskState = "bundling" BundleTaskStateStoring BundleTaskState = "storing" BundleTaskStateCancelling BundleTaskState = "cancelling" BundleTaskStateComplete BundleTaskState = "complete" BundleTaskStateFailed BundleTaskState = "failed" )
Enum values for BundleTaskState
func (BundleTaskState) MarshalValue ¶ added in v0.3.0
func (enum BundleTaskState) MarshalValue() (string, error)
func (BundleTaskState) MarshalValueBuf ¶ added in v0.3.0
func (enum BundleTaskState) MarshalValueBuf(b []byte) ([]byte, error)
type ByoipCidr ¶ added in v0.6.0
type ByoipCidr struct { // The public IPv4 address range, in CIDR notation. Cidr *string `locationName:"cidr" type:"string"` // The description of the address range. Description *string `locationName:"description" type:"string"` // The state of the address pool. State ByoipCidrState `locationName:"state" type:"string" enum:"true"` // Upon success, contains the ID of the address pool. Otherwise, contains an // error message. StatusMessage *string `locationName:"statusMessage" type:"string"` // contains filtered or unexported fields }
Information about an address range that is provisioned for use with your AWS resources through bring your own IP addresses (BYOIP).
type ByoipCidrState ¶ added in v0.6.0
type ByoipCidrState string
const ( ByoipCidrStateAdvertised ByoipCidrState = "advertised" ByoipCidrStateDeprovisioned ByoipCidrState = "deprovisioned" ByoipCidrStateFailedDeprovision ByoipCidrState = "failed-deprovision" ByoipCidrStateFailedProvision ByoipCidrState = "failed-provision" ByoipCidrStatePendingDeprovision ByoipCidrState = "pending-deprovision" ByoipCidrStatePendingProvision ByoipCidrState = "pending-provision" ByoipCidrStateProvisioned ByoipCidrState = "provisioned" )
Enum values for ByoipCidrState
func (ByoipCidrState) MarshalValue ¶ added in v0.6.0
func (enum ByoipCidrState) MarshalValue() (string, error)
func (ByoipCidrState) MarshalValueBuf ¶ added in v0.6.0
func (enum ByoipCidrState) MarshalValueBuf(b []byte) ([]byte, error)
type CancelBatchErrorCode ¶
type CancelBatchErrorCode string
const ( CancelBatchErrorCodeFleetRequestIdDoesNotExist CancelBatchErrorCode = "fleetRequestIdDoesNotExist" CancelBatchErrorCodeFleetRequestIdMalformed CancelBatchErrorCode = "fleetRequestIdMalformed" CancelBatchErrorCodeFleetRequestNotInCancellableState CancelBatchErrorCode = "fleetRequestNotInCancellableState" CancelBatchErrorCodeUnexpectedError CancelBatchErrorCode = "unexpectedError" )
Enum values for CancelBatchErrorCode
func (CancelBatchErrorCode) MarshalValue ¶ added in v0.3.0
func (enum CancelBatchErrorCode) MarshalValue() (string, error)
func (CancelBatchErrorCode) MarshalValueBuf ¶ added in v0.3.0
func (enum CancelBatchErrorCode) MarshalValueBuf(b []byte) ([]byte, error)
type CancelBundleTaskInput ¶
type CancelBundleTaskInput struct { // The ID of the bundle task. // // BundleId is a required field BundleId *string `type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // contains filtered or unexported fields }
Contains the parameters for CancelBundleTask.
func (CancelBundleTaskInput) String ¶
func (s CancelBundleTaskInput) String() string
String returns the string representation
func (*CancelBundleTaskInput) Validate ¶
func (s *CancelBundleTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelBundleTaskOutput ¶
type CancelBundleTaskOutput struct { // Information about the bundle task. BundleTask *BundleTask `locationName:"bundleInstanceTask" type:"structure"` // contains filtered or unexported fields }
Contains the output of CancelBundleTask.
func (CancelBundleTaskOutput) String ¶
func (s CancelBundleTaskOutput) String() string
String returns the string representation
type CancelBundleTaskRequest ¶
type CancelBundleTaskRequest struct { *aws.Request Input *CancelBundleTaskInput Copy func(*CancelBundleTaskInput) CancelBundleTaskRequest }
CancelBundleTaskRequest is the request type for the CancelBundleTask API operation.
func (CancelBundleTaskRequest) Send ¶
func (r CancelBundleTaskRequest) Send(ctx context.Context) (*CancelBundleTaskResponse, error)
Send marshals and sends the CancelBundleTask API request.
type CancelBundleTaskResponse ¶ added in v0.9.0
type CancelBundleTaskResponse struct { *CancelBundleTaskOutput // contains filtered or unexported fields }
CancelBundleTaskResponse is the response type for the CancelBundleTask API operation.
func (*CancelBundleTaskResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CancelBundleTaskResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CancelBundleTask request.
type CancelCapacityReservationInput ¶ added in v0.6.0
type CancelCapacityReservationInput struct { // The ID of the Capacity Reservation to be cancelled. // // CapacityReservationId is a required field CapacityReservationId *string `type:"string" required:"true"` // 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"` // contains filtered or unexported fields }
func (CancelCapacityReservationInput) String ¶ added in v0.6.0
func (s CancelCapacityReservationInput) String() string
String returns the string representation
func (*CancelCapacityReservationInput) Validate ¶ added in v0.6.0
func (s *CancelCapacityReservationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelCapacityReservationOutput ¶ added in v0.6.0
type CancelCapacityReservationOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (CancelCapacityReservationOutput) String ¶ added in v0.6.0
func (s CancelCapacityReservationOutput) String() string
String returns the string representation
type CancelCapacityReservationRequest ¶ added in v0.6.0
type CancelCapacityReservationRequest struct { *aws.Request Input *CancelCapacityReservationInput Copy func(*CancelCapacityReservationInput) CancelCapacityReservationRequest }
CancelCapacityReservationRequest is the request type for the CancelCapacityReservation API operation.
func (CancelCapacityReservationRequest) Send ¶ added in v0.6.0
func (r CancelCapacityReservationRequest) Send(ctx context.Context) (*CancelCapacityReservationResponse, error)
Send marshals and sends the CancelCapacityReservation API request.
type CancelCapacityReservationResponse ¶ added in v0.9.0
type CancelCapacityReservationResponse struct { *CancelCapacityReservationOutput // contains filtered or unexported fields }
CancelCapacityReservationResponse is the response type for the CancelCapacityReservation API operation.
func (*CancelCapacityReservationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CancelCapacityReservationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CancelCapacityReservation request.
type CancelConversionTaskInput ¶
type CancelConversionTaskInput struct { // The ID of the conversion task. // // ConversionTaskId is a required field ConversionTaskId *string `locationName:"conversionTaskId" type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The reason for canceling the conversion task. ReasonMessage *string `locationName:"reasonMessage" type:"string"` // contains filtered or unexported fields }
func (CancelConversionTaskInput) String ¶
func (s CancelConversionTaskInput) String() string
String returns the string representation
func (*CancelConversionTaskInput) Validate ¶
func (s *CancelConversionTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelConversionTaskOutput ¶
type CancelConversionTaskOutput struct {
// contains filtered or unexported fields
}
func (CancelConversionTaskOutput) String ¶
func (s CancelConversionTaskOutput) String() string
String returns the string representation
type CancelConversionTaskRequest ¶
type CancelConversionTaskRequest struct { *aws.Request Input *CancelConversionTaskInput Copy func(*CancelConversionTaskInput) CancelConversionTaskRequest }
CancelConversionTaskRequest is the request type for the CancelConversionTask API operation.
func (CancelConversionTaskRequest) Send ¶
func (r CancelConversionTaskRequest) Send(ctx context.Context) (*CancelConversionTaskResponse, error)
Send marshals and sends the CancelConversionTask API request.
type CancelConversionTaskResponse ¶ added in v0.9.0
type CancelConversionTaskResponse struct { *CancelConversionTaskOutput // contains filtered or unexported fields }
CancelConversionTaskResponse is the response type for the CancelConversionTask API operation.
func (*CancelConversionTaskResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CancelConversionTaskResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CancelConversionTask request.
type CancelExportTaskInput ¶
type CancelExportTaskInput struct { // The ID of the export task. This is the ID returned by CreateInstanceExportTask. // // ExportTaskId is a required field ExportTaskId *string `locationName:"exportTaskId" type:"string" required:"true"` // contains filtered or unexported fields }
func (CancelExportTaskInput) String ¶
func (s CancelExportTaskInput) String() string
String returns the string representation
func (*CancelExportTaskInput) Validate ¶
func (s *CancelExportTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelExportTaskOutput ¶
type CancelExportTaskOutput struct {
// contains filtered or unexported fields
}
func (CancelExportTaskOutput) String ¶
func (s CancelExportTaskOutput) String() string
String returns the string representation
type CancelExportTaskRequest ¶
type CancelExportTaskRequest struct { *aws.Request Input *CancelExportTaskInput Copy func(*CancelExportTaskInput) CancelExportTaskRequest }
CancelExportTaskRequest is the request type for the CancelExportTask API operation.
func (CancelExportTaskRequest) Send ¶
func (r CancelExportTaskRequest) Send(ctx context.Context) (*CancelExportTaskResponse, error)
Send marshals and sends the CancelExportTask API request.
type CancelExportTaskResponse ¶ added in v0.9.0
type CancelExportTaskResponse struct { *CancelExportTaskOutput // contains filtered or unexported fields }
CancelExportTaskResponse is the response type for the CancelExportTask API operation.
func (*CancelExportTaskResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CancelExportTaskResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CancelExportTask request.
type CancelImportTaskInput ¶
type CancelImportTaskInput struct { // The reason for canceling the task. CancelReason *string `type:"string"` // 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 import image or import snapshot task to be canceled. ImportTaskId *string `type:"string"` // contains filtered or unexported fields }
func (CancelImportTaskInput) String ¶
func (s CancelImportTaskInput) String() string
String returns the string representation
type CancelImportTaskOutput ¶
type CancelImportTaskOutput struct { // The ID of the task being canceled. ImportTaskId *string `locationName:"importTaskId" type:"string"` // The current state of the task being canceled. PreviousState *string `locationName:"previousState" type:"string"` // The current state of the task being canceled. State *string `locationName:"state" type:"string"` // contains filtered or unexported fields }
func (CancelImportTaskOutput) String ¶
func (s CancelImportTaskOutput) String() string
String returns the string representation
type CancelImportTaskRequest ¶
type CancelImportTaskRequest struct { *aws.Request Input *CancelImportTaskInput Copy func(*CancelImportTaskInput) CancelImportTaskRequest }
CancelImportTaskRequest is the request type for the CancelImportTask API operation.
func (CancelImportTaskRequest) Send ¶
func (r CancelImportTaskRequest) Send(ctx context.Context) (*CancelImportTaskResponse, error)
Send marshals and sends the CancelImportTask API request.
type CancelImportTaskResponse ¶ added in v0.9.0
type CancelImportTaskResponse struct { *CancelImportTaskOutput // contains filtered or unexported fields }
CancelImportTaskResponse is the response type for the CancelImportTask API operation.
func (*CancelImportTaskResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CancelImportTaskResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CancelImportTask request.
type CancelReservedInstancesListingInput ¶
type CancelReservedInstancesListingInput struct { // The ID of the Reserved Instance listing. // // ReservedInstancesListingId is a required field ReservedInstancesListingId *string `locationName:"reservedInstancesListingId" type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for CancelReservedInstancesListing.
func (CancelReservedInstancesListingInput) String ¶
func (s CancelReservedInstancesListingInput) String() string
String returns the string representation
func (*CancelReservedInstancesListingInput) Validate ¶
func (s *CancelReservedInstancesListingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelReservedInstancesListingOutput ¶
type CancelReservedInstancesListingOutput struct { // The Reserved Instance listing. ReservedInstancesListings []ReservedInstancesListing `locationName:"reservedInstancesListingsSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of CancelReservedInstancesListing.
func (CancelReservedInstancesListingOutput) String ¶
func (s CancelReservedInstancesListingOutput) String() string
String returns the string representation
type CancelReservedInstancesListingRequest ¶
type CancelReservedInstancesListingRequest struct { *aws.Request Input *CancelReservedInstancesListingInput Copy func(*CancelReservedInstancesListingInput) CancelReservedInstancesListingRequest }
CancelReservedInstancesListingRequest is the request type for the CancelReservedInstancesListing API operation.
func (CancelReservedInstancesListingRequest) Send ¶
func (r CancelReservedInstancesListingRequest) Send(ctx context.Context) (*CancelReservedInstancesListingResponse, error)
Send marshals and sends the CancelReservedInstancesListing API request.
type CancelReservedInstancesListingResponse ¶ added in v0.9.0
type CancelReservedInstancesListingResponse struct { *CancelReservedInstancesListingOutput // contains filtered or unexported fields }
CancelReservedInstancesListingResponse is the response type for the CancelReservedInstancesListing API operation.
func (*CancelReservedInstancesListingResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CancelReservedInstancesListingResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CancelReservedInstancesListing request.
type CancelSpotFleetRequestsError ¶
type CancelSpotFleetRequestsError struct { // The error code. Code CancelBatchErrorCode `locationName:"code" type:"string" enum:"true"` // The description for the error code. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes a Spot Fleet error.
func (CancelSpotFleetRequestsError) String ¶
func (s CancelSpotFleetRequestsError) String() string
String returns the string representation
type CancelSpotFleetRequestsErrorItem ¶
type CancelSpotFleetRequestsErrorItem struct { // The error. Error *CancelSpotFleetRequestsError `locationName:"error" type:"structure"` // The ID of the Spot Fleet request. SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string"` // contains filtered or unexported fields }
Describes a Spot Fleet request that was not successfully canceled.
func (CancelSpotFleetRequestsErrorItem) String ¶
func (s CancelSpotFleetRequestsErrorItem) String() string
String returns the string representation
type CancelSpotFleetRequestsInput ¶
type CancelSpotFleetRequestsInput 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 `locationName:"dryRun" type:"boolean"` // The IDs of the Spot Fleet requests. // // SpotFleetRequestIds is a required field SpotFleetRequestIds []string `locationName:"spotFleetRequestId" locationNameList:"item" type:"list" required:"true"` // Indicates whether to terminate instances for a Spot Fleet request if it is // canceled successfully. // // TerminateInstances is a required field TerminateInstances *bool `locationName:"terminateInstances" type:"boolean" required:"true"` // contains filtered or unexported fields }
Contains the parameters for CancelSpotFleetRequests.
func (CancelSpotFleetRequestsInput) String ¶
func (s CancelSpotFleetRequestsInput) String() string
String returns the string representation
func (*CancelSpotFleetRequestsInput) Validate ¶
func (s *CancelSpotFleetRequestsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelSpotFleetRequestsOutput ¶
type CancelSpotFleetRequestsOutput struct { // Information about the Spot Fleet requests that are successfully canceled. SuccessfulFleetRequests []CancelSpotFleetRequestsSuccessItem `locationName:"successfulFleetRequestSet" locationNameList:"item" type:"list"` // Information about the Spot Fleet requests that are not successfully canceled. UnsuccessfulFleetRequests []CancelSpotFleetRequestsErrorItem `locationName:"unsuccessfulFleetRequestSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of CancelSpotFleetRequests.
func (CancelSpotFleetRequestsOutput) String ¶
func (s CancelSpotFleetRequestsOutput) String() string
String returns the string representation
type CancelSpotFleetRequestsRequest ¶
type CancelSpotFleetRequestsRequest struct { *aws.Request Input *CancelSpotFleetRequestsInput Copy func(*CancelSpotFleetRequestsInput) CancelSpotFleetRequestsRequest }
CancelSpotFleetRequestsRequest is the request type for the CancelSpotFleetRequests API operation.
func (CancelSpotFleetRequestsRequest) Send ¶
func (r CancelSpotFleetRequestsRequest) Send(ctx context.Context) (*CancelSpotFleetRequestsResponse, error)
Send marshals and sends the CancelSpotFleetRequests API request.
type CancelSpotFleetRequestsResponse ¶ added in v0.9.0
type CancelSpotFleetRequestsResponse struct { *CancelSpotFleetRequestsOutput // contains filtered or unexported fields }
CancelSpotFleetRequestsResponse is the response type for the CancelSpotFleetRequests API operation.
func (*CancelSpotFleetRequestsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CancelSpotFleetRequestsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CancelSpotFleetRequests request.
type CancelSpotFleetRequestsSuccessItem ¶
type CancelSpotFleetRequestsSuccessItem struct { // The current state of the Spot Fleet request. CurrentSpotFleetRequestState BatchState `locationName:"currentSpotFleetRequestState" type:"string" enum:"true"` // The previous state of the Spot Fleet request. PreviousSpotFleetRequestState BatchState `locationName:"previousSpotFleetRequestState" type:"string" enum:"true"` // The ID of the Spot Fleet request. SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string"` // contains filtered or unexported fields }
Describes a Spot Fleet request that was successfully canceled.
func (CancelSpotFleetRequestsSuccessItem) String ¶
func (s CancelSpotFleetRequestsSuccessItem) String() string
String returns the string representation
type CancelSpotInstanceRequestState ¶
type CancelSpotInstanceRequestState string
const ( CancelSpotInstanceRequestStateActive CancelSpotInstanceRequestState = "active" CancelSpotInstanceRequestStateOpen CancelSpotInstanceRequestState = "open" CancelSpotInstanceRequestStateClosed CancelSpotInstanceRequestState = "closed" CancelSpotInstanceRequestStateCancelled CancelSpotInstanceRequestState = "cancelled" CancelSpotInstanceRequestStateCompleted CancelSpotInstanceRequestState = "completed" )
Enum values for CancelSpotInstanceRequestState
func (CancelSpotInstanceRequestState) MarshalValue ¶ added in v0.3.0
func (enum CancelSpotInstanceRequestState) MarshalValue() (string, error)
func (CancelSpotInstanceRequestState) MarshalValueBuf ¶ added in v0.3.0
func (enum CancelSpotInstanceRequestState) MarshalValueBuf(b []byte) ([]byte, error)
type CancelSpotInstanceRequestsInput ¶
type CancelSpotInstanceRequestsInput 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 `locationName:"dryRun" type:"boolean"` // One or more Spot Instance request IDs. // // SpotInstanceRequestIds is a required field SpotInstanceRequestIds []string `locationName:"SpotInstanceRequestId" locationNameList:"SpotInstanceRequestId" type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for CancelSpotInstanceRequests.
func (CancelSpotInstanceRequestsInput) String ¶
func (s CancelSpotInstanceRequestsInput) String() string
String returns the string representation
func (*CancelSpotInstanceRequestsInput) Validate ¶
func (s *CancelSpotInstanceRequestsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelSpotInstanceRequestsOutput ¶
type CancelSpotInstanceRequestsOutput struct { // One or more Spot Instance requests. CancelledSpotInstanceRequests []CancelledSpotInstanceRequest `locationName:"spotInstanceRequestSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of CancelSpotInstanceRequests.
func (CancelSpotInstanceRequestsOutput) String ¶
func (s CancelSpotInstanceRequestsOutput) String() string
String returns the string representation
type CancelSpotInstanceRequestsRequest ¶
type CancelSpotInstanceRequestsRequest struct { *aws.Request Input *CancelSpotInstanceRequestsInput Copy func(*CancelSpotInstanceRequestsInput) CancelSpotInstanceRequestsRequest }
CancelSpotInstanceRequestsRequest is the request type for the CancelSpotInstanceRequests API operation.
func (CancelSpotInstanceRequestsRequest) Send ¶
func (r CancelSpotInstanceRequestsRequest) Send(ctx context.Context) (*CancelSpotInstanceRequestsResponse, error)
Send marshals and sends the CancelSpotInstanceRequests API request.
type CancelSpotInstanceRequestsResponse ¶ added in v0.9.0
type CancelSpotInstanceRequestsResponse struct { *CancelSpotInstanceRequestsOutput // contains filtered or unexported fields }
CancelSpotInstanceRequestsResponse is the response type for the CancelSpotInstanceRequests API operation.
func (*CancelSpotInstanceRequestsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CancelSpotInstanceRequestsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CancelSpotInstanceRequests request.
type CancelledSpotInstanceRequest ¶
type CancelledSpotInstanceRequest struct { // The ID of the Spot Instance request. SpotInstanceRequestId *string `locationName:"spotInstanceRequestId" type:"string"` // The state of the Spot Instance request. State CancelSpotInstanceRequestState `locationName:"state" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a request to cancel a Spot Instance.
func (CancelledSpotInstanceRequest) String ¶
func (s CancelledSpotInstanceRequest) String() string
String returns the string representation
type CapacityReservation ¶ added in v0.6.0
type CapacityReservation struct { // The Availability Zone in which the capacity is reserved. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The Availability Zone ID of the Capacity Reservation. AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` // The remaining capacity. Indicates the number of instances that can be launched // in the Capacity Reservation. AvailableInstanceCount *int64 `locationName:"availableInstanceCount" type:"integer"` // The Amazon Resource Name (ARN) of the Capacity Reservation. CapacityReservationArn *string `locationName:"capacityReservationArn" type:"string"` // The ID of the Capacity Reservation. CapacityReservationId *string `locationName:"capacityReservationId" type:"string"` // The date and time at which the Capacity Reservation was created. CreateDate *time.Time `locationName:"createDate" type:"timestamp"` // Indicates whether the Capacity Reservation supports EBS-optimized instances. // This optimization provides dedicated throughput to Amazon EBS and an optimized // configuration stack to provide optimal I/O performance. This optimization // isn't available with all instance types. Additional usage charges apply when // using an EBS- optimized instance. EbsOptimized *bool `locationName:"ebsOptimized" type:"boolean"` // The date and time at which the Capacity Reservation expires. When a Capacity // Reservation expires, the reserved capacity is released and you can no longer // launch instances into it. The Capacity Reservation's state changes to expired // when it reaches its end date and time. EndDate *time.Time `locationName:"endDate" type:"timestamp"` // Indicates the way in which the Capacity Reservation ends. A Capacity Reservation // can have one of the following end types: // // * unlimited - The Capacity Reservation remains active until you explicitly // cancel it. // // * limited - The Capacity Reservation expires automatically at a specified // date and time. EndDateType EndDateType `locationName:"endDateType" type:"string" enum:"true"` // Indicates whether the Capacity Reservation supports instances with temporary, // block-level storage. EphemeralStorage *bool `locationName:"ephemeralStorage" type:"boolean"` // Indicates the type of instance launches that the Capacity Reservation accepts. // The options include: // // * open - The Capacity Reservation accepts all instances that have matching // attributes (instance type, platform, and Availability Zone). Instances // that have matching attributes launch into the Capacity Reservation automatically // without specifying any additional parameters. // // * targeted - The Capacity Reservation only accepts instances that have // matching attributes (instance type, platform, and Availability Zone), // and explicitly target the Capacity Reservation. This ensures that only // permitted instances can use the reserved capacity. InstanceMatchCriteria InstanceMatchCriteria `locationName:"instanceMatchCriteria" type:"string" enum:"true"` // The type of operating system for which the Capacity Reservation reserves // capacity. InstancePlatform CapacityReservationInstancePlatform `locationName:"instancePlatform" type:"string" enum:"true"` // The type of instance for which the Capacity Reservation reserves capacity. InstanceType *string `locationName:"instanceType" type:"string"` // The ID of the AWS account that owns the Capacity Reservation. OwnerId *string `locationName:"ownerId" type:"string"` // The current state of the Capacity Reservation. A Capacity Reservation can // be in one of the following states: // // * active - The Capacity Reservation is active and the capacity is available // for your use. // // * expired - The Capacity Reservation expired automatically at the date // and time specified in your request. The reserved capacity is no longer // available for your use. // // * cancelled - The Capacity Reservation was manually cancelled. The reserved // capacity is no longer available for your use. // // * pending - The Capacity Reservation request was successful but the capacity // provisioning is still pending. // // * failed - The Capacity Reservation request has failed. A request might // fail due to invalid request parameters, capacity constraints, or instance // limit constraints. Failed requests are retained for 60 minutes. State CapacityReservationState `locationName:"state" type:"string" enum:"true"` // Any tags assigned to the Capacity Reservation. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // Indicates the tenancy of the Capacity Reservation. A Capacity Reservation // can have one of the following tenancy settings: // // * default - The Capacity Reservation is created on hardware that is shared // with other AWS accounts. // // * dedicated - The Capacity Reservation is created on single-tenant hardware // that is dedicated to a single AWS account. Tenancy CapacityReservationTenancy `locationName:"tenancy" type:"string" enum:"true"` // The total number of instances for which the Capacity Reservation reserves // capacity. TotalInstanceCount *int64 `locationName:"totalInstanceCount" type:"integer"` // contains filtered or unexported fields }
Describes a Capacity Reservation.
func (CapacityReservation) String ¶ added in v0.6.0
func (s CapacityReservation) String() string
String returns the string representation
type CapacityReservationInstancePlatform ¶ added in v0.6.0
type CapacityReservationInstancePlatform string
const ( CapacityReservationInstancePlatformLinuxUnix CapacityReservationInstancePlatform = "Linux/UNIX" CapacityReservationInstancePlatformRedHatEnterpriseLinux CapacityReservationInstancePlatform = "Red Hat Enterprise Linux" CapacityReservationInstancePlatformSuselinux CapacityReservationInstancePlatform = "SUSE Linux" CapacityReservationInstancePlatformWindows CapacityReservationInstancePlatform = "Windows" CapacityReservationInstancePlatformWindowswithSqlserver CapacityReservationInstancePlatform = "Windows with SQL Server" CapacityReservationInstancePlatformWindowswithSqlserverEnterprise CapacityReservationInstancePlatform = "Windows with SQL Server Enterprise" CapacityReservationInstancePlatformWindowswithSqlserverStandard CapacityReservationInstancePlatform = "Windows with SQL Server Standard" CapacityReservationInstancePlatformWindowswithSqlserverWeb CapacityReservationInstancePlatform = "Windows with SQL Server Web" CapacityReservationInstancePlatformLinuxwithSqlserverStandard CapacityReservationInstancePlatform = "Linux with SQL Server Standard" CapacityReservationInstancePlatformLinuxwithSqlserverWeb CapacityReservationInstancePlatform = "Linux with SQL Server Web" CapacityReservationInstancePlatformLinuxwithSqlserverEnterprise CapacityReservationInstancePlatform = "Linux with SQL Server Enterprise" )
Enum values for CapacityReservationInstancePlatform
func (CapacityReservationInstancePlatform) MarshalValue ¶ added in v0.6.0
func (enum CapacityReservationInstancePlatform) MarshalValue() (string, error)
func (CapacityReservationInstancePlatform) MarshalValueBuf ¶ added in v0.6.0
func (enum CapacityReservationInstancePlatform) MarshalValueBuf(b []byte) ([]byte, error)
type CapacityReservationPreference ¶ added in v0.6.0
type CapacityReservationPreference string
const ( CapacityReservationPreferenceOpen CapacityReservationPreference = "open" CapacityReservationPreferenceNone CapacityReservationPreference = "none" )
Enum values for CapacityReservationPreference
func (CapacityReservationPreference) MarshalValue ¶ added in v0.6.0
func (enum CapacityReservationPreference) MarshalValue() (string, error)
func (CapacityReservationPreference) MarshalValueBuf ¶ added in v0.6.0
func (enum CapacityReservationPreference) MarshalValueBuf(b []byte) ([]byte, error)
type CapacityReservationSpecification ¶ added in v0.6.0
type CapacityReservationSpecification struct { // Indicates the instance's Capacity Reservation preferences. Possible preferences // include: // // * open - The instance can run in any open Capacity Reservation that has // matching attributes (instance type, platform, Availability Zone). // // * none - The instance avoids running in a Capacity Reservation even if // one is available. The instance runs as an On-Demand Instance. CapacityReservationPreference CapacityReservationPreference `type:"string" enum:"true"` // Information about the target Capacity Reservation. CapacityReservationTarget *CapacityReservationTarget `type:"structure"` // contains filtered or unexported fields }
Describes an instance's Capacity Reservation targeting option. You can specify only one parameter at a time. If you specify CapacityReservationPreference and CapacityReservationTarget, the request fails.
Use the CapacityReservationPreference parameter to configure the instance to run as an On-Demand Instance or to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). Use the CapacityReservationTarget parameter to explicitly target a specific Capacity Reservation.
func (CapacityReservationSpecification) String ¶ added in v0.6.0
func (s CapacityReservationSpecification) String() string
String returns the string representation
type CapacityReservationSpecificationResponse ¶ added in v0.6.0
type CapacityReservationSpecificationResponse struct { // Describes the instance's Capacity Reservation preferences. Possible preferences // include: // // * open - The instance can run in any open Capacity Reservation that has // matching attributes (instance type, platform, Availability Zone). // // * none - The instance avoids running in a Capacity Reservation even if // one is available. The instance runs in On-Demand capacity. CapacityReservationPreference CapacityReservationPreference `locationName:"capacityReservationPreference" type:"string" enum:"true"` // Information about the targeted Capacity Reservation. CapacityReservationTarget *CapacityReservationTargetResponse `locationName:"capacityReservationTarget" type:"structure"` // contains filtered or unexported fields }
Describes the instance's Capacity Reservation targeting preferences. The action returns the capacityReservationPreference response element if the instance is configured to run in On-Demand capacity, or if it is configured in run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). The action returns the capacityReservationTarget response element if the instance explicily targets a specific Capacity Reservation.
func (CapacityReservationSpecificationResponse) String ¶ added in v0.6.0
func (s CapacityReservationSpecificationResponse) String() string
String returns the string representation
type CapacityReservationState ¶ added in v0.6.0
type CapacityReservationState string
const ( CapacityReservationStateActive CapacityReservationState = "active" CapacityReservationStateExpired CapacityReservationState = "expired" CapacityReservationStateCancelled CapacityReservationState = "cancelled" CapacityReservationStatePending CapacityReservationState = "pending" CapacityReservationStateFailed CapacityReservationState = "failed" )
Enum values for CapacityReservationState
func (CapacityReservationState) MarshalValue ¶ added in v0.6.0
func (enum CapacityReservationState) MarshalValue() (string, error)
func (CapacityReservationState) MarshalValueBuf ¶ added in v0.6.0
func (enum CapacityReservationState) MarshalValueBuf(b []byte) ([]byte, error)
type CapacityReservationTarget ¶ added in v0.6.0
type CapacityReservationTarget struct { // The ID of the Capacity Reservation. CapacityReservationId *string `type:"string"` // contains filtered or unexported fields }
Describes a target Capacity Reservation.
func (CapacityReservationTarget) String ¶ added in v0.6.0
func (s CapacityReservationTarget) String() string
String returns the string representation
type CapacityReservationTargetResponse ¶ added in v0.6.0
type CapacityReservationTargetResponse struct { // The ID of the Capacity Reservation. CapacityReservationId *string `locationName:"capacityReservationId" type:"string"` // contains filtered or unexported fields }
Describes a target Capacity Reservation.
func (CapacityReservationTargetResponse) String ¶ added in v0.6.0
func (s CapacityReservationTargetResponse) String() string
String returns the string representation
type CapacityReservationTenancy ¶ added in v0.6.0
type CapacityReservationTenancy string
const ( CapacityReservationTenancyDefault CapacityReservationTenancy = "default" CapacityReservationTenancyDedicated CapacityReservationTenancy = "dedicated" )
Enum values for CapacityReservationTenancy
func (CapacityReservationTenancy) MarshalValue ¶ added in v0.6.0
func (enum CapacityReservationTenancy) MarshalValue() (string, error)
func (CapacityReservationTenancy) MarshalValueBuf ¶ added in v0.6.0
func (enum CapacityReservationTenancy) MarshalValueBuf(b []byte) ([]byte, error)
type CertificateAuthentication ¶ added in v0.7.0
type CertificateAuthentication struct { // The ARN of the client certificate. ClientRootCertificateChain *string `locationName:"clientRootCertificateChain" type:"string"` // contains filtered or unexported fields }
Information about the client certificate used for authentication.
func (CertificateAuthentication) String ¶ added in v0.7.0
func (s CertificateAuthentication) String() string
String returns the string representation
type CertificateAuthenticationRequest ¶ added in v0.7.0
type CertificateAuthenticationRequest struct { // The ARN of the client certificate. The certificate must be signed by a certificate // authority (CA) and it must be provisioned in AWS Certificate Manager (ACM). ClientRootCertificateChainArn *string `type:"string"` // contains filtered or unexported fields }
Information about the client certificate to be used for authentication.
func (CertificateAuthenticationRequest) String ¶ added in v0.7.0
func (s CertificateAuthenticationRequest) String() string
String returns the string representation
type CertificateRevocationListStatus ¶ added in v0.9.0
type CertificateRevocationListStatus struct { // The state of the client certificate revocation list. Code CertificateRevocationListStatusCode `locationName:"code" type:"string" enum:"true"` // A message about the status of the client certificate revocation list, if // applicable. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes the state of a client certificate revocation list.
func (CertificateRevocationListStatus) String ¶ added in v0.9.0
func (s CertificateRevocationListStatus) String() string
String returns the string representation
type CertificateRevocationListStatusCode ¶ added in v0.9.0
type CertificateRevocationListStatusCode string
const ( CertificateRevocationListStatusCodePending CertificateRevocationListStatusCode = "pending" CertificateRevocationListStatusCodeActive CertificateRevocationListStatusCode = "active" )
Enum values for CertificateRevocationListStatusCode
func (CertificateRevocationListStatusCode) MarshalValue ¶ added in v0.9.0
func (enum CertificateRevocationListStatusCode) MarshalValue() (string, error)
func (CertificateRevocationListStatusCode) MarshalValueBuf ¶ added in v0.9.0
func (enum CertificateRevocationListStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type CidrAuthorizationContext ¶ added in v0.6.0
type CidrAuthorizationContext struct { // The plain-text authorization message for the prefix and account. // // Message is a required field Message *string `type:"string" required:"true"` // The signed authorization message for the prefix and account. // // Signature is a required field Signature *string `type:"string" required:"true"` // contains filtered or unexported fields }
Provides authorization for Amazon to bring a specific IP address range to a specific AWS account using bring your own IP addresses (BYOIP). For more information, see Prepare to Bring Your Address Range to Your AWS Account (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#prepare-for-byoip) in the Amazon Elastic Compute Cloud User Guide.
func (CidrAuthorizationContext) String ¶ added in v0.6.0
func (s CidrAuthorizationContext) String() string
String returns the string representation
func (*CidrAuthorizationContext) Validate ¶ added in v0.6.0
func (s *CidrAuthorizationContext) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CidrBlock ¶
type CidrBlock struct { // The IPv4 CIDR block. CidrBlock *string `locationName:"cidrBlock" type:"string"` // contains filtered or unexported fields }
Describes an IPv4 CIDR block.
type ClassicLinkDnsSupport ¶
type ClassicLinkDnsSupport struct { // Indicates whether ClassicLink DNS support is enabled for the VPC. ClassicLinkDnsSupported *bool `locationName:"classicLinkDnsSupported" type:"boolean"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes the ClassicLink DNS support status of a VPC.
func (ClassicLinkDnsSupport) String ¶
func (s ClassicLinkDnsSupport) String() string
String returns the string representation
type ClassicLinkInstance ¶
type ClassicLinkInstance struct { // A list of security groups. Groups []GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // Any tags assigned to the instance. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes a linked EC2-Classic instance.
func (ClassicLinkInstance) String ¶
func (s ClassicLinkInstance) String() string
String returns the string representation
type ClassicLoadBalancer ¶ added in v0.2.0
type ClassicLoadBalancer struct { // The name of the load balancer. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Describes a Classic Load Balancer.
func (ClassicLoadBalancer) String ¶ added in v0.2.0
func (s ClassicLoadBalancer) String() string
String returns the string representation
type ClassicLoadBalancersConfig ¶ added in v0.2.0
type ClassicLoadBalancersConfig struct { // One or more Classic Load Balancers. ClassicLoadBalancers []ClassicLoadBalancer `locationName:"classicLoadBalancers" locationNameList:"item" min:"1" type:"list"` // contains filtered or unexported fields }
Describes the Classic Load Balancers to attach to a Spot Fleet. Spot Fleet registers the running Spot Instances with these Classic Load Balancers.
func (ClassicLoadBalancersConfig) String ¶ added in v0.2.0
func (s ClassicLoadBalancersConfig) String() string
String returns the string representation
func (*ClassicLoadBalancersConfig) Validate ¶ added in v0.2.0
func (s *ClassicLoadBalancersConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Client ¶ added in v0.9.0
Client provides the API operation methods for making requests to Amazon EC2. 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 := ec2.New(myConfig)
func (*Client) AcceptReservedInstancesExchangeQuoteRequest ¶ added in v0.9.0
func (c *Client) AcceptReservedInstancesExchangeQuoteRequest(input *AcceptReservedInstancesExchangeQuoteInput) AcceptReservedInstancesExchangeQuoteRequest
AcceptReservedInstancesExchangeQuoteRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call.
// Example sending a request using AcceptReservedInstancesExchangeQuoteRequest. req := client.AcceptReservedInstancesExchangeQuoteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptReservedInstancesExchangeQuote
func (*Client) AcceptTransitGatewayVpcAttachmentRequest ¶ added in v0.9.0
func (c *Client) AcceptTransitGatewayVpcAttachmentRequest(input *AcceptTransitGatewayVpcAttachmentInput) AcceptTransitGatewayVpcAttachmentRequest
AcceptTransitGatewayVpcAttachmentRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Accepts a request to attach a VPC to a transit gateway.
The VPC attachment must be in the pendingAcceptance state. Use DescribeTransitGatewayVpcAttachments to view your pending VPC attachment requests. Use RejectTransitGatewayVpcAttachment to reject a VPC attachment request.
// Example sending a request using AcceptTransitGatewayVpcAttachmentRequest. req := client.AcceptTransitGatewayVpcAttachmentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptTransitGatewayVpcAttachment
func (*Client) AcceptVpcEndpointConnectionsRequest ¶ added in v0.9.0
func (c *Client) AcceptVpcEndpointConnectionsRequest(input *AcceptVpcEndpointConnectionsInput) AcceptVpcEndpointConnectionsRequest
AcceptVpcEndpointConnectionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Accepts one or more interface VPC endpoint connection requests to your VPC endpoint service.
// Example sending a request using AcceptVpcEndpointConnectionsRequest. req := client.AcceptVpcEndpointConnectionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcEndpointConnections
func (*Client) AcceptVpcPeeringConnectionRequest ¶ added in v0.9.0
func (c *Client) AcceptVpcPeeringConnectionRequest(input *AcceptVpcPeeringConnectionInput) AcceptVpcPeeringConnectionRequest
AcceptVpcPeeringConnectionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Accept a VPC peering connection request. To accept a request, the VPC peering connection must be in the pending-acceptance state, and you must be the owner of the peer VPC. Use DescribeVpcPeeringConnections to view your outstanding VPC peering connection requests.
For an inter-Region VPC peering connection request, you must accept the VPC peering connection in the Region of the accepter VPC.
// Example sending a request using AcceptVpcPeeringConnectionRequest. req := client.AcceptVpcPeeringConnectionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcPeeringConnection
func (*Client) AdvertiseByoipCidrRequest ¶ added in v0.9.0
func (c *Client) AdvertiseByoipCidrRequest(input *AdvertiseByoipCidrInput) AdvertiseByoipCidrRequest
AdvertiseByoipCidrRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Advertises an IPv4 address range that is provisioned for use with your AWS resources through bring your own IP addresses (BYOIP).
You can perform this operation at most once every 10 seconds, even if you specify different address ranges each time.
We recommend that you stop advertising the BYOIP CIDR from other locations when you advertise it from AWS. To minimize down time, you can configure your AWS resources to use an address from a BYOIP CIDR before it is advertised, and then simultaneously stop advertising it from the current location and start advertising it through AWS.
It can take a few minutes before traffic to the specified addresses starts routing to AWS because of BGP propagation delays.
To stop advertising the BYOIP CIDR, use WithdrawByoipCidr.
// Example sending a request using AdvertiseByoipCidrRequest. req := client.AdvertiseByoipCidrRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AdvertiseByoipCidr
func (*Client) AllocateAddressRequest ¶ added in v0.9.0
func (c *Client) AllocateAddressRequest(input *AllocateAddressInput) AllocateAddressRequest
AllocateAddressRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Allocates an Elastic IP address to your AWS account. After you allocate the Elastic IP address you can associate it with an instance or network interface. After you release an Elastic IP address, it is released to the IP address pool and can be allocated to a different AWS account.
You can allocate an Elastic IP address from an address pool owned by AWS or from an address pool created from a public IPv4 address range that you have brought to AWS for use with your AWS resources using bring your own IP addresses (BYOIP). For more information, see Bring Your Own IP Addresses (BYOIP) (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html) in the Amazon Elastic Compute Cloud User Guide.
[EC2-VPC] If you release an Elastic IP address, you might be able to recover it. You cannot recover an Elastic IP address that you released after it is allocated to another AWS account. You cannot recover an Elastic IP address for EC2-Classic. To attempt to recover an Elastic IP address that you released, specify it in this operation.
An Elastic IP address is for use either in the EC2-Classic platform or in a VPC. By default, you can allocate 5 Elastic IP addresses for EC2-Classic per Region and 5 Elastic IP addresses for EC2-VPC per Region.
For more information, see Elastic IP Addresses (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using AllocateAddressRequest. req := client.AllocateAddressRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddress
func (*Client) AllocateHostsRequest ¶ added in v0.9.0
func (c *Client) AllocateHostsRequest(input *AllocateHostsInput) AllocateHostsRequest
AllocateHostsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Allocates a Dedicated Host to your account. At a minimum, specify the instance size type, Availability Zone, and quantity of hosts to allocate.
// Example sending a request using AllocateHostsRequest. req := client.AllocateHostsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHosts
func (*Client) ApplySecurityGroupsToClientVpnTargetNetworkRequest ¶ added in v0.9.0
func (c *Client) ApplySecurityGroupsToClientVpnTargetNetworkRequest(input *ApplySecurityGroupsToClientVpnTargetNetworkInput) ApplySecurityGroupsToClientVpnTargetNetworkRequest
ApplySecurityGroupsToClientVpnTargetNetworkRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Applies a security group to the association between the target network and the Client VPN endpoint. This action replaces the existing security groups with the specified security groups.
// Example sending a request using ApplySecurityGroupsToClientVpnTargetNetworkRequest. req := client.ApplySecurityGroupsToClientVpnTargetNetworkRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ApplySecurityGroupsToClientVpnTargetNetwork
func (*Client) AssignIpv6AddressesRequest ¶ added in v0.9.0
func (c *Client) AssignIpv6AddressesRequest(input *AssignIpv6AddressesInput) AssignIpv6AddressesRequest
AssignIpv6AddressesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Assigns one or more IPv6 addresses to the specified network interface. You can specify one or more specific IPv6 addresses, or you can specify the number of IPv6 addresses to be automatically assigned from within the subnet's IPv6 CIDR block range. You can assign as many IPv6 addresses to a network interface as you can assign private IPv4 addresses, and the limit varies per instance type. For information, see IP Addresses Per Network Interface Per Instance Type (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using AssignIpv6AddressesRequest. req := client.AssignIpv6AddressesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignIpv6Addresses
func (*Client) AssignPrivateIpAddressesRequest ¶ added in v0.9.0
func (c *Client) AssignPrivateIpAddressesRequest(input *AssignPrivateIpAddressesInput) AssignPrivateIpAddressesRequest
AssignPrivateIpAddressesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Assigns one or more secondary private IP addresses to the specified network interface.
You can specify one or more specific secondary IP addresses, or you can specify the number of secondary IP addresses to be automatically assigned within the subnet's CIDR block range. The number of secondary IP addresses that you can assign to an instance varies by instance type. For information about instance types, see Instance Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the Amazon Elastic Compute Cloud User Guide. For more information about Elastic IP addresses, see Elastic IP Addresses (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html) in the Amazon Elastic Compute Cloud User Guide.
When you move a secondary private IP address to another network interface, any Elastic IP address that is associated with the IP address is also moved.
Remapping an IP address is an asynchronous operation. When you move an IP address from one network interface to another, check network/interfaces/macs/mac/local-ipv4s in the instance metadata to confirm that the remapping is complete.
// Example sending a request using AssignPrivateIpAddressesRequest. req := client.AssignPrivateIpAddressesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddresses
func (*Client) AssociateAddressRequest ¶ added in v0.9.0
func (c *Client) AssociateAddressRequest(input *AssociateAddressInput) AssociateAddressRequest
AssociateAddressRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Associates an Elastic IP address with an instance or a network interface. Before you can use an Elastic IP address, you must allocate it to your account.
An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html) in the Amazon Elastic Compute Cloud User Guide.
[EC2-Classic, VPC in an EC2-VPC-only account] If the Elastic IP address is already associated with a different instance, it is disassociated from that instance and associated with the specified instance. If you associate an Elastic IP address with an instance that has an existing Elastic IP address, the existing address is disassociated from the instance, but remains allocated to your account.
[VPC in an EC2-Classic account] If you don't specify a private IP address, the Elastic IP address is associated with the primary IP address. If the Elastic IP address is already associated with a different instance or a network interface, you get an error unless you allow reassociation. You cannot associate an Elastic IP address with an instance or network interface that has an existing Elastic IP address.
This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error, and you may be charged for each time the Elastic IP address is remapped to the same instance. For more information, see the Elastic IP Addresses section of Amazon EC2 Pricing (http://aws.amazon.com/ec2/pricing/).
// Example sending a request using AssociateAddressRequest. req := client.AssociateAddressRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateAddress
func (*Client) AssociateClientVpnTargetNetworkRequest ¶ added in v0.9.0
func (c *Client) AssociateClientVpnTargetNetworkRequest(input *AssociateClientVpnTargetNetworkInput) AssociateClientVpnTargetNetworkRequest
AssociateClientVpnTargetNetworkRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Associates a target network with a Client VPN endpoint. A target network is a subnet in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. You can associate only one subnet in each Availability Zone. We recommend that you associate at least two subnets to provide Availability Zone redundancy.
// Example sending a request using AssociateClientVpnTargetNetworkRequest. req := client.AssociateClientVpnTargetNetworkRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateClientVpnTargetNetwork
func (*Client) AssociateDhcpOptionsRequest ¶ added in v0.9.0
func (c *Client) AssociateDhcpOptionsRequest(input *AssociateDhcpOptionsInput) AssociateDhcpOptionsRequest
AssociateDhcpOptionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Associates a set of DHCP options (that you've previously created) with the specified VPC, or associates no DHCP options with the VPC.
After you associate the options with the VPC, any existing instances and all new instances that you launch in that VPC use the options. You don't need to restart or relaunch the instances. They automatically pick up the changes within a few hours, depending on how frequently the instance renews its DHCP lease. You can explicitly renew the lease using the operating system on the instance.
For more information, see DHCP Options Sets (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using AssociateDhcpOptionsRequest. req := client.AssociateDhcpOptionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateDhcpOptions
func (*Client) AssociateIamInstanceProfileRequest ¶ added in v0.9.0
func (c *Client) AssociateIamInstanceProfileRequest(input *AssociateIamInstanceProfileInput) AssociateIamInstanceProfileRequest
AssociateIamInstanceProfileRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Associates an IAM instance profile with a running or stopped instance. You cannot associate more than one IAM instance profile with an instance.
// Example sending a request using AssociateIamInstanceProfileRequest. req := client.AssociateIamInstanceProfileRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateIamInstanceProfile
func (*Client) AssociateRouteTableRequest ¶ added in v0.9.0
func (c *Client) AssociateRouteTableRequest(input *AssociateRouteTableInput) AssociateRouteTableRequest
AssociateRouteTableRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Associates a subnet with a route table. The subnet and route table must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. The action returns an association ID, which you need in order to disassociate the route table from the subnet later. A route table can be associated with multiple subnets.
For more information, see Route Tables (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using AssociateRouteTableRequest. req := client.AssociateRouteTableRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateRouteTable
func (*Client) AssociateSubnetCidrBlockRequest ¶ added in v0.9.0
func (c *Client) AssociateSubnetCidrBlockRequest(input *AssociateSubnetCidrBlockInput) AssociateSubnetCidrBlockRequest
AssociateSubnetCidrBlockRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Associates a CIDR block with your subnet. You can only associate a single IPv6 CIDR block with your subnet. An IPv6 CIDR block must have a prefix length of /64.
// Example sending a request using AssociateSubnetCidrBlockRequest. req := client.AssociateSubnetCidrBlockRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSubnetCidrBlock
func (*Client) AssociateTransitGatewayRouteTableRequest ¶ added in v0.9.0
func (c *Client) AssociateTransitGatewayRouteTableRequest(input *AssociateTransitGatewayRouteTableInput) AssociateTransitGatewayRouteTableRequest
AssociateTransitGatewayRouteTableRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Associates the specified attachment with the specified transit gateway route table. You can associate only one route table with an attachment.
// Example sending a request using AssociateTransitGatewayRouteTableRequest. req := client.AssociateTransitGatewayRouteTableRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateTransitGatewayRouteTable
func (*Client) AssociateVpcCidrBlockRequest ¶ added in v0.9.0
func (c *Client) AssociateVpcCidrBlockRequest(input *AssociateVpcCidrBlockInput) AssociateVpcCidrBlockRequest
AssociateVpcCidrBlockRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Associates a CIDR block with your VPC. You can associate a secondary IPv4 CIDR block, or you can associate an Amazon-provided IPv6 CIDR block. The IPv6 CIDR block size is fixed at /56.
For more information about associating CIDR blocks with your VPC and applicable restrictions, see VPC and Subnet Sizing (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html#VPC_Sizing) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using AssociateVpcCidrBlockRequest. req := client.AssociateVpcCidrBlockRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateVpcCidrBlock
func (*Client) AttachClassicLinkVpcRequest ¶ added in v0.9.0
func (c *Client) AttachClassicLinkVpcRequest(input *AttachClassicLinkVpcInput) AttachClassicLinkVpcRequest
AttachClassicLinkVpcRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's security groups. You cannot link an EC2-Classic instance to more than one VPC at a time. You can only link an instance that's in the running state. An instance is automatically unlinked from a VPC when it's stopped - you can link it to the VPC again when you restart it.
After you've linked an instance, you cannot change the VPC security groups that are associated with it. To change the security groups, you must first unlink the instance, and then link it again.
Linking your instance to a VPC is sometimes referred to as attaching your instance.
// Example sending a request using AttachClassicLinkVpcRequest. req := client.AttachClassicLinkVpcRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachClassicLinkVpc
func (*Client) AttachInternetGatewayRequest ¶ added in v0.9.0
func (c *Client) AttachInternetGatewayRequest(input *AttachInternetGatewayInput) AttachInternetGatewayRequest
AttachInternetGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Attaches an internet gateway to a VPC, enabling connectivity between the internet and the VPC. For more information about your VPC and internet gateway, see the Amazon Virtual Private Cloud User Guide (https://docs.aws.amazon.com/vpc/latest/userguide/).
// Example sending a request using AttachInternetGatewayRequest. req := client.AttachInternetGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachInternetGateway
func (*Client) AttachNetworkInterfaceRequest ¶ added in v0.9.0
func (c *Client) AttachNetworkInterfaceRequest(input *AttachNetworkInterfaceInput) AttachNetworkInterfaceRequest
AttachNetworkInterfaceRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Attaches a network interface to an instance.
// Example sending a request using AttachNetworkInterfaceRequest. req := client.AttachNetworkInterfaceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachNetworkInterface
func (*Client) AttachVolumeRequest ¶ added in v0.9.0
func (c *Client) AttachVolumeRequest(input *AttachVolumeInput) AttachVolumeRequest
AttachVolumeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Attaches an EBS volume to a running or stopped instance and exposes it to the instance with the specified device name.
Encrypted EBS volumes must be attached to instances that support Amazon EBS encryption. For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) in the Amazon Elastic Compute Cloud User Guide.
After you attach an EBS volume, you must make it available. For more information, see Making an EBS Volume Available For Use (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html).
If a volume has an AWS Marketplace product code:
The volume can be attached only to a stopped instance.
AWS Marketplace product codes are copied from the volume to the instance.
You must be subscribed to the product.
The instance type and operating system of the instance must support the product. For example, you can't detach a volume from a Windows instance and attach it to a Linux instance.
For more information, see Attaching Amazon EBS Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-attaching-volume.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using AttachVolumeRequest. req := client.AttachVolumeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVolume
func (*Client) AttachVpnGatewayRequest ¶ added in v0.9.0
func (c *Client) AttachVpnGatewayRequest(input *AttachVpnGatewayInput) AttachVpnGatewayRequest
AttachVpnGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Attaches a virtual private gateway to a VPC. You can attach one virtual private gateway to one VPC at a time.
For more information, see AWS Site-to-Site VPN (https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the AWS Site-to-Site VPN User Guide.
// Example sending a request using AttachVpnGatewayRequest. req := client.AttachVpnGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVpnGateway
func (*Client) AuthorizeClientVpnIngressRequest ¶ added in v0.9.0
func (c *Client) AuthorizeClientVpnIngressRequest(input *AuthorizeClientVpnIngressInput) AuthorizeClientVpnIngressRequest
AuthorizeClientVpnIngressRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Adds an ingress authorization rule to a Client VPN endpoint. Ingress authorization rules act as firewall rules that grant access to networks. You must configure ingress authorization rules to enable clients to access resources in AWS or on-premises networks.
// Example sending a request using AuthorizeClientVpnIngressRequest. req := client.AuthorizeClientVpnIngressRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeClientVpnIngress
func (*Client) AuthorizeSecurityGroupEgressRequest ¶ added in v0.9.0
func (c *Client) AuthorizeSecurityGroupEgressRequest(input *AuthorizeSecurityGroupEgressInput) AuthorizeSecurityGroupEgressRequest
AuthorizeSecurityGroupEgressRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
[VPC only] Adds the specified egress rules to a security group for use with a VPC.
An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR address ranges, or to the instances associated with the specified destination security groups.
You specify a protocol for each rule (for example, TCP). For the TCP and UDP protocols, you must also specify the destination port or port range. For the ICMP protocol, you must also specify the ICMP type and code. You can use -1 for the type or code to mean all types or all codes.
Rule changes are propagated to affected instances as quickly as possible. However, a small delay might occur.
For more information about VPC security group limits, see Amazon VPC Limits (https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html).
// Example sending a request using AuthorizeSecurityGroupEgressRequest. req := client.AuthorizeSecurityGroupEgressRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgress
func (*Client) AuthorizeSecurityGroupIngressRequest ¶ added in v0.9.0
func (c *Client) AuthorizeSecurityGroupIngressRequest(input *AuthorizeSecurityGroupIngressInput) AuthorizeSecurityGroupIngressRequest
AuthorizeSecurityGroupIngressRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Adds the specified ingress rules to a security group.
An inbound rule permits instances to receive traffic from the specified IPv4 or IPv6 CIDR address ranges, or from the instances associated with the specified destination security groups.
You specify a protocol for each rule (for example, TCP). For TCP and UDP, you must also specify the destination port or port range. For ICMP/ICMPv6, you must also specify the ICMP/ICMPv6 type and code. You can use -1 to mean all types or all codes.
Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
For more information about VPC security group limits, see Amazon VPC Limits (https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html).
// Example sending a request using AuthorizeSecurityGroupIngressRequest. req := client.AuthorizeSecurityGroupIngressRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngress
func (*Client) BundleInstanceRequest ¶ added in v0.9.0
func (c *Client) BundleInstanceRequest(input *BundleInstanceInput) BundleInstanceRequest
BundleInstanceRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Bundles an Amazon instance store-backed Windows instance.
During bundling, only the root device volume (C:\) is bundled. Data on other instance store volumes is not preserved.
This action is not applicable for Linux/Unix instances or Windows instances that are backed by Amazon EBS.
// Example sending a request using BundleInstanceRequest. req := client.BundleInstanceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleInstance
func (*Client) CancelBundleTaskRequest ¶ added in v0.9.0
func (c *Client) CancelBundleTaskRequest(input *CancelBundleTaskInput) CancelBundleTaskRequest
CancelBundleTaskRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Cancels a bundling operation for an instance store-backed Windows instance.
// Example sending a request using CancelBundleTaskRequest. req := client.CancelBundleTaskRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelBundleTask
func (*Client) CancelCapacityReservationRequest ¶ added in v0.9.0
func (c *Client) CancelCapacityReservationRequest(input *CancelCapacityReservationInput) CancelCapacityReservationRequest
CancelCapacityReservationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Cancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity Reservation's state to cancelled.
Instances running in the reserved capacity continue running until you stop them. Stopped instances that target the Capacity Reservation can no longer launch. Modify these instances to either target a different Capacity Reservation, launch On-Demand Instance capacity, or run in any open Capacity Reservation that has matching attributes and sufficient capacity.
// Example sending a request using CancelCapacityReservationRequest. req := client.CancelCapacityReservationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelCapacityReservation
func (*Client) CancelConversionTaskRequest ¶ added in v0.9.0
func (c *Client) CancelConversionTaskRequest(input *CancelConversionTaskInput) CancelConversionTaskRequest
CancelConversionTaskRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Cancels an active conversion task. The task can be the import of an instance or volume. The action removes all artifacts of the conversion, including a partially uploaded volume or instance. If the conversion is complete or is in the process of transferring the final disk image, the command fails and returns an exception.
For more information, see Importing a Virtual Machine Using the Amazon EC2 CLI (https://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ec2-cli-vmimport-export.html).
// Example sending a request using CancelConversionTaskRequest. req := client.CancelConversionTaskRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelConversionTask
func (*Client) CancelExportTaskRequest ¶ added in v0.9.0
func (c *Client) CancelExportTaskRequest(input *CancelExportTaskInput) CancelExportTaskRequest
CancelExportTaskRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Cancels an active export task. The request removes all artifacts of the export, including any partially-created Amazon S3 objects. If the export task is complete or is in the process of transferring the final disk image, the command fails and returns an error.
// Example sending a request using CancelExportTaskRequest. req := client.CancelExportTaskRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelExportTask
func (*Client) CancelImportTaskRequest ¶ added in v0.9.0
func (c *Client) CancelImportTaskRequest(input *CancelImportTaskInput) CancelImportTaskRequest
CancelImportTaskRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Cancels an in-process import virtual machine or import snapshot task.
// Example sending a request using CancelImportTaskRequest. req := client.CancelImportTaskRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImportTask
func (*Client) CancelReservedInstancesListingRequest ¶ added in v0.9.0
func (c *Client) CancelReservedInstancesListingRequest(input *CancelReservedInstancesListingInput) CancelReservedInstancesListingRequest
CancelReservedInstancesListingRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace.
For more information, see Reserved Instance Marketplace (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using CancelReservedInstancesListingRequest. req := client.CancelReservedInstancesListingRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelReservedInstancesListing
func (*Client) CancelSpotFleetRequestsRequest ¶ added in v0.9.0
func (c *Client) CancelSpotFleetRequestsRequest(input *CancelSpotFleetRequestsInput) CancelSpotFleetRequestsRequest
CancelSpotFleetRequestsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Cancels the specified Spot Fleet requests.
After you cancel a Spot Fleet request, the Spot Fleet launches no new Spot Instances. You must specify whether the Spot Fleet should also terminate its Spot Instances. If you terminate the instances, the Spot Fleet request enters the cancelled_terminating state. Otherwise, the Spot Fleet request enters the cancelled_running state and the instances continue to run until they are interrupted or you terminate them manually.
// Example sending a request using CancelSpotFleetRequestsRequest. req := client.CancelSpotFleetRequestsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequests
func (*Client) CancelSpotInstanceRequestsRequest ¶ added in v0.9.0
func (c *Client) CancelSpotInstanceRequestsRequest(input *CancelSpotInstanceRequestsInput) CancelSpotInstanceRequestsRequest
CancelSpotInstanceRequestsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Cancels one or more Spot Instance requests.
Canceling a Spot Instance request does not terminate running Spot Instances associated with the request.
// Example sending a request using CancelSpotInstanceRequestsRequest. req := client.CancelSpotInstanceRequestsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotInstanceRequests
func (*Client) ConfirmProductInstanceRequest ¶ added in v0.9.0
func (c *Client) ConfirmProductInstanceRequest(input *ConfirmProductInstanceInput) ConfirmProductInstanceRequest
ConfirmProductInstanceRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Determines whether a product code is associated with an instance. This action can only be used by the owner of the product code. It is useful when a product code owner must verify whether another user's instance is eligible for support.
// Example sending a request using ConfirmProductInstanceRequest. req := client.ConfirmProductInstanceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConfirmProductInstance
func (*Client) CopyFpgaImageRequest ¶ added in v0.9.0
func (c *Client) CopyFpgaImageRequest(input *CopyFpgaImageInput) CopyFpgaImageRequest
CopyFpgaImageRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Copies the specified Amazon FPGA Image (AFI) to the current Region.
// Example sending a request using CopyFpgaImageRequest. req := client.CopyFpgaImageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyFpgaImage
func (*Client) CopyImageRequest ¶ added in v0.9.0
func (c *Client) CopyImageRequest(input *CopyImageInput) CopyImageRequest
CopyImageRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Initiates the copy of an AMI from the specified source Region to the current Region. You specify the destination Region by using its endpoint when making the request.
Copies of encrypted backing snapshots for the AMI are encrypted. Copies of unencrypted backing snapshots remain unencrypted, unless you set Encrypted during the copy operation. You cannot create an unencrypted copy of an encrypted backing snapshot.
For more information about the prerequisites and limits when copying an AMI, see Copying an AMI (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using CopyImageRequest. req := client.CopyImageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImage
func (*Client) CopySnapshotRequest ¶ added in v0.9.0
func (c *Client) CopySnapshotRequest(input *CopySnapshotInput) CopySnapshotRequest
CopySnapshotRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3. You can copy the snapshot within the same Region or from one Region to another. You can use the snapshot to create EBS volumes or Amazon Machine Images (AMIs).
Copies of encrypted EBS snapshots remain encrypted. Copies of unencrypted snapshots remain unencrypted, unless you enable encryption for the snapshot copy operation. By default, encrypted snapshot copies use the default AWS Key Management Service (AWS KMS) customer master key (CMK); however, you can specify a different CMK.
To copy an encrypted snapshot that has been shared from another account, you must have permissions for the CMK used to encrypt the snapshot.
Snapshots created by copying another snapshot have an arbitrary volume ID that should not be used for any purpose.
For more information, see Copying an Amazon EBS Snapshot (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-copy-snapshot.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using CopySnapshotRequest. req := client.CopySnapshotRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopySnapshot
func (*Client) CreateCapacityReservationRequest ¶ added in v0.9.0
func (c *Client) CreateCapacityReservationRequest(input *CreateCapacityReservationInput) CreateCapacityReservationRequest
CreateCapacityReservationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a new Capacity Reservation with the specified attributes.
Capacity Reservations enable you to reserve capacity for your Amazon EC2 instances in a specific Availability Zone for any duration. This gives you the flexibility to selectively add capacity reservations and still get the Regional RI discounts for that usage. By creating Capacity Reservations, you ensure that you always have access to Amazon EC2 capacity when you need it, for as long as you need it. For more information, see Capacity Reservations (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html) in the Amazon Elastic Compute Cloud User Guide.
Your request to create a Capacity Reservation could fail if Amazon EC2 does not have sufficient capacity to fulfill the request. If your request fails due to Amazon EC2 capacity constraints, either try again at a later time, try in a different Availability Zone, or request a smaller capacity reservation. If your application is flexible across instance types and sizes, try to create a Capacity Reservation with different instance attributes.
Your request could also fail if the requested quantity exceeds your On-Demand Instance limit for the selected instance type. If your request fails due to limit constraints, increase your On-Demand Instance limit for the required instance type and try again. For more information about increasing your instance limits, see Amazon EC2 Service Limits (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using CreateCapacityReservationRequest. req := client.CreateCapacityReservationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservation
func (*Client) CreateClientVpnEndpointRequest ¶ added in v0.9.0
func (c *Client) CreateClientVpnEndpointRequest(input *CreateClientVpnEndpointInput) CreateClientVpnEndpointRequest
CreateClientVpnEndpointRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a Client VPN endpoint. A Client VPN endpoint is the resource you create and configure to enable and manage client VPN sessions. It is the destination endpoint at which all client VPN sessions are terminated.
// Example sending a request using CreateClientVpnEndpointRequest. req := client.CreateClientVpnEndpointRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateClientVpnEndpoint
func (*Client) CreateClientVpnRouteRequest ¶ added in v0.9.0
func (c *Client) CreateClientVpnRouteRequest(input *CreateClientVpnRouteInput) CreateClientVpnRouteRequest
CreateClientVpnRouteRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Adds a route to a network to a Client VPN endpoint. Each Client VPN endpoint has a route table that describes the available destination network routes. Each route in the route table specifies the path for traffic to specific resources or networks.
// Example sending a request using CreateClientVpnRouteRequest. req := client.CreateClientVpnRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateClientVpnRoute
func (*Client) CreateCustomerGatewayRequest ¶ added in v0.9.0
func (c *Client) CreateCustomerGatewayRequest(input *CreateCustomerGatewayInput) CreateCustomerGatewayRequest
CreateCustomerGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Provides information to AWS about your VPN customer gateway device. The customer gateway is the appliance at your end of the VPN connection. (The device on the AWS side of the VPN connection is the virtual private gateway.) You must provide the Internet-routable IP address of the customer gateway's external interface. The IP address must be static and can be behind a device performing network address translation (NAT).
For devices that use Border Gateway Protocol (BGP), you can also provide the device's BGP Autonomous System Number (ASN). You can use an existing ASN assigned to your network. If you don't have an ASN already, you can use a private ASN (in the 64512 - 65534 range).
Amazon EC2 supports all 2-byte ASN numbers in the range of 1 - 65534, with the exception of 7224, which is reserved in the us-east-1 Region, and 9059, which is reserved in the eu-west-1 Region.
For more information, see AWS Site-to-Site VPN (https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the AWS Site-to-Site VPN User Guide.
You cannot create more than one customer gateway with the same VPN type, IP address, and BGP ASN parameter values. If you run an identical request more than one time, the first request creates the customer gateway, and subsequent requests return information about the existing customer gateway. The subsequent requests do not create new customer gateway resources.
// Example sending a request using CreateCustomerGatewayRequest. req := client.CreateCustomerGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCustomerGateway
func (*Client) CreateDefaultSubnetRequest ¶ added in v0.9.0
func (c *Client) CreateDefaultSubnetRequest(input *CreateDefaultSubnetInput) CreateDefaultSubnetRequest
CreateDefaultSubnetRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a default subnet with a size /20 IPv4 CIDR block in the specified Availability Zone in your default VPC. You can have only one default subnet per Availability Zone. For more information, see Creating a Default Subnet (https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html#create-default-subnet) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using CreateDefaultSubnetRequest. req := client.CreateDefaultSubnetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnet
func (*Client) CreateDefaultVpcRequest ¶ added in v0.9.0
func (c *Client) CreateDefaultVpcRequest(input *CreateDefaultVpcInput) CreateDefaultVpcRequest
CreateDefaultVpcRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a default VPC with a size /16 IPv4 CIDR block and a default subnet in each Availability Zone. For more information about the components of a default VPC, see Default VPC and Default Subnets (https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html) in the Amazon Virtual Private Cloud User Guide. You cannot specify the components of the default VPC yourself.
If you deleted your previous default VPC, you can create a default VPC. You cannot have more than one default VPC per Region.
If your account supports EC2-Classic, you cannot use this action to create a default VPC in a Region that supports EC2-Classic. If you want a default VPC in a Region that supports EC2-Classic, see "I really want a default VPC for my existing EC2 account. Is that possible?" in the Default VPCs FAQ (http://aws.amazon.com/vpc/faqs/#Default_VPCs).
// Example sending a request using CreateDefaultVpcRequest. req := client.CreateDefaultVpcRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultVpc
func (*Client) CreateDhcpOptionsRequest ¶ added in v0.9.0
func (c *Client) CreateDhcpOptionsRequest(input *CreateDhcpOptionsInput) CreateDhcpOptionsRequest
CreateDhcpOptionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a set of DHCP options for your VPC. After creating the set, you must associate it with the VPC, causing all existing and new instances that you launch in the VPC to use this set of DHCP options. The following are the individual DHCP options you can specify. For more information about the options, see RFC 2132 (http://www.ietf.org/rfc/rfc2132.txt).
domain-name-servers - The IP addresses of up to four domain name servers, or AmazonProvidedDNS. The default DHCP option set specifies AmazonProvidedDNS. If specifying more than one domain name server, specify the IP addresses in a single parameter, separated by commas. To have your instance receive a custom DNS hostname as specified in domain-name, you must set domain-name-servers to a custom DNS server.
domain-name - If you're using AmazonProvidedDNS in us-east-1, specify ec2.internal. If you're using AmazonProvidedDNS in another Region, specify region.compute.internal (for example, ap-northeast-1.compute.internal). Otherwise, specify a domain name (for example, MyCompany.com). This value is used to complete unqualified DNS hostnames. Important: Some Linux operating systems accept multiple domain names separated by spaces. However, Windows and other Linux operating systems treat the value as a single domain, which results in unexpected behavior. If your DHCP options set is associated with a VPC that has instances with multiple operating systems, specify only one domain name.
ntp-servers - The IP addresses of up to four Network Time Protocol (NTP) servers.
netbios-name-servers - The IP addresses of up to four NetBIOS name servers.
netbios-node-type - The NetBIOS node type (1, 2, 4, or 8). We recommend that you specify 2 (broadcast and multicast are not currently supported). For more information about these node types, see RFC 2132 (http://www.ietf.org/rfc/rfc2132.txt).
Your VPC automatically starts out with a set of DHCP options that includes only a DNS server that we provide (AmazonProvidedDNS). If you create a set of options, and if your VPC has an internet gateway, make sure to set the domain-name-servers option either to AmazonProvidedDNS or to a domain name server of your choice. For more information, see DHCP Options Sets (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using CreateDhcpOptionsRequest. req := client.CreateDhcpOptionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDhcpOptions
func (*Client) CreateEgressOnlyInternetGatewayRequest ¶ added in v0.9.0
func (c *Client) CreateEgressOnlyInternetGatewayRequest(input *CreateEgressOnlyInternetGatewayInput) CreateEgressOnlyInternetGatewayRequest
CreateEgressOnlyInternetGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
[IPv6 only] Creates an egress-only internet gateway for your VPC. An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
// Example sending a request using CreateEgressOnlyInternetGatewayRequest. req := client.CreateEgressOnlyInternetGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateEgressOnlyInternetGateway
func (*Client) CreateFleetRequest ¶ added in v0.9.0
func (c *Client) CreateFleetRequest(input *CreateFleetInput) CreateFleetRequest
CreateFleetRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Launches an EC2 Fleet.
You can create a single EC2 Fleet that includes multiple launch specifications that vary by instance type, AMI, Availability Zone, or subnet.
For more information, see Launching an EC2 Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using CreateFleetRequest. req := client.CreateFleetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFleet
func (*Client) CreateFlowLogsRequest ¶ added in v0.9.0
func (c *Client) CreateFlowLogsRequest(input *CreateFlowLogsInput) CreateFlowLogsRequest
CreateFlowLogsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates one or more flow logs to capture information about IP traffic for a specific network interface, subnet, or VPC.
Flow log data for a monitored network interface is recorded as flow log records, which are log events consisting of fields that describe the traffic flow. For more information, see Flow Log Records (https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records) in the Amazon Virtual Private Cloud User Guide.
When publishing to CloudWatch Logs, flow log records are published to a log group, and each network interface has a unique log stream in the log group. When publishing to Amazon S3, flow log records for all of the monitored network interfaces are published to a single log file object that is stored in the specified bucket.
For more information, see VPC Flow Logs (https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using CreateFlowLogsRequest. req := client.CreateFlowLogsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogs
func (*Client) CreateFpgaImageRequest ¶ added in v0.9.0
func (c *Client) CreateFpgaImageRequest(input *CreateFpgaImageInput) CreateFpgaImageRequest
CreateFpgaImageRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP).
The create operation is asynchronous. To verify that the AFI is ready for use, check the output logs.
An AFI contains the FPGA bitstream that is ready to download to an FPGA. You can securely deploy an AFI on multiple FPGA-accelerated instances. For more information, see the AWS FPGA Hardware Development Kit (https://github.com/aws/aws-fpga/).
// Example sending a request using CreateFpgaImageRequest. req := client.CreateFpgaImageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFpgaImage
func (*Client) CreateImageRequest ¶ added in v0.9.0
func (c *Client) CreateImageRequest(input *CreateImageInput) CreateImageRequest
CreateImageRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped.
If you customized your instance with instance store volumes or EBS volumes in addition to the root device volume, the new AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI, the instance automatically launches with those additional volumes.
For more information, see Creating Amazon EBS-Backed Linux AMIs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using CreateImageRequest. req := client.CreateImageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImage
func (*Client) CreateInstanceExportTaskRequest ¶ added in v0.9.0
func (c *Client) CreateInstanceExportTaskRequest(input *CreateInstanceExportTaskInput) CreateInstanceExportTaskRequest
CreateInstanceExportTaskRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Exports a running or stopped instance to an S3 bucket.
For information about the supported operating systems, image formats, and known limitations for the types of instances you can export, see Exporting an Instance as a VM Using VM Import/Export (https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html) in the VM Import/Export User Guide.
// Example sending a request using CreateInstanceExportTaskRequest. req := client.CreateInstanceExportTaskRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceExportTask
func (*Client) CreateInternetGatewayRequest ¶ added in v0.9.0
func (c *Client) CreateInternetGatewayRequest(input *CreateInternetGatewayInput) CreateInternetGatewayRequest
CreateInternetGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates an internet gateway for use with a VPC. After creating the internet gateway, you attach it to a VPC using AttachInternetGateway.
For more information about your VPC and internet gateway, see the Amazon Virtual Private Cloud User Guide (https://docs.aws.amazon.com/vpc/latest/userguide/).
// Example sending a request using CreateInternetGatewayRequest. req := client.CreateInternetGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInternetGateway
func (*Client) CreateKeyPairRequest ¶ added in v0.9.0
func (c *Client) CreateKeyPairRequest(input *CreateKeyPairInput) CreateKeyPairRequest
CreateKeyPairRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a 2048-bit RSA key pair with the specified name. Amazon EC2 stores the public key and displays the private key for you to save to a file. The private key is returned as an unencrypted PEM encoded PKCS#1 private key. If a key with the specified name already exists, Amazon EC2 returns an error.
You can have up to five thousand key pairs per Region.
The key pair returned to you is available only in the Region in which you create it. If you prefer, you can create your own key pair using a third-party tool and upload it to any Region using ImportKeyPair.
For more information, see Key Pairs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using CreateKeyPairRequest. req := client.CreateKeyPairRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateKeyPair
func (*Client) CreateLaunchTemplateRequest ¶ added in v0.9.0
func (c *Client) CreateLaunchTemplateRequest(input *CreateLaunchTemplateInput) CreateLaunchTemplateRequest
CreateLaunchTemplateRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a launch template. A launch template contains the parameters to launch an instance. When you launch an instance using RunInstances, you can specify a launch template instead of providing the launch parameters in the request.
// Example sending a request using CreateLaunchTemplateRequest. req := client.CreateLaunchTemplateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplate
func (*Client) CreateLaunchTemplateVersionRequest ¶ added in v0.9.0
func (c *Client) CreateLaunchTemplateVersionRequest(input *CreateLaunchTemplateVersionInput) CreateLaunchTemplateVersionRequest
CreateLaunchTemplateVersionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a new version for a launch template. You can specify an existing version of launch template from which to base the new version.
Launch template versions are numbered in the order in which they are created. You cannot specify, change, or replace the numbering of launch template versions.
// Example sending a request using CreateLaunchTemplateVersionRequest. req := client.CreateLaunchTemplateVersionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersion
func (*Client) CreateNatGatewayRequest ¶ added in v0.9.0
func (c *Client) CreateNatGatewayRequest(input *CreateNatGatewayInput) CreateNatGatewayRequest
CreateNatGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a NAT gateway in the specified public subnet. This action creates a network interface in the specified subnet with a private IP address from the IP address range of the subnet. Internet-bound traffic from a private subnet can be routed to the NAT gateway, therefore enabling instances in the private subnet to connect to the internet. For more information, see NAT Gateways (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using CreateNatGatewayRequest. req := client.CreateNatGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGateway
func (*Client) CreateNetworkAclEntryRequest ¶ added in v0.9.0
func (c *Client) CreateNetworkAclEntryRequest(input *CreateNetworkAclEntryInput) CreateNetworkAclEntryRequest
CreateNetworkAclEntryRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates an entry (a rule) in a network ACL with the specified rule number. Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the ACL, we process the entries in the ACL according to the rule numbers, in ascending order. Each network ACL has a set of ingress rules and a separate set of egress rules.
We recommend that you leave room between the rule numbers (for example, 100, 110, 120, ...), and not number them one right after the other (for example, 101, 102, 103, ...). This makes it easier to add a rule between existing ones without having to renumber the rules.
After you add an entry, you can't modify it; you must either replace it, or create an entry and delete the old one.
For more information about network ACLs, see Network ACLs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_ACLs.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using CreateNetworkAclEntryRequest. req := client.CreateNetworkAclEntryRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclEntry
func (*Client) CreateNetworkAclRequest ¶ added in v0.9.0
func (c *Client) CreateNetworkAclRequest(input *CreateNetworkAclInput) CreateNetworkAclRequest
CreateNetworkAclRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a network ACL in a VPC. Network ACLs provide an optional layer of security (in addition to security groups) for the instances in your VPC.
For more information, see Network ACLs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_ACLs.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using CreateNetworkAclRequest. req := client.CreateNetworkAclRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAcl
func (*Client) CreateNetworkInterfacePermissionRequest ¶ added in v0.9.0
func (c *Client) CreateNetworkInterfacePermissionRequest(input *CreateNetworkInterfacePermissionInput) CreateNetworkInterfacePermissionRequest
CreateNetworkInterfacePermissionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Grants an AWS-authorized account permission to attach the specified network interface to an instance in their account.
You can grant permission to a single AWS account only, and only one account at a time.
// Example sending a request using CreateNetworkInterfacePermissionRequest. req := client.CreateNetworkInterfacePermissionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermission
func (*Client) CreateNetworkInterfaceRequest ¶ added in v0.9.0
func (c *Client) CreateNetworkInterfaceRequest(input *CreateNetworkInterfaceInput) CreateNetworkInterfaceRequest
CreateNetworkInterfaceRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a network interface in the specified subnet.
For more information about network interfaces, see Elastic Network Interfaces (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using CreateNetworkInterfaceRequest. req := client.CreateNetworkInterfaceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterface
func (*Client) CreatePlacementGroupRequest ¶ added in v0.9.0
func (c *Client) CreatePlacementGroupRequest(input *CreatePlacementGroupInput) CreatePlacementGroupRequest
CreatePlacementGroupRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a placement group in which to launch instances. The strategy of the placement group determines how the instances are organized within the group.
A cluster placement group is a logical grouping of instances within a single Availability Zone that benefit from low network latency, high network throughput. A spread placement group places instances on distinct hardware. A partition placement group places groups of instances in different partitions, where instances in one partition do not share the same hardware with instances in another partition.
For more information, see Placement Groups (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using CreatePlacementGroupRequest. req := client.CreatePlacementGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroup
func (*Client) CreateReservedInstancesListingRequest ¶ added in v0.9.0
func (c *Client) CreateReservedInstancesListingRequest(input *CreateReservedInstancesListingInput) CreateReservedInstancesListingRequest
CreateReservedInstancesListingRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved Instance Marketplace. You can submit one Standard Reserved Instance listing at a time. To get a list of your Standard Reserved Instances, you can use the DescribeReservedInstances operation.
Only Standard Reserved Instances can be sold in the Reserved Instance Marketplace. Convertible Reserved Instances cannot be sold.
The Reserved Instance Marketplace matches sellers who want to resell Standard Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances.
To sell your Standard Reserved Instances, you must first register as a seller in the Reserved Instance Marketplace. After completing the registration process, you can create a Reserved Instance Marketplace listing of some or all of your Standard Reserved Instances, and specify the upfront price to receive for them. Your Standard Reserved Instance listings then become available for purchase. To view the details of your Standard Reserved Instance listing, you can use the DescribeReservedInstancesListings operation.
For more information, see Reserved Instance Marketplace (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using CreateReservedInstancesListingRequest. req := client.CreateReservedInstancesListingRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReservedInstancesListing
func (*Client) CreateRouteRequest ¶ added in v0.9.0
func (c *Client) CreateRouteRequest(input *CreateRouteInput) CreateRouteRequest
CreateRouteRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a route in a route table within a VPC.
You must specify one of the following targets: internet gateway or virtual private gateway, NAT instance, NAT gateway, VPC peering connection, network interface, or egress-only internet gateway.
When determining how to route traffic, we use the route with the most specific match. For example, traffic is destined for the IPv4 address 192.0.2.3, and the route table includes the following two IPv4 routes:
192.0.2.0/24 (goes to some target A)
192.0.2.0/28 (goes to some target B)
Both routes apply to the traffic destined for 192.0.2.3. However, the second route in the list covers a smaller number of IP addresses and is therefore more specific, so we use that route to determine where to target the traffic.
For more information about route tables, see Route Tables (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using CreateRouteRequest. req := client.CreateRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRoute
func (*Client) CreateRouteTableRequest ¶ added in v0.9.0
func (c *Client) CreateRouteTableRequest(input *CreateRouteTableInput) CreateRouteTableRequest
CreateRouteTableRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet.
For more information, see Route Tables (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using CreateRouteTableRequest. req := client.CreateRouteTableRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTable
func (*Client) CreateSecurityGroupRequest ¶ added in v0.9.0
func (c *Client) CreateSecurityGroupRequest(input *CreateSecurityGroupInput) CreateSecurityGroupRequest
CreateSecurityGroupRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a security group.
A security group acts as a virtual firewall for your instance to control inbound and outbound traffic. For more information, see Amazon EC2 Security Groups (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html) in the Amazon Elastic Compute Cloud User Guide and Security Groups for Your VPC (https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html) in the Amazon Virtual Private Cloud User Guide.
When you create a security group, you specify a friendly name of your choice. You can have a security group for use in EC2-Classic with the same name as a security group for use in a VPC. However, you can't have two security groups for use in EC2-Classic with the same name or two security groups for use in a VPC with the same name.
You have a default security group for use in EC2-Classic and a default security group for use in your VPC. If you don't specify a security group when you launch an instance, the instance is launched into the appropriate default security group. A default security group includes a default rule that grants instances unrestricted network access to each other.
You can add or remove rules from your security groups using AuthorizeSecurityGroupIngress, AuthorizeSecurityGroupEgress, RevokeSecurityGroupIngress, and RevokeSecurityGroupEgress.
For more information about VPC security group limits, see Amazon VPC Limits (https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html).
// Example sending a request using CreateSecurityGroupRequest. req := client.CreateSecurityGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroup
func (*Client) CreateSnapshotRequest ¶ added in v0.9.0
func (c *Client) CreateSnapshotRequest(input *CreateSnapshotInput) CreateSnapshotRequest
CreateSnapshotRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for backups, to make copies of EBS volumes, and to save data before shutting down an instance.
When a snapshot is created, any AWS Marketplace product codes that are associated with the source volume are propagated to the snapshot.
You can take a snapshot of an attached volume that is in use. However, snapshots only capture data that has been written to your EBS volume at the time the snapshot command is issued; this may exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the volume long enough to take a snapshot, your snapshot should be complete. However, if you cannot pause all file writes to the volume, you should unmount the volume from within the instance, issue the snapshot command, and then remount the volume to ensure a consistent and complete snapshot. You may remount and use your volume while the snapshot status is pending.
To create a snapshot for EBS volumes that serve as root devices, you should stop the instance before taking the snapshot.
Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes and any associated snapshots always remain protected.
You can tag your snapshots during creation. For more information, see Tagging Your Amazon EC2 Resources (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) in the Amazon Elastic Compute Cloud User Guide.
For more information, see Amazon Elastic Block Store (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html) and Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using CreateSnapshotRequest. req := client.CreateSnapshotRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshot
func (*Client) CreateSnapshotsRequest ¶ added in v0.10.0
func (c *Client) CreateSnapshotsRequest(input *CreateSnapshotsInput) CreateSnapshotsRequest
CreateSnapshotsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates crash-consistent snapshots of multiple EBS volumes and stores the data in S3. Volumes are chosen by specifying an instance. Any attached volumes will produce one snapshot each that is crash-consistent across the instance. Boot volumes can be excluded by changing the paramaters.
// Example sending a request using CreateSnapshotsRequest. req := client.CreateSnapshotsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshots
func (*Client) CreateSpotDatafeedSubscriptionRequest ¶ added in v0.9.0
func (c *Client) CreateSpotDatafeedSubscriptionRequest(input *CreateSpotDatafeedSubscriptionInput) CreateSpotDatafeedSubscriptionRequest
CreateSpotDatafeedSubscriptionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs. You can create one data feed per AWS account. For more information, see Spot Instance Data Feed (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html) in the Amazon EC2 User Guide for Linux Instances.
// Example sending a request using CreateSpotDatafeedSubscriptionRequest. req := client.CreateSpotDatafeedSubscriptionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSpotDatafeedSubscription
func (*Client) CreateSubnetRequest ¶ added in v0.9.0
func (c *Client) CreateSubnetRequest(input *CreateSubnetInput) CreateSubnetRequest
CreateSubnetRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a subnet in an existing VPC.
When you create each subnet, you provide the VPC ID and IPv4 CIDR block for the subnet. After you create a subnet, you can't change its CIDR block. The size of the subnet's IPv4 CIDR block can be the same as a VPC's IPv4 CIDR block, or a subset of a VPC's IPv4 CIDR block. If you create more than one subnet in a VPC, the subnets' CIDR blocks must not overlap. The smallest IPv4 subnet (and VPC) you can create uses a /28 netmask (16 IPv4 addresses), and the largest uses a /16 netmask (65,536 IPv4 addresses).
If you've associated an IPv6 CIDR block with your VPC, you can create a subnet with an IPv6 CIDR block that uses a /64 prefix length.
AWS reserves both the first four and the last IPv4 address in each subnet's CIDR block. They're not available for use.
If you add more than one subnet to a VPC, they're set up in a star topology with a logical router in the middle.
If you launch an instance in a VPC using an Amazon EBS-backed AMI, the IP address doesn't change if you stop and restart the instance (unlike a similar instance launched outside a VPC, which gets a new IP address when restarted). It's therefore possible to have a subnet with no running instances (they're all stopped), but no remaining IP addresses available.
For more information about subnets, see Your VPC and Subnets (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using CreateSubnetRequest. req := client.CreateSubnetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnet
func (*Client) CreateTagsRequest ¶ added in v0.9.0
func (c *Client) CreateTagsRequest(input *CreateTagsInput) CreateTagsRequest
CreateTagsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Adds or overwrites the specified tags for the specified Amazon EC2 resource or resources. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique per resource.
For more information about tags, see Tagging Your Resources (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) in the Amazon Elastic Compute Cloud User Guide. For more information about creating IAM policies that control users' access to resources based on tags, see Supported Resource-Level Permissions for Amazon EC2 API Actions (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-iam-actions-resources.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using CreateTagsRequest. req := client.CreateTagsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTags
func (*Client) CreateTrafficMirrorFilterRequest ¶ added in v0.10.0
func (c *Client) CreateTrafficMirrorFilterRequest(input *CreateTrafficMirrorFilterInput) CreateTrafficMirrorFilterRequest
CreateTrafficMirrorFilterRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a Traffic Mirror filter.
A Traffic Mirror filter is a set of rules that defines the traffic to mirror.
By default, no traffic is mirrored. To mirror traffic, use CreateTrafficMirrorFilterRule to add Traffic Mirror rules to the filter. The rules you add define what traffic gets mirrored. You can also use ModifyTrafficMirrorFilterNetworkServices to mirror supported network services.
// Example sending a request using CreateTrafficMirrorFilterRequest. req := client.CreateTrafficMirrorFilterRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorFilter
func (*Client) CreateTrafficMirrorFilterRuleRequest ¶ added in v0.10.0
func (c *Client) CreateTrafficMirrorFilterRuleRequest(input *CreateTrafficMirrorFilterRuleInput) CreateTrafficMirrorFilterRuleRequest
CreateTrafficMirrorFilterRuleRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a Traffic Mirror rule.
A Traffic Mirror rule defines the Traffic Mirror source traffic to mirror.
You need the Traffic Mirror filter ID when you create the rule.
// Example sending a request using CreateTrafficMirrorFilterRuleRequest. req := client.CreateTrafficMirrorFilterRuleRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorFilterRule
func (*Client) CreateTrafficMirrorSessionRequest ¶ added in v0.10.0
func (c *Client) CreateTrafficMirrorSessionRequest(input *CreateTrafficMirrorSessionInput) CreateTrafficMirrorSessionRequest
CreateTrafficMirrorSessionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a Traffic Mirror session.
A Traffic Mirror session actively copies packets from a Traffic Mirror source to a Traffic Mirror target. Create a filter, and then assign it to the session to define a subset of the traffic to mirror, for example all TCP traffic.
The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in a different VPC connected via VPC peering or a transit gateway.
By default, no traffic is mirrored. Use CreateTrafficMirrorFilter to create filter rules that specify the traffic to mirror.
// Example sending a request using CreateTrafficMirrorSessionRequest. req := client.CreateTrafficMirrorSessionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorSession
func (*Client) CreateTrafficMirrorTargetRequest ¶ added in v0.10.0
func (c *Client) CreateTrafficMirrorTargetRequest(input *CreateTrafficMirrorTargetInput) CreateTrafficMirrorTargetRequest
CreateTrafficMirrorTargetRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a target for your Traffic Mirror session.
A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.
A Traffic Mirror target can be a network interface, or a Network Load Balancer.
To use the target in a Traffic Mirror session, use CreateTrafficMirrorSession.
// Example sending a request using CreateTrafficMirrorTargetRequest. req := client.CreateTrafficMirrorTargetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorTarget
func (*Client) CreateTransitGatewayRequest ¶ added in v0.9.0
func (c *Client) CreateTransitGatewayRequest(input *CreateTransitGatewayInput) CreateTransitGatewayRequest
CreateTransitGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a transit gateway.
You can use a transit gateway to interconnect your virtual private clouds (VPC) and on-premises networks. After the transit gateway enters the available state, you can attach your VPCs and VPN connections to the transit gateway.
To attach your VPCs, use CreateTransitGatewayVpcAttachment.
To attach a VPN connection, use CreateCustomerGateway to create a customer gateway and specify the ID of the customer gateway and the ID of the transit gateway in a call to CreateVpnConnection.
When you create a transit gateway, we create a default transit gateway route table and use it as the default association route table and the default propagation route table. You can use CreateTransitGatewayRouteTable to create additional transit gateway route tables. If you disable automatic route propagation, we do not create a default transit gateway route table. You can use EnableTransitGatewayRouteTablePropagation to propagate routes from a resource attachment to a transit gateway route table. If you disable automatic associations, you can use AssociateTransitGatewayRouteTable to associate a resource attachment with a transit gateway route table.
// Example sending a request using CreateTransitGatewayRequest. req := client.CreateTransitGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGateway
func (*Client) CreateTransitGatewayRouteRequest ¶ added in v0.9.0
func (c *Client) CreateTransitGatewayRouteRequest(input *CreateTransitGatewayRouteInput) CreateTransitGatewayRouteRequest
CreateTransitGatewayRouteRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a static route for the specified transit gateway route table.
// Example sending a request using CreateTransitGatewayRouteRequest. req := client.CreateTransitGatewayRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayRoute
func (*Client) CreateTransitGatewayRouteTableRequest ¶ added in v0.9.0
func (c *Client) CreateTransitGatewayRouteTableRequest(input *CreateTransitGatewayRouteTableInput) CreateTransitGatewayRouteTableRequest
CreateTransitGatewayRouteTableRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a route table for the specified transit gateway.
// Example sending a request using CreateTransitGatewayRouteTableRequest. req := client.CreateTransitGatewayRouteTableRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayRouteTable
func (*Client) CreateTransitGatewayVpcAttachmentRequest ¶ added in v0.9.0
func (c *Client) CreateTransitGatewayVpcAttachmentRequest(input *CreateTransitGatewayVpcAttachmentInput) CreateTransitGatewayVpcAttachmentRequest
CreateTransitGatewayVpcAttachmentRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Attaches the specified VPC to the specified transit gateway.
If you attach a VPC with a CIDR range that overlaps the CIDR range of a VPC that is already attached, the new VPC CIDR range is not propagated to the default propagation route table.
To send VPC traffic to an attached transit gateway, add a route to the VPC route table using CreateRoute.
// Example sending a request using CreateTransitGatewayVpcAttachmentRequest. req := client.CreateTransitGatewayVpcAttachmentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayVpcAttachment
func (*Client) CreateVolumeRequest ¶ added in v0.9.0
func (c *Client) CreateVolumeRequest(input *CreateVolumeInput) CreateVolumeRequest
CreateVolumeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates an EBS volume that can be attached to an instance in the same Availability Zone. The volume is created in the regional endpoint that you send the HTTP request to. For more information see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html).
You can create a new empty volume or restore a volume from an EBS snapshot. Any AWS Marketplace product codes from the snapshot are propagated to the volume.
You can create encrypted volumes. Encrypted volumes must be attached to instances that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are also automatically encrypted. For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) in the Amazon Elastic Compute Cloud User Guide.
You can tag your volumes during creation. For more information, see Tagging Your Amazon EC2 Resources (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) in the Amazon Elastic Compute Cloud User Guide.
For more information, see Creating an Amazon EBS Volume (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-creating-volume.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using CreateVolumeRequest. req := client.CreateVolumeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolume
func (*Client) CreateVpcEndpointConnectionNotificationRequest ¶ added in v0.9.0
func (c *Client) CreateVpcEndpointConnectionNotificationRequest(input *CreateVpcEndpointConnectionNotificationInput) CreateVpcEndpointConnectionNotificationRequest
CreateVpcEndpointConnectionNotificationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a connection notification for a specified VPC endpoint or VPC endpoint service. A connection notification notifies you of specific endpoint events. You must create an SNS topic to receive notifications. For more information, see Create a Topic (https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html) in the Amazon Simple Notification Service Developer Guide.
You can create a connection notification for interface endpoints only.
// Example sending a request using CreateVpcEndpointConnectionNotificationRequest. req := client.CreateVpcEndpointConnectionNotificationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointConnectionNotification
func (*Client) CreateVpcEndpointRequest ¶ added in v0.9.0
func (c *Client) CreateVpcEndpointRequest(input *CreateVpcEndpointInput) CreateVpcEndpointRequest
CreateVpcEndpointRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a VPC endpoint for a specified service. An endpoint enables you to create a private connection between your VPC and the service. The service may be provided by AWS, an AWS Marketplace partner, or another AWS account. For more information, see VPC Endpoints (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints.html) in the Amazon Virtual Private Cloud User Guide.
A gateway endpoint serves as a target for a route in your route table for traffic destined for the AWS service. You can specify an endpoint policy to attach to the endpoint that will control access to the service from your VPC. You can also specify the VPC route tables that use the endpoint.
An interface endpoint is a network interface in your subnet that serves as an endpoint for communicating with the specified service. You can specify the subnets in which to create an endpoint, and the security groups to associate with the endpoint network interface.
Use DescribeVpcEndpointServices to get a list of supported services.
// Example sending a request using CreateVpcEndpointRequest. req := client.CreateVpcEndpointRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpoint
func (*Client) CreateVpcEndpointServiceConfigurationRequest ¶ added in v0.9.0
func (c *Client) CreateVpcEndpointServiceConfigurationRequest(input *CreateVpcEndpointServiceConfigurationInput) CreateVpcEndpointServiceConfigurationRequest
CreateVpcEndpointServiceConfigurationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a VPC endpoint service configuration to which service consumers (AWS accounts, IAM users, and IAM roles) can connect. Service consumers can create an interface VPC endpoint to connect to your service.
To create an endpoint service configuration, you must first create a Network Load Balancer for your service. For more information, see VPC Endpoint Services (https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-service.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using CreateVpcEndpointServiceConfigurationRequest. req := client.CreateVpcEndpointServiceConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointServiceConfiguration
func (*Client) CreateVpcPeeringConnectionRequest ¶ added in v0.9.0
func (c *Client) CreateVpcPeeringConnectionRequest(input *CreateVpcPeeringConnectionInput) CreateVpcPeeringConnectionRequest
CreateVpcPeeringConnectionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Requests a VPC peering connection between two VPCs: a requester VPC that you own and an accepter VPC with which to create the connection. The accepter VPC can belong to another AWS account and can be in a different Region to the requester VPC. The requester VPC and accepter VPC cannot have overlapping CIDR blocks.
Limitations and rules apply to a VPC peering connection. For more information, see the limitations (https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-basics.html#vpc-peering-limitations) section in the VPC Peering Guide.
The owner of the accepter VPC must accept the peering request to activate the peering connection. The VPC peering connection request expires after 7 days, after which it cannot be accepted or rejected.
If you create a VPC peering connection request between VPCs with overlapping CIDR blocks, the VPC peering connection has a status of failed.
// Example sending a request using CreateVpcPeeringConnectionRequest. req := client.CreateVpcPeeringConnectionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcPeeringConnection
func (*Client) CreateVpcRequest ¶ added in v0.9.0
func (c *Client) CreateVpcRequest(input *CreateVpcInput) CreateVpcRequest
CreateVpcRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a VPC with the specified IPv4 CIDR block. The smallest VPC you can create uses a /28 netmask (16 IPv4 addresses), and the largest uses a /16 netmask (65,536 IPv4 addresses). For more information about how large to make your VPC, see Your VPC and Subnets (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) in the Amazon Virtual Private Cloud User Guide.
You can optionally request an Amazon-provided IPv6 CIDR block for the VPC. The IPv6 CIDR block uses a /56 prefix length, and is allocated from Amazon's pool of IPv6 addresses. You cannot choose the IPv6 range for your VPC.
By default, each instance you launch in the VPC has the default DHCP options, which include only a default DNS server that we provide (AmazonProvidedDNS). For more information, see DHCP Options Sets (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html) in the Amazon Virtual Private Cloud User Guide.
You can specify the instance tenancy value for the VPC when you create it. You can't change this value for the VPC after you create it. For more information, see Dedicated Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using CreateVpcRequest. req := client.CreateVpcRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpc
func (*Client) CreateVpnConnectionRequest ¶ added in v0.9.0
func (c *Client) CreateVpnConnectionRequest(input *CreateVpnConnectionInput) CreateVpnConnectionRequest
CreateVpnConnectionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a VPN connection between an existing virtual private gateway and a VPN customer gateway. The supported connection type is ipsec.1.
The response includes information that you need to give to your network administrator to configure your customer gateway.
We strongly recommend that you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway.
If you decide to shut down your VPN connection for any reason and later create a new VPN connection, you must reconfigure your customer gateway with the new information returned from this call.
This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error.
For more information, see AWS Site-to-Site VPN (https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the AWS Site-to-Site VPN User Guide.
// Example sending a request using CreateVpnConnectionRequest. req := client.CreateVpnConnectionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnection
func (*Client) CreateVpnConnectionRouteRequest ¶ added in v0.9.0
func (c *Client) CreateVpnConnectionRouteRequest(input *CreateVpnConnectionRouteInput) CreateVpnConnectionRouteRequest
CreateVpnConnectionRouteRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.
For more information, see AWS Site-to-Site VPN (https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the AWS Site-to-Site VPN User Guide.
// Example sending a request using CreateVpnConnectionRouteRequest. req := client.CreateVpnConnectionRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRoute
func (*Client) CreateVpnGatewayRequest ¶ added in v0.9.0
func (c *Client) CreateVpnGatewayRequest(input *CreateVpnGatewayInput) CreateVpnGatewayRequest
CreateVpnGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a virtual private gateway. A virtual private gateway is the endpoint on the VPC side of your VPN connection. You can create a virtual private gateway before creating the VPC itself.
For more information, see AWS Site-to-Site VPN (https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the AWS Site-to-Site VPN User Guide.
// Example sending a request using CreateVpnGatewayRequest. req := client.CreateVpnGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnGateway
func (*Client) DeleteClientVpnEndpointRequest ¶ added in v0.9.0
func (c *Client) DeleteClientVpnEndpointRequest(input *DeleteClientVpnEndpointInput) DeleteClientVpnEndpointRequest
DeleteClientVpnEndpointRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified Client VPN endpoint. You must disassociate all target networks before you can delete a Client VPN endpoint.
// Example sending a request using DeleteClientVpnEndpointRequest. req := client.DeleteClientVpnEndpointRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteClientVpnEndpoint
func (*Client) DeleteClientVpnRouteRequest ¶ added in v0.9.0
func (c *Client) DeleteClientVpnRouteRequest(input *DeleteClientVpnRouteInput) DeleteClientVpnRouteRequest
DeleteClientVpnRouteRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes a route from a Client VPN endpoint. You can only delete routes that you manually added using the CreateClientVpnRoute action. You cannot delete routes that were automatically added when associating a subnet. To remove routes that have been automatically added, disassociate the target subnet from the Client VPN endpoint.
// Example sending a request using DeleteClientVpnRouteRequest. req := client.DeleteClientVpnRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteClientVpnRoute
func (*Client) DeleteCustomerGatewayRequest ¶ added in v0.9.0
func (c *Client) DeleteCustomerGatewayRequest(input *DeleteCustomerGatewayInput) DeleteCustomerGatewayRequest
DeleteCustomerGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified customer gateway. You must delete the VPN connection before you can delete the customer gateway.
// Example sending a request using DeleteCustomerGatewayRequest. req := client.DeleteCustomerGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCustomerGateway
func (*Client) DeleteDhcpOptionsRequest ¶ added in v0.9.0
func (c *Client) DeleteDhcpOptionsRequest(input *DeleteDhcpOptionsInput) DeleteDhcpOptionsRequest
DeleteDhcpOptionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified set of DHCP options. You must disassociate the set of DHCP options before you can delete it. You can disassociate the set of DHCP options by associating either a new set of options or the default set of options with the VPC.
// Example sending a request using DeleteDhcpOptionsRequest. req := client.DeleteDhcpOptionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteDhcpOptions
func (*Client) DeleteEgressOnlyInternetGatewayRequest ¶ added in v0.9.0
func (c *Client) DeleteEgressOnlyInternetGatewayRequest(input *DeleteEgressOnlyInternetGatewayInput) DeleteEgressOnlyInternetGatewayRequest
DeleteEgressOnlyInternetGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes an egress-only internet gateway.
// Example sending a request using DeleteEgressOnlyInternetGatewayRequest. req := client.DeleteEgressOnlyInternetGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteEgressOnlyInternetGateway
func (*Client) DeleteFleetsRequest ¶ added in v0.9.0
func (c *Client) DeleteFleetsRequest(input *DeleteFleetsInput) DeleteFleetsRequest
DeleteFleetsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified EC2 Fleet.
After you delete an EC2 Fleet, it launches no new instances. You must specify whether an EC2 Fleet should also terminate its instances. If you terminate the instances, the EC2 Fleet enters the deleted_terminating state. Otherwise, the EC2 Fleet enters the deleted_running state, and the instances continue to run until they are interrupted or you terminate them manually.
// Example sending a request using DeleteFleetsRequest. req := client.DeleteFleetsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFleets
func (*Client) DeleteFlowLogsRequest ¶ added in v0.9.0
func (c *Client) DeleteFlowLogsRequest(input *DeleteFlowLogsInput) DeleteFlowLogsRequest
DeleteFlowLogsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes one or more flow logs.
// Example sending a request using DeleteFlowLogsRequest. req := client.DeleteFlowLogsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFlowLogs
func (*Client) DeleteFpgaImageRequest ¶ added in v0.9.0
func (c *Client) DeleteFpgaImageRequest(input *DeleteFpgaImageInput) DeleteFpgaImageRequest
DeleteFpgaImageRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified Amazon FPGA Image (AFI).
// Example sending a request using DeleteFpgaImageRequest. req := client.DeleteFpgaImageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFpgaImage
func (*Client) DeleteInternetGatewayRequest ¶ added in v0.9.0
func (c *Client) DeleteInternetGatewayRequest(input *DeleteInternetGatewayInput) DeleteInternetGatewayRequest
DeleteInternetGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified internet gateway. You must detach the internet gateway from the VPC before you can delete it.
// Example sending a request using DeleteInternetGatewayRequest. req := client.DeleteInternetGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInternetGateway
func (*Client) DeleteKeyPairRequest ¶ added in v0.9.0
func (c *Client) DeleteKeyPairRequest(input *DeleteKeyPairInput) DeleteKeyPairRequest
DeleteKeyPairRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified key pair, by removing the public key from Amazon EC2.
// Example sending a request using DeleteKeyPairRequest. req := client.DeleteKeyPairRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteKeyPair
func (*Client) DeleteLaunchTemplateRequest ¶ added in v0.9.0
func (c *Client) DeleteLaunchTemplateRequest(input *DeleteLaunchTemplateInput) DeleteLaunchTemplateRequest
DeleteLaunchTemplateRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes a launch template. Deleting a launch template deletes all of its versions.
// Example sending a request using DeleteLaunchTemplateRequest. req := client.DeleteLaunchTemplateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplate
func (*Client) DeleteLaunchTemplateVersionsRequest ¶ added in v0.9.0
func (c *Client) DeleteLaunchTemplateVersionsRequest(input *DeleteLaunchTemplateVersionsInput) DeleteLaunchTemplateVersionsRequest
DeleteLaunchTemplateVersionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes one or more versions of a launch template. You cannot delete the default version of a launch template; you must first assign a different version as the default. If the default version is the only version for the launch template, you must delete the entire launch template using DeleteLaunchTemplate.
// Example sending a request using DeleteLaunchTemplateVersionsRequest. req := client.DeleteLaunchTemplateVersionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateVersions
func (*Client) DeleteNatGatewayRequest ¶ added in v0.9.0
func (c *Client) DeleteNatGatewayRequest(input *DeleteNatGatewayInput) DeleteNatGatewayRequest
DeleteNatGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified NAT gateway. Deleting a NAT gateway disassociates its Elastic IP address, but does not release the address from your account. Deleting a NAT gateway does not delete any NAT gateway routes in your route tables.
// Example sending a request using DeleteNatGatewayRequest. req := client.DeleteNatGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNatGateway
func (*Client) DeleteNetworkAclEntryRequest ¶ added in v0.9.0
func (c *Client) DeleteNetworkAclEntryRequest(input *DeleteNetworkAclEntryInput) DeleteNetworkAclEntryRequest
DeleteNetworkAclEntryRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified ingress or egress entry (rule) from the specified network ACL.
// Example sending a request using DeleteNetworkAclEntryRequest. req := client.DeleteNetworkAclEntryRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclEntry
func (*Client) DeleteNetworkAclRequest ¶ added in v0.9.0
func (c *Client) DeleteNetworkAclRequest(input *DeleteNetworkAclInput) DeleteNetworkAclRequest
DeleteNetworkAclRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL.
// Example sending a request using DeleteNetworkAclRequest. req := client.DeleteNetworkAclRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAcl
func (*Client) DeleteNetworkInterfacePermissionRequest ¶ added in v0.9.0
func (c *Client) DeleteNetworkInterfacePermissionRequest(input *DeleteNetworkInterfacePermissionInput) DeleteNetworkInterfacePermissionRequest
DeleteNetworkInterfacePermissionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes a permission for a network interface. By default, you cannot delete the permission if the account for which you're removing the permission has attached the network interface to an instance. However, you can force delete the permission, regardless of any attachment.
// Example sending a request using DeleteNetworkInterfacePermissionRequest. req := client.DeleteNetworkInterfacePermissionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermission
func (*Client) DeleteNetworkInterfaceRequest ¶ added in v0.9.0
func (c *Client) DeleteNetworkInterfaceRequest(input *DeleteNetworkInterfaceInput) DeleteNetworkInterfaceRequest
DeleteNetworkInterfaceRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified network interface. You must detach the network interface before you can delete it.
// Example sending a request using DeleteNetworkInterfaceRequest. req := client.DeleteNetworkInterfaceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterface
func (*Client) DeletePlacementGroupRequest ¶ added in v0.9.0
func (c *Client) DeletePlacementGroupRequest(input *DeletePlacementGroupInput) DeletePlacementGroupRequest
DeletePlacementGroupRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified placement group. You must terminate all instances in the placement group before you can delete the placement group. For more information, see Placement Groups (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DeletePlacementGroupRequest. req := client.DeletePlacementGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeletePlacementGroup
func (*Client) DeleteQueuedReservedInstancesRequest ¶ added in v0.14.0
func (c *Client) DeleteQueuedReservedInstancesRequest(input *DeleteQueuedReservedInstancesInput) DeleteQueuedReservedInstancesRequest
DeleteQueuedReservedInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the queued purchases for the specified Reserved Instances.
// Example sending a request using DeleteQueuedReservedInstancesRequest. req := client.DeleteQueuedReservedInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteQueuedReservedInstances
func (*Client) DeleteRouteRequest ¶ added in v0.9.0
func (c *Client) DeleteRouteRequest(input *DeleteRouteInput) DeleteRouteRequest
DeleteRouteRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified route from the specified route table.
// Example sending a request using DeleteRouteRequest. req := client.DeleteRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRoute
func (*Client) DeleteRouteTableRequest ¶ added in v0.9.0
func (c *Client) DeleteRouteTableRequest(input *DeleteRouteTableInput) DeleteRouteTableRequest
DeleteRouteTableRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified route table. You must disassociate the route table from any subnets before you can delete it. You can't delete the main route table.
// Example sending a request using DeleteRouteTableRequest. req := client.DeleteRouteTableRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteTable
func (*Client) DeleteSecurityGroupRequest ¶ added in v0.9.0
func (c *Client) DeleteSecurityGroupRequest(input *DeleteSecurityGroupInput) DeleteSecurityGroupRequest
DeleteSecurityGroupRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes a security group.
If you attempt to delete a security group that is associated with an instance, or is referenced by another security group, the operation fails with InvalidGroup.InUse in EC2-Classic or DependencyViolation in EC2-VPC.
// Example sending a request using DeleteSecurityGroupRequest. req := client.DeleteSecurityGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroup
func (*Client) DeleteSnapshotRequest ¶ added in v0.9.0
func (c *Client) DeleteSnapshotRequest(input *DeleteSnapshotInput) DeleteSnapshotRequest
DeleteSnapshotRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified snapshot.
When you make periodic snapshots of a volume, the snapshots are incremental, and only the blocks on the device that have changed since your last snapshot are saved in the new snapshot. When you delete a snapshot, only the data not needed for any other snapshot is removed. So regardless of which prior snapshots have been deleted, all active snapshots will have access to all the information needed to restore the volume.
You cannot delete a snapshot of the root device of an EBS volume used by a registered AMI. You must first de-register the AMI before you can delete the snapshot.
For more information, see Deleting an Amazon EBS Snapshot (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-deleting-snapshot.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DeleteSnapshotRequest. req := client.DeleteSnapshotRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSnapshot
func (*Client) DeleteSpotDatafeedSubscriptionRequest ¶ added in v0.9.0
func (c *Client) DeleteSpotDatafeedSubscriptionRequest(input *DeleteSpotDatafeedSubscriptionInput) DeleteSpotDatafeedSubscriptionRequest
DeleteSpotDatafeedSubscriptionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the data feed for Spot Instances.
// Example sending a request using DeleteSpotDatafeedSubscriptionRequest. req := client.DeleteSpotDatafeedSubscriptionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSpotDatafeedSubscription
func (*Client) DeleteSubnetRequest ¶ added in v0.9.0
func (c *Client) DeleteSubnetRequest(input *DeleteSubnetInput) DeleteSubnetRequest
DeleteSubnetRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified subnet. You must terminate all running instances in the subnet before you can delete the subnet.
// Example sending a request using DeleteSubnetRequest. req := client.DeleteSubnetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnet
func (*Client) DeleteTagsRequest ¶ added in v0.9.0
func (c *Client) DeleteTagsRequest(input *DeleteTagsInput) DeleteTagsRequest
DeleteTagsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified set of tags from the specified set of resources.
To list the current tags, use DescribeTags. For more information about tags, see Tagging Your Resources (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DeleteTagsRequest. req := client.DeleteTagsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTags
func (*Client) DeleteTrafficMirrorFilterRequest ¶ added in v0.10.0
func (c *Client) DeleteTrafficMirrorFilterRequest(input *DeleteTrafficMirrorFilterInput) DeleteTrafficMirrorFilterRequest
DeleteTrafficMirrorFilterRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified Traffic Mirror filter.
You cannot delete a Traffic Mirror filter that is in use by a Traffic Mirror session.
// Example sending a request using DeleteTrafficMirrorFilterRequest. req := client.DeleteTrafficMirrorFilterRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorFilter
func (*Client) DeleteTrafficMirrorFilterRuleRequest ¶ added in v0.10.0
func (c *Client) DeleteTrafficMirrorFilterRuleRequest(input *DeleteTrafficMirrorFilterRuleInput) DeleteTrafficMirrorFilterRuleRequest
DeleteTrafficMirrorFilterRuleRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified Traffic Mirror rule.
// Example sending a request using DeleteTrafficMirrorFilterRuleRequest. req := client.DeleteTrafficMirrorFilterRuleRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorFilterRule
func (*Client) DeleteTrafficMirrorSessionRequest ¶ added in v0.10.0
func (c *Client) DeleteTrafficMirrorSessionRequest(input *DeleteTrafficMirrorSessionInput) DeleteTrafficMirrorSessionRequest
DeleteTrafficMirrorSessionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified Traffic Mirror session.
// Example sending a request using DeleteTrafficMirrorSessionRequest. req := client.DeleteTrafficMirrorSessionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorSession
func (*Client) DeleteTrafficMirrorTargetRequest ¶ added in v0.10.0
func (c *Client) DeleteTrafficMirrorTargetRequest(input *DeleteTrafficMirrorTargetInput) DeleteTrafficMirrorTargetRequest
DeleteTrafficMirrorTargetRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified Traffic Mirror target.
You cannot delete a Traffic Mirror target that is in use by a Traffic Mirror session.
// Example sending a request using DeleteTrafficMirrorTargetRequest. req := client.DeleteTrafficMirrorTargetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorTarget
func (*Client) DeleteTransitGatewayRequest ¶ added in v0.9.0
func (c *Client) DeleteTransitGatewayRequest(input *DeleteTransitGatewayInput) DeleteTransitGatewayRequest
DeleteTransitGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified transit gateway.
// Example sending a request using DeleteTransitGatewayRequest. req := client.DeleteTransitGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGateway
func (*Client) DeleteTransitGatewayRouteRequest ¶ added in v0.9.0
func (c *Client) DeleteTransitGatewayRouteRequest(input *DeleteTransitGatewayRouteInput) DeleteTransitGatewayRouteRequest
DeleteTransitGatewayRouteRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified route from the specified transit gateway route table.
// Example sending a request using DeleteTransitGatewayRouteRequest. req := client.DeleteTransitGatewayRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayRoute
func (*Client) DeleteTransitGatewayRouteTableRequest ¶ added in v0.9.0
func (c *Client) DeleteTransitGatewayRouteTableRequest(input *DeleteTransitGatewayRouteTableInput) DeleteTransitGatewayRouteTableRequest
DeleteTransitGatewayRouteTableRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified transit gateway route table. You must disassociate the route table from any transit gateway route tables before you can delete it.
// Example sending a request using DeleteTransitGatewayRouteTableRequest. req := client.DeleteTransitGatewayRouteTableRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayRouteTable
func (*Client) DeleteTransitGatewayVpcAttachmentRequest ¶ added in v0.9.0
func (c *Client) DeleteTransitGatewayVpcAttachmentRequest(input *DeleteTransitGatewayVpcAttachmentInput) DeleteTransitGatewayVpcAttachmentRequest
DeleteTransitGatewayVpcAttachmentRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified VPC attachment.
// Example sending a request using DeleteTransitGatewayVpcAttachmentRequest. req := client.DeleteTransitGatewayVpcAttachmentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayVpcAttachment
func (*Client) DeleteVolumeRequest ¶ added in v0.9.0
func (c *Client) DeleteVolumeRequest(input *DeleteVolumeInput) DeleteVolumeRequest
DeleteVolumeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified EBS volume. The volume must be in the available state (not attached to an instance).
The volume can remain in the deleting state for several minutes.
For more information, see Deleting an Amazon EBS Volume (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-deleting-volume.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DeleteVolumeRequest. req := client.DeleteVolumeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVolume
func (*Client) DeleteVpcEndpointConnectionNotificationsRequest ¶ added in v0.9.0
func (c *Client) DeleteVpcEndpointConnectionNotificationsRequest(input *DeleteVpcEndpointConnectionNotificationsInput) DeleteVpcEndpointConnectionNotificationsRequest
DeleteVpcEndpointConnectionNotificationsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes one or more VPC endpoint connection notifications.
// Example sending a request using DeleteVpcEndpointConnectionNotificationsRequest. req := client.DeleteVpcEndpointConnectionNotificationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointConnectionNotifications
func (*Client) DeleteVpcEndpointServiceConfigurationsRequest ¶ added in v0.9.0
func (c *Client) DeleteVpcEndpointServiceConfigurationsRequest(input *DeleteVpcEndpointServiceConfigurationsInput) DeleteVpcEndpointServiceConfigurationsRequest
DeleteVpcEndpointServiceConfigurationsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes one or more VPC endpoint service configurations in your account. Before you delete the endpoint service configuration, you must reject any Available or PendingAcceptance interface endpoint connections that are attached to the service.
// Example sending a request using DeleteVpcEndpointServiceConfigurationsRequest. req := client.DeleteVpcEndpointServiceConfigurationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointServiceConfigurations
func (*Client) DeleteVpcEndpointsRequest ¶ added in v0.9.0
func (c *Client) DeleteVpcEndpointsRequest(input *DeleteVpcEndpointsInput) DeleteVpcEndpointsRequest
DeleteVpcEndpointsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes one or more specified VPC endpoints. Deleting a gateway endpoint also deletes the endpoint routes in the route tables that were associated with the endpoint. Deleting an interface endpoint deletes the endpoint network interfaces.
// Example sending a request using DeleteVpcEndpointsRequest. req := client.DeleteVpcEndpointsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpoints
func (*Client) DeleteVpcPeeringConnectionRequest ¶ added in v0.9.0
func (c *Client) DeleteVpcPeeringConnectionRequest(input *DeleteVpcPeeringConnectionInput) DeleteVpcPeeringConnectionRequest
DeleteVpcPeeringConnectionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes a VPC peering connection. Either the owner of the requester VPC or the owner of the accepter VPC can delete the VPC peering connection if it's in the active state. The owner of the requester VPC can delete a VPC peering connection in the pending-acceptance state. You cannot delete a VPC peering connection that's in the failed state.
// Example sending a request using DeleteVpcPeeringConnectionRequest. req := client.DeleteVpcPeeringConnectionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcPeeringConnection
func (*Client) DeleteVpcRequest ¶ added in v0.9.0
func (c *Client) DeleteVpcRequest(input *DeleteVpcInput) DeleteVpcRequest
DeleteVpcRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on.
// Example sending a request using DeleteVpcRequest. req := client.DeleteVpcRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpc
func (*Client) DeleteVpnConnectionRequest ¶ added in v0.9.0
func (c *Client) DeleteVpnConnectionRequest(input *DeleteVpnConnectionInput) DeleteVpnConnectionRequest
DeleteVpnConnectionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified VPN connection.
If you're deleting the VPC and its associated components, we recommend that you detach the virtual private gateway from the VPC and delete the VPC before deleting the VPN connection. If you believe that the tunnel credentials for your VPN connection have been compromised, you can delete the VPN connection and create a new one that has new keys, without needing to delete the VPC or virtual private gateway. If you create a new VPN connection, you must reconfigure the customer gateway using the new configuration information returned with the new VPN connection ID.
// Example sending a request using DeleteVpnConnectionRequest. req := client.DeleteVpnConnectionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnection
func (*Client) DeleteVpnConnectionRouteRequest ¶ added in v0.9.0
func (c *Client) DeleteVpnConnectionRouteRequest(input *DeleteVpnConnectionRouteInput) DeleteVpnConnectionRouteRequest
DeleteVpnConnectionRouteRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.
// Example sending a request using DeleteVpnConnectionRouteRequest. req := client.DeleteVpnConnectionRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionRoute
func (*Client) DeleteVpnGatewayRequest ¶ added in v0.9.0
func (c *Client) DeleteVpnGatewayRequest(input *DeleteVpnGatewayInput) DeleteVpnGatewayRequest
DeleteVpnGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deletes the specified virtual private gateway. We recommend that before you delete a virtual private gateway, you detach it from the VPC and delete the VPN connection. Note that you don't need to delete the virtual private gateway if you plan to delete and recreate the VPN connection between your VPC and your network.
// Example sending a request using DeleteVpnGatewayRequest. req := client.DeleteVpnGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnGateway
func (*Client) DeprovisionByoipCidrRequest ¶ added in v0.9.0
func (c *Client) DeprovisionByoipCidrRequest(input *DeprovisionByoipCidrInput) DeprovisionByoipCidrRequest
DeprovisionByoipCidrRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Releases the specified address range that you provisioned for use with your AWS resources through bring your own IP addresses (BYOIP) and deletes the corresponding address pool.
Before you can release an address range, you must stop advertising it using WithdrawByoipCidr and you must not have any IP addresses allocated from its address range.
// Example sending a request using DeprovisionByoipCidrRequest. req := client.DeprovisionByoipCidrRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeprovisionByoipCidr
func (*Client) DeregisterImageRequest ¶ added in v0.9.0
func (c *Client) DeregisterImageRequest(input *DeregisterImageInput) DeregisterImageRequest
DeregisterImageRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances; however, it doesn't affect any instances that you've already launched from the AMI. You'll continue to incur usage costs for those instances until you terminate them.
When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was created for the root volume of the instance during the AMI creation process. When you deregister an instance store-backed AMI, it doesn't affect the files that you uploaded to Amazon S3 when you created the AMI.
// Example sending a request using DeregisterImageRequest. req := client.DeregisterImageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImage
func (*Client) DescribeAccountAttributesRequest ¶ added in v0.9.0
func (c *Client) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) DescribeAccountAttributesRequest
DescribeAccountAttributesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes attributes of your AWS account. The following are the supported account attributes:
supported-platforms: Indicates whether your account can launch instances into EC2-Classic and EC2-VPC, or only into EC2-VPC.
default-vpc: The ID of the default VPC for your account, or none.
max-instances: The maximum number of On-Demand Instances that you can run.
vpc-max-security-groups-per-interface: The maximum number of security groups that you can assign to a network interface.
max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-Classic.
vpc-max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-VPC.
// Example sending a request using DescribeAccountAttributesRequest. req := client.DescribeAccountAttributesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAccountAttributes
func (*Client) DescribeAddressesRequest ¶ added in v0.9.0
func (c *Client) DescribeAddressesRequest(input *DescribeAddressesInput) DescribeAddressesRequest
DescribeAddressesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified Elastic IP addresses or all of your Elastic IP addresses.
An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeAddressesRequest. req := client.DescribeAddressesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddresses
func (*Client) DescribeAggregateIdFormatRequest ¶ added in v0.9.0
func (c *Client) DescribeAggregateIdFormatRequest(input *DescribeAggregateIdFormatInput) DescribeAggregateIdFormatRequest
DescribeAggregateIdFormatRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the longer ID format settings for all resource types in a specific Region. This request is useful for performing a quick audit to determine whether a specific Region is fully opted in for longer IDs (17-character IDs).
This request only returns information about resource types that support longer IDs.
The following resource types support longer IDs: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.
// Example sending a request using DescribeAggregateIdFormatRequest. req := client.DescribeAggregateIdFormatRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAggregateIdFormat
func (*Client) DescribeAvailabilityZonesRequest ¶ added in v0.9.0
func (c *Client) DescribeAvailabilityZonesRequest(input *DescribeAvailabilityZonesInput) DescribeAvailabilityZonesRequest
DescribeAvailabilityZonesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the Availability Zones that are available to you. The results include zones only for the Region you're currently using. If there is an event impacting an Availability Zone, you can use this request to view the state and any provided message for that Availability Zone.
For more information, see Regions and Availability Zones (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeAvailabilityZonesRequest. req := client.DescribeAvailabilityZonesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZones
func (*Client) DescribeBundleTasksRequest ¶ added in v0.9.0
func (c *Client) DescribeBundleTasksRequest(input *DescribeBundleTasksInput) DescribeBundleTasksRequest
DescribeBundleTasksRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified bundle tasks or all of your bundle tasks.
Completed bundle tasks are listed for only a limited time. If your bundle task is no longer in the list, you can still register an AMI from it. Just use RegisterImage with the Amazon S3 bucket name and image manifest name you provided to the bundle task.
// Example sending a request using DescribeBundleTasksRequest. req := client.DescribeBundleTasksRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeBundleTasks
func (*Client) DescribeByoipCidrsRequest ¶ added in v0.9.0
func (c *Client) DescribeByoipCidrsRequest(input *DescribeByoipCidrsInput) DescribeByoipCidrsRequest
DescribeByoipCidrsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the IP address ranges that were specified in calls to ProvisionByoipCidr.
To describe the address pools that were created when you provisioned the address ranges, use DescribePublicIpv4Pools.
// Example sending a request using DescribeByoipCidrsRequest. req := client.DescribeByoipCidrsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeByoipCidrs
func (*Client) DescribeCapacityReservationsRequest ¶ added in v0.9.0
func (c *Client) DescribeCapacityReservationsRequest(input *DescribeCapacityReservationsInput) DescribeCapacityReservationsRequest
DescribeCapacityReservationsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your Capacity Reservations. The results describe only the Capacity Reservations in the AWS Region that you're currently using.
// Example sending a request using DescribeCapacityReservationsRequest. req := client.DescribeCapacityReservationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservations
func (*Client) DescribeClassicLinkInstancesRequest ¶ added in v0.9.0
func (c *Client) DescribeClassicLinkInstancesRequest(input *DescribeClassicLinkInstancesInput) DescribeClassicLinkInstancesRequest
DescribeClassicLinkInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your linked EC2-Classic instances. This request only returns information about EC2-Classic instances linked to a VPC through ClassicLink. You cannot use this request to return information about other instances.
// Example sending a request using DescribeClassicLinkInstancesRequest. req := client.DescribeClassicLinkInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClassicLinkInstances
func (*Client) DescribeClientVpnAuthorizationRulesRequest ¶ added in v0.9.0
func (c *Client) DescribeClientVpnAuthorizationRulesRequest(input *DescribeClientVpnAuthorizationRulesInput) DescribeClientVpnAuthorizationRulesRequest
DescribeClientVpnAuthorizationRulesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the authorization rules for a specified Client VPN endpoint.
// Example sending a request using DescribeClientVpnAuthorizationRulesRequest. req := client.DescribeClientVpnAuthorizationRulesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnAuthorizationRules
func (*Client) DescribeClientVpnConnectionsRequest ¶ added in v0.9.0
func (c *Client) DescribeClientVpnConnectionsRequest(input *DescribeClientVpnConnectionsInput) DescribeClientVpnConnectionsRequest
DescribeClientVpnConnectionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes active client connections and connections that have been terminated within the last 60 minutes for the specified Client VPN endpoint.
// Example sending a request using DescribeClientVpnConnectionsRequest. req := client.DescribeClientVpnConnectionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnConnections
func (*Client) DescribeClientVpnEndpointsRequest ¶ added in v0.9.0
func (c *Client) DescribeClientVpnEndpointsRequest(input *DescribeClientVpnEndpointsInput) DescribeClientVpnEndpointsRequest
DescribeClientVpnEndpointsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more Client VPN endpoints in the account.
// Example sending a request using DescribeClientVpnEndpointsRequest. req := client.DescribeClientVpnEndpointsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnEndpoints
func (*Client) DescribeClientVpnRoutesRequest ¶ added in v0.9.0
func (c *Client) DescribeClientVpnRoutesRequest(input *DescribeClientVpnRoutesInput) DescribeClientVpnRoutesRequest
DescribeClientVpnRoutesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the routes for the specified Client VPN endpoint.
// Example sending a request using DescribeClientVpnRoutesRequest. req := client.DescribeClientVpnRoutesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnRoutes
func (*Client) DescribeClientVpnTargetNetworksRequest ¶ added in v0.9.0
func (c *Client) DescribeClientVpnTargetNetworksRequest(input *DescribeClientVpnTargetNetworksInput) DescribeClientVpnTargetNetworksRequest
DescribeClientVpnTargetNetworksRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the target networks associated with the specified Client VPN endpoint.
// Example sending a request using DescribeClientVpnTargetNetworksRequest. req := client.DescribeClientVpnTargetNetworksRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnTargetNetworks
func (*Client) DescribeConversionTasksRequest ¶ added in v0.9.0
func (c *Client) DescribeConversionTasksRequest(input *DescribeConversionTasksInput) DescribeConversionTasksRequest
DescribeConversionTasksRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified conversion tasks or all your conversion tasks. For more information, see the VM Import/Export User Guide (https://docs.aws.amazon.com/vm-import/latest/userguide/).
For information about the import manifest referenced by this API action, see VM Import Manifest (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html).
// Example sending a request using DescribeConversionTasksRequest. req := client.DescribeConversionTasksRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeConversionTasks
func (*Client) DescribeCustomerGatewaysRequest ¶ added in v0.9.0
func (c *Client) DescribeCustomerGatewaysRequest(input *DescribeCustomerGatewaysInput) DescribeCustomerGatewaysRequest
DescribeCustomerGatewaysRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your VPN customer gateways.
For more information, see AWS Site-to-Site VPN (https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the AWS Site-to-Site VPN User Guide.
// Example sending a request using DescribeCustomerGatewaysRequest. req := client.DescribeCustomerGatewaysRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCustomerGateways
func (*Client) DescribeDhcpOptionsRequest ¶ added in v0.9.0
func (c *Client) DescribeDhcpOptionsRequest(input *DescribeDhcpOptionsInput) DescribeDhcpOptionsRequest
DescribeDhcpOptionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your DHCP options sets.
For more information, see DHCP Options Sets (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using DescribeDhcpOptionsRequest. req := client.DescribeDhcpOptionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeDhcpOptions
func (*Client) DescribeEgressOnlyInternetGatewaysRequest ¶ added in v0.9.0
func (c *Client) DescribeEgressOnlyInternetGatewaysRequest(input *DescribeEgressOnlyInternetGatewaysInput) DescribeEgressOnlyInternetGatewaysRequest
DescribeEgressOnlyInternetGatewaysRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your egress-only internet gateways.
// Example sending a request using DescribeEgressOnlyInternetGatewaysRequest. req := client.DescribeEgressOnlyInternetGatewaysRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeEgressOnlyInternetGateways
func (*Client) DescribeElasticGpusRequest ¶ added in v0.9.0
func (c *Client) DescribeElasticGpusRequest(input *DescribeElasticGpusInput) DescribeElasticGpusRequest
DescribeElasticGpusRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the Elastic Graphics accelerator associated with your instances. For more information about Elastic Graphics, see Amazon Elastic Graphics (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html).
// Example sending a request using DescribeElasticGpusRequest. req := client.DescribeElasticGpusRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeElasticGpus
func (*Client) DescribeExportImageTasksRequest ¶ added in v0.12.0
func (c *Client) DescribeExportImageTasksRequest(input *DescribeExportImageTasksInput) DescribeExportImageTasksRequest
DescribeExportImageTasksRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified export image tasks or all your export image tasks.
// Example sending a request using DescribeExportImageTasksRequest. req := client.DescribeExportImageTasksRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportImageTasks
func (*Client) DescribeExportTasksRequest ¶ added in v0.9.0
func (c *Client) DescribeExportTasksRequest(input *DescribeExportTasksInput) DescribeExportTasksRequest
DescribeExportTasksRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified export instance tasks or all your export instance tasks.
// Example sending a request using DescribeExportTasksRequest. req := client.DescribeExportTasksRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportTasks
func (*Client) DescribeFleetHistoryRequest ¶ added in v0.9.0
func (c *Client) DescribeFleetHistoryRequest(input *DescribeFleetHistoryInput) DescribeFleetHistoryRequest
DescribeFleetHistoryRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the events for the specified EC2 Fleet during the specified time.
// Example sending a request using DescribeFleetHistoryRequest. req := client.DescribeFleetHistoryRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFleetHistory
func (*Client) DescribeFleetInstancesRequest ¶ added in v0.9.0
func (c *Client) DescribeFleetInstancesRequest(input *DescribeFleetInstancesInput) DescribeFleetInstancesRequest
DescribeFleetInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the running instances for the specified EC2 Fleet.
// Example sending a request using DescribeFleetInstancesRequest. req := client.DescribeFleetInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFleetInstances
func (*Client) DescribeFleetsRequest ¶ added in v0.9.0
func (c *Client) DescribeFleetsRequest(input *DescribeFleetsInput) DescribeFleetsRequest
DescribeFleetsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified EC2 Fleets or all your EC2 Fleets.
// Example sending a request using DescribeFleetsRequest. req := client.DescribeFleetsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFleets
func (*Client) DescribeFlowLogsRequest ¶ added in v0.9.0
func (c *Client) DescribeFlowLogsRequest(input *DescribeFlowLogsInput) DescribeFlowLogsRequest
DescribeFlowLogsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more flow logs. To view the information in your flow logs (the log streams for the network interfaces), you must use the CloudWatch Logs console or the CloudWatch Logs API.
// Example sending a request using DescribeFlowLogsRequest. req := client.DescribeFlowLogsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogs
func (*Client) DescribeFpgaImageAttributeRequest ¶ added in v0.9.0
func (c *Client) DescribeFpgaImageAttributeRequest(input *DescribeFpgaImageAttributeInput) DescribeFpgaImageAttributeRequest
DescribeFpgaImageAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified attribute of the specified Amazon FPGA Image (AFI).
// Example sending a request using DescribeFpgaImageAttributeRequest. req := client.DescribeFpgaImageAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImageAttribute
func (*Client) DescribeFpgaImagesRequest ¶ added in v0.9.0
func (c *Client) DescribeFpgaImagesRequest(input *DescribeFpgaImagesInput) DescribeFpgaImagesRequest
DescribeFpgaImagesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the Amazon FPGA Images (AFIs) available to you. These include public AFIs, private AFIs that you own, and AFIs owned by other AWS accounts for which you have load permissions.
// Example sending a request using DescribeFpgaImagesRequest. req := client.DescribeFpgaImagesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImages
func (*Client) DescribeHostReservationOfferingsRequest ¶ added in v0.9.0
func (c *Client) DescribeHostReservationOfferingsRequest(input *DescribeHostReservationOfferingsInput) DescribeHostReservationOfferingsRequest
DescribeHostReservationOfferingsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the Dedicated Host reservations that are available to purchase.
The results describe all the Dedicated Host reservation offerings, including offerings that may not match the instance family and Region of your Dedicated Hosts. When purchasing an offering, ensure that the instance family and Region of the offering matches that of the Dedicated Hosts with which it is to be associated. For more information about supported instance types, see Dedicated Hosts Overview (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeHostReservationOfferingsRequest. req := client.DescribeHostReservationOfferingsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationOfferings
func (*Client) DescribeHostReservationsRequest ¶ added in v0.9.0
func (c *Client) DescribeHostReservationsRequest(input *DescribeHostReservationsInput) DescribeHostReservationsRequest
DescribeHostReservationsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes reservations that are associated with Dedicated Hosts in your account.
// Example sending a request using DescribeHostReservationsRequest. req := client.DescribeHostReservationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservations
func (*Client) DescribeHostsRequest ¶ added in v0.9.0
func (c *Client) DescribeHostsRequest(input *DescribeHostsInput) DescribeHostsRequest
DescribeHostsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified Dedicated Hosts or all your Dedicated Hosts.
The results describe only the Dedicated Hosts in the Region you're currently using. All listed instances consume capacity on your Dedicated Host. Dedicated Hosts that have recently been released are listed with the state released.
// Example sending a request using DescribeHostsRequest. req := client.DescribeHostsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHosts
func (*Client) DescribeIamInstanceProfileAssociationsRequest ¶ added in v0.9.0
func (c *Client) DescribeIamInstanceProfileAssociationsRequest(input *DescribeIamInstanceProfileAssociationsInput) DescribeIamInstanceProfileAssociationsRequest
DescribeIamInstanceProfileAssociationsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes your IAM instance profile associations.
// Example sending a request using DescribeIamInstanceProfileAssociationsRequest. req := client.DescribeIamInstanceProfileAssociationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIamInstanceProfileAssociations
func (*Client) DescribeIdFormatRequest ¶ added in v0.9.0
func (c *Client) DescribeIdFormatRequest(input *DescribeIdFormatInput) DescribeIdFormatRequest
DescribeIdFormatRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the ID format settings for your resources on a per-Region basis, for example, to view which resource types are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types.
The following resource types support longer IDs: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.
These settings apply to the IAM user who makes the request; they do not apply to the entire AWS account. By default, an IAM user defaults to the same settings as the root user, unless they explicitly override the settings by running the ModifyIdFormat command. Resources created with longer IDs are visible to all IAM users, regardless of these settings and provided that they have permission to use the relevant Describe command for the resource type.
// Example sending a request using DescribeIdFormatRequest. req := client.DescribeIdFormatRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdFormat
func (*Client) DescribeIdentityIdFormatRequest ¶ added in v0.9.0
func (c *Client) DescribeIdentityIdFormatRequest(input *DescribeIdentityIdFormatInput) DescribeIdentityIdFormatRequest
DescribeIdentityIdFormatRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the ID format settings for resources for the specified IAM user, IAM role, or root user. For example, you can view the resource types that are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types. For more information, see Resource IDs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resource-ids.html) in the Amazon Elastic Compute Cloud User Guide.
The following resource types support longer IDs: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.
These settings apply to the principal specified in the request. They do not apply to the principal that makes the request.
// Example sending a request using DescribeIdentityIdFormatRequest. req := client.DescribeIdentityIdFormatRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdentityIdFormat
func (*Client) DescribeImageAttributeRequest ¶ added in v0.9.0
func (c *Client) DescribeImageAttributeRequest(input *DescribeImageAttributeInput) DescribeImageAttributeRequest
DescribeImageAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified attribute of the specified AMI. You can specify only one attribute at a time.
// Example sending a request using DescribeImageAttributeRequest. req := client.DescribeImageAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageAttribute
func (*Client) DescribeImagesRequest ¶ added in v0.9.0
func (c *Client) DescribeImagesRequest(input *DescribeImagesInput) DescribeImagesRequest
DescribeImagesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the images available to you.
The images available to you include public images, private images that you own, and private images owned by other AWS accounts for which you have explicit launch permissions.
Recently deregistered images appear in the returned results for a short interval and then return empty results. After all instances that reference a deregistered AMI are terminated, specifying the ID of the image results in an error indicating that the AMI ID cannot be found.
// Example sending a request using DescribeImagesRequest. req := client.DescribeImagesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImages
func (*Client) DescribeImportImageTasksRequest ¶ added in v0.9.0
func (c *Client) DescribeImportImageTasksRequest(input *DescribeImportImageTasksInput) DescribeImportImageTasksRequest
DescribeImportImageTasksRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Displays details about an import virtual machine or import snapshot tasks that are already created.
// Example sending a request using DescribeImportImageTasksRequest. req := client.DescribeImportImageTasksRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasks
func (*Client) DescribeImportSnapshotTasksRequest ¶ added in v0.9.0
func (c *Client) DescribeImportSnapshotTasksRequest(input *DescribeImportSnapshotTasksInput) DescribeImportSnapshotTasksRequest
DescribeImportSnapshotTasksRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes your import snapshot tasks.
// Example sending a request using DescribeImportSnapshotTasksRequest. req := client.DescribeImportSnapshotTasksRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportSnapshotTasks
func (*Client) DescribeInstanceAttributeRequest ¶ added in v0.9.0
func (c *Client) DescribeInstanceAttributeRequest(input *DescribeInstanceAttributeInput) DescribeInstanceAttributeRequest
DescribeInstanceAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified attribute of the specified instance. You can specify only one attribute at a time. Valid attribute values are: instanceType | kernel | ramdisk | userData | disableApiTermination | instanceInitiatedShutdownBehavior | rootDeviceName | blockDeviceMapping | productCodes | sourceDestCheck | groupSet | ebsOptimized | sriovNetSupport
// Example sending a request using DescribeInstanceAttributeRequest. req := client.DescribeInstanceAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceAttribute
func (*Client) DescribeInstanceCreditSpecificationsRequest ¶ added in v0.9.0
func (c *Client) DescribeInstanceCreditSpecificationsRequest(input *DescribeInstanceCreditSpecificationsInput) DescribeInstanceCreditSpecificationsRequest
DescribeInstanceCreditSpecificationsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the credit option for CPU usage of the specified T2 or T3 instances. The credit options are standard and unlimited.
If you do not specify an instance ID, Amazon EC2 returns T2 and T3 instances with the unlimited credit option, as well as instances that were previously configured as T2 or T3 with the unlimited credit option. For example, if you resize a T2 instance, while it is configured as unlimited, to an M4 instance, Amazon EC2 returns the M4 instance.
If you specify one or more instance IDs, Amazon EC2 returns the credit option (standard or unlimited) of those instances. If you specify an instance ID that is not valid, such as an instance that is not a T2 or T3 instance, an error is returned.
Recently terminated instances might appear in the returned results. This interval is usually less than one hour.
If an Availability Zone is experiencing a service disruption and you specify instance IDs in the affected zone, or do not specify any instance IDs at all, the call fails. If you specify only instance IDs in an unaffected zone, the call works normally.
For more information, see Burstable Performance Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeInstanceCreditSpecificationsRequest. req := client.DescribeInstanceCreditSpecificationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceCreditSpecifications
func (*Client) DescribeInstanceStatusRequest ¶ added in v0.9.0
func (c *Client) DescribeInstanceStatusRequest(input *DescribeInstanceStatusInput) DescribeInstanceStatusRequest
DescribeInstanceStatusRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the status of the specified instances or all of your instances. By default, only running instances are described, unless you specifically indicate to return the status of all instances.
Instance status includes the following components:
Status checks - Amazon EC2 performs status checks on running EC2 instances to identify hardware and software issues. For more information, see Status Checks for Your Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-system-instance-status-check.html) and Troubleshooting Instances with Failed Status Checks (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstances.html) in the Amazon Elastic Compute Cloud User Guide.
Scheduled events - Amazon EC2 can schedule events (such as reboot, stop, or terminate) for your instances related to hardware issues, software updates, or system maintenance. For more information, see Scheduled Events for Your Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html) in the Amazon Elastic Compute Cloud User Guide.
Instance state - You can manage your instances from the moment you launch them through their termination. For more information, see Instance Lifecycle (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeInstanceStatusRequest. req := client.DescribeInstanceStatusRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceStatus
func (*Client) DescribeInstancesRequest ¶ added in v0.9.0
func (c *Client) DescribeInstancesRequest(input *DescribeInstancesInput) DescribeInstancesRequest
DescribeInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified instances or all of AWS account's instances.
If you specify one or more instance IDs, Amazon EC2 returns information for those instances. If you do not specify instance IDs, Amazon EC2 returns information for all relevant instances. If you specify an instance ID that is not valid, an error is returned. If you specify an instance that you do not own, it is not included in the returned results.
Recently terminated instances might appear in the returned results. This interval is usually less than one hour.
If you describe instances in the rare case where an Availability Zone is experiencing a service disruption and you specify instance IDs that are in the affected zone, or do not specify any instance IDs at all, the call fails. If you describe instances and specify only instance IDs that are in an unaffected zone, the call works normally.
// Example sending a request using DescribeInstancesRequest. req := client.DescribeInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstances
func (*Client) DescribeInternetGatewaysRequest ¶ added in v0.9.0
func (c *Client) DescribeInternetGatewaysRequest(input *DescribeInternetGatewaysInput) DescribeInternetGatewaysRequest
DescribeInternetGatewaysRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your internet gateways.
// Example sending a request using DescribeInternetGatewaysRequest. req := client.DescribeInternetGatewaysRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInternetGateways
func (*Client) DescribeKeyPairsRequest ¶ added in v0.9.0
func (c *Client) DescribeKeyPairsRequest(input *DescribeKeyPairsInput) DescribeKeyPairsRequest
DescribeKeyPairsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified key pairs or all of your key pairs.
For more information about key pairs, see Key Pairs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeKeyPairsRequest. req := client.DescribeKeyPairsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeKeyPairs
func (*Client) DescribeLaunchTemplateVersionsRequest ¶ added in v0.9.0
func (c *Client) DescribeLaunchTemplateVersionsRequest(input *DescribeLaunchTemplateVersionsInput) DescribeLaunchTemplateVersionsRequest
DescribeLaunchTemplateVersionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more versions of a specified launch template. You can describe all versions, individual versions, or a range of versions.
// Example sending a request using DescribeLaunchTemplateVersionsRequest. req := client.DescribeLaunchTemplateVersionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersions
func (*Client) DescribeLaunchTemplatesRequest ¶ added in v0.9.0
func (c *Client) DescribeLaunchTemplatesRequest(input *DescribeLaunchTemplatesInput) DescribeLaunchTemplatesRequest
DescribeLaunchTemplatesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more launch templates.
// Example sending a request using DescribeLaunchTemplatesRequest. req := client.DescribeLaunchTemplatesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplates
func (*Client) DescribeMovingAddressesRequest ¶ added in v0.9.0
func (c *Client) DescribeMovingAddressesRequest(input *DescribeMovingAddressesInput) DescribeMovingAddressesRequest
DescribeMovingAddressesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes your Elastic IP addresses that are being moved to the EC2-VPC platform, or that are being restored to the EC2-Classic platform. This request does not return information about any other Elastic IP addresses in your account.
// Example sending a request using DescribeMovingAddressesRequest. req := client.DescribeMovingAddressesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMovingAddresses
func (*Client) DescribeNatGatewaysRequest ¶ added in v0.9.0
func (c *Client) DescribeNatGatewaysRequest(input *DescribeNatGatewaysInput) DescribeNatGatewaysRequest
DescribeNatGatewaysRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your NAT gateways.
// Example sending a request using DescribeNatGatewaysRequest. req := client.DescribeNatGatewaysRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNatGateways
func (*Client) DescribeNetworkAclsRequest ¶ added in v0.9.0
func (c *Client) DescribeNetworkAclsRequest(input *DescribeNetworkAclsInput) DescribeNetworkAclsRequest
DescribeNetworkAclsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your network ACLs.
For more information, see Network ACLs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_ACLs.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using DescribeNetworkAclsRequest. req := client.DescribeNetworkAclsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkAcls
func (*Client) DescribeNetworkInterfaceAttributeRequest ¶ added in v0.9.0
func (c *Client) DescribeNetworkInterfaceAttributeRequest(input *DescribeNetworkInterfaceAttributeInput) DescribeNetworkInterfaceAttributeRequest
DescribeNetworkInterfaceAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes a network interface attribute. You can specify only one attribute at a time.
// Example sending a request using DescribeNetworkInterfaceAttributeRequest. req := client.DescribeNetworkInterfaceAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaceAttribute
func (*Client) DescribeNetworkInterfacePermissionsRequest ¶ added in v0.9.0
func (c *Client) DescribeNetworkInterfacePermissionsRequest(input *DescribeNetworkInterfacePermissionsInput) DescribeNetworkInterfacePermissionsRequest
DescribeNetworkInterfacePermissionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the permissions for your network interfaces.
// Example sending a request using DescribeNetworkInterfacePermissionsRequest. req := client.DescribeNetworkInterfacePermissionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissions
func (*Client) DescribeNetworkInterfacesRequest ¶ added in v0.9.0
func (c *Client) DescribeNetworkInterfacesRequest(input *DescribeNetworkInterfacesInput) DescribeNetworkInterfacesRequest
DescribeNetworkInterfacesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your network interfaces.
// Example sending a request using DescribeNetworkInterfacesRequest. req := client.DescribeNetworkInterfacesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaces
func (*Client) DescribePlacementGroupsRequest ¶ added in v0.9.0
func (c *Client) DescribePlacementGroupsRequest(input *DescribePlacementGroupsInput) DescribePlacementGroupsRequest
DescribePlacementGroupsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified placement groups or all of your placement groups. For more information, see Placement Groups (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribePlacementGroupsRequest. req := client.DescribePlacementGroupsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroups
func (*Client) DescribePrefixListsRequest ¶ added in v0.9.0
func (c *Client) DescribePrefixListsRequest(input *DescribePrefixListsInput) DescribePrefixListsRequest
DescribePrefixListsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes available AWS services in a prefix list format, which includes the prefix list name and prefix list ID of the service and the IP address range for the service. A prefix list ID is required for creating an outbound security group rule that allows traffic from a VPC to access an AWS service through a gateway VPC endpoint. Currently, the services that support this action are Amazon S3 and Amazon DynamoDB.
// Example sending a request using DescribePrefixListsRequest. req := client.DescribePrefixListsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrefixLists
func (*Client) DescribePrincipalIdFormatRequest ¶ added in v0.9.0
func (c *Client) DescribePrincipalIdFormatRequest(input *DescribePrincipalIdFormatInput) DescribePrincipalIdFormatRequest
DescribePrincipalIdFormatRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the ID format settings for the root user and all IAM roles and IAM users that have explicitly specified a longer ID (17-character ID) preference.
By default, all IAM roles and IAM users default to the same ID settings as the root user, unless they explicitly override the settings. This request is useful for identifying those IAM users and IAM roles that have overridden the default ID settings.
The following resource types support longer IDs: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.
// Example sending a request using DescribePrincipalIdFormatRequest. req := client.DescribePrincipalIdFormatRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrincipalIdFormat
func (*Client) DescribePublicIpv4PoolsRequest ¶ added in v0.9.0
func (c *Client) DescribePublicIpv4PoolsRequest(input *DescribePublicIpv4PoolsInput) DescribePublicIpv4PoolsRequest
DescribePublicIpv4PoolsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified IPv4 address pools.
// Example sending a request using DescribePublicIpv4PoolsRequest. req := client.DescribePublicIpv4PoolsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePublicIpv4Pools
func (*Client) DescribeRegionsRequest ¶ added in v0.9.0
func (c *Client) DescribeRegionsRequest(input *DescribeRegionsInput) DescribeRegionsRequest
DescribeRegionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the Regions that are enabled for your account, or all Regions.
For a list of the Regions supported by Amazon EC2, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region).
For information about enabling and disabling Regions for your account, see Managing AWS Regions (https://docs.aws.amazon.com/general/latest/gr/rande-manage.html) in the AWS General Reference.
// Example sending a request using DescribeRegionsRequest. req := client.DescribeRegionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRegions
func (*Client) DescribeReservedInstancesListingsRequest ¶ added in v0.9.0
func (c *Client) DescribeReservedInstancesListingsRequest(input *DescribeReservedInstancesListingsInput) DescribeReservedInstancesListingsRequest
DescribeReservedInstancesListingsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes your account's Reserved Instance listings in the Reserved Instance Marketplace.
The Reserved Instance Marketplace matches sellers who want to resell Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances.
As a seller, you choose to list some or all of your Reserved Instances, and you specify the upfront price to receive for them. Your Reserved Instances are then listed in the Reserved Instance Marketplace and are available for purchase.
As a buyer, you specify the configuration of the Reserved Instance to purchase, and the Marketplace matches what you're searching for with what's available. The Marketplace first sells the lowest priced Reserved Instances to you, and continues to sell available Reserved Instance listings to you until your demand is met. You are charged based on the total price of all of the listings that you purchase.
For more information, see Reserved Instance Marketplace (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeReservedInstancesListingsRequest. req := client.DescribeReservedInstancesListingsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesListings
func (*Client) DescribeReservedInstancesModificationsRequest ¶ added in v0.9.0
func (c *Client) DescribeReservedInstancesModificationsRequest(input *DescribeReservedInstancesModificationsInput) DescribeReservedInstancesModificationsRequest
DescribeReservedInstancesModificationsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the modifications made to your Reserved Instances. If no parameter is specified, information about all your Reserved Instances modification requests is returned. If a modification ID is specified, only information about the specific modification is returned.
For more information, see Modifying Reserved Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeReservedInstancesModificationsRequest. req := client.DescribeReservedInstancesModificationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesModifications
func (*Client) DescribeReservedInstancesOfferingsRequest ¶ added in v0.9.0
func (c *Client) DescribeReservedInstancesOfferingsRequest(input *DescribeReservedInstancesOfferingsInput) DescribeReservedInstancesOfferingsRequest
DescribeReservedInstancesOfferingsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes Reserved Instance offerings that are available for purchase. With Reserved Instances, you purchase the right to launch instances for a period of time. During that time period, you do not receive insufficient capacity errors, and you pay a lower usage rate than the rate charged for On-Demand instances for the actual time used.
If you have listed your own Reserved Instances for sale in the Reserved Instance Marketplace, they will be excluded from these results. This is to ensure that you do not purchase your own Reserved Instances.
For more information, see Reserved Instance Marketplace (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeReservedInstancesOfferingsRequest. req := client.DescribeReservedInstancesOfferingsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesOfferings
func (*Client) DescribeReservedInstancesRequest ¶ added in v0.9.0
func (c *Client) DescribeReservedInstancesRequest(input *DescribeReservedInstancesInput) DescribeReservedInstancesRequest
DescribeReservedInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of the Reserved Instances that you purchased.
For more information about Reserved Instances, see Reserved Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeReservedInstancesRequest. req := client.DescribeReservedInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstances
func (*Client) DescribeRouteTablesRequest ¶ added in v0.9.0
func (c *Client) DescribeRouteTablesRequest(input *DescribeRouteTablesInput) DescribeRouteTablesRequest
DescribeRouteTablesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your route tables.
Each subnet in your VPC must be associated with a route table. If a subnet is not explicitly associated with any route table, it is implicitly associated with the main route table. This command does not return the subnet ID for implicit associations.
For more information, see Route Tables (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using DescribeRouteTablesRequest. req := client.DescribeRouteTablesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTables
func (*Client) DescribeScheduledInstanceAvailabilityRequest ¶ added in v0.9.0
func (c *Client) DescribeScheduledInstanceAvailabilityRequest(input *DescribeScheduledInstanceAvailabilityInput) DescribeScheduledInstanceAvailabilityRequest
DescribeScheduledInstanceAvailabilityRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Finds available schedules that meet the specified criteria.
You can search for an available schedule no more than 3 months in advance. You must meet the minimum required duration of 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.
After you find a schedule that meets your needs, call PurchaseScheduledInstances to purchase Scheduled Instances with that schedule.
// Example sending a request using DescribeScheduledInstanceAvailabilityRequest. req := client.DescribeScheduledInstanceAvailabilityRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstanceAvailability
func (*Client) DescribeScheduledInstancesRequest ¶ added in v0.9.0
func (c *Client) DescribeScheduledInstancesRequest(input *DescribeScheduledInstancesInput) DescribeScheduledInstancesRequest
DescribeScheduledInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified Scheduled Instances or all your Scheduled Instances.
// Example sending a request using DescribeScheduledInstancesRequest. req := client.DescribeScheduledInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstances
func (*Client) DescribeSecurityGroupReferencesRequest ¶ added in v0.9.0
func (c *Client) DescribeSecurityGroupReferencesRequest(input *DescribeSecurityGroupReferencesInput) DescribeSecurityGroupReferencesRequest
DescribeSecurityGroupReferencesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
[VPC only] Describes the VPCs on the other side of a VPC peering connection that are referencing the security groups you've specified in this request.
// Example sending a request using DescribeSecurityGroupReferencesRequest. req := client.DescribeSecurityGroupReferencesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupReferences
func (*Client) DescribeSecurityGroupsRequest ¶ added in v0.9.0
func (c *Client) DescribeSecurityGroupsRequest(input *DescribeSecurityGroupsInput) DescribeSecurityGroupsRequest
DescribeSecurityGroupsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified security groups or all of your security groups.
A security group is for use with instances either in the EC2-Classic platform or in a specific VPC. For more information, see Amazon EC2 Security Groups (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html) in the Amazon Elastic Compute Cloud User Guide and Security Groups for Your VPC (https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using DescribeSecurityGroupsRequest. req := client.DescribeSecurityGroupsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroups
func (*Client) DescribeSnapshotAttributeRequest ¶ added in v0.9.0
func (c *Client) DescribeSnapshotAttributeRequest(input *DescribeSnapshotAttributeInput) DescribeSnapshotAttributeRequest
DescribeSnapshotAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified attribute of the specified snapshot. You can specify only one attribute at a time.
For more information about EBS snapshots, see Amazon EBS Snapshots (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeSnapshotAttributeRequest. req := client.DescribeSnapshotAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotAttribute
func (*Client) DescribeSnapshotsRequest ¶ added in v0.9.0
func (c *Client) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) DescribeSnapshotsRequest
DescribeSnapshotsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified EBS snapshots available to you or all of the EBS snapshots available to you.
The snapshots available to you include public snapshots, private snapshots that you own, and private snapshots owned by other AWS accounts for which you have explicit create volume permissions.
The create volume permissions fall into the following categories:
public: The owner of the snapshot granted create volume permissions for the snapshot to the all group. All AWS accounts have create volume permissions for these snapshots.
explicit: The owner of the snapshot granted create volume permissions to a specific AWS account.
implicit: An AWS account has implicit create volume permissions for all snapshots it owns.
The list of snapshots returned can be modified by specifying snapshot IDs, snapshot owners, or AWS accounts with create volume permissions. If no options are specified, Amazon EC2 returns all snapshots for which you have create volume permissions.
If you specify one or more snapshot IDs, only snapshots that have the specified IDs are returned. If you specify an invalid snapshot ID, an error is returned. If you specify a snapshot ID for which you do not have access, it is not included in the returned results.
If you specify one or more snapshot owners using the OwnerIds option, only snapshots from the specified owners and for which you have access are returned. The results can include the AWS account IDs of the specified owners, amazon for snapshots owned by Amazon, or self for snapshots that you own.
If you specify a list of restorable users, only snapshots with create snapshot permissions for those users are returned. You can specify AWS account IDs (if you own the snapshots), self for snapshots for which you own or have explicit permissions, or all for public snapshots.
If you are describing a long list of snapshots, you can paginate the output to make the list more manageable. The MaxResults parameter sets the maximum number of results returned in a single page. If the list of results exceeds your MaxResults value, then that number of results is returned along with a NextToken value that can be passed to a subsequent DescribeSnapshots request to retrieve the remaining results.
For more information about EBS snapshots, see Amazon EBS Snapshots (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeSnapshotsRequest. req := client.DescribeSnapshotsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshots
func (*Client) DescribeSpotDatafeedSubscriptionRequest ¶ added in v0.9.0
func (c *Client) DescribeSpotDatafeedSubscriptionRequest(input *DescribeSpotDatafeedSubscriptionInput) DescribeSpotDatafeedSubscriptionRequest
DescribeSpotDatafeedSubscriptionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the data feed for Spot Instances. For more information, see Spot Instance Data Feed (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html) in the Amazon EC2 User Guide for Linux Instances.
// Example sending a request using DescribeSpotDatafeedSubscriptionRequest. req := client.DescribeSpotDatafeedSubscriptionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotDatafeedSubscription
func (*Client) DescribeSpotFleetInstancesRequest ¶ added in v0.9.0
func (c *Client) DescribeSpotFleetInstancesRequest(input *DescribeSpotFleetInstancesInput) DescribeSpotFleetInstancesRequest
DescribeSpotFleetInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the running instances for the specified Spot Fleet.
// Example sending a request using DescribeSpotFleetInstancesRequest. req := client.DescribeSpotFleetInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetInstances
func (*Client) DescribeSpotFleetRequestHistoryRequest ¶ added in v0.9.0
func (c *Client) DescribeSpotFleetRequestHistoryRequest(input *DescribeSpotFleetRequestHistoryInput) DescribeSpotFleetRequestHistoryRequest
DescribeSpotFleetRequestHistoryRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the events for the specified Spot Fleet request during the specified time.
Spot Fleet events are delayed by up to 30 seconds before they can be described. This ensures that you can query by the last evaluated time and not miss a recorded event. Spot Fleet events are available for 48 hours.
// Example sending a request using DescribeSpotFleetRequestHistoryRequest. req := client.DescribeSpotFleetRequestHistoryRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestHistory
func (*Client) DescribeSpotFleetRequestsRequest ¶ added in v0.9.0
func (c *Client) DescribeSpotFleetRequestsRequest(input *DescribeSpotFleetRequestsInput) DescribeSpotFleetRequestsRequest
DescribeSpotFleetRequestsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes your Spot Fleet requests.
Spot Fleet requests are deleted 48 hours after they are canceled and their instances are terminated.
// Example sending a request using DescribeSpotFleetRequestsRequest. req := client.DescribeSpotFleetRequestsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequests
func (*Client) DescribeSpotInstanceRequestsRequest ¶ added in v0.9.0
func (c *Client) DescribeSpotInstanceRequestsRequest(input *DescribeSpotInstanceRequestsInput) DescribeSpotInstanceRequestsRequest
DescribeSpotInstanceRequestsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified Spot Instance requests.
You can use DescribeSpotInstanceRequests to find a running Spot Instance by examining the response. If the status of the Spot Instance is fulfilled, the instance ID appears in the response and contains the identifier of the instance. Alternatively, you can use DescribeInstances with a filter to look for instances where the instance lifecycle is spot.
We recommend that you set MaxResults to a value between 5 and 1000 to limit the number of results returned. This paginates the output, which makes the list more manageable and returns the results faster. If the list of results exceeds your MaxResults value, then that number of results is returned along with a NextToken value that can be passed to a subsequent DescribeSpotInstanceRequests request to retrieve the remaining results.
Spot Instance requests are deleted four hours after they are canceled and their instances are terminated.
// Example sending a request using DescribeSpotInstanceRequestsRequest. req := client.DescribeSpotInstanceRequestsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequests
func (*Client) DescribeSpotPriceHistoryRequest ¶ added in v0.9.0
func (c *Client) DescribeSpotPriceHistoryRequest(input *DescribeSpotPriceHistoryInput) DescribeSpotPriceHistoryRequest
DescribeSpotPriceHistoryRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the Spot price history. For more information, see Spot Instance Pricing History (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances-history.html) in the Amazon EC2 User Guide for Linux Instances.
When you specify a start and end time, this operation returns the prices of the instance types within the time range that you specified and the time when the price changed. The price is valid within the time period that you specified; the response merely indicates the last time that the price changed.
// Example sending a request using DescribeSpotPriceHistoryRequest. req := client.DescribeSpotPriceHistoryRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotPriceHistory
func (*Client) DescribeStaleSecurityGroupsRequest ¶ added in v0.9.0
func (c *Client) DescribeStaleSecurityGroupsRequest(input *DescribeStaleSecurityGroupsInput) DescribeStaleSecurityGroupsRequest
DescribeStaleSecurityGroupsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
[VPC only] Describes the stale security group rules for security groups in a specified VPC. Rules are stale when they reference a deleted security group in a peer VPC, or a security group in a peer VPC for which the VPC peering connection has been deleted.
// Example sending a request using DescribeStaleSecurityGroupsRequest. req := client.DescribeStaleSecurityGroupsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStaleSecurityGroups
func (*Client) DescribeSubnetsRequest ¶ added in v0.9.0
func (c *Client) DescribeSubnetsRequest(input *DescribeSubnetsInput) DescribeSubnetsRequest
DescribeSubnetsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your subnets.
For more information, see Your VPC and Subnets (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using DescribeSubnetsRequest. req := client.DescribeSubnetsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSubnets
func (*Client) DescribeTagsRequest ¶ added in v0.9.0
func (c *Client) DescribeTagsRequest(input *DescribeTagsInput) DescribeTagsRequest
DescribeTagsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified tags for your EC2 resources.
For more information about tags, see Tagging Your Resources (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeTagsRequest. req := client.DescribeTagsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTags
func (*Client) DescribeTrafficMirrorFiltersRequest ¶ added in v0.10.0
func (c *Client) DescribeTrafficMirrorFiltersRequest(input *DescribeTrafficMirrorFiltersInput) DescribeTrafficMirrorFiltersRequest
DescribeTrafficMirrorFiltersRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more Traffic Mirror filters.
// Example sending a request using DescribeTrafficMirrorFiltersRequest. req := client.DescribeTrafficMirrorFiltersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrafficMirrorFilters
func (*Client) DescribeTrafficMirrorSessionsRequest ¶ added in v0.10.0
func (c *Client) DescribeTrafficMirrorSessionsRequest(input *DescribeTrafficMirrorSessionsInput) DescribeTrafficMirrorSessionsRequest
DescribeTrafficMirrorSessionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.
// Example sending a request using DescribeTrafficMirrorSessionsRequest. req := client.DescribeTrafficMirrorSessionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrafficMirrorSessions
func (*Client) DescribeTrafficMirrorTargetsRequest ¶ added in v0.10.0
func (c *Client) DescribeTrafficMirrorTargetsRequest(input *DescribeTrafficMirrorTargetsInput) DescribeTrafficMirrorTargetsRequest
DescribeTrafficMirrorTargetsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Information about one or more Traffic Mirror targets.
// Example sending a request using DescribeTrafficMirrorTargetsRequest. req := client.DescribeTrafficMirrorTargetsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrafficMirrorTargets
func (*Client) DescribeTransitGatewayAttachmentsRequest ¶ added in v0.9.0
func (c *Client) DescribeTransitGatewayAttachmentsRequest(input *DescribeTransitGatewayAttachmentsInput) DescribeTransitGatewayAttachmentsRequest
DescribeTransitGatewayAttachmentsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more attachments between resources and transit gateways. By default, all attachments are described. Alternatively, you can filter the results by attachment ID, attachment state, resource ID, or resource owner.
// Example sending a request using DescribeTransitGatewayAttachmentsRequest. req := client.DescribeTransitGatewayAttachmentsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayAttachments
func (*Client) DescribeTransitGatewayRouteTablesRequest ¶ added in v0.9.0
func (c *Client) DescribeTransitGatewayRouteTablesRequest(input *DescribeTransitGatewayRouteTablesInput) DescribeTransitGatewayRouteTablesRequest
DescribeTransitGatewayRouteTablesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more transit gateway route tables. By default, all transit gateway route tables are described. Alternatively, you can filter the results.
// Example sending a request using DescribeTransitGatewayRouteTablesRequest. req := client.DescribeTransitGatewayRouteTablesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayRouteTables
func (*Client) DescribeTransitGatewayVpcAttachmentsRequest ¶ added in v0.9.0
func (c *Client) DescribeTransitGatewayVpcAttachmentsRequest(input *DescribeTransitGatewayVpcAttachmentsInput) DescribeTransitGatewayVpcAttachmentsRequest
DescribeTransitGatewayVpcAttachmentsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more VPC attachments. By default, all VPC attachments are described. Alternatively, you can filter the results.
// Example sending a request using DescribeTransitGatewayVpcAttachmentsRequest. req := client.DescribeTransitGatewayVpcAttachmentsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayVpcAttachments
func (*Client) DescribeTransitGatewaysRequest ¶ added in v0.9.0
func (c *Client) DescribeTransitGatewaysRequest(input *DescribeTransitGatewaysInput) DescribeTransitGatewaysRequest
DescribeTransitGatewaysRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more transit gateways. By default, all transit gateways are described. Alternatively, you can filter the results.
// Example sending a request using DescribeTransitGatewaysRequest. req := client.DescribeTransitGatewaysRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGateways
func (*Client) DescribeVolumeAttributeRequest ¶ added in v0.9.0
func (c *Client) DescribeVolumeAttributeRequest(input *DescribeVolumeAttributeInput) DescribeVolumeAttributeRequest
DescribeVolumeAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified attribute of the specified volume. You can specify only one attribute at a time.
For more information about EBS volumes, see Amazon EBS Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumes.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeVolumeAttributeRequest. req := client.DescribeVolumeAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeAttribute
func (*Client) DescribeVolumeStatusRequest ¶ added in v0.9.0
func (c *Client) DescribeVolumeStatusRequest(input *DescribeVolumeStatusInput) DescribeVolumeStatusRequest
DescribeVolumeStatusRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the status of the specified volumes. Volume status provides the result of the checks performed on your volumes to determine events that can impair the performance of your volumes. The performance of a volume can be affected if an issue occurs on the volume's underlying host. If the volume's underlying host experiences a power outage or system issue, after the system is restored, there could be data inconsistencies on the volume. Volume events notify you if this occurs. Volume actions notify you if any action needs to be taken in response to the event.
The DescribeVolumeStatus operation provides the following information about the specified volumes:
Status: Reflects the current status of the volume. The possible values are ok, impaired , warning, or insufficient-data. If all checks pass, the overall status of the volume is ok. If the check fails, the overall status is impaired. If the status is insufficient-data, then the checks may still be taking place on your volume at the time. We recommend that you retry the request. For more information about volume status, see Monitoring the Status of Your Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-status.html) in the Amazon Elastic Compute Cloud User Guide.
Events: Reflect the cause of a volume status and may require you to take action. For example, if your volume returns an impaired status, then the volume event might be potential-data-inconsistency. This means that your volume has been affected by an issue with the underlying host, has all I/O operations disabled, and may have inconsistent data.
Actions: Reflect the actions you may have to take in response to an event. For example, if the status of the volume is impaired and the volume event shows potential-data-inconsistency, then the action shows enable-volume-io. This means that you may want to enable the I/O operations for the volume by calling the EnableVolumeIO action and then check the volume for data consistency.
Volume status is based on the volume status checks, and does not reflect the volume state. Therefore, volume status does not indicate volumes in the error state (for example, when a volume is incapable of accepting I/O.)
// Example sending a request using DescribeVolumeStatusRequest. req := client.DescribeVolumeStatusRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeStatus
func (*Client) DescribeVolumesModificationsRequest ¶ added in v0.9.0
func (c *Client) DescribeVolumesModificationsRequest(input *DescribeVolumesModificationsInput) DescribeVolumesModificationsRequest
DescribeVolumesModificationsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Reports the current modification status of EBS volumes.
Current-generation EBS volumes support modification of attributes including type, size, and (for io1 volumes) IOPS provisioning while either attached to or detached from an instance. Following an action from the API or the console to modify a volume, the status of the modification may be modifying, optimizing, completed, or failed. If a volume has never been modified, then certain elements of the returned VolumeModification objects are null.
You can also use CloudWatch Events to check the status of a modification to an EBS volume. For information about CloudWatch Events, see the Amazon CloudWatch Events User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/). For more information, see Monitoring Volume Modifications" (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html#monitoring_mods) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeVolumesModificationsRequest. req := client.DescribeVolumesModificationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModifications
func (*Client) DescribeVolumesRequest ¶ added in v0.9.0
func (c *Client) DescribeVolumesRequest(input *DescribeVolumesInput) DescribeVolumesRequest
DescribeVolumesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified EBS volumes or all of your EBS volumes.
If you are describing a long list of volumes, you can paginate the output to make the list more manageable. The MaxResults parameter sets the maximum number of results returned in a single page. If the list of results exceeds your MaxResults value, then that number of results is returned along with a NextToken value that can be passed to a subsequent DescribeVolumes request to retrieve the remaining results.
For more information about EBS volumes, see Amazon EBS Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumes.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeVolumesRequest. req := client.DescribeVolumesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumes
func (*Client) DescribeVpcAttributeRequest ¶ added in v0.9.0
func (c *Client) DescribeVpcAttributeRequest(input *DescribeVpcAttributeInput) DescribeVpcAttributeRequest
DescribeVpcAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the specified attribute of the specified VPC. You can specify only one attribute at a time.
// Example sending a request using DescribeVpcAttributeRequest. req := client.DescribeVpcAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcAttribute
func (*Client) DescribeVpcClassicLinkDnsSupportRequest ¶ added in v0.9.0
func (c *Client) DescribeVpcClassicLinkDnsSupportRequest(input *DescribeVpcClassicLinkDnsSupportInput) DescribeVpcClassicLinkDnsSupportRequest
DescribeVpcClassicLinkDnsSupportRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance. For more information, see ClassicLink (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DescribeVpcClassicLinkDnsSupportRequest. req := client.DescribeVpcClassicLinkDnsSupportRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkDnsSupport
func (*Client) DescribeVpcClassicLinkRequest ¶ added in v0.9.0
func (c *Client) DescribeVpcClassicLinkRequest(input *DescribeVpcClassicLinkInput) DescribeVpcClassicLinkRequest
DescribeVpcClassicLinkRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the ClassicLink status of one or more VPCs.
// Example sending a request using DescribeVpcClassicLinkRequest. req := client.DescribeVpcClassicLinkRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLink
func (*Client) DescribeVpcEndpointConnectionNotificationsRequest ¶ added in v0.9.0
func (c *Client) DescribeVpcEndpointConnectionNotificationsRequest(input *DescribeVpcEndpointConnectionNotificationsInput) DescribeVpcEndpointConnectionNotificationsRequest
DescribeVpcEndpointConnectionNotificationsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the connection notifications for VPC endpoints and VPC endpoint services.
// Example sending a request using DescribeVpcEndpointConnectionNotificationsRequest. req := client.DescribeVpcEndpointConnectionNotificationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnectionNotifications
func (*Client) DescribeVpcEndpointConnectionsRequest ¶ added in v0.9.0
func (c *Client) DescribeVpcEndpointConnectionsRequest(input *DescribeVpcEndpointConnectionsInput) DescribeVpcEndpointConnectionsRequest
DescribeVpcEndpointConnectionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the VPC endpoint connections to your VPC endpoint services, including any endpoints that are pending your acceptance.
// Example sending a request using DescribeVpcEndpointConnectionsRequest. req := client.DescribeVpcEndpointConnectionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnections
func (*Client) DescribeVpcEndpointServiceConfigurationsRequest ¶ added in v0.9.0
func (c *Client) DescribeVpcEndpointServiceConfigurationsRequest(input *DescribeVpcEndpointServiceConfigurationsInput) DescribeVpcEndpointServiceConfigurationsRequest
DescribeVpcEndpointServiceConfigurationsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the VPC endpoint service configurations in your account (your services).
// Example sending a request using DescribeVpcEndpointServiceConfigurationsRequest. req := client.DescribeVpcEndpointServiceConfigurationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServiceConfigurations
func (*Client) DescribeVpcEndpointServicePermissionsRequest ¶ added in v0.9.0
func (c *Client) DescribeVpcEndpointServicePermissionsRequest(input *DescribeVpcEndpointServicePermissionsInput) DescribeVpcEndpointServicePermissionsRequest
DescribeVpcEndpointServicePermissionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the principals (service consumers) that are permitted to discover your VPC endpoint service.
// Example sending a request using DescribeVpcEndpointServicePermissionsRequest. req := client.DescribeVpcEndpointServicePermissionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicePermissions
func (*Client) DescribeVpcEndpointServicesRequest ¶ added in v0.9.0
func (c *Client) DescribeVpcEndpointServicesRequest(input *DescribeVpcEndpointServicesInput) DescribeVpcEndpointServicesRequest
DescribeVpcEndpointServicesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes available services to which you can create a VPC endpoint.
// Example sending a request using DescribeVpcEndpointServicesRequest. req := client.DescribeVpcEndpointServicesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServices
func (*Client) DescribeVpcEndpointsRequest ¶ added in v0.9.0
func (c *Client) DescribeVpcEndpointsRequest(input *DescribeVpcEndpointsInput) DescribeVpcEndpointsRequest
DescribeVpcEndpointsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your VPC endpoints.
// Example sending a request using DescribeVpcEndpointsRequest. req := client.DescribeVpcEndpointsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpoints
func (*Client) DescribeVpcPeeringConnectionsRequest ¶ added in v0.9.0
func (c *Client) DescribeVpcPeeringConnectionsRequest(input *DescribeVpcPeeringConnectionsInput) DescribeVpcPeeringConnectionsRequest
DescribeVpcPeeringConnectionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your VPC peering connections.
// Example sending a request using DescribeVpcPeeringConnectionsRequest. req := client.DescribeVpcPeeringConnectionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcPeeringConnections
func (*Client) DescribeVpcsRequest ¶ added in v0.9.0
func (c *Client) DescribeVpcsRequest(input *DescribeVpcsInput) DescribeVpcsRequest
DescribeVpcsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your VPCs.
// Example sending a request using DescribeVpcsRequest. req := client.DescribeVpcsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcs
func (*Client) DescribeVpnConnectionsRequest ¶ added in v0.9.0
func (c *Client) DescribeVpnConnectionsRequest(input *DescribeVpnConnectionsInput) DescribeVpnConnectionsRequest
DescribeVpnConnectionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your VPN connections.
For more information, see AWS Site-to-Site VPN (https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the AWS Site-to-Site VPN User Guide.
// Example sending a request using DescribeVpnConnectionsRequest. req := client.DescribeVpnConnectionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnConnections
func (*Client) DescribeVpnGatewaysRequest ¶ added in v0.9.0
func (c *Client) DescribeVpnGatewaysRequest(input *DescribeVpnGatewaysInput) DescribeVpnGatewaysRequest
DescribeVpnGatewaysRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes one or more of your virtual private gateways.
For more information, see AWS Site-to-Site VPN (https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the AWS Site-to-Site VPN User Guide.
// Example sending a request using DescribeVpnGatewaysRequest. req := client.DescribeVpnGatewaysRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnGateways
func (*Client) DetachClassicLinkVpcRequest ¶ added in v0.9.0
func (c *Client) DetachClassicLinkVpcRequest(input *DetachClassicLinkVpcInput) DetachClassicLinkVpcRequest
DetachClassicLinkVpcRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Unlinks (detaches) a linked EC2-Classic instance from a VPC. After the instance has been unlinked, the VPC security groups are no longer associated with it. An instance is automatically unlinked from a VPC when it's stopped.
// Example sending a request using DetachClassicLinkVpcRequest. req := client.DetachClassicLinkVpcRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachClassicLinkVpc
func (*Client) DetachInternetGatewayRequest ¶ added in v0.9.0
func (c *Client) DetachInternetGatewayRequest(input *DetachInternetGatewayInput) DetachInternetGatewayRequest
DetachInternetGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Detaches an internet gateway from a VPC, disabling connectivity between the internet and the VPC. The VPC must not contain any running instances with Elastic IP addresses or public IPv4 addresses.
// Example sending a request using DetachInternetGatewayRequest. req := client.DetachInternetGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachInternetGateway
func (*Client) DetachNetworkInterfaceRequest ¶ added in v0.9.0
func (c *Client) DetachNetworkInterfaceRequest(input *DetachNetworkInterfaceInput) DetachNetworkInterfaceRequest
DetachNetworkInterfaceRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Detaches a network interface from an instance.
// Example sending a request using DetachNetworkInterfaceRequest. req := client.DetachNetworkInterfaceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachNetworkInterface
func (*Client) DetachVolumeRequest ¶ added in v0.9.0
func (c *Client) DetachVolumeRequest(input *DetachVolumeInput) DetachVolumeRequest
DetachVolumeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Detaches an EBS volume from an instance. Make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to do so can result in the volume becoming stuck in the busy state while detaching. If this happens, detachment can be delayed indefinitely until you unmount the volume, force detachment, reboot the instance, or all three. If an EBS volume is the root device of an instance, it can't be detached while the instance is running. To detach the root volume, stop the instance first.
When a volume with an AWS Marketplace product code is detached from an instance, the product code is no longer associated with the instance.
For more information, see Detaching an Amazon EBS Volume (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-detaching-volume.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DetachVolumeRequest. req := client.DetachVolumeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVolume
func (*Client) DetachVpnGatewayRequest ¶ added in v0.9.0
func (c *Client) DetachVpnGatewayRequest(input *DetachVpnGatewayInput) DetachVpnGatewayRequest
DetachVpnGatewayRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Detaches a virtual private gateway from a VPC. You do this if you're planning to turn off the VPC and not use it anymore. You can confirm a virtual private gateway has been completely detached from a VPC by describing the virtual private gateway (any attachments to the virtual private gateway are also described).
You must wait for the attachment's state to switch to detached before you can delete the VPC or attach a different VPC to the virtual private gateway.
// Example sending a request using DetachVpnGatewayRequest. req := client.DetachVpnGatewayRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVpnGateway
func (*Client) DisableEbsEncryptionByDefaultRequest ¶ added in v0.9.0
func (c *Client) DisableEbsEncryptionByDefaultRequest(input *DisableEbsEncryptionByDefaultInput) DisableEbsEncryptionByDefaultRequest
DisableEbsEncryptionByDefaultRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Disables EBS encryption by default for your account in the current Region.
After you disable encryption by default, you can still create encrypted volumes by enabling encryption when you create each volume.
Disabling encryption by default does not change the encryption status of your existing volumes.
For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DisableEbsEncryptionByDefaultRequest. req := client.DisableEbsEncryptionByDefaultRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableEbsEncryptionByDefault
func (*Client) DisableTransitGatewayRouteTablePropagationRequest ¶ added in v0.9.0
func (c *Client) DisableTransitGatewayRouteTablePropagationRequest(input *DisableTransitGatewayRouteTablePropagationInput) DisableTransitGatewayRouteTablePropagationRequest
DisableTransitGatewayRouteTablePropagationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Disables the specified resource attachment from propagating routes to the specified propagation route table.
// Example sending a request using DisableTransitGatewayRouteTablePropagationRequest. req := client.DisableTransitGatewayRouteTablePropagationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableTransitGatewayRouteTablePropagation
func (*Client) DisableVgwRoutePropagationRequest ¶ added in v0.9.0
func (c *Client) DisableVgwRoutePropagationRequest(input *DisableVgwRoutePropagationInput) DisableVgwRoutePropagationRequest
DisableVgwRoutePropagationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Disables a virtual private gateway (VGW) from propagating routes to a specified route table of a VPC.
// Example sending a request using DisableVgwRoutePropagationRequest. req := client.DisableVgwRoutePropagationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVgwRoutePropagation
func (*Client) DisableVpcClassicLinkDnsSupportRequest ¶ added in v0.9.0
func (c *Client) DisableVpcClassicLinkDnsSupportRequest(input *DisableVpcClassicLinkDnsSupportInput) DisableVpcClassicLinkDnsSupportRequest
DisableVpcClassicLinkDnsSupportRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames resolve to public IP addresses when addressed between a linked EC2-Classic instance and instances in the VPC to which it's linked. For more information, see ClassicLink (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using DisableVpcClassicLinkDnsSupportRequest. req := client.DisableVpcClassicLinkDnsSupportRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkDnsSupport
func (*Client) DisableVpcClassicLinkRequest ¶ added in v0.9.0
func (c *Client) DisableVpcClassicLinkRequest(input *DisableVpcClassicLinkInput) DisableVpcClassicLinkRequest
DisableVpcClassicLinkRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has EC2-Classic instances linked to it.
// Example sending a request using DisableVpcClassicLinkRequest. req := client.DisableVpcClassicLinkRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLink
func (*Client) DisassociateAddressRequest ¶ added in v0.9.0
func (c *Client) DisassociateAddressRequest(input *DisassociateAddressInput) DisassociateAddressRequest
DisassociateAddressRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Disassociates an Elastic IP address from the instance or network interface it's associated with.
An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html) in the Amazon Elastic Compute Cloud User Guide.
This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error.
// Example sending a request using DisassociateAddressRequest. req := client.DisassociateAddressRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateAddress
func (*Client) DisassociateClientVpnTargetNetworkRequest ¶ added in v0.9.0
func (c *Client) DisassociateClientVpnTargetNetworkRequest(input *DisassociateClientVpnTargetNetworkInput) DisassociateClientVpnTargetNetworkRequest
DisassociateClientVpnTargetNetworkRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Disassociates a target network from the specified Client VPN endpoint. When you disassociate the last target network from a Client VPN, the following happens:
The route that was automatically added for the VPC is deleted
All active client connections are terminated
New client connections are disallowed
The Client VPN endpoint's status changes to pending-associate
// Example sending a request using DisassociateClientVpnTargetNetworkRequest. req := client.DisassociateClientVpnTargetNetworkRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateClientVpnTargetNetwork
func (*Client) DisassociateIamInstanceProfileRequest ¶ added in v0.9.0
func (c *Client) DisassociateIamInstanceProfileRequest(input *DisassociateIamInstanceProfileInput) DisassociateIamInstanceProfileRequest
DisassociateIamInstanceProfileRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Disassociates an IAM instance profile from a running or stopped instance.
Use DescribeIamInstanceProfileAssociations to get the association ID.
// Example sending a request using DisassociateIamInstanceProfileRequest. req := client.DisassociateIamInstanceProfileRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateIamInstanceProfile
func (*Client) DisassociateRouteTableRequest ¶ added in v0.9.0
func (c *Client) DisassociateRouteTableRequest(input *DisassociateRouteTableInput) DisassociateRouteTableRequest
DisassociateRouteTableRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Disassociates a subnet from a route table.
After you perform this action, the subnet no longer uses the routes in the route table. Instead, it uses the routes in the VPC's main route table. For more information about route tables, see Route Tables (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using DisassociateRouteTableRequest. req := client.DisassociateRouteTableRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateRouteTable
func (*Client) DisassociateSubnetCidrBlockRequest ¶ added in v0.9.0
func (c *Client) DisassociateSubnetCidrBlockRequest(input *DisassociateSubnetCidrBlockInput) DisassociateSubnetCidrBlockRequest
DisassociateSubnetCidrBlockRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Disassociates a CIDR block from a subnet. Currently, you can disassociate an IPv6 CIDR block only. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it.
// Example sending a request using DisassociateSubnetCidrBlockRequest. req := client.DisassociateSubnetCidrBlockRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSubnetCidrBlock
func (*Client) DisassociateTransitGatewayRouteTableRequest ¶ added in v0.9.0
func (c *Client) DisassociateTransitGatewayRouteTableRequest(input *DisassociateTransitGatewayRouteTableInput) DisassociateTransitGatewayRouteTableRequest
DisassociateTransitGatewayRouteTableRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Disassociates a resource attachment from a transit gateway route table.
// Example sending a request using DisassociateTransitGatewayRouteTableRequest. req := client.DisassociateTransitGatewayRouteTableRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateTransitGatewayRouteTable
func (*Client) DisassociateVpcCidrBlockRequest ¶ added in v0.9.0
func (c *Client) DisassociateVpcCidrBlockRequest(input *DisassociateVpcCidrBlockInput) DisassociateVpcCidrBlockRequest
DisassociateVpcCidrBlockRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Disassociates a CIDR block from a VPC. To disassociate the CIDR block, you must specify its association ID. You can get the association ID by using DescribeVpcs. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it.
You cannot disassociate the CIDR block with which you originally created the VPC (the primary CIDR block).
// Example sending a request using DisassociateVpcCidrBlockRequest. req := client.DisassociateVpcCidrBlockRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateVpcCidrBlock
func (*Client) EnableEbsEncryptionByDefaultRequest ¶ added in v0.9.0
func (c *Client) EnableEbsEncryptionByDefaultRequest(input *EnableEbsEncryptionByDefaultInput) EnableEbsEncryptionByDefaultRequest
EnableEbsEncryptionByDefaultRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Enables EBS encryption by default for your account in the current Region.
After you enable encryption by default, the EBS volumes that you create are are always encrypted, either using the default CMK or the CMK that you specified when you created each volume. For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) in the Amazon Elastic Compute Cloud User Guide.
You can specify the default CMK for encryption by default using ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.
Enabling encryption by default has no effect on the encryption status of your existing volumes.
After you enable encryption by default, you can no longer launch instances using instance types that do not support encryption. For more information, see Supported Instance Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances).
// Example sending a request using EnableEbsEncryptionByDefaultRequest. req := client.EnableEbsEncryptionByDefaultRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableEbsEncryptionByDefault
func (*Client) EnableTransitGatewayRouteTablePropagationRequest ¶ added in v0.9.0
func (c *Client) EnableTransitGatewayRouteTablePropagationRequest(input *EnableTransitGatewayRouteTablePropagationInput) EnableTransitGatewayRouteTablePropagationRequest
EnableTransitGatewayRouteTablePropagationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Enables the specified attachment to propagate routes to the specified propagation route table.
// Example sending a request using EnableTransitGatewayRouteTablePropagationRequest. req := client.EnableTransitGatewayRouteTablePropagationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableTransitGatewayRouteTablePropagation
func (*Client) EnableVgwRoutePropagationRequest ¶ added in v0.9.0
func (c *Client) EnableVgwRoutePropagationRequest(input *EnableVgwRoutePropagationInput) EnableVgwRoutePropagationRequest
EnableVgwRoutePropagationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC.
// Example sending a request using EnableVgwRoutePropagationRequest. req := client.EnableVgwRoutePropagationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVgwRoutePropagation
func (*Client) EnableVolumeIORequest ¶ added in v0.9.0
func (c *Client) EnableVolumeIORequest(input *EnableVolumeIOInput) EnableVolumeIORequest
EnableVolumeIORequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Enables I/O operations for a volume that had I/O operations disabled because the data on the volume was potentially inconsistent.
// Example sending a request using EnableVolumeIORequest. req := client.EnableVolumeIORequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVolumeIO
func (*Client) EnableVpcClassicLinkDnsSupportRequest ¶ added in v0.9.0
func (c *Client) EnableVpcClassicLinkDnsSupportRequest(input *EnableVpcClassicLinkDnsSupportInput) EnableVpcClassicLinkDnsSupportRequest
EnableVpcClassicLinkDnsSupportRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance. For more information, see ClassicLink (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using EnableVpcClassicLinkDnsSupportRequest. req := client.EnableVpcClassicLinkDnsSupportRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkDnsSupport
func (*Client) EnableVpcClassicLinkRequest ¶ added in v0.9.0
func (c *Client) EnableVpcClassicLinkRequest(input *EnableVpcClassicLinkInput) EnableVpcClassicLinkRequest
EnableVpcClassicLinkRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your ClassicLink-enabled VPC to allow communication over private IP addresses. You cannot enable your VPC for ClassicLink if any of your VPC route tables have existing routes for address ranges within the 10.0.0.0/8 IP address range, excluding local routes for VPCs in the 10.0.0.0/16 and 10.1.0.0/16 IP address ranges. For more information, see ClassicLink (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using EnableVpcClassicLinkRequest. req := client.EnableVpcClassicLinkRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLink
func (*Client) ExportClientVpnClientCertificateRevocationListRequest ¶ added in v0.9.0
func (c *Client) ExportClientVpnClientCertificateRevocationListRequest(input *ExportClientVpnClientCertificateRevocationListInput) ExportClientVpnClientCertificateRevocationListRequest
ExportClientVpnClientCertificateRevocationListRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Downloads the client certificate revocation list for the specified Client VPN endpoint.
// Example sending a request using ExportClientVpnClientCertificateRevocationListRequest. req := client.ExportClientVpnClientCertificateRevocationListRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportClientVpnClientCertificateRevocationList
func (*Client) ExportClientVpnClientConfigurationRequest ¶ added in v0.9.0
func (c *Client) ExportClientVpnClientConfigurationRequest(input *ExportClientVpnClientConfigurationInput) ExportClientVpnClientConfigurationRequest
ExportClientVpnClientConfigurationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Downloads the contents of the Client VPN endpoint configuration file for the specified Client VPN endpoint. The Client VPN endpoint configuration file includes the Client VPN endpoint and certificate information clients need to establish a connection with the Client VPN endpoint.
// Example sending a request using ExportClientVpnClientConfigurationRequest. req := client.ExportClientVpnClientConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportClientVpnClientConfiguration
func (*Client) ExportImageRequest ¶ added in v0.12.0
func (c *Client) ExportImageRequest(input *ExportImageInput) ExportImageRequest
ExportImageRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Exports an Amazon Machine Image (AMI) to a VM file. For more information, see Exporting a VM Directory from an Amazon Machine Image (AMI) (https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport_image.html) in the VM Import/Export User Guide.
// Example sending a request using ExportImageRequest. req := client.ExportImageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportImage
func (*Client) ExportTransitGatewayRoutesRequest ¶ added in v0.9.0
func (c *Client) ExportTransitGatewayRoutesRequest(input *ExportTransitGatewayRoutesInput) ExportTransitGatewayRoutesRequest
ExportTransitGatewayRoutesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Exports routes from the specified transit gateway route table to the specified S3 bucket. By default, all routes are exported. Alternatively, you can filter by CIDR range.
// Example sending a request using ExportTransitGatewayRoutesRequest. req := client.ExportTransitGatewayRoutesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportTransitGatewayRoutes
func (*Client) GetCapacityReservationUsageRequest ¶ added in v0.11.0
func (c *Client) GetCapacityReservationUsageRequest(input *GetCapacityReservationUsageInput) GetCapacityReservationUsageRequest
GetCapacityReservationUsageRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Gets usage information about a Capacity Reservation. If the Capacity Reservation is shared, it shows usage information for the Capacity Reservation owner and each AWS account that is currently using the shared capacity. If the Capacity Reservation is not shared, it shows only the Capacity Reservation owner's usage.
// Example sending a request using GetCapacityReservationUsageRequest. req := client.GetCapacityReservationUsageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityReservationUsage
func (*Client) GetConsoleOutputRequest ¶ added in v0.9.0
func (c *Client) GetConsoleOutputRequest(input *GetConsoleOutputInput) GetConsoleOutputRequest
GetConsoleOutputRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Gets the console output for the specified instance. For Linux instances, the instance console output displays the exact console output that would normally be displayed on a physical monitor attached to a computer. For Windows instances, the instance console output includes the last three system event log errors.
By default, the console output returns buffered information that was posted shortly after an instance transition state (start, stop, reboot, or terminate). This information is available for at least one hour after the most recent post. Only the most recent 64 KB of console output is available.
You can optionally retrieve the latest serial console output at any time during the instance lifecycle. This option is supported on instance types that use the Nitro hypervisor.
For more information, see Instance Console Output (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-console.html#instance-console-console-output) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using GetConsoleOutputRequest. req := client.GetConsoleOutputRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleOutput
func (*Client) GetConsoleScreenshotRequest ¶ added in v0.9.0
func (c *Client) GetConsoleScreenshotRequest(input *GetConsoleScreenshotInput) GetConsoleScreenshotRequest
GetConsoleScreenshotRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Retrieve a JPG-format screenshot of a running instance to help with troubleshooting.
The returned content is Base64-encoded.
// Example sending a request using GetConsoleScreenshotRequest. req := client.GetConsoleScreenshotRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleScreenshot
func (*Client) GetEbsDefaultKmsKeyIdRequest ¶ added in v0.9.0
func (c *Client) GetEbsDefaultKmsKeyIdRequest(input *GetEbsDefaultKmsKeyIdInput) GetEbsDefaultKmsKeyIdRequest
GetEbsDefaultKmsKeyIdRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes the default customer master key (CMK) for EBS encryption by default for your account in this Region. You can change the default CMK for encryption by default using ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.
For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using GetEbsDefaultKmsKeyIdRequest. req := client.GetEbsDefaultKmsKeyIdRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetEbsDefaultKmsKeyId
func (*Client) GetEbsEncryptionByDefaultRequest ¶ added in v0.9.0
func (c *Client) GetEbsEncryptionByDefaultRequest(input *GetEbsEncryptionByDefaultInput) GetEbsEncryptionByDefaultRequest
GetEbsEncryptionByDefaultRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Describes whether EBS encryption by default is enabled for your account in the current Region.
For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using GetEbsEncryptionByDefaultRequest. req := client.GetEbsEncryptionByDefaultRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetEbsEncryptionByDefault
func (*Client) GetHostReservationPurchasePreviewRequest ¶ added in v0.9.0
func (c *Client) GetHostReservationPurchasePreviewRequest(input *GetHostReservationPurchasePreviewInput) GetHostReservationPurchasePreviewRequest
GetHostReservationPurchasePreviewRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Preview a reservation purchase with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation.
This is a preview of the PurchaseHostReservation action and does not result in the offering being purchased.
// Example sending a request using GetHostReservationPurchasePreviewRequest. req := client.GetHostReservationPurchasePreviewRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetHostReservationPurchasePreview
func (*Client) GetLaunchTemplateDataRequest ¶ added in v0.9.0
func (c *Client) GetLaunchTemplateDataRequest(input *GetLaunchTemplateDataInput) GetLaunchTemplateDataRequest
GetLaunchTemplateDataRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Retrieves the configuration data of the specified instance. You can use this data to create a launch template.
// Example sending a request using GetLaunchTemplateDataRequest. req := client.GetLaunchTemplateDataRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateData
func (*Client) GetPasswordDataRequest ¶ added in v0.9.0
func (c *Client) GetPasswordDataRequest(input *GetPasswordDataInput) GetPasswordDataRequest
GetPasswordDataRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Retrieves the encrypted administrator password for a running Windows instance.
The Windows password is generated at boot by the EC2Config service or EC2Launch scripts (Windows Server 2016 and later). This usually only happens the first time an instance is launched. For more information, see EC2Config (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/UsingConfig_WinAMI.html) and EC2Launch (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2launch.html) in the Amazon Elastic Compute Cloud User Guide.
For the EC2Config service, the password is not generated for rebundled AMIs unless Ec2SetPassword is enabled before bundling.
The password is encrypted using the key pair that you specified when you launched the instance. You must provide the corresponding key pair file.
When you launch an instance, password generation and encryption may take a few minutes. If you try to retrieve the password before it's available, the output returns an empty string. We recommend that you wait up to 15 minutes after launching an instance before trying to retrieve the generated password.
// Example sending a request using GetPasswordDataRequest. req := client.GetPasswordDataRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetPasswordData
func (*Client) GetReservedInstancesExchangeQuoteRequest ¶ added in v0.9.0
func (c *Client) GetReservedInstancesExchangeQuoteRequest(input *GetReservedInstancesExchangeQuoteInput) GetReservedInstancesExchangeQuoteRequest
GetReservedInstancesExchangeQuoteRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Returns a quote and exchange information for exchanging one or more specified Convertible Reserved Instances for a new Convertible Reserved Instance. If the exchange cannot be performed, the reason is returned in the response. Use AcceptReservedInstancesExchangeQuote to perform the exchange.
// Example sending a request using GetReservedInstancesExchangeQuoteRequest. req := client.GetReservedInstancesExchangeQuoteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetReservedInstancesExchangeQuote
func (*Client) GetTransitGatewayAttachmentPropagationsRequest ¶ added in v0.9.0
func (c *Client) GetTransitGatewayAttachmentPropagationsRequest(input *GetTransitGatewayAttachmentPropagationsInput) GetTransitGatewayAttachmentPropagationsRequest
GetTransitGatewayAttachmentPropagationsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Lists the route tables to which the specified resource attachment propagates routes.
// Example sending a request using GetTransitGatewayAttachmentPropagationsRequest. req := client.GetTransitGatewayAttachmentPropagationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetTransitGatewayAttachmentPropagations
func (*Client) GetTransitGatewayRouteTableAssociationsRequest ¶ added in v0.9.0
func (c *Client) GetTransitGatewayRouteTableAssociationsRequest(input *GetTransitGatewayRouteTableAssociationsInput) GetTransitGatewayRouteTableAssociationsRequest
GetTransitGatewayRouteTableAssociationsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Gets information about the associations for the specified transit gateway route table.
// Example sending a request using GetTransitGatewayRouteTableAssociationsRequest. req := client.GetTransitGatewayRouteTableAssociationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetTransitGatewayRouteTableAssociations
func (*Client) GetTransitGatewayRouteTablePropagationsRequest ¶ added in v0.9.0
func (c *Client) GetTransitGatewayRouteTablePropagationsRequest(input *GetTransitGatewayRouteTablePropagationsInput) GetTransitGatewayRouteTablePropagationsRequest
GetTransitGatewayRouteTablePropagationsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Gets information about the route table propagations for the specified transit gateway route table.
// Example sending a request using GetTransitGatewayRouteTablePropagationsRequest. req := client.GetTransitGatewayRouteTablePropagationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetTransitGatewayRouteTablePropagations
func (*Client) ImportClientVpnClientCertificateRevocationListRequest ¶ added in v0.9.0
func (c *Client) ImportClientVpnClientCertificateRevocationListRequest(input *ImportClientVpnClientCertificateRevocationListInput) ImportClientVpnClientCertificateRevocationListRequest
ImportClientVpnClientCertificateRevocationListRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Uploads a client certificate revocation list to the specified Client VPN endpoint. Uploading a client certificate revocation list overwrites the existing client certificate revocation list.
Uploading a client certificate revocation list resets existing client connections.
// Example sending a request using ImportClientVpnClientCertificateRevocationListRequest. req := client.ImportClientVpnClientCertificateRevocationListRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportClientVpnClientCertificateRevocationList
func (*Client) ImportImageRequest ¶ added in v0.9.0
func (c *Client) ImportImageRequest(input *ImportImageInput) ImportImageRequest
ImportImageRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI). For more information, see Importing a VM as an Image Using VM Import/Export (https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html) in the VM Import/Export User Guide.
// Example sending a request using ImportImageRequest. req := client.ImportImageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImage
func (*Client) ImportInstanceRequest ¶ added in v0.9.0
func (c *Client) ImportInstanceRequest(input *ImportInstanceInput) ImportInstanceRequest
ImportInstanceRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates an import instance task using metadata from the specified disk image. ImportInstance only supports single-volume VMs. To import multi-volume VMs, use ImportImage. For more information, see Importing a Virtual Machine Using the Amazon EC2 CLI (https://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ec2-cli-vmimport-export.html).
For information about the import manifest referenced by this API action, see VM Import Manifest (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html).
// Example sending a request using ImportInstanceRequest. req := client.ImportInstanceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstance
func (*Client) ImportKeyPairRequest ¶ added in v0.9.0
func (c *Client) ImportKeyPairRequest(input *ImportKeyPairInput) ImportKeyPairRequest
ImportKeyPairRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Imports the public key from an RSA key pair that you created with a third-party tool. Compare this with CreateKeyPair, in which AWS creates the key pair and gives the keys to you (AWS keeps a copy of the public key). With ImportKeyPair, you create the key pair and give AWS just the public key. The private key is never transferred between you and AWS.
For more information about key pairs, see Key Pairs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using ImportKeyPairRequest. req := client.ImportKeyPairRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportKeyPair
func (*Client) ImportSnapshotRequest ¶ added in v0.9.0
func (c *Client) ImportSnapshotRequest(input *ImportSnapshotInput) ImportSnapshotRequest
ImportSnapshotRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Imports a disk into an EBS snapshot.
// Example sending a request using ImportSnapshotRequest. req := client.ImportSnapshotRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshot
func (*Client) ImportVolumeRequest ¶ added in v0.9.0
func (c *Client) ImportVolumeRequest(input *ImportVolumeInput) ImportVolumeRequest
ImportVolumeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates an import volume task using metadata from the specified disk image.For more information, see Importing Disks to Amazon EBS (https://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/importing-your-volumes-into-amazon-ebs.html).
For information about the import manifest referenced by this API action, see VM Import Manifest (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html).
// Example sending a request using ImportVolumeRequest. req := client.ImportVolumeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolume
func (*Client) ModifyCapacityReservationRequest ¶ added in v0.9.0
func (c *Client) ModifyCapacityReservationRequest(input *ModifyCapacityReservationInput) ModifyCapacityReservationRequest
ModifyCapacityReservationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies a Capacity Reservation's capacity and the conditions under which it is to be released. You cannot change a Capacity Reservation's instance type, EBS optimization, instance store settings, platform, Availability Zone, or instance eligibility. If you need to modify any of these attributes, we recommend that you cancel the Capacity Reservation, and then create a new one with the required attributes.
// Example sending a request using ModifyCapacityReservationRequest. req := client.ModifyCapacityReservationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyCapacityReservation
func (*Client) ModifyClientVpnEndpointRequest ¶ added in v0.9.0
func (c *Client) ModifyClientVpnEndpointRequest(input *ModifyClientVpnEndpointInput) ModifyClientVpnEndpointRequest
ModifyClientVpnEndpointRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the specified Client VPN endpoint. You can only modify an endpoint's server certificate information, client connection logging information, DNS server, and description. Modifying the DNS server resets existing client connections.
// Example sending a request using ModifyClientVpnEndpointRequest. req := client.ModifyClientVpnEndpointRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyClientVpnEndpoint
func (*Client) ModifyEbsDefaultKmsKeyIdRequest ¶ added in v0.9.0
func (c *Client) ModifyEbsDefaultKmsKeyIdRequest(input *ModifyEbsDefaultKmsKeyIdInput) ModifyEbsDefaultKmsKeyIdRequest
ModifyEbsDefaultKmsKeyIdRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Changes the default customer master key (CMK) for EBS encryption by default for your account in this Region.
AWS creates a unique AWS managed CMK in each Region for use with encryption by default. If you change the default CMK to a customer managed CMK, it is used instead of the AWS managed CMK. To reset the default CMK to the AWS managed CMK for EBS, use ResetEbsDefaultKmsKeyId.
If you delete or disable the customer managed CMK that you specified for use with encryption by default, your instances will fail to launch.
For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using ModifyEbsDefaultKmsKeyIdRequest. req := client.ModifyEbsDefaultKmsKeyIdRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyEbsDefaultKmsKeyId
func (*Client) ModifyFleetRequest ¶ added in v0.9.0
func (c *Client) ModifyFleetRequest(input *ModifyFleetInput) ModifyFleetRequest
ModifyFleetRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the specified EC2 Fleet.
You can only modify an EC2 Fleet request of type maintain.
While the EC2 Fleet is being modified, it is in the modifying state.
To scale up your EC2 Fleet, increase its target capacity. The EC2 Fleet launches the additional Spot Instances according to the allocation strategy for the EC2 Fleet request. If the allocation strategy is lowestPrice, the EC2 Fleet launches instances using the Spot Instance pool with the lowest price. If the allocation strategy is diversified, the EC2 Fleet distributes the instances across the Spot Instance pools. If the allocation strategy is capacityOptimized, EC2 Fleet launches instances from Spot Instance pools with optimal capacity for the number of instances that are launching.
To scale down your EC2 Fleet, decrease its target capacity. First, the EC2 Fleet cancels any open requests that exceed the new target capacity. You can request that the EC2 Fleet terminate Spot Instances until the size of the fleet no longer exceeds the new target capacity. If the allocation strategy is lowestPrice, the EC2 Fleet terminates the instances with the highest price per unit. If the allocation strategy is capacityOptimized, the EC2 Fleet terminates the instances in the Spot Instance pools that have the least available Spot Instance capacity. If the allocation strategy is diversified, the EC2 Fleet terminates instances across the Spot Instance pools. Alternatively, you can request that the EC2 Fleet keep the fleet at its current size, but not replace any Spot Instances that are interrupted or that you terminate manually.
If you are finished with your EC2 Fleet for now, but will use it again later, you can set the target capacity to 0.
// Example sending a request using ModifyFleetRequest. req := client.ModifyFleetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFleet
func (*Client) ModifyFpgaImageAttributeRequest ¶ added in v0.9.0
func (c *Client) ModifyFpgaImageAttributeRequest(input *ModifyFpgaImageAttributeInput) ModifyFpgaImageAttributeRequest
ModifyFpgaImageAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the specified attribute of the specified Amazon FPGA Image (AFI).
// Example sending a request using ModifyFpgaImageAttributeRequest. req := client.ModifyFpgaImageAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFpgaImageAttribute
func (*Client) ModifyHostsRequest ¶ added in v0.9.0
func (c *Client) ModifyHostsRequest(input *ModifyHostsInput) ModifyHostsRequest
ModifyHostsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modify the auto-placement setting of a Dedicated Host. When auto-placement is enabled, any instances that you launch with a tenancy of host but without a specific host ID are placed onto any available Dedicated Host in your account that has auto-placement enabled. When auto-placement is disabled, you need to provide a host ID to have the instance launch onto a specific host. If no host ID is provided, the instance is launched onto a suitable host with auto-placement enabled.
// Example sending a request using ModifyHostsRequest. req := client.ModifyHostsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyHosts
func (*Client) ModifyIdFormatRequest ¶ added in v0.9.0
func (c *Client) ModifyIdFormatRequest(input *ModifyIdFormatInput) ModifyIdFormatRequest
ModifyIdFormatRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the ID format for the specified resource on a per-Region basis. You can specify that resources should receive longer IDs (17-character IDs) when they are created.
This request can only be used to modify longer ID settings for resource types that are within the opt-in period. Resources currently in their opt-in period include: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | route-table | route-table-association | security-group | subnet | subnet-cidr-block-association | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.
This setting applies to the IAM user who makes the request; it does not apply to the entire AWS account. By default, an IAM user defaults to the same settings as the root user. If you're using this action as the root user, then these settings apply to the entire account, unless an IAM user explicitly overrides these settings for themselves. For more information, see Resource IDs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resource-ids.html) in the Amazon Elastic Compute Cloud User Guide.
Resources created with longer IDs are visible to all IAM roles and users, regardless of these settings and provided that they have permission to use the relevant Describe command for the resource type.
// Example sending a request using ModifyIdFormatRequest. req := client.ModifyIdFormatRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdFormat
func (*Client) ModifyIdentityIdFormatRequest ¶ added in v0.9.0
func (c *Client) ModifyIdentityIdFormatRequest(input *ModifyIdentityIdFormatInput) ModifyIdentityIdFormatRequest
ModifyIdentityIdFormatRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the ID format of a resource for a specified IAM user, IAM role, or the root user for an account; or all IAM users, IAM roles, and the root user for an account. You can specify that resources should receive longer IDs (17-character IDs) when they are created.
This request can only be used to modify longer ID settings for resource types that are within the opt-in period. Resources currently in their opt-in period include: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | route-table | route-table-association | security-group | subnet | subnet-cidr-block-association | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.
For more information, see Resource IDs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resource-ids.html) in the Amazon Elastic Compute Cloud User Guide.
This setting applies to the principal specified in the request; it does not apply to the principal that makes the request.
Resources created with longer IDs are visible to all IAM roles and users, regardless of these settings and provided that they have permission to use the relevant Describe command for the resource type.
// Example sending a request using ModifyIdentityIdFormatRequest. req := client.ModifyIdentityIdFormatRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdentityIdFormat
func (*Client) ModifyImageAttributeRequest ¶ added in v0.9.0
func (c *Client) ModifyImageAttributeRequest(input *ModifyImageAttributeInput) ModifyImageAttributeRequest
ModifyImageAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the specified attribute of the specified AMI. You can specify only one attribute at a time. You can use the Attribute parameter to specify the attribute or one of the following parameters: Description, LaunchPermission, or ProductCode.
AWS Marketplace product codes cannot be modified. Images with an AWS Marketplace product code cannot be made public.
To enable the SriovNetSupport enhanced networking attribute of an image, enable SriovNetSupport on an instance and create an AMI from the instance.
// Example sending a request using ModifyImageAttributeRequest. req := client.ModifyImageAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyImageAttribute
func (*Client) ModifyInstanceAttributeRequest ¶ added in v0.9.0
func (c *Client) ModifyInstanceAttributeRequest(input *ModifyInstanceAttributeInput) ModifyInstanceAttributeRequest
ModifyInstanceAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the specified attribute of the specified instance. You can specify only one attribute at a time.
Note: Using this action to change the security groups associated with an elastic network interface (ENI) attached to an instance in a VPC can result in an error if the instance has more than one ENI. To change the security groups associated with an ENI attached to an instance that has multiple ENIs, we recommend that you use the ModifyNetworkInterfaceAttribute action.
To modify some attributes, the instance must be stopped. For more information, see Modifying Attributes of a Stopped Instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_ChangingAttributesWhileInstanceStopped.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using ModifyInstanceAttributeRequest. req := client.ModifyInstanceAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceAttribute
func (*Client) ModifyInstanceCapacityReservationAttributesRequest ¶ added in v0.9.0
func (c *Client) ModifyInstanceCapacityReservationAttributesRequest(input *ModifyInstanceCapacityReservationAttributesInput) ModifyInstanceCapacityReservationAttributesRequest
ModifyInstanceCapacityReservationAttributesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the Capacity Reservation settings for a stopped instance. Use this action to configure an instance to target a specific Capacity Reservation, run in any open Capacity Reservation with matching attributes, or run On-Demand Instance capacity.
// Example sending a request using ModifyInstanceCapacityReservationAttributesRequest. req := client.ModifyInstanceCapacityReservationAttributesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCapacityReservationAttributes
func (*Client) ModifyInstanceCreditSpecificationRequest ¶ added in v0.9.0
func (c *Client) ModifyInstanceCreditSpecificationRequest(input *ModifyInstanceCreditSpecificationInput) ModifyInstanceCreditSpecificationRequest
ModifyInstanceCreditSpecificationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the credit option for CPU usage on a running or stopped T2 or T3 instance. The credit options are standard and unlimited.
For more information, see Burstable Performance Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using ModifyInstanceCreditSpecificationRequest. req := client.ModifyInstanceCreditSpecificationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCreditSpecification
func (*Client) ModifyInstanceEventStartTimeRequest ¶ added in v0.9.0
func (c *Client) ModifyInstanceEventStartTimeRequest(input *ModifyInstanceEventStartTimeInput) ModifyInstanceEventStartTimeRequest
ModifyInstanceEventStartTimeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the start time for a scheduled Amazon EC2 instance event.
// Example sending a request using ModifyInstanceEventStartTimeRequest. req := client.ModifyInstanceEventStartTimeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceEventStartTime
func (*Client) ModifyInstancePlacementRequest ¶ added in v0.9.0
func (c *Client) ModifyInstancePlacementRequest(input *ModifyInstancePlacementInput) ModifyInstancePlacementRequest
ModifyInstancePlacementRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the placement attributes for a specified instance. You can do the following:
Modify the affinity between an instance and a Dedicated Host (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html). When affinity is set to host and the instance is not associated with a specific Dedicated Host, the next time the instance is launched, it is automatically associated with the host on which it lands. If the instance is restarted or rebooted, this relationship persists.
Change the Dedicated Host with which an instance is associated.
Change the instance tenancy of an instance from host to dedicated, or from dedicated to host.
Move an instance to or from a placement group (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html).
At least one attribute for affinity, host ID, tenancy, or placement group name must be specified in the request. Affinity and tenancy can be modified in the same request.
To modify the host ID, tenancy, placement group, or partition for an instance, the instance must be in the stopped state.
// Example sending a request using ModifyInstancePlacementRequest. req := client.ModifyInstancePlacementRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstancePlacement
func (*Client) ModifyLaunchTemplateRequest ¶ added in v0.9.0
func (c *Client) ModifyLaunchTemplateRequest(input *ModifyLaunchTemplateInput) ModifyLaunchTemplateRequest
ModifyLaunchTemplateRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies a launch template. You can specify which version of the launch template to set as the default version. When launching an instance, the default version applies when a launch template version is not specified.
// Example sending a request using ModifyLaunchTemplateRequest. req := client.ModifyLaunchTemplateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyLaunchTemplate
func (*Client) ModifyNetworkInterfaceAttributeRequest ¶ added in v0.9.0
func (c *Client) ModifyNetworkInterfaceAttributeRequest(input *ModifyNetworkInterfaceAttributeInput) ModifyNetworkInterfaceAttributeRequest
ModifyNetworkInterfaceAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the specified network interface attribute. You can specify only one attribute at a time. You can use this action to attach and detach security groups from an existing EC2 instance.
// Example sending a request using ModifyNetworkInterfaceAttributeRequest. req := client.ModifyNetworkInterfaceAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttribute
func (*Client) ModifyReservedInstancesRequest ¶ added in v0.9.0
func (c *Client) ModifyReservedInstancesRequest(input *ModifyReservedInstancesInput) ModifyReservedInstancesRequest
ModifyReservedInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the Availability Zone, instance count, instance type, or network platform (EC2-Classic or EC2-VPC) of your Reserved Instances. The Reserved Instances to be modified must be identical, except for Availability Zone, network platform, and instance type.
For more information, see Modifying Reserved Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using ModifyReservedInstancesRequest. req := client.ModifyReservedInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyReservedInstances
func (*Client) ModifySnapshotAttributeRequest ¶ added in v0.9.0
func (c *Client) ModifySnapshotAttributeRequest(input *ModifySnapshotAttributeInput) ModifySnapshotAttributeRequest
ModifySnapshotAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Adds or removes permission settings for the specified snapshot. You may add or remove specified AWS account IDs from a snapshot's list of create volume permissions, but you cannot do both in a single operation. If you need to both add and remove account IDs for a snapshot, you must use multiple operations. You can make up to 500 modifications to a snapshot in a single operation.
Encrypted snapshots and snapshots with AWS Marketplace product codes cannot be made public. Snapshots encrypted with your default CMK cannot be shared with other accounts.
For more information about modifying snapshot permissions, see Sharing Snapshots (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modifying-snapshot-permissions.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using ModifySnapshotAttributeRequest. req := client.ModifySnapshotAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySnapshotAttribute
func (*Client) ModifySpotFleetRequestRequest ¶ added in v0.9.0
func (c *Client) ModifySpotFleetRequestRequest(input *ModifySpotFleetRequestInput) ModifySpotFleetRequestRequest
ModifySpotFleetRequestRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the specified Spot Fleet request.
You can only modify a Spot Fleet request of type maintain.
While the Spot Fleet request is being modified, it is in the modifying state.
To scale up your Spot Fleet, increase its target capacity. The Spot Fleet launches the additional Spot Instances according to the allocation strategy for the Spot Fleet request. If the allocation strategy is lowestPrice, the Spot Fleet launches instances using the Spot Instance pool with the lowest price. If the allocation strategy is diversified, the Spot Fleet distributes the instances across the Spot Instance pools. If the allocation strategy is capacityOptimized, Spot Fleet launches instances from Spot Instance pools with optimal capacity for the number of instances that are launching.
To scale down your Spot Fleet, decrease its target capacity. First, the Spot Fleet cancels any open requests that exceed the new target capacity. You can request that the Spot Fleet terminate Spot Instances until the size of the fleet no longer exceeds the new target capacity. If the allocation strategy is lowestPrice, the Spot Fleet terminates the instances with the highest price per unit. If the allocation strategy is capacityOptimized, the Spot Fleet terminates the instances in the Spot Instance pools that have the least available Spot Instance capacity. If the allocation strategy is diversified, the Spot Fleet terminates instances across the Spot Instance pools. Alternatively, you can request that the Spot Fleet keep the fleet at its current size, but not replace any Spot Instances that are interrupted or that you terminate manually.
If you are finished with your Spot Fleet for now, but will use it again later, you can set the target capacity to 0.
// Example sending a request using ModifySpotFleetRequestRequest. req := client.ModifySpotFleetRequestRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySpotFleetRequest
func (*Client) ModifySubnetAttributeRequest ¶ added in v0.9.0
func (c *Client) ModifySubnetAttributeRequest(input *ModifySubnetAttributeInput) ModifySubnetAttributeRequest
ModifySubnetAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies a subnet attribute. You can only modify one attribute at a time.
// Example sending a request using ModifySubnetAttributeRequest. req := client.ModifySubnetAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttribute
func (*Client) ModifyTrafficMirrorFilterNetworkServicesRequest ¶ added in v0.10.0
func (c *Client) ModifyTrafficMirrorFilterNetworkServicesRequest(input *ModifyTrafficMirrorFilterNetworkServicesInput) ModifyTrafficMirrorFilterNetworkServicesRequest
ModifyTrafficMirrorFilterNetworkServicesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Allows or restricts mirroring network services.
By default, Amazon DNS network services are not eligible for Traffic Mirror. Use AddNetworkServices to add network services to a Traffic Mirror filter. When a network service is added to the Traffic Mirror filter, all traffic related to that network service will be mirrored. When you no longer want to mirror network services, use RemoveNetworkServices to remove the network services from the Traffic Mirror filter.
FFor information about filter rule properties, see Network Services (https://docs.aws.amazon.com/vpc/latest/mirroring/traffic-mirroring-considerations.html#traffic-mirroring-network-services) in the Traffic Mirroring User Guide .
// Example sending a request using ModifyTrafficMirrorFilterNetworkServicesRequest. req := client.ModifyTrafficMirrorFilterNetworkServicesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTrafficMirrorFilterNetworkServices
func (*Client) ModifyTrafficMirrorFilterRuleRequest ¶ added in v0.10.0
func (c *Client) ModifyTrafficMirrorFilterRuleRequest(input *ModifyTrafficMirrorFilterRuleInput) ModifyTrafficMirrorFilterRuleRequest
ModifyTrafficMirrorFilterRuleRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the specified Traffic Mirror rule.
DestinationCidrBlock and SourceCidrBlock must both be an IPv4 range or an IPv6 range.
// Example sending a request using ModifyTrafficMirrorFilterRuleRequest. req := client.ModifyTrafficMirrorFilterRuleRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTrafficMirrorFilterRule
func (*Client) ModifyTrafficMirrorSessionRequest ¶ added in v0.10.0
func (c *Client) ModifyTrafficMirrorSessionRequest(input *ModifyTrafficMirrorSessionInput) ModifyTrafficMirrorSessionRequest
ModifyTrafficMirrorSessionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies a Traffic Mirror session.
// Example sending a request using ModifyTrafficMirrorSessionRequest. req := client.ModifyTrafficMirrorSessionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTrafficMirrorSession
func (*Client) ModifyTransitGatewayVpcAttachmentRequest ¶ added in v0.9.0
func (c *Client) ModifyTransitGatewayVpcAttachmentRequest(input *ModifyTransitGatewayVpcAttachmentInput) ModifyTransitGatewayVpcAttachmentRequest
ModifyTransitGatewayVpcAttachmentRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the specified VPC attachment.
// Example sending a request using ModifyTransitGatewayVpcAttachmentRequest. req := client.ModifyTransitGatewayVpcAttachmentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayVpcAttachment
func (*Client) ModifyVolumeAttributeRequest ¶ added in v0.9.0
func (c *Client) ModifyVolumeAttributeRequest(input *ModifyVolumeAttributeInput) ModifyVolumeAttributeRequest
ModifyVolumeAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies a volume attribute.
By default, all I/O operations for the volume are suspended when the data on the volume is determined to be potentially inconsistent, to prevent undetectable, latent data corruption. The I/O access to the volume can be resumed by first enabling I/O access and then checking the data consistency on your volume.
You can change the default behavior to resume I/O operations. We recommend that you change this only for boot volumes or for volumes that are stateless or disposable.
// Example sending a request using ModifyVolumeAttributeRequest. req := client.ModifyVolumeAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeAttribute
func (*Client) ModifyVolumeRequest ¶ added in v0.9.0
func (c *Client) ModifyVolumeRequest(input *ModifyVolumeInput) ModifyVolumeRequest
ModifyVolumeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
You can modify several parameters of an existing EBS volume, including volume size, volume type, and IOPS capacity. If your EBS volume is attached to a current-generation EC2 instance type, you may be able to apply these changes without stopping the instance or detaching the volume from it. For more information about modifying an EBS volume running Linux, see Modifying the Size, IOPS, or Type of an EBS Volume on Linux (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html). For more information about modifying an EBS volume running Windows, see Modifying the Size, IOPS, or Type of an EBS Volume on Windows (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-expand-volume.html).
When you complete a resize operation on your volume, you need to extend the volume's file-system size to take advantage of the new storage capacity. For information about extending a Linux file system, see Extending a Linux File System (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html#recognize-expanded-volume-linux). For information about extending a Windows file system, see Extending a Windows File System (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-expand-volume.html#recognize-expanded-volume-windows).
You can use CloudWatch Events to check the status of a modification to an EBS volume. For information about CloudWatch Events, see the Amazon CloudWatch Events User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/). You can also track the status of a modification using DescribeVolumesModifications. For information about tracking status changes using either method, see Monitoring Volume Modifications (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html#monitoring_mods).
With previous-generation instance types, resizing an EBS volume may require detaching and reattaching the volume or stopping and restarting the instance. For more information, see Modifying the Size, IOPS, or Type of an EBS Volume on Linux (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html) and Modifying the Size, IOPS, or Type of an EBS Volume on Windows (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-expand-volume.html).
If you reach the maximum volume modification rate per volume limit, you will need to wait at least six hours before applying further modifications to the affected EBS volume.
// Example sending a request using ModifyVolumeRequest. req := client.ModifyVolumeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolume
func (*Client) ModifyVpcAttributeRequest ¶ added in v0.9.0
func (c *Client) ModifyVpcAttributeRequest(input *ModifyVpcAttributeInput) ModifyVpcAttributeRequest
ModifyVpcAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the specified attribute of the specified VPC.
// Example sending a request using ModifyVpcAttributeRequest. req := client.ModifyVpcAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcAttribute
func (*Client) ModifyVpcEndpointConnectionNotificationRequest ¶ added in v0.9.0
func (c *Client) ModifyVpcEndpointConnectionNotificationRequest(input *ModifyVpcEndpointConnectionNotificationInput) ModifyVpcEndpointConnectionNotificationRequest
ModifyVpcEndpointConnectionNotificationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies a connection notification for VPC endpoint or VPC endpoint service. You can change the SNS topic for the notification, or the events for which to be notified.
// Example sending a request using ModifyVpcEndpointConnectionNotificationRequest. req := client.ModifyVpcEndpointConnectionNotificationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointConnectionNotification
func (*Client) ModifyVpcEndpointRequest ¶ added in v0.9.0
func (c *Client) ModifyVpcEndpointRequest(input *ModifyVpcEndpointInput) ModifyVpcEndpointRequest
ModifyVpcEndpointRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies attributes of a specified VPC endpoint. The attributes that you can modify depend on the type of VPC endpoint (interface or gateway). For more information, see VPC Endpoints (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using ModifyVpcEndpointRequest. req := client.ModifyVpcEndpointRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpoint
func (*Client) ModifyVpcEndpointServiceConfigurationRequest ¶ added in v0.9.0
func (c *Client) ModifyVpcEndpointServiceConfigurationRequest(input *ModifyVpcEndpointServiceConfigurationInput) ModifyVpcEndpointServiceConfigurationRequest
ModifyVpcEndpointServiceConfigurationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the attributes of your VPC endpoint service configuration. You can change the Network Load Balancers for your service, and you can specify whether acceptance is required for requests to connect to your endpoint service through an interface VPC endpoint.
// Example sending a request using ModifyVpcEndpointServiceConfigurationRequest. req := client.ModifyVpcEndpointServiceConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServiceConfiguration
func (*Client) ModifyVpcEndpointServicePermissionsRequest ¶ added in v0.9.0
func (c *Client) ModifyVpcEndpointServicePermissionsRequest(input *ModifyVpcEndpointServicePermissionsInput) ModifyVpcEndpointServicePermissionsRequest
ModifyVpcEndpointServicePermissionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the permissions for your VPC endpoint service (https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-service.html). You can add or remove permissions for service consumers (IAM users, IAM roles, and AWS accounts) to connect to your endpoint service.
If you grant permissions to all principals, the service is public. Any users who know the name of a public service can send a request to attach an endpoint. If the service does not require manual approval, attachments are automatically approved.
// Example sending a request using ModifyVpcEndpointServicePermissionsRequest. req := client.ModifyVpcEndpointServicePermissionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePermissions
func (*Client) ModifyVpcPeeringConnectionOptionsRequest ¶ added in v0.9.0
func (c *Client) ModifyVpcPeeringConnectionOptionsRequest(input *ModifyVpcPeeringConnectionOptionsInput) ModifyVpcPeeringConnectionOptionsRequest
ModifyVpcPeeringConnectionOptionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following:
Enable/disable communication over the peering connection between an EC2-Classic instance that's linked to your VPC (using ClassicLink) and instances in the peer VPC.
Enable/disable communication over the peering connection between instances in your VPC and an EC2-Classic instance that's linked to the peer VPC.
Enable/disable the ability to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.
If the peered VPCs are in the same AWS account, you can enable DNS resolution for queries from the local VPC. This ensures that queries from the local VPC resolve to private IP addresses in the peer VPC. This option is not available if the peered VPCs are in different AWS accounts or different Regions. For peered VPCs in different AWS accounts, each AWS account owner must initiate a separate request to modify the peering connection options. For inter-region peering connections, you must use the Region for the requester VPC to modify the requester VPC peering options and the Region for the accepter VPC to modify the accepter VPC peering options. To verify which VPCs are the accepter and the requester for a VPC peering connection, use the DescribeVpcPeeringConnections command.
// Example sending a request using ModifyVpcPeeringConnectionOptionsRequest. req := client.ModifyVpcPeeringConnectionOptionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcPeeringConnectionOptions
func (*Client) ModifyVpcTenancyRequest ¶ added in v0.9.0
func (c *Client) ModifyVpcTenancyRequest(input *ModifyVpcTenancyInput) ModifyVpcTenancyRequest
ModifyVpcTenancyRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the instance tenancy attribute of the specified VPC. You can change the instance tenancy attribute of a VPC to default only. You cannot change the instance tenancy attribute to dedicated.
After you modify the tenancy of the VPC, any new instances that you launch into the VPC have a tenancy of default, unless you specify otherwise during launch. The tenancy of any existing instances in the VPC is not affected.
For more information, see Dedicated Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using ModifyVpcTenancyRequest. req := client.ModifyVpcTenancyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcTenancy
func (*Client) ModifyVpnConnectionRequest ¶ added in v0.9.0
func (c *Client) ModifyVpnConnectionRequest(input *ModifyVpnConnectionInput) ModifyVpnConnectionRequest
ModifyVpnConnectionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the target gateway of an AWS Site-to-Site VPN connection. The following migration options are available:
An existing virtual private gateway to a new virtual private gateway
An existing virtual private gateway to a transit gateway
An existing transit gateway to a new transit gateway
An existing transit gateway to a virtual private gateway
Before you perform the migration to the new gateway, you must configure the new gateway. Use CreateVpnGateway to create a virtual private gateway, or CreateTransitGateway to create a transit gateway.
This step is required when you migrate from a virtual private gateway with static routes to a transit gateway.
You must delete the static routes before you migrate to the new gateway.
Keep a copy of the static route before you delete it. You will need to add back these routes to the transit gateway after the VPN connection migration is complete.
After you migrate to the new gateway, you might need to modify your VPC route table. Use CreateRoute and DeleteRoute to make the changes described in VPN Gateway Target Modification Required VPC Route Table Updates (https://docs.aws.amazon.com/vpn/latest/s2svpn/modify-vpn-target.html#step-update-routing) in the AWS Site-to-Site VPN User Guide.
When the new gateway is a transit gateway, modify the transit gateway route table to allow traffic between the VPC and the AWS Site-to-Site VPN connection. Use CreateTransitGatewayRoute to add the routes.
If you deleted VPN static routes, you must add the static routes to the transit gateway route table.
After you perform this operation, the AWS VPN endpoint's IP addresses on the AWS side and the tunnel options remain intact. Your s2slong; connection will be temporarily unavailable for approximately 10 minutes while we provision the new endpoints
// Example sending a request using ModifyVpnConnectionRequest. req := client.ModifyVpnConnectionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnConnection
func (*Client) ModifyVpnTunnelCertificateRequest ¶ added in v0.11.0
func (c *Client) ModifyVpnTunnelCertificateRequest(input *ModifyVpnTunnelCertificateInput) ModifyVpnTunnelCertificateRequest
ModifyVpnTunnelCertificateRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the VPN tunnel endpoint certificate.
// Example sending a request using ModifyVpnTunnelCertificateRequest. req := client.ModifyVpnTunnelCertificateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelCertificate
func (*Client) ModifyVpnTunnelOptionsRequest ¶ added in v0.12.0
func (c *Client) ModifyVpnTunnelOptionsRequest(input *ModifyVpnTunnelOptionsInput) ModifyVpnTunnelOptionsRequest
ModifyVpnTunnelOptionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Modifies the options for a VPN tunnel in an AWS Site-to-Site VPN connection. You can modify multiple options for a tunnel in a single request, but you can only modify one tunnel at a time. For more information, see Site-to-Site VPN Tunnel Options for Your Site-to-Site VPN Connection (https://docs.aws.amazon.com/vpn/latest/s2svpn/VPNTunnels.html) in the AWS Site-to-Site VPN User Guide.
// Example sending a request using ModifyVpnTunnelOptionsRequest. req := client.ModifyVpnTunnelOptionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelOptions
func (*Client) MonitorInstancesRequest ¶ added in v0.9.0
func (c *Client) MonitorInstancesRequest(input *MonitorInstancesInput) MonitorInstancesRequest
MonitorInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Enables detailed monitoring for a running instance. Otherwise, basic monitoring is enabled. For more information, see Monitoring Your Instances and Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html) in the Amazon Elastic Compute Cloud User Guide.
To disable detailed monitoring, see .
// Example sending a request using MonitorInstancesRequest. req := client.MonitorInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MonitorInstances
func (*Client) MoveAddressToVpcRequest ¶ added in v0.9.0
func (c *Client) MoveAddressToVpcRequest(input *MoveAddressToVpcInput) MoveAddressToVpcRequest
MoveAddressToVpcRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Moves an Elastic IP address from the EC2-Classic platform to the EC2-VPC platform. The Elastic IP address must be allocated to your account for more than 24 hours, and it must not be associated with an instance. After the Elastic IP address is moved, it is no longer available for use in the EC2-Classic platform, unless you move it back using the RestoreAddressToClassic request. You cannot move an Elastic IP address that was originally allocated for use in the EC2-VPC platform to the EC2-Classic platform.
// Example sending a request using MoveAddressToVpcRequest. req := client.MoveAddressToVpcRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveAddressToVpc
func (*Client) ProvisionByoipCidrRequest ¶ added in v0.9.0
func (c *Client) ProvisionByoipCidrRequest(input *ProvisionByoipCidrInput) ProvisionByoipCidrRequest
ProvisionByoipCidrRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Provisions an address range for use with your AWS resources through bring your own IP addresses (BYOIP) and creates a corresponding address pool. After the address range is provisioned, it is ready to be advertised using AdvertiseByoipCidr.
AWS verifies that you own the address range and are authorized to advertise it. You must ensure that the address range is registered to you and that you created an RPKI ROA to authorize Amazon ASNs 16509 and 14618 to advertise the address range. For more information, see Bring Your Own IP Addresses (BYOIP) (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html) in the Amazon Elastic Compute Cloud User Guide.
Provisioning an address range is an asynchronous operation, so the call returns immediately, but the address range is not ready to use until its status changes from pending-provision to provisioned. To monitor the status of an address range, use DescribeByoipCidrs. To allocate an Elastic IP address from your address pool, use AllocateAddress with either the specific address from the address pool or the ID of the address pool.
// Example sending a request using ProvisionByoipCidrRequest. req := client.ProvisionByoipCidrRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProvisionByoipCidr
func (*Client) PurchaseHostReservationRequest ¶ added in v0.9.0
func (c *Client) PurchaseHostReservationRequest(input *PurchaseHostReservationInput) PurchaseHostReservationRequest
PurchaseHostReservationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Purchase a reservation with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation. This action results in the specified reservation being purchased and charged to your account.
// Example sending a request using PurchaseHostReservationRequest. req := client.PurchaseHostReservationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseHostReservation
func (*Client) PurchaseReservedInstancesOfferingRequest ¶ added in v0.9.0
func (c *Client) PurchaseReservedInstancesOfferingRequest(input *PurchaseReservedInstancesOfferingInput) PurchaseReservedInstancesOfferingRequest
PurchaseReservedInstancesOfferingRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Purchases a Reserved Instance for use with your account. With Reserved Instances, you pay a lower hourly rate compared to On-Demand instance pricing.
Use DescribeReservedInstancesOfferings to get a list of Reserved Instance offerings that match your specifications. After you've purchased a Reserved Instance, you can check for your new Reserved Instance with DescribeReservedInstances.
To queue a purchase for a future date and time, specify a purchase time. If you do not specify a purchase time, the default is the current time.
For more information, see Reserved Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html) and Reserved Instance Marketplace (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using PurchaseReservedInstancesOfferingRequest. req := client.PurchaseReservedInstancesOfferingRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseReservedInstancesOffering
func (*Client) PurchaseScheduledInstancesRequest ¶ added in v0.9.0
func (c *Client) PurchaseScheduledInstancesRequest(input *PurchaseScheduledInstancesInput) PurchaseScheduledInstancesRequest
PurchaseScheduledInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Purchases the Scheduled Instances with the specified schedule.
Scheduled Instances enable you to purchase Amazon EC2 compute capacity by the hour for a one-year term. Before you can purchase a Scheduled Instance, you must call DescribeScheduledInstanceAvailability to check for available schedules and obtain a purchase token. After you purchase a Scheduled Instance, you must call RunScheduledInstances during each scheduled time period.
After you purchase a Scheduled Instance, you can't cancel, modify, or resell your purchase.
// Example sending a request using PurchaseScheduledInstancesRequest. req := client.PurchaseScheduledInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseScheduledInstances
func (*Client) RebootInstancesRequest ¶ added in v0.9.0
func (c *Client) RebootInstancesRequest(input *RebootInstancesInput) RebootInstancesRequest
RebootInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Requests a reboot of the specified instances. This operation is asynchronous; it only queues a request to reboot the specified instances. The operation succeeds if the instances are valid and belong to you. Requests to reboot terminated instances are ignored.
If an instance does not cleanly shut down within four minutes, Amazon EC2 performs a hard reboot.
For more information about troubleshooting, see Getting Console Output and Rebooting Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-console.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using RebootInstancesRequest. req := client.RebootInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RebootInstances
func (*Client) RegisterImageRequest ¶ added in v0.9.0
func (c *Client) RegisterImageRequest(input *RegisterImageInput) RegisterImageRequest
RegisterImageRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Registers an AMI. When you're creating an AMI, this is the final step you must complete before you can launch an instance from the AMI. For more information about creating AMIs, see Creating Your Own AMIs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html) in the Amazon Elastic Compute Cloud User Guide.
For Amazon EBS-backed instances, CreateImage creates and registers the AMI in a single request, so you don't have to register the AMI yourself.
You can also use RegisterImage to create an Amazon EBS-backed Linux AMI from a snapshot of a root device volume. You specify the snapshot using the block device mapping. For more information, see Launching a Linux Instance from a Backup (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-launch-snapshot.html) in the Amazon Elastic Compute Cloud User Guide.
You can't register an image where a secondary (non-root) snapshot has AWS Marketplace product codes.
Some Linux distributions, such as Red Hat Enterprise Linux (RHEL) and SUSE Linux Enterprise Server (SLES), use the EC2 billing product code associated with an AMI to verify the subscription status for package updates. Creating an AMI from an EBS snapshot does not maintain this billing code, and instances launched from such an AMI are not able to connect to package update infrastructure. If you purchase a Reserved Instance offering for one of these Linux distributions and launch instances using an AMI that does not contain the required billing code, your Reserved Instance is not applied to these instances.
To create an AMI for operating systems that require a billing code, see CreateImage.
If needed, you can deregister an AMI at any time. Any modifications you make to an AMI backed by an instance store volume invalidates its registration. If you make changes to an image, deregister the previous image and register the new image.
// Example sending a request using RegisterImageRequest. req := client.RegisterImageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImage
func (*Client) RejectTransitGatewayVpcAttachmentRequest ¶ added in v0.9.0
func (c *Client) RejectTransitGatewayVpcAttachmentRequest(input *RejectTransitGatewayVpcAttachmentInput) RejectTransitGatewayVpcAttachmentRequest
RejectTransitGatewayVpcAttachmentRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Rejects a request to attach a VPC to a transit gateway.
The VPC attachment must be in the pendingAcceptance state. Use DescribeTransitGatewayVpcAttachments to view your pending VPC attachment requests. Use AcceptTransitGatewayVpcAttachment to accept a VPC attachment request.
// Example sending a request using RejectTransitGatewayVpcAttachmentRequest. req := client.RejectTransitGatewayVpcAttachmentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectTransitGatewayVpcAttachment
func (*Client) RejectVpcEndpointConnectionsRequest ¶ added in v0.9.0
func (c *Client) RejectVpcEndpointConnectionsRequest(input *RejectVpcEndpointConnectionsInput) RejectVpcEndpointConnectionsRequest
RejectVpcEndpointConnectionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Rejects one or more VPC endpoint connection requests to your VPC endpoint service.
// Example sending a request using RejectVpcEndpointConnectionsRequest. req := client.RejectVpcEndpointConnectionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcEndpointConnections
func (*Client) RejectVpcPeeringConnectionRequest ¶ added in v0.9.0
func (c *Client) RejectVpcPeeringConnectionRequest(input *RejectVpcPeeringConnectionInput) RejectVpcPeeringConnectionRequest
RejectVpcPeeringConnectionRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Rejects a VPC peering connection request. The VPC peering connection must be in the pending-acceptance state. Use the DescribeVpcPeeringConnections request to view your outstanding VPC peering connection requests. To delete an active VPC peering connection, or to delete a VPC peering connection request that you initiated, use DeleteVpcPeeringConnection.
// Example sending a request using RejectVpcPeeringConnectionRequest. req := client.RejectVpcPeeringConnectionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcPeeringConnection
func (*Client) ReleaseAddressRequest ¶ added in v0.9.0
func (c *Client) ReleaseAddressRequest(input *ReleaseAddressInput) ReleaseAddressRequest
ReleaseAddressRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Releases the specified Elastic IP address.
[EC2-Classic, default VPC] Releasing an Elastic IP address automatically disassociates it from any instance that it's associated with. To disassociate an Elastic IP address without releasing it, use DisassociateAddress.
[Nondefault VPC] You must use DisassociateAddress to disassociate the Elastic IP address before you can release it. Otherwise, Amazon EC2 returns an error (InvalidIPAddress.InUse).
After releasing an Elastic IP address, it is released to the IP address pool. Be sure to update your DNS records and any servers or devices that communicate with the address. If you attempt to release an Elastic IP address that you already released, you'll get an AuthFailure error if the address is already allocated to another AWS account.
[EC2-VPC] After you release an Elastic IP address for use in a VPC, you might be able to recover it. For more information, see AllocateAddress.
// Example sending a request using ReleaseAddressRequest. req := client.ReleaseAddressRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseAddress
func (*Client) ReleaseHostsRequest ¶ added in v0.9.0
func (c *Client) ReleaseHostsRequest(input *ReleaseHostsInput) ReleaseHostsRequest
ReleaseHostsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
When you no longer want to use an On-Demand Dedicated Host it can be released. On-Demand billing is stopped and the host goes into released state. The host ID of Dedicated Hosts that have been released can no longer be specified in another request, for example, to modify the host. You must stop or terminate all instances on a host before it can be released.
When Dedicated Hosts are released, it may take some time for them to stop counting toward your limit and you may receive capacity errors when trying to allocate new Dedicated Hosts. Wait a few minutes and then try again.
Released hosts still appear in a DescribeHosts response.
// Example sending a request using ReleaseHostsRequest. req := client.ReleaseHostsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseHosts
func (*Client) ReplaceIamInstanceProfileAssociationRequest ¶ added in v0.9.0
func (c *Client) ReplaceIamInstanceProfileAssociationRequest(input *ReplaceIamInstanceProfileAssociationInput) ReplaceIamInstanceProfileAssociationRequest
ReplaceIamInstanceProfileAssociationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Replaces an IAM instance profile for the specified running instance. You can use this action to change the IAM instance profile that's associated with an instance without having to disassociate the existing IAM instance profile first.
Use DescribeIamInstanceProfileAssociations to get the association ID.
// Example sending a request using ReplaceIamInstanceProfileAssociationRequest. req := client.ReplaceIamInstanceProfileAssociationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceIamInstanceProfileAssociation
func (*Client) ReplaceNetworkAclAssociationRequest ¶ added in v0.9.0
func (c *Client) ReplaceNetworkAclAssociationRequest(input *ReplaceNetworkAclAssociationInput) ReplaceNetworkAclAssociationRequest
ReplaceNetworkAclAssociationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Changes which network ACL a subnet is associated with. By default when you create a subnet, it's automatically associated with the default network ACL. For more information, see Network ACLs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_ACLs.html) in the Amazon Virtual Private Cloud User Guide.
This is an idempotent operation.
// Example sending a request using ReplaceNetworkAclAssociationRequest. req := client.ReplaceNetworkAclAssociationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclAssociation
func (*Client) ReplaceNetworkAclEntryRequest ¶ added in v0.9.0
func (c *Client) ReplaceNetworkAclEntryRequest(input *ReplaceNetworkAclEntryInput) ReplaceNetworkAclEntryRequest
ReplaceNetworkAclEntryRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Replaces an entry (rule) in a network ACL. For more information, see Network ACLs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_ACLs.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using ReplaceNetworkAclEntryRequest. req := client.ReplaceNetworkAclEntryRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclEntry
func (*Client) ReplaceRouteRequest ¶ added in v0.9.0
func (c *Client) ReplaceRouteRequest(input *ReplaceRouteInput) ReplaceRouteRequest
ReplaceRouteRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Replaces an existing route within a route table in a VPC. You must provide only one of the following: internet gateway or virtual private gateway, NAT instance, NAT gateway, VPC peering connection, network interface, or egress-only internet gateway.
For more information, see Route Tables (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using ReplaceRouteRequest. req := client.ReplaceRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRoute
func (*Client) ReplaceRouteTableAssociationRequest ¶ added in v0.9.0
func (c *Client) ReplaceRouteTableAssociationRequest(input *ReplaceRouteTableAssociationInput) ReplaceRouteTableAssociationRequest
ReplaceRouteTableAssociationRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Changes the route table associated with a given subnet in a VPC. After the operation completes, the subnet uses the routes in the new route table it's associated with. For more information about route tables, see Route Tables (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html) in the Amazon Virtual Private Cloud User Guide.
You can also use ReplaceRouteTableAssociation to change which table is the main route table in the VPC. You just specify the main route table's association ID and the route table to be the new main route table.
// Example sending a request using ReplaceRouteTableAssociationRequest. req := client.ReplaceRouteTableAssociationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteTableAssociation
func (*Client) ReplaceTransitGatewayRouteRequest ¶ added in v0.9.0
func (c *Client) ReplaceTransitGatewayRouteRequest(input *ReplaceTransitGatewayRouteInput) ReplaceTransitGatewayRouteRequest
ReplaceTransitGatewayRouteRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Replaces the specified route in the specified transit gateway route table.
// Example sending a request using ReplaceTransitGatewayRouteRequest. req := client.ReplaceTransitGatewayRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceTransitGatewayRoute
func (*Client) ReportInstanceStatusRequest ¶ added in v0.9.0
func (c *Client) ReportInstanceStatusRequest(input *ReportInstanceStatusInput) ReportInstanceStatusRequest
ReportInstanceStatusRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Submits feedback about the status of an instance. The instance must be in the running state. If your experience with the instance differs from the instance status returned by DescribeInstanceStatus, use ReportInstanceStatus to report your experience with the instance. Amazon EC2 collects this information to improve the accuracy of status checks.
Use of this action does not change the value returned by DescribeInstanceStatus.
// Example sending a request using ReportInstanceStatusRequest. req := client.ReportInstanceStatusRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReportInstanceStatus
func (*Client) RequestSpotFleetRequest ¶ added in v0.9.0
func (c *Client) RequestSpotFleetRequest(input *RequestSpotFleetInput) RequestSpotFleetRequest
RequestSpotFleetRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a Spot Fleet request.
The Spot Fleet request specifies the total target capacity and the On-Demand target capacity. Amazon EC2 calculates the difference between the total capacity and On-Demand capacity, and launches the difference as Spot capacity.
You can submit a single request that includes multiple launch specifications that vary by instance type, AMI, Availability Zone, or subnet.
By default, the Spot Fleet requests Spot Instances in the Spot Instance pool where the price per unit is the lowest. Each launch specification can include its own instance weighting that reflects the value of the instance type to your application workload.
Alternatively, you can specify that the Spot Fleet distribute the target capacity across the Spot pools included in its launch specifications. By ensuring that the Spot Instances in your Spot Fleet are in different Spot pools, you can improve the availability of your fleet.
You can specify tags for the Spot Instances. You cannot tag other resource types in a Spot Fleet request because only the instance resource type is supported.
For more information, see Spot Fleet Requests (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html) in the Amazon EC2 User Guide for Linux Instances.
// Example sending a request using RequestSpotFleetRequest. req := client.RequestSpotFleetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotFleet
func (*Client) RequestSpotInstancesRequest ¶ added in v0.9.0
func (c *Client) RequestSpotInstancesRequest(input *RequestSpotInstancesInput) RequestSpotInstancesRequest
RequestSpotInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Creates a Spot Instance request.
For more information, see Spot Instance Requests (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html) in the Amazon EC2 User Guide for Linux Instances.
// Example sending a request using RequestSpotInstancesRequest. req := client.RequestSpotInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotInstances
func (*Client) ResetEbsDefaultKmsKeyIdRequest ¶ added in v0.9.0
func (c *Client) ResetEbsDefaultKmsKeyIdRequest(input *ResetEbsDefaultKmsKeyIdInput) ResetEbsDefaultKmsKeyIdRequest
ResetEbsDefaultKmsKeyIdRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Resets the default customer master key (CMK) for EBS encryption for your account in this Region to the AWS managed CMK for EBS.
After resetting the default CMK to the AWS managed CMK, you can continue to encrypt by a customer managed CMK by specifying it when you create the volume. For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using ResetEbsDefaultKmsKeyIdRequest. req := client.ResetEbsDefaultKmsKeyIdRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetEbsDefaultKmsKeyId
func (*Client) ResetFpgaImageAttributeRequest ¶ added in v0.9.0
func (c *Client) ResetFpgaImageAttributeRequest(input *ResetFpgaImageAttributeInput) ResetFpgaImageAttributeRequest
ResetFpgaImageAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Resets the specified attribute of the specified Amazon FPGA Image (AFI) to its default value. You can only reset the load permission attribute.
// Example sending a request using ResetFpgaImageAttributeRequest. req := client.ResetFpgaImageAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetFpgaImageAttribute
func (*Client) ResetImageAttributeRequest ¶ added in v0.9.0
func (c *Client) ResetImageAttributeRequest(input *ResetImageAttributeInput) ResetImageAttributeRequest
ResetImageAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Resets an attribute of an AMI to its default value.
The productCodes attribute can't be reset.
// Example sending a request using ResetImageAttributeRequest. req := client.ResetImageAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetImageAttribute
func (*Client) ResetInstanceAttributeRequest ¶ added in v0.9.0
func (c *Client) ResetInstanceAttributeRequest(input *ResetInstanceAttributeInput) ResetInstanceAttributeRequest
ResetInstanceAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Resets an attribute of an instance to its default value. To reset the kernel or ramdisk, the instance must be in a stopped state. To reset the sourceDestCheck, the instance can be either running or stopped.
The sourceDestCheck attribute controls whether source/destination checking is enabled. The default value is true, which means checking is enabled. This value must be false for a NAT instance to perform NAT. For more information, see NAT Instances (https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html) in the Amazon Virtual Private Cloud User Guide.
// Example sending a request using ResetInstanceAttributeRequest. req := client.ResetInstanceAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetInstanceAttribute
func (*Client) ResetNetworkInterfaceAttributeRequest ¶ added in v0.9.0
func (c *Client) ResetNetworkInterfaceAttributeRequest(input *ResetNetworkInterfaceAttributeInput) ResetNetworkInterfaceAttributeRequest
ResetNetworkInterfaceAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Resets a network interface attribute. You can specify only one attribute at a time.
// Example sending a request using ResetNetworkInterfaceAttributeRequest. req := client.ResetNetworkInterfaceAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetNetworkInterfaceAttribute
func (*Client) ResetSnapshotAttributeRequest ¶ added in v0.9.0
func (c *Client) ResetSnapshotAttributeRequest(input *ResetSnapshotAttributeInput) ResetSnapshotAttributeRequest
ResetSnapshotAttributeRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Resets permission settings for the specified snapshot.
For more information about modifying snapshot permissions, see Sharing Snapshots (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modifying-snapshot-permissions.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using ResetSnapshotAttributeRequest. req := client.ResetSnapshotAttributeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetSnapshotAttribute
func (*Client) RestoreAddressToClassicRequest ¶ added in v0.9.0
func (c *Client) RestoreAddressToClassicRequest(input *RestoreAddressToClassicInput) RestoreAddressToClassicRequest
RestoreAddressToClassicRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform. You cannot move an Elastic IP address that was originally allocated for use in EC2-VPC. The Elastic IP address must not be associated with an instance or network interface.
// Example sending a request using RestoreAddressToClassicRequest. req := client.RestoreAddressToClassicRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreAddressToClassic
func (*Client) RevokeClientVpnIngressRequest ¶ added in v0.9.0
func (c *Client) RevokeClientVpnIngressRequest(input *RevokeClientVpnIngressInput) RevokeClientVpnIngressRequest
RevokeClientVpnIngressRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Removes an ingress authorization rule from a Client VPN endpoint.
// Example sending a request using RevokeClientVpnIngressRequest. req := client.RevokeClientVpnIngressRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeClientVpnIngress
func (*Client) RevokeSecurityGroupEgressRequest ¶ added in v0.9.0
func (c *Client) RevokeSecurityGroupEgressRequest(input *RevokeSecurityGroupEgressInput) RevokeSecurityGroupEgressRequest
RevokeSecurityGroupEgressRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
[VPC only] Removes the specified egress rules from a security group for EC2-VPC. This action doesn't apply to security groups for use in EC2-Classic. To remove a rule, the values that you specify (for example, ports) must match the existing rule's values exactly.
Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not have to specify the description to revoke the rule.
Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
// Example sending a request using RevokeSecurityGroupEgressRequest. req := client.RevokeSecurityGroupEgressRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgress
func (*Client) RevokeSecurityGroupIngressRequest ¶ added in v0.9.0
func (c *Client) RevokeSecurityGroupIngressRequest(input *RevokeSecurityGroupIngressInput) RevokeSecurityGroupIngressRequest
RevokeSecurityGroupIngressRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Removes the specified ingress rules from a security group. To remove a rule, the values that you specify (for example, ports) must match the existing rule's values exactly.
[EC2-Classic only] If the values you specify do not match the existing rule's values, no error is returned. Use DescribeSecurityGroups to verify that the rule has been removed.
Each rule consists of the protocol and the CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not have to specify the description to revoke the rule.
Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
// Example sending a request using RevokeSecurityGroupIngressRequest. req := client.RevokeSecurityGroupIngressRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngress
func (*Client) RunInstancesRequest ¶ added in v0.9.0
func (c *Client) RunInstancesRequest(input *RunInstancesInput) RunInstancesRequest
RunInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Launches the specified number of instances using an AMI for which you have permissions.
You can specify a number of options, or leave the default options. The following rules apply:
[EC2-VPC] If you don't specify a subnet ID, we choose a default subnet from your default VPC for you. If you don't have a default VPC, you must specify a subnet ID in the request.
[EC2-Classic] If don't specify an Availability Zone, we choose one for you.
Some instance types must be launched into a VPC. If you do not have a default VPC, or if you do not specify a subnet ID, the request fails. For more information, see Instance Types Available Only in a VPC (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-vpc.html#vpc-only-instance-types).
[EC2-VPC] All instances have a network interface with a primary private IPv4 address. If you don't specify this address, we choose one from the IPv4 range of your subnet.
Not all instance types support IPv6 addresses. For more information, see Instance Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html).
If you don't specify a security group ID, we use the default security group. For more information, see Security Groups (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html).
If any of the AMIs have a product code attached for which the user has not subscribed, the request fails.
You can create a launch template (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html), which is a resource that contains the parameters to launch an instance. When you launch an instance using RunInstances, you can specify the launch template instead of specifying the launch parameters.
To ensure faster instance launches, break up large requests into smaller batches. For example, create five separate launch requests for 100 instances each instead of one launch request for 500 instances.
An instance is ready for you to use when it's in the running state. You can check the state of your instance using DescribeInstances. You can tag instances and EBS volumes during launch, after launch, or both. For more information, see CreateTags and Tagging Your Amazon EC2 Resources (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html).
Linux instances have access to the public key of the key pair at boot. You can use this key to provide secure access to the instance. Amazon EC2 public images use this feature to provide secure access without passwords. For more information, see Key Pairs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) in the Amazon Elastic Compute Cloud User Guide.
For troubleshooting, see What To Do If An Instance Immediately Terminates (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_InstanceStraightToTerminated.html), and Troubleshooting Connecting to Your Instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using RunInstancesRequest. req := client.RunInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstances
func (*Client) RunScheduledInstancesRequest ¶ added in v0.9.0
func (c *Client) RunScheduledInstancesRequest(input *RunScheduledInstancesInput) RunScheduledInstancesRequest
RunScheduledInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Launches the specified Scheduled Instances.
Before you can launch a Scheduled Instance, you must purchase it and obtain an identifier using PurchaseScheduledInstances.
You must launch a Scheduled Instance during its scheduled time period. You can't stop or reboot a Scheduled Instance, but you can terminate it as needed. If you terminate a Scheduled Instance before the current scheduled time period ends, you can launch it again after a few minutes. For more information, see Scheduled Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-scheduled-instances.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using RunScheduledInstancesRequest. req := client.RunScheduledInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunScheduledInstances
func (*Client) SearchTransitGatewayRoutesRequest ¶ added in v0.9.0
func (c *Client) SearchTransitGatewayRoutesRequest(input *SearchTransitGatewayRoutesInput) SearchTransitGatewayRoutesRequest
SearchTransitGatewayRoutesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Searches for routes in the specified transit gateway route table.
// Example sending a request using SearchTransitGatewayRoutesRequest. req := client.SearchTransitGatewayRoutesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SearchTransitGatewayRoutes
func (*Client) SendDiagnosticInterruptRequest ¶ added in v0.11.0
func (c *Client) SendDiagnosticInterruptRequest(input *SendDiagnosticInterruptInput) SendDiagnosticInterruptRequest
SendDiagnosticInterruptRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Sends a diagnostic interrupt to the specified Amazon EC2 instance to trigger a kernel panic (on Linux instances), or a blue screen/stop error (on Windows instances). For instances based on Intel and AMD processors, the interrupt is received as a non-maskable interrupt (NMI).
In general, the operating system crashes and reboots when a kernel panic or stop error is triggered. The operating system can also be configured to perform diagnostic tasks, such as generating a memory dump file, loading a secondary kernel, or obtaining a call trace.
Before sending a diagnostic interrupt to your instance, ensure that its operating system is configured to perform the required diagnostic tasks.
For more information about configuring your operating system to generate a crash dump when a kernel panic or stop error occurs, see Send a Diagnostic Interrupt (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/diagnostic-interrupt.html) (Linux instances) or Send a Diagnostic Interrupt (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/diagnostic-interrupt.html) (Windows instances).
// Example sending a request using SendDiagnosticInterruptRequest. req := client.SendDiagnosticInterruptRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SendDiagnosticInterrupt
func (*Client) StartInstancesRequest ¶ added in v0.9.0
func (c *Client) StartInstancesRequest(input *StartInstancesInput) StartInstancesRequest
StartInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Starts an Amazon EBS-backed instance that you've previously stopped.
Instances that use Amazon EBS volumes as their root devices can be quickly stopped and started. When an instance is stopped, the compute resources are released and you are not billed for instance usage. However, your root partition Amazon EBS volume remains and continues to persist your data, and you are charged for Amazon EBS volume usage. You can restart your instance at any time. Every time you start your Windows instance, Amazon EC2 charges you for a full instance hour. If you stop and restart your Windows instance, a new instance hour begins and Amazon EC2 charges you for another full instance hour even if you are still within the same 60-minute period when it was stopped. Every time you start your Linux instance, Amazon EC2 charges a one-minute minimum for instance usage, and thereafter charges per second for instance usage.
Before stopping an instance, make sure it is in a state from which it can be restarted. Stopping an instance does not preserve data stored in RAM.
Performing this operation on an instance that uses an instance store as its root device returns an error.
For more information, see Stopping Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using StartInstancesRequest. req := client.StartInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartInstances
func (*Client) StopInstancesRequest ¶ added in v0.9.0
func (c *Client) StopInstancesRequest(input *StopInstancesInput) StopInstancesRequest
StopInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Stops an Amazon EBS-backed instance.
You can use the Stop action to hibernate an instance if the instance is enabled for hibernation (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#enabling-hibernation) and it meets the hibernation prerequisites (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites). For more information, see Hibernate Your Instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) in the Amazon Elastic Compute Cloud User Guide.
We don't charge usage for a stopped instance, or data transfer fees; however, your root partition Amazon EBS volume remains and continues to persist your data, and you are charged for Amazon EBS volume usage. Every time you start your Windows instance, Amazon EC2 charges you for a full instance hour. If you stop and restart your Windows instance, a new instance hour begins and Amazon EC2 charges you for another full instance hour even if you are still within the same 60-minute period when it was stopped. Every time you start your Linux instance, Amazon EC2 charges a one-minute minimum for instance usage, and thereafter charges per second for instance usage.
You can't start, stop, or hibernate Spot Instances, and you can't stop or hibernate instance store-backed instances. For information about using hibernation for Spot Instances, see Hibernating Interrupted Spot Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#hibernate-spot-instances) in the Amazon Elastic Compute Cloud User Guide.
When you stop or hibernate an instance, we shut it down. You can restart your instance at any time. Before stopping or hibernating an instance, make sure it is in a state from which it can be restarted. Stopping an instance does not preserve data stored in RAM, but hibernating an instance does preserve data stored in RAM. If an instance cannot hibernate successfully, a normal shutdown occurs.
Stopping and hibernating an instance is different to rebooting or terminating it. For example, when you stop or hibernate an instance, the root device and any other devices attached to the instance persist. When you terminate an instance, the root device and any other devices attached during the instance launch are automatically deleted. For more information about the differences between rebooting, stopping, hibernating, and terminating instances, see Instance Lifecycle (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html) in the Amazon Elastic Compute Cloud User Guide.
When you stop an instance, we attempt to shut it down forcibly after a short while. If your instance appears stuck in the stopping state after a period of time, there may be an issue with the underlying host computer. For more information, see Troubleshooting Stopping Your Instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using StopInstancesRequest. req := client.StopInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StopInstances
func (*Client) TerminateClientVpnConnectionsRequest ¶ added in v0.9.0
func (c *Client) TerminateClientVpnConnectionsRequest(input *TerminateClientVpnConnectionsInput) TerminateClientVpnConnectionsRequest
TerminateClientVpnConnectionsRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Terminates active Client VPN endpoint connections. This action can be used to terminate a specific client connection, or up to five connections established by a specific user.
// Example sending a request using TerminateClientVpnConnectionsRequest. req := client.TerminateClientVpnConnectionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TerminateClientVpnConnections
func (*Client) TerminateInstancesRequest ¶ added in v0.9.0
func (c *Client) TerminateInstancesRequest(input *TerminateInstancesInput) TerminateInstancesRequest
TerminateInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Shuts down the specified instances. This operation is idempotent; if you terminate an instance more than once, each call succeeds.
If you specify multiple instances and the request fails (for example, because of a single incorrect instance ID), none of the instances are terminated.
Terminated instances remain visible after termination (for approximately one hour).
By default, Amazon EC2 deletes all EBS volumes that were attached when the instance launched. Volumes attached after instance launch continue running.
You can stop, start, and terminate EBS-backed instances. You can only terminate instance store-backed instances. What happens to an instance differs if you stop it or terminate it. For example, when you stop an instance, the root device and any other devices attached to the instance persist. When you terminate an instance, any attached EBS volumes with the DeleteOnTermination block device mapping parameter set to true are automatically deleted. For more information about the differences between stopping and terminating instances, see Instance Lifecycle (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html) in the Amazon Elastic Compute Cloud User Guide.
For more information about troubleshooting, see Troubleshooting Terminating Your Instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using TerminateInstancesRequest. req := client.TerminateInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TerminateInstances
func (*Client) UnassignIpv6AddressesRequest ¶ added in v0.9.0
func (c *Client) UnassignIpv6AddressesRequest(input *UnassignIpv6AddressesInput) UnassignIpv6AddressesRequest
UnassignIpv6AddressesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Unassigns one or more IPv6 addresses from a network interface.
// Example sending a request using UnassignIpv6AddressesRequest. req := client.UnassignIpv6AddressesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6Addresses
func (*Client) UnassignPrivateIpAddressesRequest ¶ added in v0.9.0
func (c *Client) UnassignPrivateIpAddressesRequest(input *UnassignPrivateIpAddressesInput) UnassignPrivateIpAddressesRequest
UnassignPrivateIpAddressesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Unassigns one or more secondary private IP addresses from a network interface.
// Example sending a request using UnassignPrivateIpAddressesRequest. req := client.UnassignPrivateIpAddressesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddresses
func (*Client) UnmonitorInstancesRequest ¶ added in v0.9.0
func (c *Client) UnmonitorInstancesRequest(input *UnmonitorInstancesInput) UnmonitorInstancesRequest
UnmonitorInstancesRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Disables detailed monitoring for a running instance. For more information, see Monitoring Your Instances and Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html) in the Amazon Elastic Compute Cloud User Guide.
// Example sending a request using UnmonitorInstancesRequest. req := client.UnmonitorInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnmonitorInstances
func (*Client) UpdateSecurityGroupRuleDescriptionsEgressRequest ¶ added in v0.9.0
func (c *Client) UpdateSecurityGroupRuleDescriptionsEgressRequest(input *UpdateSecurityGroupRuleDescriptionsEgressInput) UpdateSecurityGroupRuleDescriptionsEgressRequest
UpdateSecurityGroupRuleDescriptionsEgressRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
[VPC only] Updates the description of an egress (outbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously.
You specify the description as part of the IP permissions structure. You can remove a description for a security group rule by omitting the description parameter in the request.
// Example sending a request using UpdateSecurityGroupRuleDescriptionsEgressRequest. req := client.UpdateSecurityGroupRuleDescriptionsEgressRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsEgress
func (*Client) UpdateSecurityGroupRuleDescriptionsIngressRequest ¶ added in v0.9.0
func (c *Client) UpdateSecurityGroupRuleDescriptionsIngressRequest(input *UpdateSecurityGroupRuleDescriptionsIngressInput) UpdateSecurityGroupRuleDescriptionsIngressRequest
UpdateSecurityGroupRuleDescriptionsIngressRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Updates the description of an ingress (inbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously.
You specify the description as part of the IP permissions structure. You can remove a description for a security group rule by omitting the description parameter in the request.
// Example sending a request using UpdateSecurityGroupRuleDescriptionsIngressRequest. req := client.UpdateSecurityGroupRuleDescriptionsIngressRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsIngress
func (*Client) WaitUntilBundleTaskComplete ¶ added in v0.9.0
func (c *Client) WaitUntilBundleTaskComplete(ctx context.Context, input *DescribeBundleTasksInput, opts ...aws.WaiterOption) error
WaitUntilBundleTaskComplete uses the Amazon EC2 API operation DescribeBundleTasks to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilConversionTaskCancelled ¶ added in v0.9.0
func (c *Client) WaitUntilConversionTaskCancelled(ctx context.Context, input *DescribeConversionTasksInput, opts ...aws.WaiterOption) error
WaitUntilConversionTaskCancelled uses the Amazon EC2 API operation DescribeConversionTasks to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilConversionTaskCompleted ¶ added in v0.9.0
func (c *Client) WaitUntilConversionTaskCompleted(ctx context.Context, input *DescribeConversionTasksInput, opts ...aws.WaiterOption) error
WaitUntilConversionTaskCompleted uses the Amazon EC2 API operation DescribeConversionTasks to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilConversionTaskDeleted ¶ added in v0.9.0
func (c *Client) WaitUntilConversionTaskDeleted(ctx context.Context, input *DescribeConversionTasksInput, opts ...aws.WaiterOption) error
WaitUntilConversionTaskDeleted uses the Amazon EC2 API operation DescribeConversionTasks to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilCustomerGatewayAvailable ¶ added in v0.9.0
func (c *Client) WaitUntilCustomerGatewayAvailable(ctx context.Context, input *DescribeCustomerGatewaysInput, opts ...aws.WaiterOption) error
WaitUntilCustomerGatewayAvailable uses the Amazon EC2 API operation DescribeCustomerGateways to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilExportTaskCancelled ¶ added in v0.9.0
func (c *Client) WaitUntilExportTaskCancelled(ctx context.Context, input *DescribeExportTasksInput, opts ...aws.WaiterOption) error
WaitUntilExportTaskCancelled uses the Amazon EC2 API operation DescribeExportTasks to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilExportTaskCompleted ¶ added in v0.9.0
func (c *Client) WaitUntilExportTaskCompleted(ctx context.Context, input *DescribeExportTasksInput, opts ...aws.WaiterOption) error
WaitUntilExportTaskCompleted uses the Amazon EC2 API operation DescribeExportTasks to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilImageAvailable ¶ added in v0.9.0
func (c *Client) WaitUntilImageAvailable(ctx context.Context, input *DescribeImagesInput, opts ...aws.WaiterOption) error
WaitUntilImageAvailable uses the Amazon EC2 API operation DescribeImages to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilImageExists ¶ added in v0.9.0
func (c *Client) WaitUntilImageExists(ctx context.Context, input *DescribeImagesInput, opts ...aws.WaiterOption) error
WaitUntilImageExists uses the Amazon EC2 API operation DescribeImages to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilInstanceExists ¶ added in v0.9.0
func (c *Client) WaitUntilInstanceExists(ctx context.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
WaitUntilInstanceExists uses the Amazon EC2 API operation DescribeInstances to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilInstanceRunning ¶ added in v0.9.0
func (c *Client) WaitUntilInstanceRunning(ctx context.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
WaitUntilInstanceRunning uses the Amazon EC2 API operation DescribeInstances to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilInstanceStatusOk ¶ added in v0.9.0
func (c *Client) WaitUntilInstanceStatusOk(ctx context.Context, input *DescribeInstanceStatusInput, opts ...aws.WaiterOption) error
WaitUntilInstanceStatusOk uses the Amazon EC2 API operation DescribeInstanceStatus to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilInstanceStopped ¶ added in v0.9.0
func (c *Client) WaitUntilInstanceStopped(ctx context.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
WaitUntilInstanceStopped uses the Amazon EC2 API operation DescribeInstances to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilInstanceTerminated ¶ added in v0.9.0
func (c *Client) WaitUntilInstanceTerminated(ctx context.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
WaitUntilInstanceTerminated uses the Amazon EC2 API operation DescribeInstances to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilKeyPairExists ¶ added in v0.9.0
func (c *Client) WaitUntilKeyPairExists(ctx context.Context, input *DescribeKeyPairsInput, opts ...aws.WaiterOption) error
WaitUntilKeyPairExists uses the Amazon EC2 API operation DescribeKeyPairs to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilNatGatewayAvailable ¶ added in v0.9.0
func (c *Client) WaitUntilNatGatewayAvailable(ctx context.Context, input *DescribeNatGatewaysInput, opts ...aws.WaiterOption) error
WaitUntilNatGatewayAvailable uses the Amazon EC2 API operation DescribeNatGateways to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilNetworkInterfaceAvailable ¶ added in v0.9.0
func (c *Client) WaitUntilNetworkInterfaceAvailable(ctx context.Context, input *DescribeNetworkInterfacesInput, opts ...aws.WaiterOption) error
WaitUntilNetworkInterfaceAvailable uses the Amazon EC2 API operation DescribeNetworkInterfaces to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilPasswordDataAvailable ¶ added in v0.9.0
func (c *Client) WaitUntilPasswordDataAvailable(ctx context.Context, input *GetPasswordDataInput, opts ...aws.WaiterOption) error
WaitUntilPasswordDataAvailable uses the Amazon EC2 API operation GetPasswordData to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilSnapshotCompleted ¶ added in v0.9.0
func (c *Client) WaitUntilSnapshotCompleted(ctx context.Context, input *DescribeSnapshotsInput, opts ...aws.WaiterOption) error
WaitUntilSnapshotCompleted uses the Amazon EC2 API operation DescribeSnapshots to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilSpotInstanceRequestFulfilled ¶ added in v0.9.0
func (c *Client) WaitUntilSpotInstanceRequestFulfilled(ctx context.Context, input *DescribeSpotInstanceRequestsInput, opts ...aws.WaiterOption) error
WaitUntilSpotInstanceRequestFulfilled uses the Amazon EC2 API operation DescribeSpotInstanceRequests to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilSubnetAvailable ¶ added in v0.9.0
func (c *Client) WaitUntilSubnetAvailable(ctx context.Context, input *DescribeSubnetsInput, opts ...aws.WaiterOption) error
WaitUntilSubnetAvailable uses the Amazon EC2 API operation DescribeSubnets to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilSystemStatusOk ¶ added in v0.9.0
func (c *Client) WaitUntilSystemStatusOk(ctx context.Context, input *DescribeInstanceStatusInput, opts ...aws.WaiterOption) error
WaitUntilSystemStatusOk uses the Amazon EC2 API operation DescribeInstanceStatus to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilVolumeAvailable ¶ added in v0.9.0
func (c *Client) WaitUntilVolumeAvailable(ctx context.Context, input *DescribeVolumesInput, opts ...aws.WaiterOption) error
WaitUntilVolumeAvailable uses the Amazon EC2 API operation DescribeVolumes to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilVolumeDeleted ¶ added in v0.9.0
func (c *Client) WaitUntilVolumeDeleted(ctx context.Context, input *DescribeVolumesInput, opts ...aws.WaiterOption) error
WaitUntilVolumeDeleted uses the Amazon EC2 API operation DescribeVolumes to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilVolumeInUse ¶ added in v0.9.0
func (c *Client) WaitUntilVolumeInUse(ctx context.Context, input *DescribeVolumesInput, opts ...aws.WaiterOption) error
WaitUntilVolumeInUse uses the Amazon EC2 API operation DescribeVolumes to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilVpcAvailable ¶ added in v0.9.0
func (c *Client) WaitUntilVpcAvailable(ctx context.Context, input *DescribeVpcsInput, opts ...aws.WaiterOption) error
WaitUntilVpcAvailable uses the Amazon EC2 API operation DescribeVpcs to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilVpcExists ¶ added in v0.9.0
func (c *Client) WaitUntilVpcExists(ctx context.Context, input *DescribeVpcsInput, opts ...aws.WaiterOption) error
WaitUntilVpcExists uses the Amazon EC2 API operation DescribeVpcs to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilVpcPeeringConnectionDeleted ¶ added in v0.9.0
func (c *Client) WaitUntilVpcPeeringConnectionDeleted(ctx context.Context, input *DescribeVpcPeeringConnectionsInput, opts ...aws.WaiterOption) error
WaitUntilVpcPeeringConnectionDeleted uses the Amazon EC2 API operation DescribeVpcPeeringConnections to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilVpcPeeringConnectionExists ¶ added in v0.9.0
func (c *Client) WaitUntilVpcPeeringConnectionExists(ctx context.Context, input *DescribeVpcPeeringConnectionsInput, opts ...aws.WaiterOption) error
WaitUntilVpcPeeringConnectionExists uses the Amazon EC2 API operation DescribeVpcPeeringConnections to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilVpnConnectionAvailable ¶ added in v0.9.0
func (c *Client) WaitUntilVpnConnectionAvailable(ctx context.Context, input *DescribeVpnConnectionsInput, opts ...aws.WaiterOption) error
WaitUntilVpnConnectionAvailable uses the Amazon EC2 API operation DescribeVpnConnections to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WaitUntilVpnConnectionDeleted ¶ added in v0.9.0
func (c *Client) WaitUntilVpnConnectionDeleted(ctx context.Context, input *DescribeVpnConnectionsInput, opts ...aws.WaiterOption) error
WaitUntilVpnConnectionDeleted uses the Amazon EC2 API operation DescribeVpnConnections to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Client) WithdrawByoipCidrRequest ¶ added in v0.9.0
func (c *Client) WithdrawByoipCidrRequest(input *WithdrawByoipCidrInput) WithdrawByoipCidrRequest
WithdrawByoipCidrRequest returns a request value for making API operation for Amazon Elastic Compute Cloud.
Stops advertising an IPv4 address range that is provisioned as an address pool.
You can perform this operation at most once every 10 seconds, even if you specify different address ranges each time.
It can take a few minutes before traffic to the specified addresses stops routing to AWS because of BGP propagation delays.
// Example sending a request using WithdrawByoipCidrRequest. req := client.WithdrawByoipCidrRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/WithdrawByoipCidr
type ConfirmProductInstanceInput ¶
type ConfirmProductInstanceInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the instance. // // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The product code. This must be a product code that you own. // // ProductCode is a required field ProductCode *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ConfirmProductInstanceInput) String ¶
func (s ConfirmProductInstanceInput) String() string
String returns the string representation
func (*ConfirmProductInstanceInput) Validate ¶
func (s *ConfirmProductInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ConfirmProductInstanceOutput ¶
type ConfirmProductInstanceOutput struct { // The AWS account ID of the instance owner. This is only present if the product // code is attached to the instance. OwnerId *string `locationName:"ownerId" type:"string"` // The return value of the request. Returns true if the specified product code // is owned by the requester and associated with the specified instance. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (ConfirmProductInstanceOutput) String ¶
func (s ConfirmProductInstanceOutput) String() string
String returns the string representation
type ConfirmProductInstanceRequest ¶
type ConfirmProductInstanceRequest struct { *aws.Request Input *ConfirmProductInstanceInput Copy func(*ConfirmProductInstanceInput) ConfirmProductInstanceRequest }
ConfirmProductInstanceRequest is the request type for the ConfirmProductInstance API operation.
func (ConfirmProductInstanceRequest) Send ¶
func (r ConfirmProductInstanceRequest) Send(ctx context.Context) (*ConfirmProductInstanceResponse, error)
Send marshals and sends the ConfirmProductInstance API request.
type ConfirmProductInstanceResponse ¶ added in v0.9.0
type ConfirmProductInstanceResponse struct { *ConfirmProductInstanceOutput // contains filtered or unexported fields }
ConfirmProductInstanceResponse is the response type for the ConfirmProductInstance API operation.
func (*ConfirmProductInstanceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ConfirmProductInstanceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ConfirmProductInstance request.
type ConnectionLogOptions ¶ added in v0.7.0
type ConnectionLogOptions struct { // The name of the CloudWatch Logs log group. CloudwatchLogGroup *string `type:"string"` // The name of the CloudWatch Logs log stream to which the connection data is // published. CloudwatchLogStream *string `type:"string"` // Indicates whether connection logging is enabled. Enabled *bool `type:"boolean"` // contains filtered or unexported fields }
Describes the client connection logging options for the Client VPN endpoint.
func (ConnectionLogOptions) String ¶ added in v0.7.0
func (s ConnectionLogOptions) String() string
String returns the string representation
type ConnectionLogResponseOptions ¶ added in v0.7.0
type ConnectionLogResponseOptions struct { // The name of the Amazon CloudWatch Logs log group to which connection logging // data is published. CloudwatchLogGroup *string `type:"string"` // The name of the Amazon CloudWatch Logs log stream to which connection logging // data is published. CloudwatchLogStream *string `type:"string"` // Indicates whether client connection logging is enabled for the Client VPN // endpoint. Enabled *bool `type:"boolean"` // contains filtered or unexported fields }
Information about the client connection logging options for a Client VPN endpoint.
func (ConnectionLogResponseOptions) String ¶ added in v0.7.0
func (s ConnectionLogResponseOptions) String() string
String returns the string representation
type ConnectionNotification ¶ added in v0.2.0
type ConnectionNotification struct { // The events for the notification. Valid values are Accept, Connect, Delete, // and Reject. ConnectionEvents []string `locationName:"connectionEvents" locationNameList:"item" type:"list"` // The ARN of the SNS topic for the notification. ConnectionNotificationArn *string `locationName:"connectionNotificationArn" type:"string"` // The ID of the notification. ConnectionNotificationId *string `locationName:"connectionNotificationId" type:"string"` // The state of the notification. ConnectionNotificationState ConnectionNotificationState `locationName:"connectionNotificationState" type:"string" enum:"true"` // The type of notification. ConnectionNotificationType ConnectionNotificationType `locationName:"connectionNotificationType" type:"string" enum:"true"` // The ID of the endpoint service. ServiceId *string `locationName:"serviceId" type:"string"` // The ID of the VPC endpoint. VpcEndpointId *string `locationName:"vpcEndpointId" type:"string"` // contains filtered or unexported fields }
Describes a connection notification for a VPC endpoint or VPC endpoint service.
func (ConnectionNotification) String ¶ added in v0.2.0
func (s ConnectionNotification) String() string
String returns the string representation
type ConnectionNotificationState ¶ added in v0.2.0
type ConnectionNotificationState string
const ( ConnectionNotificationStateEnabled ConnectionNotificationState = "Enabled" ConnectionNotificationStateDisabled ConnectionNotificationState = "Disabled" )
Enum values for ConnectionNotificationState
func (ConnectionNotificationState) MarshalValue ¶ added in v0.3.0
func (enum ConnectionNotificationState) MarshalValue() (string, error)
func (ConnectionNotificationState) MarshalValueBuf ¶ added in v0.3.0
func (enum ConnectionNotificationState) MarshalValueBuf(b []byte) ([]byte, error)
type ConnectionNotificationType ¶ added in v0.2.0
type ConnectionNotificationType string
const (
ConnectionNotificationTypeTopic ConnectionNotificationType = "Topic"
)
Enum values for ConnectionNotificationType
func (ConnectionNotificationType) MarshalValue ¶ added in v0.3.0
func (enum ConnectionNotificationType) MarshalValue() (string, error)
func (ConnectionNotificationType) MarshalValueBuf ¶ added in v0.3.0
func (enum ConnectionNotificationType) MarshalValueBuf(b []byte) ([]byte, error)
type ContainerFormat ¶
type ContainerFormat string
const (
ContainerFormatOva ContainerFormat = "ova"
)
Enum values for ContainerFormat
func (ContainerFormat) MarshalValue ¶ added in v0.3.0
func (enum ContainerFormat) MarshalValue() (string, error)
func (ContainerFormat) MarshalValueBuf ¶ added in v0.3.0
func (enum ContainerFormat) MarshalValueBuf(b []byte) ([]byte, error)
type ConversionTask ¶
type ConversionTask struct { // The ID of the conversion task. ConversionTaskId *string `locationName:"conversionTaskId" type:"string"` // The time when the task expires. If the upload isn't complete before the expiration // time, we automatically cancel the task. ExpirationTime *string `locationName:"expirationTime" type:"string"` // If the task is for importing an instance, this contains information about // the import instance task. ImportInstance *ImportInstanceTaskDetails `locationName:"importInstance" type:"structure"` // If the task is for importing a volume, this contains information about the // import volume task. ImportVolume *ImportVolumeTaskDetails `locationName:"importVolume" type:"structure"` // The state of the conversion task. State ConversionTaskState `locationName:"state" type:"string" enum:"true"` // The status message related to the conversion task. StatusMessage *string `locationName:"statusMessage" type:"string"` // Any tags assigned to the task. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes a conversion task.
func (ConversionTask) String ¶
func (s ConversionTask) String() string
String returns the string representation
type ConversionTaskState ¶
type ConversionTaskState string
const ( ConversionTaskStateActive ConversionTaskState = "active" ConversionTaskStateCancelling ConversionTaskState = "cancelling" ConversionTaskStateCancelled ConversionTaskState = "cancelled" ConversionTaskStateCompleted ConversionTaskState = "completed" )
Enum values for ConversionTaskState
func (ConversionTaskState) MarshalValue ¶ added in v0.3.0
func (enum ConversionTaskState) MarshalValue() (string, error)
func (ConversionTaskState) MarshalValueBuf ¶ added in v0.3.0
func (enum ConversionTaskState) MarshalValueBuf(b []byte) ([]byte, error)
type CopyFpgaImageInput ¶
type CopyFpgaImageInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` // The description for the new AFI. Description *string `type:"string"` // 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 name for the new AFI. The default is the name of the source AFI. Name *string `type:"string"` // The ID of the source AFI. // // SourceFpgaImageId is a required field SourceFpgaImageId *string `type:"string" required:"true"` // The Region that contains the source AFI. // // SourceRegion is a required field SourceRegion *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (CopyFpgaImageInput) String ¶
func (s CopyFpgaImageInput) String() string
String returns the string representation
func (*CopyFpgaImageInput) Validate ¶
func (s *CopyFpgaImageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CopyFpgaImageOutput ¶
type CopyFpgaImageOutput struct { // The ID of the new AFI. FpgaImageId *string `locationName:"fpgaImageId" type:"string"` // contains filtered or unexported fields }
func (CopyFpgaImageOutput) String ¶
func (s CopyFpgaImageOutput) String() string
String returns the string representation
type CopyFpgaImageRequest ¶
type CopyFpgaImageRequest struct { *aws.Request Input *CopyFpgaImageInput Copy func(*CopyFpgaImageInput) CopyFpgaImageRequest }
CopyFpgaImageRequest is the request type for the CopyFpgaImage API operation.
func (CopyFpgaImageRequest) Send ¶
func (r CopyFpgaImageRequest) Send(ctx context.Context) (*CopyFpgaImageResponse, error)
Send marshals and sends the CopyFpgaImage API request.
type CopyFpgaImageResponse ¶ added in v0.9.0
type CopyFpgaImageResponse struct { *CopyFpgaImageOutput // contains filtered or unexported fields }
CopyFpgaImageResponse is the response type for the CopyFpgaImage API operation.
func (*CopyFpgaImageResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CopyFpgaImageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CopyFpgaImage request.
type CopyImageInput ¶
type CopyImageInput struct { // Unique, case-sensitive identifier you provide to ensure idempotency of the // request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html) // in the Amazon Elastic Compute Cloud User Guide. ClientToken *string `type:"string"` // A description for the new AMI in the destination Region. Description *string `type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // Specifies whether the destination snapshots of the copied image should be // encrypted. You can encrypt a copy of an unencrypted snapshot, but you cannot // create an unencrypted copy of an encrypted snapshot. The default CMK for // EBS is used unless you specify a non-default AWS Key Management Service (AWS // KMS) CMK using KmsKeyId. For more information, see Amazon EBS Encryption // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) // in the Amazon Elastic Compute Cloud User Guide. Encrypted *bool `locationName:"encrypted" type:"boolean"` // An identifier for the AWS Key Management Service (AWS KMS) customer master // key (CMK) to use when creating the encrypted volume. This parameter is only // required if you want to use a non-default CMK; if this parameter is not specified, // the default CMK for EBS is used. If a KmsKeyId is specified, the Encrypted // flag must also be set. // // To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, // or alias ARN. When using an alias name, prefix it with "alias/". For example: // // * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab // // * Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab // // * Alias name: alias/ExampleAlias // // * Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias // // AWS parses KmsKeyId asynchronously, meaning that the action you call may // appear to complete even though you provided an invalid identifier. This action // will eventually report failure. // // The specified CMK must exist in the Region that the snapshot is being copied // to. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The name of the new AMI in the destination Region. // // Name is a required field Name *string `type:"string" required:"true"` // The ID of the AMI to copy. // // SourceImageId is a required field SourceImageId *string `type:"string" required:"true"` // The name of the Region that contains the AMI to copy. // // SourceRegion is a required field SourceRegion *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for CopyImage.
func (CopyImageInput) String ¶
func (s CopyImageInput) String() string
String returns the string representation
func (*CopyImageInput) Validate ¶
func (s *CopyImageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CopyImageOutput ¶
type CopyImageOutput struct { // The ID of the new AMI. ImageId *string `locationName:"imageId" type:"string"` // contains filtered or unexported fields }
Contains the output of CopyImage.
func (CopyImageOutput) String ¶
func (s CopyImageOutput) String() string
String returns the string representation
type CopyImageRequest ¶
type CopyImageRequest struct { *aws.Request Input *CopyImageInput Copy func(*CopyImageInput) CopyImageRequest }
CopyImageRequest is the request type for the CopyImage API operation.
func (CopyImageRequest) Send ¶
func (r CopyImageRequest) Send(ctx context.Context) (*CopyImageResponse, error)
Send marshals and sends the CopyImage API request.
type CopyImageResponse ¶ added in v0.9.0
type CopyImageResponse struct { *CopyImageOutput // contains filtered or unexported fields }
CopyImageResponse is the response type for the CopyImage API operation.
func (*CopyImageResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CopyImageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CopyImage request.
type CopySnapshotInput ¶
type CopySnapshotInput struct { // A description for the EBS snapshot. Description *string `type:"string"` // The destination Region to use in the PresignedUrl parameter of a snapshot // copy operation. This parameter is only valid for specifying the destination // Region in a PresignedUrl parameter, where it is required. // // The snapshot copy is sent to the regional endpoint that you sent the HTTP // request to (for example, ec2.us-east-1.amazonaws.com). With the AWS CLI, // this is specified using the --region parameter or the default Region in your // AWS configuration file. DestinationRegion *string `locationName:"destinationRegion" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // To encrypt a copy of an unencrypted snapshot if encryption by default is // not enabled, enable encryption using this parameter. Otherwise, omit this // parameter. Encrypted snapshots are encrypted, even if you omit this parameter // and encryption by default is not enabled. You cannot set this parameter to // false. For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) // in the Amazon Elastic Compute Cloud User Guide. Encrypted *bool `locationName:"encrypted" type:"boolean"` // The identifier of the AWS Key Management Service (AWS KMS) customer master // key (CMK) to use for Amazon EBS encryption. If this parameter is not specified, // your AWS managed CMK for EBS is used. If KmsKeyId is specified, the encrypted // state must be true. // // You can specify the CMK using any of the following: // // * Key ID. For example, key/1234abcd-12ab-34cd-56ef-1234567890ab. // // * Key alias. For example, alias/ExampleAlias. // // * Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. // // * Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. // // AWS authenticates the CMK asynchronously. Therefore, if you specify an ID, // alias, or ARN that is not valid, the action can appear to complete, but eventually // fails. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // When you copy an encrypted source snapshot using the Amazon EC2 Query API, // you must supply a pre-signed URL. This parameter is optional for unencrypted // snapshots. For more information, see Query Requests (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html). // // The PresignedUrl should use the snapshot source endpoint, the CopySnapshot // action, and include the SourceRegion, SourceSnapshotId, and DestinationRegion // parameters. The PresignedUrl must be signed using AWS Signature Version 4. // Because EBS snapshots are stored in Amazon S3, the signing algorithm for // this parameter uses the same logic that is described in Authenticating Requests // by Using Query Parameters (AWS Signature Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) // in the Amazon Simple Storage Service API Reference. An invalid or improperly // signed PresignedUrl will cause the copy operation to fail asynchronously, // and the snapshot will move to an error state. PresignedUrl *string `locationName:"presignedUrl" type:"string"` // The ID of the Region that contains the snapshot to be copied. // // SourceRegion is a required field SourceRegion *string `type:"string" required:"true"` // The ID of the EBS snapshot to copy. // // SourceSnapshotId is a required field SourceSnapshotId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for CopySnapshot.
func (CopySnapshotInput) String ¶
func (s CopySnapshotInput) String() string
String returns the string representation
func (*CopySnapshotInput) Validate ¶
func (s *CopySnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CopySnapshotOutput ¶
type CopySnapshotOutput struct { // The ID of the new snapshot. SnapshotId *string `locationName:"snapshotId" type:"string"` // contains filtered or unexported fields }
Contains the output of CopySnapshot.
func (CopySnapshotOutput) String ¶
func (s CopySnapshotOutput) String() string
String returns the string representation
type CopySnapshotRequest ¶
type CopySnapshotRequest struct { *aws.Request Input *CopySnapshotInput Copy func(*CopySnapshotInput) CopySnapshotRequest }
CopySnapshotRequest is the request type for the CopySnapshot API operation.
func (CopySnapshotRequest) Send ¶
func (r CopySnapshotRequest) Send(ctx context.Context) (*CopySnapshotResponse, error)
Send marshals and sends the CopySnapshot API request.
type CopySnapshotResponse ¶ added in v0.9.0
type CopySnapshotResponse struct { *CopySnapshotOutput // contains filtered or unexported fields }
CopySnapshotResponse is the response type for the CopySnapshot API operation.
func (*CopySnapshotResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CopySnapshotResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CopySnapshot request.
type CopyTagsFromSource ¶ added in v0.10.0
type CopyTagsFromSource string
const (
CopyTagsFromSourceVolume CopyTagsFromSource = "volume"
)
Enum values for CopyTagsFromSource
func (CopyTagsFromSource) MarshalValue ¶ added in v0.10.0
func (enum CopyTagsFromSource) MarshalValue() (string, error)
func (CopyTagsFromSource) MarshalValueBuf ¶ added in v0.10.0
func (enum CopyTagsFromSource) MarshalValueBuf(b []byte) ([]byte, error)
type CpuOptions ¶ added in v0.4.0
type CpuOptions struct { // The number of CPU cores for the instance. CoreCount *int64 `locationName:"coreCount" type:"integer"` // The number of threads per CPU core. ThreadsPerCore *int64 `locationName:"threadsPerCore" type:"integer"` // contains filtered or unexported fields }
The CPU options for the instance.
func (CpuOptions) String ¶ added in v0.4.0
func (s CpuOptions) String() string
String returns the string representation
type CpuOptionsRequest ¶ added in v0.4.0
type CpuOptionsRequest struct { // The number of CPU cores for the instance. CoreCount *int64 `type:"integer"` // The number of threads per CPU core. To disable multithreading for the instance, // specify a value of 1. Otherwise, specify the default value of 2. ThreadsPerCore *int64 `type:"integer"` // contains filtered or unexported fields }
The CPU options for the instance. Both the core count and threads per core must be specified in the request.
func (CpuOptionsRequest) String ¶ added in v0.4.0
func (s CpuOptionsRequest) String() string
String returns the string representation
type CreateCapacityReservationInput ¶ added in v0.6.0
type CreateCapacityReservationInput struct { // The Availability Zone in which to create the Capacity Reservation. AvailabilityZone *string `type:"string"` // The ID of the Availability Zone in which to create the Capacity Reservation. AvailabilityZoneId *string `type:"string"` // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). // // Constraint: Maximum 64 ASCII characters. ClientToken *string `type:"string"` // 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"` // Indicates whether the Capacity Reservation supports EBS-optimized instances. // This optimization provides dedicated throughput to Amazon EBS and an optimized // configuration stack to provide optimal I/O performance. This optimization // isn't available with all instance types. Additional usage charges apply when // using an EBS- optimized instance. EbsOptimized *bool `type:"boolean"` // The date and time at which the Capacity Reservation expires. When a Capacity // Reservation expires, the reserved capacity is released and you can no longer // launch instances into it. The Capacity Reservation's state changes to expired // when it reaches its end date and time. // // You must provide an EndDate value if EndDateType is limited. Omit EndDate // if EndDateType is unlimited. // // If the EndDateType is limited, the Capacity Reservation is cancelled within // an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, // the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 // on 5/31/2019. EndDate *time.Time `type:"timestamp"` // Indicates the way in which the Capacity Reservation ends. A Capacity Reservation // can have one of the following end types: // // * unlimited - The Capacity Reservation remains active until you explicitly // cancel it. Do not provide an EndDate if the EndDateType is unlimited. // // * limited - The Capacity Reservation expires automatically at a specified // date and time. You must provide an EndDate value if the EndDateType value // is limited. EndDateType EndDateType `type:"string" enum:"true"` // Indicates whether the Capacity Reservation supports instances with temporary, // block-level storage. EphemeralStorage *bool `type:"boolean"` // The number of instances for which to reserve capacity. // // InstanceCount is a required field InstanceCount *int64 `type:"integer" required:"true"` // Indicates the type of instance launches that the Capacity Reservation accepts. // The options include: // // * open - The Capacity Reservation automatically matches all instances // that have matching attributes (instance type, platform, and Availability // Zone). Instances that have matching attributes run in the Capacity Reservation // automatically without specifying any additional parameters. // // * targeted - The Capacity Reservation only accepts instances that have // matching attributes (instance type, platform, and Availability Zone), // and explicitly target the Capacity Reservation. This ensures that only // permitted instances can use the reserved capacity. // // Default: open InstanceMatchCriteria InstanceMatchCriteria `type:"string" enum:"true"` // The type of operating system for which to reserve capacity. // // InstancePlatform is a required field InstancePlatform CapacityReservationInstancePlatform `type:"string" required:"true" enum:"true"` // The instance type for which to reserve capacity. For more information, see // Instance Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) // in the Amazon Elastic Compute Cloud User Guide. // // InstanceType is a required field InstanceType *string `type:"string" required:"true"` // The tags to apply to the Capacity Reservation during launch. TagSpecifications []TagSpecification `locationNameList:"item" type:"list"` // Indicates the tenancy of the Capacity Reservation. A Capacity Reservation // can have one of the following tenancy settings: // // * default - The Capacity Reservation is created on hardware that is shared // with other AWS accounts. // // * dedicated - The Capacity Reservation is created on single-tenant hardware // that is dedicated to a single AWS account. Tenancy CapacityReservationTenancy `type:"string" enum:"true"` // contains filtered or unexported fields }
func (CreateCapacityReservationInput) String ¶ added in v0.6.0
func (s CreateCapacityReservationInput) String() string
String returns the string representation
func (*CreateCapacityReservationInput) Validate ¶ added in v0.6.0
func (s *CreateCapacityReservationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCapacityReservationOutput ¶ added in v0.6.0
type CreateCapacityReservationOutput struct { // Information about the Capacity Reservation. CapacityReservation *CapacityReservation `locationName:"capacityReservation" type:"structure"` // contains filtered or unexported fields }
func (CreateCapacityReservationOutput) String ¶ added in v0.6.0
func (s CreateCapacityReservationOutput) String() string
String returns the string representation
type CreateCapacityReservationRequest ¶ added in v0.6.0
type CreateCapacityReservationRequest struct { *aws.Request Input *CreateCapacityReservationInput Copy func(*CreateCapacityReservationInput) CreateCapacityReservationRequest }
CreateCapacityReservationRequest is the request type for the CreateCapacityReservation API operation.
func (CreateCapacityReservationRequest) Send ¶ added in v0.6.0
func (r CreateCapacityReservationRequest) Send(ctx context.Context) (*CreateCapacityReservationResponse, error)
Send marshals and sends the CreateCapacityReservation API request.
type CreateCapacityReservationResponse ¶ added in v0.9.0
type CreateCapacityReservationResponse struct { *CreateCapacityReservationOutput // contains filtered or unexported fields }
CreateCapacityReservationResponse is the response type for the CreateCapacityReservation API operation.
func (*CreateCapacityReservationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateCapacityReservationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateCapacityReservation request.
type CreateClientVpnEndpointInput ¶ added in v0.7.0
type CreateClientVpnEndpointInput struct { // Information about the authentication method to be used to authenticate clients. // // AuthenticationOptions is a required field AuthenticationOptions []VpnAuthenticationRequest `locationName:"Authentication" type:"list" required:"true"` // The IPv4 address range, in CIDR notation, from which to assign client IP // addresses. The address range cannot overlap with the local CIDR of the VPC // in which the associated subnet is located, or the routes that you add manually. // The address range cannot be changed after the Client VPN endpoint has been // created. The CIDR block should be /22 or greater. // // ClientCidrBlock is a required field ClientCidrBlock *string `type:"string" required:"true"` // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // Information about the client connection logging options. // // If you enable client connection logging, data about client connections is // sent to a Cloudwatch Logs log stream. The following information is logged: // // * Client connection requests // // * Client connection results (successful and unsuccessful) // // * Reasons for unsuccessful client connection requests // // * Client connection termination time // // ConnectionLogOptions is a required field ConnectionLogOptions *ConnectionLogOptions `type:"structure" required:"true"` // A brief description of the Client VPN endpoint. Description *string `type:"string"` // Information about the DNS servers to be used for DNS resolution. A Client // VPN endpoint can have up to two DNS servers. If no DNS server is specified, // the DNS address configured on the device is used for the DNS server. DnsServers []string `locationNameList:"item" type:"list"` // 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 ARN of the server certificate. For more information, see the AWS Certificate // Manager User Guide (https://docs.aws.amazon.com/acm/latest/userguide/). // // ServerCertificateArn is a required field ServerCertificateArn *string `type:"string" required:"true"` // Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint. // // By default, split-tunnel on a VPN endpoint is disabled. // // For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client // VPN Endpoint (https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) // in the AWS Client VPN Administrator Guide. SplitTunnel *bool `type:"boolean"` // The tags to apply to the Client VPN endpoint during creation. TagSpecifications []TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` // The transport protocol to be used by the VPN session. // // Default value: udp TransportProtocol TransportProtocol `type:"string" enum:"true"` // contains filtered or unexported fields }
func (CreateClientVpnEndpointInput) String ¶ added in v0.7.0
func (s CreateClientVpnEndpointInput) String() string
String returns the string representation
func (*CreateClientVpnEndpointInput) Validate ¶ added in v0.7.0
func (s *CreateClientVpnEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateClientVpnEndpointOutput ¶ added in v0.7.0
type CreateClientVpnEndpointOutput struct { // The ID of the Client VPN endpoint. ClientVpnEndpointId *string `locationName:"clientVpnEndpointId" type:"string"` // The DNS name to be used by clients when establishing their VPN session. DnsName *string `locationName:"dnsName" type:"string"` // The current state of the Client VPN endpoint. Status *VpnEndpointStatus `locationName:"status" type:"structure"` // contains filtered or unexported fields }
func (CreateClientVpnEndpointOutput) String ¶ added in v0.7.0
func (s CreateClientVpnEndpointOutput) String() string
String returns the string representation
type CreateClientVpnEndpointRequest ¶ added in v0.7.0
type CreateClientVpnEndpointRequest struct { *aws.Request Input *CreateClientVpnEndpointInput Copy func(*CreateClientVpnEndpointInput) CreateClientVpnEndpointRequest }
CreateClientVpnEndpointRequest is the request type for the CreateClientVpnEndpoint API operation.
func (CreateClientVpnEndpointRequest) Send ¶ added in v0.7.0
func (r CreateClientVpnEndpointRequest) Send(ctx context.Context) (*CreateClientVpnEndpointResponse, error)
Send marshals and sends the CreateClientVpnEndpoint API request.
type CreateClientVpnEndpointResponse ¶ added in v0.9.0
type CreateClientVpnEndpointResponse struct { *CreateClientVpnEndpointOutput // contains filtered or unexported fields }
CreateClientVpnEndpointResponse is the response type for the CreateClientVpnEndpoint API operation.
func (*CreateClientVpnEndpointResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateClientVpnEndpointResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateClientVpnEndpoint request.
type CreateClientVpnRouteInput ¶ added in v0.7.0
type CreateClientVpnRouteInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // The ID of the Client VPN endpoint to which to add the route. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // A brief description of the route. Description *string `type:"string"` // The IPv4 address range, in CIDR notation, of the route destination. For example: // // * To add a route for Internet access, enter 0.0.0.0/0 // // * To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR range // // * To add a route for an on-premises network, enter the AWS Site-to-Site // VPN connection's IPv4 CIDR range // // Route address ranges cannot overlap with the CIDR range specified for client // allocation. // // DestinationCidrBlock is a required field DestinationCidrBlock *string `type:"string" required:"true"` // 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 subnet through which you want to route traffic. The specified // subnet must be an existing target network of the Client VPN endpoint. // // TargetVpcSubnetId is a required field TargetVpcSubnetId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateClientVpnRouteInput) String ¶ added in v0.7.0
func (s CreateClientVpnRouteInput) String() string
String returns the string representation
func (*CreateClientVpnRouteInput) Validate ¶ added in v0.7.0
func (s *CreateClientVpnRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateClientVpnRouteOutput ¶ added in v0.7.0
type CreateClientVpnRouteOutput struct { // The current state of the route. Status *VpnRouteStatus `locationName:"status" type:"structure"` // contains filtered or unexported fields }
func (CreateClientVpnRouteOutput) String ¶ added in v0.7.0
func (s CreateClientVpnRouteOutput) String() string
String returns the string representation
type CreateClientVpnRouteRequest ¶ added in v0.7.0
type CreateClientVpnRouteRequest struct { *aws.Request Input *CreateClientVpnRouteInput Copy func(*CreateClientVpnRouteInput) CreateClientVpnRouteRequest }
CreateClientVpnRouteRequest is the request type for the CreateClientVpnRoute API operation.
func (CreateClientVpnRouteRequest) Send ¶ added in v0.7.0
func (r CreateClientVpnRouteRequest) Send(ctx context.Context) (*CreateClientVpnRouteResponse, error)
Send marshals and sends the CreateClientVpnRoute API request.
type CreateClientVpnRouteResponse ¶ added in v0.9.0
type CreateClientVpnRouteResponse struct { *CreateClientVpnRouteOutput // contains filtered or unexported fields }
CreateClientVpnRouteResponse is the response type for the CreateClientVpnRoute API operation.
func (*CreateClientVpnRouteResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateClientVpnRouteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateClientVpnRoute request.
type CreateCustomerGatewayInput ¶
type CreateCustomerGatewayInput struct { // For devices that support BGP, the customer gateway's BGP ASN. // // Default: 65000 // // BgpAsn is a required field BgpAsn *int64 `type:"integer" required:"true"` // The Amazon Resource Name (ARN) for the customer gateway certificate. CertificateArn *string `type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // The Internet-routable IP address for the customer gateway's outside interface. // The address must be static. PublicIp *string `locationName:"IpAddress" type:"string"` // The type of VPN connection that this customer gateway supports (ipsec.1). // // Type is a required field Type GatewayType `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Contains the parameters for CreateCustomerGateway.
func (CreateCustomerGatewayInput) String ¶
func (s CreateCustomerGatewayInput) String() string
String returns the string representation
func (*CreateCustomerGatewayInput) Validate ¶
func (s *CreateCustomerGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCustomerGatewayOutput ¶
type CreateCustomerGatewayOutput struct { // Information about the customer gateway. CustomerGateway *CustomerGateway `locationName:"customerGateway" type:"structure"` // contains filtered or unexported fields }
Contains the output of CreateCustomerGateway.
func (CreateCustomerGatewayOutput) String ¶
func (s CreateCustomerGatewayOutput) String() string
String returns the string representation
type CreateCustomerGatewayRequest ¶
type CreateCustomerGatewayRequest struct { *aws.Request Input *CreateCustomerGatewayInput Copy func(*CreateCustomerGatewayInput) CreateCustomerGatewayRequest }
CreateCustomerGatewayRequest is the request type for the CreateCustomerGateway API operation.
func (CreateCustomerGatewayRequest) Send ¶
func (r CreateCustomerGatewayRequest) Send(ctx context.Context) (*CreateCustomerGatewayResponse, error)
Send marshals and sends the CreateCustomerGateway API request.
type CreateCustomerGatewayResponse ¶ added in v0.9.0
type CreateCustomerGatewayResponse struct { *CreateCustomerGatewayOutput // contains filtered or unexported fields }
CreateCustomerGatewayResponse is the response type for the CreateCustomerGateway API operation.
func (*CreateCustomerGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateCustomerGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateCustomerGateway request.
type CreateDefaultSubnetInput ¶ added in v0.2.0
type CreateDefaultSubnetInput struct { // The Availability Zone in which to create the default subnet. // // AvailabilityZone is a required field AvailabilityZone *string `type:"string" required:"true"` // 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"` // contains filtered or unexported fields }
func (CreateDefaultSubnetInput) String ¶ added in v0.2.0
func (s CreateDefaultSubnetInput) String() string
String returns the string representation
func (*CreateDefaultSubnetInput) Validate ¶ added in v0.2.0
func (s *CreateDefaultSubnetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDefaultSubnetOutput ¶ added in v0.2.0
type CreateDefaultSubnetOutput struct { // Information about the subnet. Subnet *Subnet `locationName:"subnet" type:"structure"` // contains filtered or unexported fields }
func (CreateDefaultSubnetOutput) String ¶ added in v0.2.0
func (s CreateDefaultSubnetOutput) String() string
String returns the string representation
type CreateDefaultSubnetRequest ¶ added in v0.2.0
type CreateDefaultSubnetRequest struct { *aws.Request Input *CreateDefaultSubnetInput Copy func(*CreateDefaultSubnetInput) CreateDefaultSubnetRequest }
CreateDefaultSubnetRequest is the request type for the CreateDefaultSubnet API operation.
func (CreateDefaultSubnetRequest) Send ¶ added in v0.2.0
func (r CreateDefaultSubnetRequest) Send(ctx context.Context) (*CreateDefaultSubnetResponse, error)
Send marshals and sends the CreateDefaultSubnet API request.
type CreateDefaultSubnetResponse ¶ added in v0.9.0
type CreateDefaultSubnetResponse struct { *CreateDefaultSubnetOutput // contains filtered or unexported fields }
CreateDefaultSubnetResponse is the response type for the CreateDefaultSubnet API operation.
func (*CreateDefaultSubnetResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateDefaultSubnetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateDefaultSubnet request.
type CreateDefaultVpcInput ¶
type CreateDefaultVpcInput 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"` // contains filtered or unexported fields }
func (CreateDefaultVpcInput) String ¶
func (s CreateDefaultVpcInput) String() string
String returns the string representation
type CreateDefaultVpcOutput ¶
type CreateDefaultVpcOutput struct { // Information about the VPC. Vpc *Vpc `locationName:"vpc" type:"structure"` // contains filtered or unexported fields }
func (CreateDefaultVpcOutput) String ¶
func (s CreateDefaultVpcOutput) String() string
String returns the string representation
type CreateDefaultVpcRequest ¶
type CreateDefaultVpcRequest struct { *aws.Request Input *CreateDefaultVpcInput Copy func(*CreateDefaultVpcInput) CreateDefaultVpcRequest }
CreateDefaultVpcRequest is the request type for the CreateDefaultVpc API operation.
func (CreateDefaultVpcRequest) Send ¶
func (r CreateDefaultVpcRequest) Send(ctx context.Context) (*CreateDefaultVpcResponse, error)
Send marshals and sends the CreateDefaultVpc API request.
type CreateDefaultVpcResponse ¶ added in v0.9.0
type CreateDefaultVpcResponse struct { *CreateDefaultVpcOutput // contains filtered or unexported fields }
CreateDefaultVpcResponse is the response type for the CreateDefaultVpc API operation.
func (*CreateDefaultVpcResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateDefaultVpcResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateDefaultVpc request.
type CreateDhcpOptionsInput ¶
type CreateDhcpOptionsInput struct { // A DHCP configuration option. // // DhcpConfigurations is a required field DhcpConfigurations []NewDhcpConfiguration `locationName:"dhcpConfiguration" locationNameList:"item" type:"list" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // contains filtered or unexported fields }
func (CreateDhcpOptionsInput) String ¶
func (s CreateDhcpOptionsInput) String() string
String returns the string representation
func (*CreateDhcpOptionsInput) Validate ¶
func (s *CreateDhcpOptionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDhcpOptionsOutput ¶
type CreateDhcpOptionsOutput struct { // A set of DHCP options. DhcpOptions *DhcpOptions `locationName:"dhcpOptions" type:"structure"` // contains filtered or unexported fields }
func (CreateDhcpOptionsOutput) String ¶
func (s CreateDhcpOptionsOutput) String() string
String returns the string representation
type CreateDhcpOptionsRequest ¶
type CreateDhcpOptionsRequest struct { *aws.Request Input *CreateDhcpOptionsInput Copy func(*CreateDhcpOptionsInput) CreateDhcpOptionsRequest }
CreateDhcpOptionsRequest is the request type for the CreateDhcpOptions API operation.
func (CreateDhcpOptionsRequest) Send ¶
func (r CreateDhcpOptionsRequest) Send(ctx context.Context) (*CreateDhcpOptionsResponse, error)
Send marshals and sends the CreateDhcpOptions API request.
type CreateDhcpOptionsResponse ¶ added in v0.9.0
type CreateDhcpOptionsResponse struct { *CreateDhcpOptionsOutput // contains filtered or unexported fields }
CreateDhcpOptionsResponse is the response type for the CreateDhcpOptions API operation.
func (*CreateDhcpOptionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateDhcpOptionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateDhcpOptions request.
type CreateEgressOnlyInternetGatewayInput ¶
type CreateEgressOnlyInternetGatewayInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` // 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 VPC for which to create the egress-only internet gateway. // // VpcId is a required field VpcId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateEgressOnlyInternetGatewayInput) String ¶
func (s CreateEgressOnlyInternetGatewayInput) String() string
String returns the string representation
func (*CreateEgressOnlyInternetGatewayInput) Validate ¶
func (s *CreateEgressOnlyInternetGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateEgressOnlyInternetGatewayOutput ¶
type CreateEgressOnlyInternetGatewayOutput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. ClientToken *string `locationName:"clientToken" type:"string"` // Information about the egress-only internet gateway. EgressOnlyInternetGateway *EgressOnlyInternetGateway `locationName:"egressOnlyInternetGateway" type:"structure"` // contains filtered or unexported fields }
func (CreateEgressOnlyInternetGatewayOutput) String ¶
func (s CreateEgressOnlyInternetGatewayOutput) String() string
String returns the string representation
type CreateEgressOnlyInternetGatewayRequest ¶
type CreateEgressOnlyInternetGatewayRequest struct { *aws.Request Input *CreateEgressOnlyInternetGatewayInput Copy func(*CreateEgressOnlyInternetGatewayInput) CreateEgressOnlyInternetGatewayRequest }
CreateEgressOnlyInternetGatewayRequest is the request type for the CreateEgressOnlyInternetGateway API operation.
func (CreateEgressOnlyInternetGatewayRequest) Send ¶
func (r CreateEgressOnlyInternetGatewayRequest) Send(ctx context.Context) (*CreateEgressOnlyInternetGatewayResponse, error)
Send marshals and sends the CreateEgressOnlyInternetGateway API request.
type CreateEgressOnlyInternetGatewayResponse ¶ added in v0.9.0
type CreateEgressOnlyInternetGatewayResponse struct { *CreateEgressOnlyInternetGatewayOutput // contains filtered or unexported fields }
CreateEgressOnlyInternetGatewayResponse is the response type for the CreateEgressOnlyInternetGateway API operation.
func (*CreateEgressOnlyInternetGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateEgressOnlyInternetGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateEgressOnlyInternetGateway request.
type CreateFleetError ¶ added in v0.6.0
type CreateFleetError struct { // The error code that indicates why the instance could not be launched. For // more information about error codes, see Error Codes (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html). ErrorCode *string `locationName:"errorCode" type:"string"` // The error message that describes why the instance could not be launched. // For more information about error messages, see ee Error Codes (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html). ErrorMessage *string `locationName:"errorMessage" type:"string"` // The launch templates and overrides that were used for launching the instances. // Any parameters that you specify in the Overrides override the same parameters // in the launch template. LaunchTemplateAndOverrides *LaunchTemplateAndOverridesResponse `locationName:"launchTemplateAndOverrides" type:"structure"` // Indicates if the instance that could not be launched was a Spot Instance // or On-Demand Instance. Lifecycle InstanceLifecycle `locationName:"lifecycle" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the instances that could not be launched by the fleet.
func (CreateFleetError) String ¶ added in v0.6.0
func (s CreateFleetError) String() string
String returns the string representation
type CreateFleetInput ¶ added in v0.4.0
type CreateFleetInput struct { // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` // 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"` // Indicates whether running instances should be terminated if the total target // capacity of the EC2 Fleet is decreased below the current size of the EC2 // Fleet. ExcessCapacityTerminationPolicy FleetExcessCapacityTerminationPolicy `type:"string" enum:"true"` // The configuration for the EC2 Fleet. // // LaunchTemplateConfigs is a required field LaunchTemplateConfigs []FleetLaunchTemplateConfigRequest `locationNameList:"item" type:"list" required:"true"` // Describes the configuration of On-Demand Instances in an EC2 Fleet. OnDemandOptions *OnDemandOptionsRequest `type:"structure"` // Indicates whether EC2 Fleet should replace unhealthy instances. ReplaceUnhealthyInstances *bool `type:"boolean"` // Describes the configuration of Spot Instances in an EC2 Fleet. SpotOptions *SpotOptionsRequest `type:"structure"` // The key-value pair for tagging the EC2 Fleet request on creation. The value // for ResourceType must be fleet, otherwise the fleet request fails. To tag // instances at launch, specify the tags in the launch template (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template). // For information about tagging after launch, see Tagging Your Resources (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources). TagSpecifications []TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` // The number of units to request. // // TargetCapacitySpecification is a required field TargetCapacitySpecification *TargetCapacitySpecificationRequest `type:"structure" required:"true"` // Indicates whether running instances should be terminated when the EC2 Fleet // expires. TerminateInstancesWithExpiration *bool `type:"boolean"` // The type of the request. By default, the EC2 Fleet places an asynchronous // request for your desired capacity, and maintains it by replenishing interrupted // Spot Instances (maintain). A value of instant places a synchronous one-time // request, and returns errors for any instances that could not be launched. // A value of request places an asynchronous one-time request without maintaining // capacity or submitting requests in alternative capacity pools if capacity // is unavailable. For more information, see EC2 Fleet Request Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-configuration-strategies.html#ec2-fleet-request-type) // in the Amazon Elastic Compute Cloud User Guide. Type FleetType `type:"string" enum:"true"` // The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). // The default is to start fulfilling the request immediately. ValidFrom *time.Time `type:"timestamp"` // The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). // At this point, no new EC2 Fleet requests are placed or able to fulfill the // request. If no value is specified, the request remains until you cancel it. ValidUntil *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (CreateFleetInput) String ¶ added in v0.4.0
func (s CreateFleetInput) String() string
String returns the string representation
func (*CreateFleetInput) Validate ¶ added in v0.4.0
func (s *CreateFleetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateFleetInstance ¶ added in v0.6.0
type CreateFleetInstance struct { // The IDs of the instances. InstanceIds []string `locationName:"instanceIds" locationNameList:"item" type:"list"` // The instance type. InstanceType InstanceType `locationName:"instanceType" type:"string" enum:"true"` // The launch templates and overrides that were used for launching the instances. // Any parameters that you specify in the Overrides override the same parameters // in the launch template. LaunchTemplateAndOverrides *LaunchTemplateAndOverridesResponse `locationName:"launchTemplateAndOverrides" type:"structure"` // Indicates if the instance that was launched is a Spot Instance or On-Demand // Instance. Lifecycle InstanceLifecycle `locationName:"lifecycle" type:"string" enum:"true"` // The value is Windows for Windows instances; otherwise blank. Platform PlatformValues `locationName:"platform" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the instances that were launched by the fleet.
func (CreateFleetInstance) String ¶ added in v0.6.0
func (s CreateFleetInstance) String() string
String returns the string representation
type CreateFleetOutput ¶ added in v0.4.0
type CreateFleetOutput struct { // Information about the instances that could not be launched by the fleet. // Valid only when Type is set to instant. Errors []CreateFleetError `locationName:"errorSet" locationNameList:"item" type:"list"` // The ID of the EC2 Fleet. FleetId *string `locationName:"fleetId" type:"string"` // Information about the instances that were launched by the fleet. Valid only // when Type is set to instant. Instances []CreateFleetInstance `locationName:"fleetInstanceSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (CreateFleetOutput) String ¶ added in v0.4.0
func (s CreateFleetOutput) String() string
String returns the string representation
type CreateFleetRequest ¶ added in v0.4.0
type CreateFleetRequest struct { *aws.Request Input *CreateFleetInput Copy func(*CreateFleetInput) CreateFleetRequest }
CreateFleetRequest is the request type for the CreateFleet API operation.
func (CreateFleetRequest) Send ¶ added in v0.4.0
func (r CreateFleetRequest) Send(ctx context.Context) (*CreateFleetResponse, error)
Send marshals and sends the CreateFleet API request.
type CreateFleetResponse ¶ added in v0.9.0
type CreateFleetResponse struct { *CreateFleetOutput // contains filtered or unexported fields }
CreateFleetResponse is the response type for the CreateFleet API operation.
func (*CreateFleetResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateFleetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateFleet request.
type CreateFlowLogsInput ¶
type CreateFlowLogsInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` // The ARN for the IAM role that permits Amazon EC2 to publish flow logs to // a CloudWatch Logs log group in your account. // // If you specify LogDestinationType as s3, do not specify DeliverLogsPermissionArn // or LogGroupName. DeliverLogsPermissionArn *string `type:"string"` // 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"` // Specifies the destination to which the flow log data is to be published. // Flow log data can be published to a CloudWatch Logs log group or an Amazon // S3 bucket. The value specified for this parameter depends on the value specified // for LogDestinationType. // // If LogDestinationType is not specified or cloud-watch-logs, specify the Amazon // Resource Name (ARN) of the CloudWatch Logs log group. // // If LogDestinationType is s3, specify the ARN of the Amazon S3 bucket. You // can also specify a subfolder in the bucket. To specify a subfolder in the // bucket, use the following ARN format: bucket_ARN/subfolder_name/. For example, // to specify a subfolder named my-logs in a bucket named my-bucket, use the // following ARN: arn:aws:s3:::my-bucket/my-logs/. You cannot use AWSLogs as // a subfolder name. This is a reserved term. LogDestination *string `type:"string"` // Specifies the type of destination to which the flow log data is to be published. // Flow log data can be published to CloudWatch Logs or Amazon S3. To publish // flow log data to CloudWatch Logs, specify cloud-watch-logs. To publish flow // log data to Amazon S3, specify s3. // // If you specify LogDestinationType as s3, do not specify DeliverLogsPermissionArn // or LogGroupName. // // Default: cloud-watch-logs LogDestinationType LogDestinationType `type:"string" enum:"true"` // The fields to include in the flow log record, in the order in which they // should appear. For a list of available fields, see Flow Log Records (https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records). // If you omit this parameter, the flow log is created using the default format. // If you specify this parameter, you must specify at least one field. // // Specify the fields using the ${field-id} format, separated by spaces. For // the AWS CLI, use single quotation marks (' ') to surround the parameter value. // // Only applicable to flow logs that are published to an Amazon S3 bucket. LogFormat *string `type:"string"` // The name of a new or existing CloudWatch Logs log group where Amazon EC2 // publishes your flow logs. // // If you specify LogDestinationType as s3, do not specify DeliverLogsPermissionArn // or LogGroupName. LogGroupName *string `type:"string"` // The ID of the subnet, network interface, or VPC for which you want to create // a flow log. // // Constraints: Maximum of 1000 resources // // ResourceIds is a required field ResourceIds []string `locationName:"ResourceId" locationNameList:"item" type:"list" required:"true"` // The type of resource for which to create the flow log. For example, if you // specified a VPC ID for the ResourceId property, specify VPC for this property. // // ResourceType is a required field ResourceType FlowLogsResourceType `type:"string" required:"true" enum:"true"` // The type of traffic to log. You can log traffic that the resource accepts // or rejects, or all traffic. // // TrafficType is a required field TrafficType TrafficType `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
func (CreateFlowLogsInput) String ¶
func (s CreateFlowLogsInput) String() string
String returns the string representation
func (*CreateFlowLogsInput) Validate ¶
func (s *CreateFlowLogsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateFlowLogsOutput ¶
type CreateFlowLogsOutput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. ClientToken *string `locationName:"clientToken" type:"string"` // The IDs of the flow logs. FlowLogIds []string `locationName:"flowLogIdSet" locationNameList:"item" type:"list"` // Information about the flow logs that could not be created successfully. Unsuccessful []UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (CreateFlowLogsOutput) String ¶
func (s CreateFlowLogsOutput) String() string
String returns the string representation
type CreateFlowLogsRequest ¶
type CreateFlowLogsRequest struct { *aws.Request Input *CreateFlowLogsInput Copy func(*CreateFlowLogsInput) CreateFlowLogsRequest }
CreateFlowLogsRequest is the request type for the CreateFlowLogs API operation.
func (CreateFlowLogsRequest) Send ¶
func (r CreateFlowLogsRequest) Send(ctx context.Context) (*CreateFlowLogsResponse, error)
Send marshals and sends the CreateFlowLogs API request.
type CreateFlowLogsResponse ¶ added in v0.9.0
type CreateFlowLogsResponse struct { *CreateFlowLogsOutput // contains filtered or unexported fields }
CreateFlowLogsResponse is the response type for the CreateFlowLogs API operation.
func (*CreateFlowLogsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateFlowLogsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateFlowLogs request.
type CreateFpgaImageInput ¶
type CreateFpgaImageInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` // A description for the AFI. Description *string `type:"string"` // 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 location of the encrypted design checkpoint in Amazon S3. The input must // be a tarball. // // InputStorageLocation is a required field InputStorageLocation *StorageLocation `type:"structure" required:"true"` // The location in Amazon S3 for the output logs. LogsStorageLocation *StorageLocation `type:"structure"` // A name for the AFI. Name *string `type:"string"` // contains filtered or unexported fields }
func (CreateFpgaImageInput) String ¶
func (s CreateFpgaImageInput) String() string
String returns the string representation
func (*CreateFpgaImageInput) Validate ¶
func (s *CreateFpgaImageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateFpgaImageOutput ¶
type CreateFpgaImageOutput struct { // The global FPGA image identifier (AGFI ID). FpgaImageGlobalId *string `locationName:"fpgaImageGlobalId" type:"string"` // The FPGA image identifier (AFI ID). FpgaImageId *string `locationName:"fpgaImageId" type:"string"` // contains filtered or unexported fields }
func (CreateFpgaImageOutput) String ¶
func (s CreateFpgaImageOutput) String() string
String returns the string representation
type CreateFpgaImageRequest ¶
type CreateFpgaImageRequest struct { *aws.Request Input *CreateFpgaImageInput Copy func(*CreateFpgaImageInput) CreateFpgaImageRequest }
CreateFpgaImageRequest is the request type for the CreateFpgaImage API operation.
func (CreateFpgaImageRequest) Send ¶
func (r CreateFpgaImageRequest) Send(ctx context.Context) (*CreateFpgaImageResponse, error)
Send marshals and sends the CreateFpgaImage API request.
type CreateFpgaImageResponse ¶ added in v0.9.0
type CreateFpgaImageResponse struct { *CreateFpgaImageOutput // contains filtered or unexported fields }
CreateFpgaImageResponse is the response type for the CreateFpgaImage API operation.
func (*CreateFpgaImageResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateFpgaImageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateFpgaImage request.
type CreateImageInput ¶
type CreateImageInput struct { // The block device mappings. This parameter cannot be used to modify the encryption // status of existing volumes or snapshots. To create an AMI with encrypted // snapshots, use the CopyImage action. BlockDeviceMappings []BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"BlockDeviceMapping" type:"list"` // A description for the new image. Description *string `locationName:"description" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the instance. // // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // A name for the new image. // // Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets // ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), // at-signs (@), or underscores(_) // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // By default, Amazon EC2 attempts to shut down and reboot the instance before // creating the image. If the 'No Reboot' option is set, Amazon EC2 doesn't // shut down the instance before creating the image. When this option is used, // file system integrity on the created image can't be guaranteed. NoReboot *bool `locationName:"noReboot" type:"boolean"` // contains filtered or unexported fields }
func (CreateImageInput) String ¶
func (s CreateImageInput) String() string
String returns the string representation
func (*CreateImageInput) Validate ¶
func (s *CreateImageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateImageOutput ¶
type CreateImageOutput struct { // The ID of the new AMI. ImageId *string `locationName:"imageId" type:"string"` // contains filtered or unexported fields }
func (CreateImageOutput) String ¶
func (s CreateImageOutput) String() string
String returns the string representation
type CreateImageRequest ¶
type CreateImageRequest struct { *aws.Request Input *CreateImageInput Copy func(*CreateImageInput) CreateImageRequest }
CreateImageRequest is the request type for the CreateImage API operation.
func (CreateImageRequest) Send ¶
func (r CreateImageRequest) Send(ctx context.Context) (*CreateImageResponse, error)
Send marshals and sends the CreateImage API request.
type CreateImageResponse ¶ added in v0.9.0
type CreateImageResponse struct { *CreateImageOutput // contains filtered or unexported fields }
CreateImageResponse is the response type for the CreateImage API operation.
func (*CreateImageResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateImageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateImage request.
type CreateInstanceExportTaskInput ¶
type CreateInstanceExportTaskInput struct { // A description for the conversion task or the resource being exported. The // maximum length is 255 bytes. Description *string `locationName:"description" type:"string"` // The format and location for an instance export task. ExportToS3Task *ExportToS3TaskSpecification `locationName:"exportToS3" type:"structure"` // The ID of the instance. // // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // The target virtualization environment. TargetEnvironment ExportEnvironment `locationName:"targetEnvironment" type:"string" enum:"true"` // contains filtered or unexported fields }
func (CreateInstanceExportTaskInput) String ¶
func (s CreateInstanceExportTaskInput) String() string
String returns the string representation
func (*CreateInstanceExportTaskInput) Validate ¶
func (s *CreateInstanceExportTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateInstanceExportTaskOutput ¶
type CreateInstanceExportTaskOutput struct { // Information about the instance export task. ExportTask *ExportTask `locationName:"exportTask" type:"structure"` // contains filtered or unexported fields }
func (CreateInstanceExportTaskOutput) String ¶
func (s CreateInstanceExportTaskOutput) String() string
String returns the string representation
type CreateInstanceExportTaskRequest ¶
type CreateInstanceExportTaskRequest struct { *aws.Request Input *CreateInstanceExportTaskInput Copy func(*CreateInstanceExportTaskInput) CreateInstanceExportTaskRequest }
CreateInstanceExportTaskRequest is the request type for the CreateInstanceExportTask API operation.
func (CreateInstanceExportTaskRequest) Send ¶
func (r CreateInstanceExportTaskRequest) Send(ctx context.Context) (*CreateInstanceExportTaskResponse, error)
Send marshals and sends the CreateInstanceExportTask API request.
type CreateInstanceExportTaskResponse ¶ added in v0.9.0
type CreateInstanceExportTaskResponse struct { *CreateInstanceExportTaskOutput // contains filtered or unexported fields }
CreateInstanceExportTaskResponse is the response type for the CreateInstanceExportTask API operation.
func (*CreateInstanceExportTaskResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateInstanceExportTaskResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateInstanceExportTask request.
type CreateInternetGatewayInput ¶
type CreateInternetGatewayInput 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 `locationName:"dryRun" type:"boolean"` // contains filtered or unexported fields }
func (CreateInternetGatewayInput) String ¶
func (s CreateInternetGatewayInput) String() string
String returns the string representation
type CreateInternetGatewayOutput ¶
type CreateInternetGatewayOutput struct { // Information about the internet gateway. InternetGateway *InternetGateway `locationName:"internetGateway" type:"structure"` // contains filtered or unexported fields }
func (CreateInternetGatewayOutput) String ¶
func (s CreateInternetGatewayOutput) String() string
String returns the string representation
type CreateInternetGatewayRequest ¶
type CreateInternetGatewayRequest struct { *aws.Request Input *CreateInternetGatewayInput Copy func(*CreateInternetGatewayInput) CreateInternetGatewayRequest }
CreateInternetGatewayRequest is the request type for the CreateInternetGateway API operation.
func (CreateInternetGatewayRequest) Send ¶
func (r CreateInternetGatewayRequest) Send(ctx context.Context) (*CreateInternetGatewayResponse, error)
Send marshals and sends the CreateInternetGateway API request.
type CreateInternetGatewayResponse ¶ added in v0.9.0
type CreateInternetGatewayResponse struct { *CreateInternetGatewayOutput // contains filtered or unexported fields }
CreateInternetGatewayResponse is the response type for the CreateInternetGateway API operation.
func (*CreateInternetGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateInternetGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateInternetGateway request.
type CreateKeyPairInput ¶
type CreateKeyPairInput 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 `locationName:"dryRun" type:"boolean"` // A unique name for the key pair. // // Constraints: Up to 255 ASCII characters // // KeyName is a required field KeyName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateKeyPairInput) String ¶
func (s CreateKeyPairInput) String() string
String returns the string representation
func (*CreateKeyPairInput) Validate ¶
func (s *CreateKeyPairInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateKeyPairOutput ¶
type CreateKeyPairOutput struct { // The SHA-1 digest of the DER encoded private key. KeyFingerprint *string `locationName:"keyFingerprint" type:"string"` // An unencrypted PEM encoded RSA private key. KeyMaterial *string `locationName:"keyMaterial" type:"string"` // The name of the key pair. KeyName *string `locationName:"keyName" type:"string"` // contains filtered or unexported fields }
Describes a key pair.
func (CreateKeyPairOutput) String ¶
func (s CreateKeyPairOutput) String() string
String returns the string representation
type CreateKeyPairRequest ¶
type CreateKeyPairRequest struct { *aws.Request Input *CreateKeyPairInput Copy func(*CreateKeyPairInput) CreateKeyPairRequest }
CreateKeyPairRequest is the request type for the CreateKeyPair API operation.
func (CreateKeyPairRequest) Send ¶
func (r CreateKeyPairRequest) Send(ctx context.Context) (*CreateKeyPairResponse, error)
Send marshals and sends the CreateKeyPair API request.
type CreateKeyPairResponse ¶ added in v0.9.0
type CreateKeyPairResponse struct { *CreateKeyPairOutput // contains filtered or unexported fields }
CreateKeyPairResponse is the response type for the CreateKeyPair API operation.
func (*CreateKeyPairResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateKeyPairResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateKeyPair request.
type CreateLaunchTemplateInput ¶ added in v0.2.0
type CreateLaunchTemplateInput struct { // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). // // Constraint: Maximum 128 ASCII characters. ClientToken *string `type:"string"` // 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 information for the launch template. // // LaunchTemplateData is a required field LaunchTemplateData *RequestLaunchTemplateData `type:"structure" required:"true"` // A name for the launch template. // // LaunchTemplateName is a required field LaunchTemplateName *string `min:"3" type:"string" required:"true"` // The tags to apply to the launch template during creation. TagSpecifications []TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` // A description for the first version of the launch template. VersionDescription *string `type:"string"` // contains filtered or unexported fields }
func (CreateLaunchTemplateInput) String ¶ added in v0.2.0
func (s CreateLaunchTemplateInput) String() string
String returns the string representation
func (*CreateLaunchTemplateInput) Validate ¶ added in v0.2.0
func (s *CreateLaunchTemplateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLaunchTemplateOutput ¶ added in v0.2.0
type CreateLaunchTemplateOutput struct { // Information about the launch template. LaunchTemplate *LaunchTemplate `locationName:"launchTemplate" type:"structure"` // contains filtered or unexported fields }
func (CreateLaunchTemplateOutput) String ¶ added in v0.2.0
func (s CreateLaunchTemplateOutput) String() string
String returns the string representation
type CreateLaunchTemplateRequest ¶ added in v0.2.0
type CreateLaunchTemplateRequest struct { *aws.Request Input *CreateLaunchTemplateInput Copy func(*CreateLaunchTemplateInput) CreateLaunchTemplateRequest }
CreateLaunchTemplateRequest is the request type for the CreateLaunchTemplate API operation.
func (CreateLaunchTemplateRequest) Send ¶ added in v0.2.0
func (r CreateLaunchTemplateRequest) Send(ctx context.Context) (*CreateLaunchTemplateResponse, error)
Send marshals and sends the CreateLaunchTemplate API request.
type CreateLaunchTemplateResponse ¶ added in v0.9.0
type CreateLaunchTemplateResponse struct { *CreateLaunchTemplateOutput // contains filtered or unexported fields }
CreateLaunchTemplateResponse is the response type for the CreateLaunchTemplate API operation.
func (*CreateLaunchTemplateResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateLaunchTemplateResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateLaunchTemplate request.
type CreateLaunchTemplateVersionInput ¶ added in v0.2.0
type CreateLaunchTemplateVersionInput struct { // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). // // Constraint: Maximum 128 ASCII characters. ClientToken *string `type:"string"` // 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 information for the launch template. // // LaunchTemplateData is a required field LaunchTemplateData *RequestLaunchTemplateData `type:"structure" required:"true"` // The ID of the launch template. You must specify either the launch template // ID or launch template name in the request. LaunchTemplateId *string `type:"string"` // The name of the launch template. You must specify either the launch template // ID or launch template name in the request. LaunchTemplateName *string `min:"3" type:"string"` // The version number of the launch template version on which to base the new // version. The new version inherits the same launch parameters as the source // version, except for parameters that you specify in LaunchTemplateData. Snapshots // applied to the block device mapping are ignored when creating a new version // unless they are explicitly included. SourceVersion *string `type:"string"` // A description for the version of the launch template. VersionDescription *string `type:"string"` // contains filtered or unexported fields }
func (CreateLaunchTemplateVersionInput) String ¶ added in v0.2.0
func (s CreateLaunchTemplateVersionInput) String() string
String returns the string representation
func (*CreateLaunchTemplateVersionInput) Validate ¶ added in v0.2.0
func (s *CreateLaunchTemplateVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLaunchTemplateVersionOutput ¶ added in v0.2.0
type CreateLaunchTemplateVersionOutput struct { // Information about the launch template version. LaunchTemplateVersion *LaunchTemplateVersion `locationName:"launchTemplateVersion" type:"structure"` // contains filtered or unexported fields }
func (CreateLaunchTemplateVersionOutput) String ¶ added in v0.2.0
func (s CreateLaunchTemplateVersionOutput) String() string
String returns the string representation
type CreateLaunchTemplateVersionRequest ¶ added in v0.2.0
type CreateLaunchTemplateVersionRequest struct { *aws.Request Input *CreateLaunchTemplateVersionInput Copy func(*CreateLaunchTemplateVersionInput) CreateLaunchTemplateVersionRequest }
CreateLaunchTemplateVersionRequest is the request type for the CreateLaunchTemplateVersion API operation.
func (CreateLaunchTemplateVersionRequest) Send ¶ added in v0.2.0
func (r CreateLaunchTemplateVersionRequest) Send(ctx context.Context) (*CreateLaunchTemplateVersionResponse, error)
Send marshals and sends the CreateLaunchTemplateVersion API request.
type CreateLaunchTemplateVersionResponse ¶ added in v0.9.0
type CreateLaunchTemplateVersionResponse struct { *CreateLaunchTemplateVersionOutput // contains filtered or unexported fields }
CreateLaunchTemplateVersionResponse is the response type for the CreateLaunchTemplateVersion API operation.
func (*CreateLaunchTemplateVersionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateLaunchTemplateVersionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateLaunchTemplateVersion request.
type CreateNatGatewayInput ¶
type CreateNatGatewayInput struct { // The allocation ID of an Elastic IP address to associate with the NAT gateway. // If the Elastic IP address is associated with another resource, you must first // disassociate it. // // AllocationId is a required field AllocationId *string `type:"string" required:"true"` // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). // // Constraint: Maximum 64 ASCII characters. ClientToken *string `type:"string"` // The subnet in which to create the NAT gateway. // // SubnetId is a required field SubnetId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateNatGatewayInput) String ¶
func (s CreateNatGatewayInput) String() string
String returns the string representation
func (*CreateNatGatewayInput) Validate ¶
func (s *CreateNatGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateNatGatewayOutput ¶
type CreateNatGatewayOutput struct { // Unique, case-sensitive identifier to ensure the idempotency of the request. // Only returned if a client token was provided in the request. ClientToken *string `locationName:"clientToken" type:"string"` // Information about the NAT gateway. NatGateway *NatGateway `locationName:"natGateway" type:"structure"` // contains filtered or unexported fields }
func (CreateNatGatewayOutput) String ¶
func (s CreateNatGatewayOutput) String() string
String returns the string representation
type CreateNatGatewayRequest ¶
type CreateNatGatewayRequest struct { *aws.Request Input *CreateNatGatewayInput Copy func(*CreateNatGatewayInput) CreateNatGatewayRequest }
CreateNatGatewayRequest is the request type for the CreateNatGateway API operation.
func (CreateNatGatewayRequest) Send ¶
func (r CreateNatGatewayRequest) Send(ctx context.Context) (*CreateNatGatewayResponse, error)
Send marshals and sends the CreateNatGateway API request.
type CreateNatGatewayResponse ¶ added in v0.9.0
type CreateNatGatewayResponse struct { *CreateNatGatewayOutput // contains filtered or unexported fields }
CreateNatGatewayResponse is the response type for the CreateNatGateway API operation.
func (*CreateNatGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateNatGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateNatGateway request.
type CreateNetworkAclEntryInput ¶
type CreateNetworkAclEntryInput struct { // The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24). CidrBlock *string `locationName:"cidrBlock" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // Indicates whether this is an egress rule (rule is applied to traffic leaving // the subnet). // // Egress is a required field Egress *bool `locationName:"egress" type:"boolean" required:"true"` // ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol // 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block. IcmpTypeCode *IcmpTypeCode `locationName:"Icmp" type:"structure"` // The IPv6 network range to allow or deny, in CIDR notation (for example 2001:db8:1234:1a00::/64). Ipv6CidrBlock *string `locationName:"ipv6CidrBlock" type:"string"` // The ID of the network ACL. // // NetworkAclId is a required field NetworkAclId *string `locationName:"networkAclId" type:"string" required:"true"` // TCP or UDP protocols: The range of ports the rule applies to. Required if // specifying protocol 6 (TCP) or 17 (UDP). PortRange *PortRange `locationName:"portRange" type:"structure"` // The protocol number. A value of "-1" means all protocols. If you specify // "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), // traffic on all ports is allowed, regardless of any ports or ICMP types or // codes that you specify. If you specify protocol "58" (ICMPv6) and specify // an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless // of any that you specify. If you specify protocol "58" (ICMPv6) and specify // an IPv6 CIDR block, you must specify an ICMP type and code. // // Protocol is a required field Protocol *string `locationName:"protocol" type:"string" required:"true"` // Indicates whether to allow or deny the traffic that matches the rule. // // RuleAction is a required field RuleAction RuleAction `locationName:"ruleAction" type:"string" required:"true" enum:"true"` // The rule number for the entry (for example, 100). ACL entries are processed // in ascending order by rule number. // // Constraints: Positive integer from 1 to 32766. The range 32767 to 65535 is // reserved for internal use. // // RuleNumber is a required field RuleNumber *int64 `locationName:"ruleNumber" type:"integer" required:"true"` // contains filtered or unexported fields }
func (CreateNetworkAclEntryInput) String ¶
func (s CreateNetworkAclEntryInput) String() string
String returns the string representation
func (*CreateNetworkAclEntryInput) Validate ¶
func (s *CreateNetworkAclEntryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateNetworkAclEntryOutput ¶
type CreateNetworkAclEntryOutput struct {
// contains filtered or unexported fields
}
func (CreateNetworkAclEntryOutput) String ¶
func (s CreateNetworkAclEntryOutput) String() string
String returns the string representation
type CreateNetworkAclEntryRequest ¶
type CreateNetworkAclEntryRequest struct { *aws.Request Input *CreateNetworkAclEntryInput Copy func(*CreateNetworkAclEntryInput) CreateNetworkAclEntryRequest }
CreateNetworkAclEntryRequest is the request type for the CreateNetworkAclEntry API operation.
func (CreateNetworkAclEntryRequest) Send ¶
func (r CreateNetworkAclEntryRequest) Send(ctx context.Context) (*CreateNetworkAclEntryResponse, error)
Send marshals and sends the CreateNetworkAclEntry API request.
type CreateNetworkAclEntryResponse ¶ added in v0.9.0
type CreateNetworkAclEntryResponse struct { *CreateNetworkAclEntryOutput // contains filtered or unexported fields }
CreateNetworkAclEntryResponse is the response type for the CreateNetworkAclEntry API operation.
func (*CreateNetworkAclEntryResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateNetworkAclEntryResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateNetworkAclEntry request.
type CreateNetworkAclInput ¶
type CreateNetworkAclInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the VPC. // // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateNetworkAclInput) String ¶
func (s CreateNetworkAclInput) String() string
String returns the string representation
func (*CreateNetworkAclInput) Validate ¶
func (s *CreateNetworkAclInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateNetworkAclOutput ¶
type CreateNetworkAclOutput struct { // Information about the network ACL. NetworkAcl *NetworkAcl `locationName:"networkAcl" type:"structure"` // contains filtered or unexported fields }
func (CreateNetworkAclOutput) String ¶
func (s CreateNetworkAclOutput) String() string
String returns the string representation
type CreateNetworkAclRequest ¶
type CreateNetworkAclRequest struct { *aws.Request Input *CreateNetworkAclInput Copy func(*CreateNetworkAclInput) CreateNetworkAclRequest }
CreateNetworkAclRequest is the request type for the CreateNetworkAcl API operation.
func (CreateNetworkAclRequest) Send ¶
func (r CreateNetworkAclRequest) Send(ctx context.Context) (*CreateNetworkAclResponse, error)
Send marshals and sends the CreateNetworkAcl API request.
type CreateNetworkAclResponse ¶ added in v0.9.0
type CreateNetworkAclResponse struct { *CreateNetworkAclOutput // contains filtered or unexported fields }
CreateNetworkAclResponse is the response type for the CreateNetworkAcl API operation.
func (*CreateNetworkAclResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateNetworkAclResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateNetworkAcl request.
type CreateNetworkInterfaceInput ¶
type CreateNetworkInterfaceInput struct { // A description for the network interface. Description *string `locationName:"description" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // The IDs of one or more security groups. Groups []string `locationName:"SecurityGroupId" locationNameList:"SecurityGroupId" type:"list"` // Indicates the type of network interface. To create an Elastic Fabric Adapter // (EFA), specify efa. For more information, see Elastic Fabric Adapter (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html) // in the Amazon Elastic Compute Cloud User Guide. InterfaceType NetworkInterfaceCreationType `type:"string" enum:"true"` // The number of IPv6 addresses to assign to a network interface. Amazon EC2 // automatically selects the IPv6 addresses from the subnet range. You can't // use this option if specifying specific IPv6 addresses. If your subnet has // the AssignIpv6AddressOnCreation attribute set to true, you can specify 0 // to override this setting. Ipv6AddressCount *int64 `locationName:"ipv6AddressCount" type:"integer"` // One or more specific IPv6 addresses from the IPv6 CIDR block range of your // subnet. You can't use this option if you're specifying a number of IPv6 addresses. Ipv6Addresses []InstanceIpv6Address `locationName:"ipv6Addresses" locationNameList:"item" type:"list"` // The primary private IPv4 address of the network interface. If you don't specify // an IPv4 address, Amazon EC2 selects one for you from the subnet's IPv4 CIDR // range. If you specify an IP address, you cannot indicate any IP addresses // specified in privateIpAddresses as primary (only one IP address can be designated // as primary). PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // One or more private IPv4 addresses. PrivateIpAddresses []PrivateIpAddressSpecification `locationName:"privateIpAddresses" locationNameList:"item" type:"list"` // The number of secondary private IPv4 addresses to assign to a network interface. // When you specify a number of secondary IPv4 addresses, Amazon EC2 selects // these IP addresses within the subnet's IPv4 CIDR range. You can't specify // this option and specify more than one private IP address using privateIpAddresses. // // The number of IP addresses you can assign to a network interface varies by // instance type. For more information, see IP Addresses Per ENI Per Instance // Type (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI) // in the Amazon Virtual Private Cloud User Guide. SecondaryPrivateIpAddressCount *int64 `locationName:"secondaryPrivateIpAddressCount" type:"integer"` // The ID of the subnet to associate with the network interface. // // SubnetId is a required field SubnetId *string `locationName:"subnetId" type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for CreateNetworkInterface.
func (CreateNetworkInterfaceInput) String ¶
func (s CreateNetworkInterfaceInput) String() string
String returns the string representation
func (*CreateNetworkInterfaceInput) Validate ¶
func (s *CreateNetworkInterfaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateNetworkInterfaceOutput ¶
type CreateNetworkInterfaceOutput struct { // Information about the network interface. NetworkInterface *NetworkInterface `locationName:"networkInterface" type:"structure"` // contains filtered or unexported fields }
Contains the output of CreateNetworkInterface.
func (CreateNetworkInterfaceOutput) String ¶
func (s CreateNetworkInterfaceOutput) String() string
String returns the string representation
type CreateNetworkInterfacePermissionInput ¶
type CreateNetworkInterfacePermissionInput struct { // The AWS account ID. AwsAccountId *string `type:"string"` // The AWS service. Currently not supported. AwsService *string `type:"string"` // 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 network interface. // // NetworkInterfaceId is a required field NetworkInterfaceId *string `type:"string" required:"true"` // The type of permission to grant. // // Permission is a required field Permission InterfacePermissionType `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Contains the parameters for CreateNetworkInterfacePermission.
func (CreateNetworkInterfacePermissionInput) String ¶
func (s CreateNetworkInterfacePermissionInput) String() string
String returns the string representation
func (*CreateNetworkInterfacePermissionInput) Validate ¶
func (s *CreateNetworkInterfacePermissionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateNetworkInterfacePermissionOutput ¶
type CreateNetworkInterfacePermissionOutput struct { // Information about the permission for the network interface. InterfacePermission *NetworkInterfacePermission `locationName:"interfacePermission" type:"structure"` // contains filtered or unexported fields }
Contains the output of CreateNetworkInterfacePermission.
func (CreateNetworkInterfacePermissionOutput) String ¶
func (s CreateNetworkInterfacePermissionOutput) String() string
String returns the string representation
type CreateNetworkInterfacePermissionRequest ¶
type CreateNetworkInterfacePermissionRequest struct { *aws.Request Input *CreateNetworkInterfacePermissionInput Copy func(*CreateNetworkInterfacePermissionInput) CreateNetworkInterfacePermissionRequest }
CreateNetworkInterfacePermissionRequest is the request type for the CreateNetworkInterfacePermission API operation.
func (CreateNetworkInterfacePermissionRequest) Send ¶
func (r CreateNetworkInterfacePermissionRequest) Send(ctx context.Context) (*CreateNetworkInterfacePermissionResponse, error)
Send marshals and sends the CreateNetworkInterfacePermission API request.
type CreateNetworkInterfacePermissionResponse ¶ added in v0.9.0
type CreateNetworkInterfacePermissionResponse struct { *CreateNetworkInterfacePermissionOutput // contains filtered or unexported fields }
CreateNetworkInterfacePermissionResponse is the response type for the CreateNetworkInterfacePermission API operation.
func (*CreateNetworkInterfacePermissionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateNetworkInterfacePermissionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateNetworkInterfacePermission request.
type CreateNetworkInterfaceRequest ¶
type CreateNetworkInterfaceRequest struct { *aws.Request Input *CreateNetworkInterfaceInput Copy func(*CreateNetworkInterfaceInput) CreateNetworkInterfaceRequest }
CreateNetworkInterfaceRequest is the request type for the CreateNetworkInterface API operation.
func (CreateNetworkInterfaceRequest) Send ¶
func (r CreateNetworkInterfaceRequest) Send(ctx context.Context) (*CreateNetworkInterfaceResponse, error)
Send marshals and sends the CreateNetworkInterface API request.
type CreateNetworkInterfaceResponse ¶ added in v0.9.0
type CreateNetworkInterfaceResponse struct { *CreateNetworkInterfaceOutput // contains filtered or unexported fields }
CreateNetworkInterfaceResponse is the response type for the CreateNetworkInterface API operation.
func (*CreateNetworkInterfaceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateNetworkInterfaceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateNetworkInterface request.
type CreatePlacementGroupInput ¶
type CreatePlacementGroupInput 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 `locationName:"dryRun" type:"boolean"` // A name for the placement group. Must be unique within the scope of your account // for the Region. // // Constraints: Up to 255 ASCII characters GroupName *string `locationName:"groupName" type:"string"` // The number of partitions. Valid only when Strategy is set to partition. PartitionCount *int64 `type:"integer"` // The placement strategy. Strategy PlacementStrategy `locationName:"strategy" type:"string" enum:"true"` // contains filtered or unexported fields }
func (CreatePlacementGroupInput) String ¶
func (s CreatePlacementGroupInput) String() string
String returns the string representation
type CreatePlacementGroupOutput ¶
type CreatePlacementGroupOutput struct {
// contains filtered or unexported fields
}
func (CreatePlacementGroupOutput) String ¶
func (s CreatePlacementGroupOutput) String() string
String returns the string representation
type CreatePlacementGroupRequest ¶
type CreatePlacementGroupRequest struct { *aws.Request Input *CreatePlacementGroupInput Copy func(*CreatePlacementGroupInput) CreatePlacementGroupRequest }
CreatePlacementGroupRequest is the request type for the CreatePlacementGroup API operation.
func (CreatePlacementGroupRequest) Send ¶
func (r CreatePlacementGroupRequest) Send(ctx context.Context) (*CreatePlacementGroupResponse, error)
Send marshals and sends the CreatePlacementGroup API request.
type CreatePlacementGroupResponse ¶ added in v0.9.0
type CreatePlacementGroupResponse struct { *CreatePlacementGroupOutput // contains filtered or unexported fields }
CreatePlacementGroupResponse is the response type for the CreatePlacementGroup API operation.
func (*CreatePlacementGroupResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreatePlacementGroupResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreatePlacementGroup request.
type CreateReservedInstancesListingInput ¶
type CreateReservedInstancesListingInput struct { // Unique, case-sensitive identifier you provide to ensure idempotency of your // listings. This helps avoid duplicate listings. For more information, see // Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). // // ClientToken is a required field ClientToken *string `locationName:"clientToken" type:"string" required:"true"` // The number of instances that are a part of a Reserved Instance account to // be listed in the Reserved Instance Marketplace. This number should be less // than or equal to the instance count associated with the Reserved Instance // ID specified in this call. // // InstanceCount is a required field InstanceCount *int64 `locationName:"instanceCount" type:"integer" required:"true"` // A list specifying the price of the Standard Reserved Instance for each month // remaining in the Reserved Instance term. // // PriceSchedules is a required field PriceSchedules []PriceScheduleSpecification `locationName:"priceSchedules" locationNameList:"item" type:"list" required:"true"` // The ID of the active Standard Reserved Instance. // // ReservedInstancesId is a required field ReservedInstancesId *string `locationName:"reservedInstancesId" type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for CreateReservedInstancesListing.
func (CreateReservedInstancesListingInput) String ¶
func (s CreateReservedInstancesListingInput) String() string
String returns the string representation
func (*CreateReservedInstancesListingInput) Validate ¶
func (s *CreateReservedInstancesListingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateReservedInstancesListingOutput ¶
type CreateReservedInstancesListingOutput struct { // Information about the Standard Reserved Instance listing. ReservedInstancesListings []ReservedInstancesListing `locationName:"reservedInstancesListingsSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of CreateReservedInstancesListing.
func (CreateReservedInstancesListingOutput) String ¶
func (s CreateReservedInstancesListingOutput) String() string
String returns the string representation
type CreateReservedInstancesListingRequest ¶
type CreateReservedInstancesListingRequest struct { *aws.Request Input *CreateReservedInstancesListingInput Copy func(*CreateReservedInstancesListingInput) CreateReservedInstancesListingRequest }
CreateReservedInstancesListingRequest is the request type for the CreateReservedInstancesListing API operation.
func (CreateReservedInstancesListingRequest) Send ¶
func (r CreateReservedInstancesListingRequest) Send(ctx context.Context) (*CreateReservedInstancesListingResponse, error)
Send marshals and sends the CreateReservedInstancesListing API request.
type CreateReservedInstancesListingResponse ¶ added in v0.9.0
type CreateReservedInstancesListingResponse struct { *CreateReservedInstancesListingOutput // contains filtered or unexported fields }
CreateReservedInstancesListingResponse is the response type for the CreateReservedInstancesListing API operation.
func (*CreateReservedInstancesListingResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateReservedInstancesListingResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateReservedInstancesListing request.
type CreateRouteInput ¶
type CreateRouteInput struct { // The IPv4 CIDR address block used for the destination match. Routing decisions // are based on the most specific match. DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string"` // The IPv6 CIDR block used for the destination match. Routing decisions are // based on the most specific match. DestinationIpv6CidrBlock *string `locationName:"destinationIpv6CidrBlock" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // [IPv6 traffic only] The ID of an egress-only internet gateway. EgressOnlyInternetGatewayId *string `locationName:"egressOnlyInternetGatewayId" type:"string"` // The ID of an internet gateway or virtual private gateway attached to your // VPC. GatewayId *string `locationName:"gatewayId" type:"string"` // The ID of a NAT instance in your VPC. The operation fails if you specify // an instance ID unless exactly one network interface is attached. InstanceId *string `locationName:"instanceId" type:"string"` // [IPv4 traffic only] The ID of a NAT gateway. NatGatewayId *string `locationName:"natGatewayId" type:"string"` // The ID of a network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // The ID of the route table for the route. // // RouteTableId is a required field RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` // The ID of a transit gateway. TransitGatewayId *string `type:"string"` // The ID of a VPC peering connection. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"` // contains filtered or unexported fields }
func (CreateRouteInput) String ¶
func (s CreateRouteInput) String() string
String returns the string representation
func (*CreateRouteInput) Validate ¶
func (s *CreateRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateRouteOutput ¶
type CreateRouteOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (CreateRouteOutput) String ¶
func (s CreateRouteOutput) String() string
String returns the string representation
type CreateRouteRequest ¶
type CreateRouteRequest struct { *aws.Request Input *CreateRouteInput Copy func(*CreateRouteInput) CreateRouteRequest }
CreateRouteRequest is the request type for the CreateRoute API operation.
func (CreateRouteRequest) Send ¶
func (r CreateRouteRequest) Send(ctx context.Context) (*CreateRouteResponse, error)
Send marshals and sends the CreateRoute API request.
type CreateRouteResponse ¶ added in v0.9.0
type CreateRouteResponse struct { *CreateRouteOutput // contains filtered or unexported fields }
CreateRouteResponse is the response type for the CreateRoute API operation.
func (*CreateRouteResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateRouteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateRoute request.
type CreateRouteTableInput ¶
type CreateRouteTableInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the VPC. // // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateRouteTableInput) String ¶
func (s CreateRouteTableInput) String() string
String returns the string representation
func (*CreateRouteTableInput) Validate ¶
func (s *CreateRouteTableInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateRouteTableOutput ¶
type CreateRouteTableOutput struct { // Information about the route table. RouteTable *RouteTable `locationName:"routeTable" type:"structure"` // contains filtered or unexported fields }
func (CreateRouteTableOutput) String ¶
func (s CreateRouteTableOutput) String() string
String returns the string representation
type CreateRouteTableRequest ¶
type CreateRouteTableRequest struct { *aws.Request Input *CreateRouteTableInput Copy func(*CreateRouteTableInput) CreateRouteTableRequest }
CreateRouteTableRequest is the request type for the CreateRouteTable API operation.
func (CreateRouteTableRequest) Send ¶
func (r CreateRouteTableRequest) Send(ctx context.Context) (*CreateRouteTableResponse, error)
Send marshals and sends the CreateRouteTable API request.
type CreateRouteTableResponse ¶ added in v0.9.0
type CreateRouteTableResponse struct { *CreateRouteTableOutput // contains filtered or unexported fields }
CreateRouteTableResponse is the response type for the CreateRouteTable API operation.
func (*CreateRouteTableResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateRouteTableResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateRouteTable request.
type CreateSecurityGroupInput ¶
type CreateSecurityGroupInput struct { // A description for the security group. This is informational only. // // Constraints: Up to 255 characters in length // // Constraints for EC2-Classic: ASCII characters // // Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* // // Description is a required field Description *string `locationName:"GroupDescription" type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The name of the security group. // // Constraints: Up to 255 characters in length. Cannot start with sg-. // // Constraints for EC2-Classic: ASCII characters // // Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* // // GroupName is a required field GroupName *string `type:"string" required:"true"` // [EC2-VPC] The ID of the VPC. Required for EC2-VPC. VpcId *string `type:"string"` // contains filtered or unexported fields }
func (CreateSecurityGroupInput) String ¶
func (s CreateSecurityGroupInput) String() string
String returns the string representation
func (*CreateSecurityGroupInput) Validate ¶
func (s *CreateSecurityGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSecurityGroupOutput ¶
type CreateSecurityGroupOutput struct { // The ID of the security group. GroupId *string `locationName:"groupId" type:"string"` // contains filtered or unexported fields }
func (CreateSecurityGroupOutput) String ¶
func (s CreateSecurityGroupOutput) String() string
String returns the string representation
type CreateSecurityGroupRequest ¶
type CreateSecurityGroupRequest struct { *aws.Request Input *CreateSecurityGroupInput Copy func(*CreateSecurityGroupInput) CreateSecurityGroupRequest }
CreateSecurityGroupRequest is the request type for the CreateSecurityGroup API operation.
func (CreateSecurityGroupRequest) Send ¶
func (r CreateSecurityGroupRequest) Send(ctx context.Context) (*CreateSecurityGroupResponse, error)
Send marshals and sends the CreateSecurityGroup API request.
type CreateSecurityGroupResponse ¶ added in v0.9.0
type CreateSecurityGroupResponse struct { *CreateSecurityGroupOutput // contains filtered or unexported fields }
CreateSecurityGroupResponse is the response type for the CreateSecurityGroup API operation.
func (*CreateSecurityGroupResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateSecurityGroupResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateSecurityGroup request.
type CreateSnapshotInput ¶
type CreateSnapshotInput struct { // A description for the snapshot. Description *string `type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // The tags to apply to the snapshot during creation. TagSpecifications []TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` // The ID of the EBS volume. // // VolumeId is a required field VolumeId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for CreateSnapshot.
func (CreateSnapshotInput) String ¶
func (s CreateSnapshotInput) String() string
String returns the string representation
func (*CreateSnapshotInput) Validate ¶
func (s *CreateSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSnapshotOutput ¶
type CreateSnapshotOutput struct { // The data encryption key identifier for the snapshot. This value is a unique // identifier that corresponds to the data encryption key that was used to encrypt // the original volume or snapshot copy. Because data encryption keys are inherited // by volumes created from snapshots, and vice versa, if snapshots share the // same data encryption key identifier, then they belong to the same volume/snapshot // lineage. This parameter is only returned by DescribeSnapshots. DataEncryptionKeyId *string `locationName:"dataEncryptionKeyId" type:"string"` // The description for the snapshot. Description *string `locationName:"description" type:"string"` // Indicates whether the snapshot is encrypted. Encrypted *bool `locationName:"encrypted" type:"boolean"` // The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) // customer master key (CMK) that was used to protect the volume encryption // key for the parent volume. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // Value from an Amazon-maintained list (amazon | self | all | aws-marketplace // | microsoft) of snapshot owners. Not to be confused with the user-configured // AWS account alias, which is set from the IAM console. OwnerAlias *string `locationName:"ownerAlias" type:"string"` // The AWS account ID of the EBS snapshot owner. OwnerId *string `locationName:"ownerId" type:"string"` // The progress of the snapshot, as a percentage. Progress *string `locationName:"progress" type:"string"` // The ID of the snapshot. Each snapshot receives a unique identifier when it // is created. SnapshotId *string `locationName:"snapshotId" type:"string"` // The time stamp when the snapshot was initiated. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // The snapshot state. State SnapshotState `locationName:"status" type:"string" enum:"true"` // Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy // operation fails (for example, if the proper AWS Key Management Service (AWS // KMS) permissions are not obtained) this field displays error state details // to help you diagnose why the error occurred. This parameter is only returned // by DescribeSnapshots. StateMessage *string `locationName:"statusMessage" type:"string"` // Any tags assigned to the snapshot. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the volume that was used to create the snapshot. Snapshots created // by the CopySnapshot action have an arbitrary volume ID that should not be // used for any purpose. VolumeId *string `locationName:"volumeId" type:"string"` // The size of the volume, in GiB. VolumeSize *int64 `locationName:"volumeSize" type:"integer"` // contains filtered or unexported fields }
Describes a snapshot.
func (CreateSnapshotOutput) String ¶
func (s CreateSnapshotOutput) String() string
String returns the string representation
type CreateSnapshotRequest ¶
type CreateSnapshotRequest struct { *aws.Request Input *CreateSnapshotInput Copy func(*CreateSnapshotInput) CreateSnapshotRequest }
CreateSnapshotRequest is the request type for the CreateSnapshot API operation.
func (CreateSnapshotRequest) Send ¶
func (r CreateSnapshotRequest) Send(ctx context.Context) (*CreateSnapshotResponse, error)
Send marshals and sends the CreateSnapshot API request.
type CreateSnapshotResponse ¶ added in v0.9.0
type CreateSnapshotResponse struct { *CreateSnapshotOutput // contains filtered or unexported fields }
CreateSnapshotResponse is the response type for the CreateSnapshot API operation.
func (*CreateSnapshotResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateSnapshotResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateSnapshot request.
type CreateSnapshotsInput ¶ added in v0.10.0
type CreateSnapshotsInput struct { // Copies the tags from the specified volume to corresponding snapshot. CopyTagsFromSource CopyTagsFromSource `type:"string" enum:"true"` // A description propagated to every snapshot specified by the instance. Description *string `type:"string"` // Checks whether you have the required permissions for the action without actually // making the request. Provides an error response. If you have the required // permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. DryRun *bool `type:"boolean"` // The instance to specify which volumes should be included in the snapshots. // // InstanceSpecification is a required field InstanceSpecification *InstanceSpecification `type:"structure" required:"true"` // Tags to apply to every snapshot specified by the instance. TagSpecifications []TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (CreateSnapshotsInput) String ¶ added in v0.10.0
func (s CreateSnapshotsInput) String() string
String returns the string representation
func (*CreateSnapshotsInput) Validate ¶ added in v0.10.0
func (s *CreateSnapshotsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSnapshotsOutput ¶ added in v0.10.0
type CreateSnapshotsOutput struct { // List of snapshots. Snapshots []SnapshotInfo `locationName:"snapshotSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (CreateSnapshotsOutput) String ¶ added in v0.10.0
func (s CreateSnapshotsOutput) String() string
String returns the string representation
type CreateSnapshotsRequest ¶ added in v0.10.0
type CreateSnapshotsRequest struct { *aws.Request Input *CreateSnapshotsInput Copy func(*CreateSnapshotsInput) CreateSnapshotsRequest }
CreateSnapshotsRequest is the request type for the CreateSnapshots API operation.
func (CreateSnapshotsRequest) Send ¶ added in v0.10.0
func (r CreateSnapshotsRequest) Send(ctx context.Context) (*CreateSnapshotsResponse, error)
Send marshals and sends the CreateSnapshots API request.
type CreateSnapshotsResponse ¶ added in v0.10.0
type CreateSnapshotsResponse struct { *CreateSnapshotsOutput // contains filtered or unexported fields }
CreateSnapshotsResponse is the response type for the CreateSnapshots API operation.
func (*CreateSnapshotsResponse) SDKResponseMetdata ¶ added in v0.10.0
func (r *CreateSnapshotsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateSnapshots request.
type CreateSpotDatafeedSubscriptionInput ¶
type CreateSpotDatafeedSubscriptionInput struct { // The Amazon S3 bucket in which to store the Spot Instance data feed. // // Bucket is a required field Bucket *string `locationName:"bucket" type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // A prefix for the data feed file names. Prefix *string `locationName:"prefix" type:"string"` // contains filtered or unexported fields }
Contains the parameters for CreateSpotDatafeedSubscription.
func (CreateSpotDatafeedSubscriptionInput) String ¶
func (s CreateSpotDatafeedSubscriptionInput) String() string
String returns the string representation
func (*CreateSpotDatafeedSubscriptionInput) Validate ¶
func (s *CreateSpotDatafeedSubscriptionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSpotDatafeedSubscriptionOutput ¶
type CreateSpotDatafeedSubscriptionOutput struct { // The Spot Instance data feed subscription. SpotDatafeedSubscription *SpotDatafeedSubscription `locationName:"spotDatafeedSubscription" type:"structure"` // contains filtered or unexported fields }
Contains the output of CreateSpotDatafeedSubscription.
func (CreateSpotDatafeedSubscriptionOutput) String ¶
func (s CreateSpotDatafeedSubscriptionOutput) String() string
String returns the string representation
type CreateSpotDatafeedSubscriptionRequest ¶
type CreateSpotDatafeedSubscriptionRequest struct { *aws.Request Input *CreateSpotDatafeedSubscriptionInput Copy func(*CreateSpotDatafeedSubscriptionInput) CreateSpotDatafeedSubscriptionRequest }
CreateSpotDatafeedSubscriptionRequest is the request type for the CreateSpotDatafeedSubscription API operation.
func (CreateSpotDatafeedSubscriptionRequest) Send ¶
func (r CreateSpotDatafeedSubscriptionRequest) Send(ctx context.Context) (*CreateSpotDatafeedSubscriptionResponse, error)
Send marshals and sends the CreateSpotDatafeedSubscription API request.
type CreateSpotDatafeedSubscriptionResponse ¶ added in v0.9.0
type CreateSpotDatafeedSubscriptionResponse struct { *CreateSpotDatafeedSubscriptionOutput // contains filtered or unexported fields }
CreateSpotDatafeedSubscriptionResponse is the response type for the CreateSpotDatafeedSubscription API operation.
func (*CreateSpotDatafeedSubscriptionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateSpotDatafeedSubscriptionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateSpotDatafeedSubscription request.
type CreateSubnetInput ¶
type CreateSubnetInput struct { // The Availability Zone for the subnet. // // Default: AWS selects one for you. If you create more than one subnet in your // VPC, we may not necessarily select a different zone for each subnet. AvailabilityZone *string `type:"string"` // The AZ ID of the subnet. AvailabilityZoneId *string `type:"string"` // The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. // // CidrBlock is a required field CidrBlock *string `type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The IPv6 network range for the subnet, in CIDR notation. The subnet size // must use a /64 prefix length. Ipv6CidrBlock *string `type:"string"` // The ID of the VPC. // // VpcId is a required field VpcId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateSubnetInput) String ¶
func (s CreateSubnetInput) String() string
String returns the string representation
func (*CreateSubnetInput) Validate ¶
func (s *CreateSubnetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSubnetOutput ¶
type CreateSubnetOutput struct { // Information about the subnet. Subnet *Subnet `locationName:"subnet" type:"structure"` // contains filtered or unexported fields }
func (CreateSubnetOutput) String ¶
func (s CreateSubnetOutput) String() string
String returns the string representation
type CreateSubnetRequest ¶
type CreateSubnetRequest struct { *aws.Request Input *CreateSubnetInput Copy func(*CreateSubnetInput) CreateSubnetRequest }
CreateSubnetRequest is the request type for the CreateSubnet API operation.
func (CreateSubnetRequest) Send ¶
func (r CreateSubnetRequest) Send(ctx context.Context) (*CreateSubnetResponse, error)
Send marshals and sends the CreateSubnet API request.
type CreateSubnetResponse ¶ added in v0.9.0
type CreateSubnetResponse struct { *CreateSubnetOutput // contains filtered or unexported fields }
CreateSubnetResponse is the response type for the CreateSubnet API operation.
func (*CreateSubnetResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateSubnetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateSubnet request.
type CreateTagsInput ¶
type CreateTagsInput 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 `locationName:"dryRun" type:"boolean"` // The IDs of the resources, separated by spaces. // // Constraints: Up to 1000 resource IDs. We recommend breaking up this request // into smaller batches. // // Resources is a required field Resources []string `locationName:"ResourceId" type:"list" required:"true"` // The tags. The value parameter is required, but if you don't want the tag // to have a value, specify the parameter with no value, and we set the value // to an empty string. // // Tags is a required field Tags []Tag `locationName:"Tag" locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
func (CreateTagsInput) String ¶
func (s CreateTagsInput) String() string
String returns the string representation
func (*CreateTagsInput) Validate ¶
func (s *CreateTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTagsOutput ¶
type CreateTagsOutput struct {
// contains filtered or unexported fields
}
func (CreateTagsOutput) String ¶
func (s CreateTagsOutput) String() string
String returns the string representation
type CreateTagsRequest ¶
type CreateTagsRequest struct { *aws.Request Input *CreateTagsInput Copy func(*CreateTagsInput) CreateTagsRequest }
CreateTagsRequest is the request type for the CreateTags API operation.
func (CreateTagsRequest) Send ¶
func (r CreateTagsRequest) Send(ctx context.Context) (*CreateTagsResponse, error)
Send marshals and sends the CreateTags API request.
type CreateTagsResponse ¶ added in v0.9.0
type CreateTagsResponse struct { *CreateTagsOutput // contains filtered or unexported fields }
CreateTagsResponse is the response type for the CreateTags API operation.
func (*CreateTagsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateTagsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateTags request.
type CreateTrafficMirrorFilterInput ¶ added in v0.10.0
type CreateTrafficMirrorFilterInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // The description of the Traffic Mirror filter. Description *string `type:"string"` // 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 tags to assign to a Traffic Mirror filter. TagSpecifications []TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (CreateTrafficMirrorFilterInput) String ¶ added in v0.10.0
func (s CreateTrafficMirrorFilterInput) String() string
String returns the string representation
type CreateTrafficMirrorFilterOutput ¶ added in v0.10.0
type CreateTrafficMirrorFilterOutput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // Information about the Traffic Mirror filter. TrafficMirrorFilter *TrafficMirrorFilter `locationName:"trafficMirrorFilter" type:"structure"` // contains filtered or unexported fields }
func (CreateTrafficMirrorFilterOutput) String ¶ added in v0.10.0
func (s CreateTrafficMirrorFilterOutput) String() string
String returns the string representation
type CreateTrafficMirrorFilterRequest ¶ added in v0.10.0
type CreateTrafficMirrorFilterRequest struct { *aws.Request Input *CreateTrafficMirrorFilterInput Copy func(*CreateTrafficMirrorFilterInput) CreateTrafficMirrorFilterRequest }
CreateTrafficMirrorFilterRequest is the request type for the CreateTrafficMirrorFilter API operation.
func (CreateTrafficMirrorFilterRequest) Send ¶ added in v0.10.0
func (r CreateTrafficMirrorFilterRequest) Send(ctx context.Context) (*CreateTrafficMirrorFilterResponse, error)
Send marshals and sends the CreateTrafficMirrorFilter API request.
type CreateTrafficMirrorFilterResponse ¶ added in v0.10.0
type CreateTrafficMirrorFilterResponse struct { *CreateTrafficMirrorFilterOutput // contains filtered or unexported fields }
CreateTrafficMirrorFilterResponse is the response type for the CreateTrafficMirrorFilter API operation.
func (*CreateTrafficMirrorFilterResponse) SDKResponseMetdata ¶ added in v0.10.0
func (r *CreateTrafficMirrorFilterResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateTrafficMirrorFilter request.
type CreateTrafficMirrorFilterRuleInput ¶ added in v0.10.0
type CreateTrafficMirrorFilterRuleInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // The description of the Traffic Mirror rule. Description *string `type:"string"` // The destination CIDR block to assign to the Traffic Mirror rule. // // DestinationCidrBlock is a required field DestinationCidrBlock *string `type:"string" required:"true"` // The destination port range. DestinationPortRange *TrafficMirrorPortRangeRequest `type:"structure"` // 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 protocol, for example UDP, to assign to the Traffic Mirror rule. // // For information about the protocol value, see Protocol Numbers (https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml) // on the Internet Assigned Numbers Authority (IANA) website. Protocol *int64 `type:"integer"` // The action to take (accept | reject) on the filtered traffic. // // RuleAction is a required field RuleAction TrafficMirrorRuleAction `type:"string" required:"true" enum:"true"` // The number of the Traffic Mirror rule. This number must be unique for each // Traffic Mirror rule in a given direction. The rules are processed in ascending // order by rule number. // // RuleNumber is a required field RuleNumber *int64 `type:"integer" required:"true"` // The source CIDR block to assign to the Traffic Mirror rule. // // SourceCidrBlock is a required field SourceCidrBlock *string `type:"string" required:"true"` // The source port range. SourcePortRange *TrafficMirrorPortRangeRequest `type:"structure"` // The type of traffic (ingress | egress). // // TrafficDirection is a required field TrafficDirection TrafficDirection `type:"string" required:"true" enum:"true"` // The ID of the filter that this rule is associated with. // // TrafficMirrorFilterId is a required field TrafficMirrorFilterId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateTrafficMirrorFilterRuleInput) String ¶ added in v0.10.0
func (s CreateTrafficMirrorFilterRuleInput) String() string
String returns the string representation
func (*CreateTrafficMirrorFilterRuleInput) Validate ¶ added in v0.10.0
func (s *CreateTrafficMirrorFilterRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTrafficMirrorFilterRuleOutput ¶ added in v0.10.0
type CreateTrafficMirrorFilterRuleOutput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // The Traffic Mirror rule. TrafficMirrorFilterRule *TrafficMirrorFilterRule `locationName:"trafficMirrorFilterRule" type:"structure"` // contains filtered or unexported fields }
func (CreateTrafficMirrorFilterRuleOutput) String ¶ added in v0.10.0
func (s CreateTrafficMirrorFilterRuleOutput) String() string
String returns the string representation
type CreateTrafficMirrorFilterRuleRequest ¶ added in v0.10.0
type CreateTrafficMirrorFilterRuleRequest struct { *aws.Request Input *CreateTrafficMirrorFilterRuleInput Copy func(*CreateTrafficMirrorFilterRuleInput) CreateTrafficMirrorFilterRuleRequest }
CreateTrafficMirrorFilterRuleRequest is the request type for the CreateTrafficMirrorFilterRule API operation.
func (CreateTrafficMirrorFilterRuleRequest) Send ¶ added in v0.10.0
func (r CreateTrafficMirrorFilterRuleRequest) Send(ctx context.Context) (*CreateTrafficMirrorFilterRuleResponse, error)
Send marshals and sends the CreateTrafficMirrorFilterRule API request.
type CreateTrafficMirrorFilterRuleResponse ¶ added in v0.10.0
type CreateTrafficMirrorFilterRuleResponse struct { *CreateTrafficMirrorFilterRuleOutput // contains filtered or unexported fields }
CreateTrafficMirrorFilterRuleResponse is the response type for the CreateTrafficMirrorFilterRule API operation.
func (*CreateTrafficMirrorFilterRuleResponse) SDKResponseMetdata ¶ added in v0.10.0
func (r *CreateTrafficMirrorFilterRuleResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateTrafficMirrorFilterRule request.
type CreateTrafficMirrorSessionInput ¶ added in v0.10.0
type CreateTrafficMirrorSessionInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // The description of the Traffic Mirror session. Description *string `type:"string"` // 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 source network interface. // // NetworkInterfaceId is a required field NetworkInterfaceId *string `type:"string" required:"true"` // The number of bytes in each packet to mirror. These are bytes after the VXLAN // header. Do not specify this parameter when you want to mirror the entire // packet. To mirror a subset of the packet, set this to the length (in bytes) // that you want to mirror. For example, if you set this value to 1network0, // then the first 100 bytes that meet the filter criteria are copied to the // target. // // If you do not want to mirror the entire packet, use the PacketLength parameter // to specify the number of bytes in each packet to mirror. PacketLength *int64 `type:"integer"` // The session number determines the order in which sessions are evaluated when // an interface is used by multiple sessions. The first session with a matching // filter is the one that mirrors the packets. // // Valid values are 1-32766. // // SessionNumber is a required field SessionNumber *int64 `type:"integer" required:"true"` // The tags to assign to a Traffic Mirror session. TagSpecifications []TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` // The ID of the Traffic Mirror filter. // // TrafficMirrorFilterId is a required field TrafficMirrorFilterId *string `type:"string" required:"true"` // The ID of the Traffic Mirror target. // // TrafficMirrorTargetId is a required field TrafficMirrorTargetId *string `type:"string" required:"true"` // The VXLAN ID for the Traffic Mirror session. For more information about the // VXLAN protocol, see RFC 7348 (https://tools.ietf.org/html/rfc7348). If you // do not specify a VirtualNetworkId, an account-wide unique id is chosen at // random. VirtualNetworkId *int64 `type:"integer"` // contains filtered or unexported fields }
func (CreateTrafficMirrorSessionInput) String ¶ added in v0.10.0
func (s CreateTrafficMirrorSessionInput) String() string
String returns the string representation
func (*CreateTrafficMirrorSessionInput) Validate ¶ added in v0.10.0
func (s *CreateTrafficMirrorSessionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTrafficMirrorSessionOutput ¶ added in v0.10.0
type CreateTrafficMirrorSessionOutput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // Information about the Traffic Mirror session. TrafficMirrorSession *TrafficMirrorSession `locationName:"trafficMirrorSession" type:"structure"` // contains filtered or unexported fields }
func (CreateTrafficMirrorSessionOutput) String ¶ added in v0.10.0
func (s CreateTrafficMirrorSessionOutput) String() string
String returns the string representation
type CreateTrafficMirrorSessionRequest ¶ added in v0.10.0
type CreateTrafficMirrorSessionRequest struct { *aws.Request Input *CreateTrafficMirrorSessionInput Copy func(*CreateTrafficMirrorSessionInput) CreateTrafficMirrorSessionRequest }
CreateTrafficMirrorSessionRequest is the request type for the CreateTrafficMirrorSession API operation.
func (CreateTrafficMirrorSessionRequest) Send ¶ added in v0.10.0
func (r CreateTrafficMirrorSessionRequest) Send(ctx context.Context) (*CreateTrafficMirrorSessionResponse, error)
Send marshals and sends the CreateTrafficMirrorSession API request.
type CreateTrafficMirrorSessionResponse ¶ added in v0.10.0
type CreateTrafficMirrorSessionResponse struct { *CreateTrafficMirrorSessionOutput // contains filtered or unexported fields }
CreateTrafficMirrorSessionResponse is the response type for the CreateTrafficMirrorSession API operation.
func (*CreateTrafficMirrorSessionResponse) SDKResponseMetdata ¶ added in v0.10.0
func (r *CreateTrafficMirrorSessionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateTrafficMirrorSession request.
type CreateTrafficMirrorTargetInput ¶ added in v0.10.0
type CreateTrafficMirrorTargetInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // The description of the Traffic Mirror target. Description *string `type:"string"` // 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 network interface ID that is associated with the target. NetworkInterfaceId *string `type:"string"` // The Amazon Resource Name (ARN) of the Network Load Balancer that is associated // with the target. NetworkLoadBalancerArn *string `type:"string"` // The tags to assign to the Traffic Mirror target. TagSpecifications []TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (CreateTrafficMirrorTargetInput) String ¶ added in v0.10.0
func (s CreateTrafficMirrorTargetInput) String() string
String returns the string representation
type CreateTrafficMirrorTargetOutput ¶ added in v0.10.0
type CreateTrafficMirrorTargetOutput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // Information about the Traffic Mirror target. TrafficMirrorTarget *TrafficMirrorTarget `locationName:"trafficMirrorTarget" type:"structure"` // contains filtered or unexported fields }
func (CreateTrafficMirrorTargetOutput) String ¶ added in v0.10.0
func (s CreateTrafficMirrorTargetOutput) String() string
String returns the string representation
type CreateTrafficMirrorTargetRequest ¶ added in v0.10.0
type CreateTrafficMirrorTargetRequest struct { *aws.Request Input *CreateTrafficMirrorTargetInput Copy func(*CreateTrafficMirrorTargetInput) CreateTrafficMirrorTargetRequest }
CreateTrafficMirrorTargetRequest is the request type for the CreateTrafficMirrorTarget API operation.
func (CreateTrafficMirrorTargetRequest) Send ¶ added in v0.10.0
func (r CreateTrafficMirrorTargetRequest) Send(ctx context.Context) (*CreateTrafficMirrorTargetResponse, error)
Send marshals and sends the CreateTrafficMirrorTarget API request.
type CreateTrafficMirrorTargetResponse ¶ added in v0.10.0
type CreateTrafficMirrorTargetResponse struct { *CreateTrafficMirrorTargetOutput // contains filtered or unexported fields }
CreateTrafficMirrorTargetResponse is the response type for the CreateTrafficMirrorTarget API operation.
func (*CreateTrafficMirrorTargetResponse) SDKResponseMetdata ¶ added in v0.10.0
func (r *CreateTrafficMirrorTargetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateTrafficMirrorTarget request.
type CreateTransitGatewayInput ¶ added in v0.6.0
type CreateTransitGatewayInput struct { // A description of the transit gateway. Description *string `type:"string"` // 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 transit gateway options. Options *TransitGatewayRequestOptions `type:"structure"` // The tags to apply to the transit gateway. TagSpecifications []TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (CreateTransitGatewayInput) String ¶ added in v0.6.0
func (s CreateTransitGatewayInput) String() string
String returns the string representation
type CreateTransitGatewayOutput ¶ added in v0.6.0
type CreateTransitGatewayOutput struct { // Information about the transit gateway. TransitGateway *TransitGateway `locationName:"transitGateway" type:"structure"` // contains filtered or unexported fields }
func (CreateTransitGatewayOutput) String ¶ added in v0.6.0
func (s CreateTransitGatewayOutput) String() string
String returns the string representation
type CreateTransitGatewayRequest ¶ added in v0.6.0
type CreateTransitGatewayRequest struct { *aws.Request Input *CreateTransitGatewayInput Copy func(*CreateTransitGatewayInput) CreateTransitGatewayRequest }
CreateTransitGatewayRequest is the request type for the CreateTransitGateway API operation.
func (CreateTransitGatewayRequest) Send ¶ added in v0.6.0
func (r CreateTransitGatewayRequest) Send(ctx context.Context) (*CreateTransitGatewayResponse, error)
Send marshals and sends the CreateTransitGateway API request.
type CreateTransitGatewayResponse ¶ added in v0.9.0
type CreateTransitGatewayResponse struct { *CreateTransitGatewayOutput // contains filtered or unexported fields }
CreateTransitGatewayResponse is the response type for the CreateTransitGateway API operation.
func (*CreateTransitGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateTransitGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateTransitGateway request.
type CreateTransitGatewayRouteInput ¶ added in v0.6.0
type CreateTransitGatewayRouteInput struct { // Indicates whether to drop traffic that matches this route. Blackhole *bool `type:"boolean"` // The CIDR range used for destination matches. Routing decisions are based // on the most specific match. // // DestinationCidrBlock is a required field DestinationCidrBlock *string `type:"string" required:"true"` // 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 *string `type:"string"` // The ID of the transit gateway route table. // // TransitGatewayRouteTableId is a required field TransitGatewayRouteTableId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateTransitGatewayRouteInput) String ¶ added in v0.6.0
func (s CreateTransitGatewayRouteInput) String() string
String returns the string representation
func (*CreateTransitGatewayRouteInput) Validate ¶ added in v0.6.0
func (s *CreateTransitGatewayRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTransitGatewayRouteOutput ¶ added in v0.6.0
type CreateTransitGatewayRouteOutput struct { // Information about the route. Route *TransitGatewayRoute `locationName:"route" type:"structure"` // contains filtered or unexported fields }
func (CreateTransitGatewayRouteOutput) String ¶ added in v0.6.0
func (s CreateTransitGatewayRouteOutput) String() string
String returns the string representation
type CreateTransitGatewayRouteRequest ¶ added in v0.6.0
type CreateTransitGatewayRouteRequest struct { *aws.Request Input *CreateTransitGatewayRouteInput Copy func(*CreateTransitGatewayRouteInput) CreateTransitGatewayRouteRequest }
CreateTransitGatewayRouteRequest is the request type for the CreateTransitGatewayRoute API operation.
func (CreateTransitGatewayRouteRequest) Send ¶ added in v0.6.0
func (r CreateTransitGatewayRouteRequest) Send(ctx context.Context) (*CreateTransitGatewayRouteResponse, error)
Send marshals and sends the CreateTransitGatewayRoute API request.
type CreateTransitGatewayRouteResponse ¶ added in v0.9.0
type CreateTransitGatewayRouteResponse struct { *CreateTransitGatewayRouteOutput // contains filtered or unexported fields }
CreateTransitGatewayRouteResponse is the response type for the CreateTransitGatewayRoute API operation.
func (*CreateTransitGatewayRouteResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateTransitGatewayRouteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateTransitGatewayRoute request.
type CreateTransitGatewayRouteTableInput ¶ added in v0.6.0
type CreateTransitGatewayRouteTableInput 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 tags to apply to the transit gateway route table. TagSpecifications []TagSpecification `locationNameList:"item" type:"list"` // The ID of the transit gateway. // // TransitGatewayId is a required field TransitGatewayId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateTransitGatewayRouteTableInput) String ¶ added in v0.6.0
func (s CreateTransitGatewayRouteTableInput) String() string
String returns the string representation
func (*CreateTransitGatewayRouteTableInput) Validate ¶ added in v0.6.0
func (s *CreateTransitGatewayRouteTableInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTransitGatewayRouteTableOutput ¶ added in v0.6.0
type CreateTransitGatewayRouteTableOutput struct { // Information about the transit gateway route table. TransitGatewayRouteTable *TransitGatewayRouteTable `locationName:"transitGatewayRouteTable" type:"structure"` // contains filtered or unexported fields }
func (CreateTransitGatewayRouteTableOutput) String ¶ added in v0.6.0
func (s CreateTransitGatewayRouteTableOutput) String() string
String returns the string representation
type CreateTransitGatewayRouteTableRequest ¶ added in v0.6.0
type CreateTransitGatewayRouteTableRequest struct { *aws.Request Input *CreateTransitGatewayRouteTableInput Copy func(*CreateTransitGatewayRouteTableInput) CreateTransitGatewayRouteTableRequest }
CreateTransitGatewayRouteTableRequest is the request type for the CreateTransitGatewayRouteTable API operation.
func (CreateTransitGatewayRouteTableRequest) Send ¶ added in v0.6.0
func (r CreateTransitGatewayRouteTableRequest) Send(ctx context.Context) (*CreateTransitGatewayRouteTableResponse, error)
Send marshals and sends the CreateTransitGatewayRouteTable API request.
type CreateTransitGatewayRouteTableResponse ¶ added in v0.9.0
type CreateTransitGatewayRouteTableResponse struct { *CreateTransitGatewayRouteTableOutput // contains filtered or unexported fields }
CreateTransitGatewayRouteTableResponse is the response type for the CreateTransitGatewayRouteTable API operation.
func (*CreateTransitGatewayRouteTableResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateTransitGatewayRouteTableResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateTransitGatewayRouteTable request.
type CreateTransitGatewayVpcAttachmentInput ¶ added in v0.6.0
type CreateTransitGatewayVpcAttachmentInput 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 VPC attachment options. Options *CreateTransitGatewayVpcAttachmentRequestOptions `type:"structure"` // The IDs of one or more subnets. You can specify only one subnet per Availability // Zone. You must specify at least one subnet, but we recommend that you specify // two subnets for better availability. The transit gateway uses one IP address // from each specified subnet. // // SubnetIds is a required field SubnetIds []string `locationNameList:"item" type:"list" required:"true"` // The tags to apply to the VPC attachment. TagSpecifications []TagSpecification `locationNameList:"item" type:"list"` // The ID of the transit gateway. // // TransitGatewayId is a required field TransitGatewayId *string `type:"string" required:"true"` // The ID of the VPC. // // VpcId is a required field VpcId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateTransitGatewayVpcAttachmentInput) String ¶ added in v0.6.0
func (s CreateTransitGatewayVpcAttachmentInput) String() string
String returns the string representation
func (*CreateTransitGatewayVpcAttachmentInput) Validate ¶ added in v0.6.0
func (s *CreateTransitGatewayVpcAttachmentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTransitGatewayVpcAttachmentOutput ¶ added in v0.6.0
type CreateTransitGatewayVpcAttachmentOutput struct { // Information about the VPC attachment. TransitGatewayVpcAttachment *TransitGatewayVpcAttachment `locationName:"transitGatewayVpcAttachment" type:"structure"` // contains filtered or unexported fields }
func (CreateTransitGatewayVpcAttachmentOutput) String ¶ added in v0.6.0
func (s CreateTransitGatewayVpcAttachmentOutput) String() string
String returns the string representation
type CreateTransitGatewayVpcAttachmentRequest ¶ added in v0.6.0
type CreateTransitGatewayVpcAttachmentRequest struct { *aws.Request Input *CreateTransitGatewayVpcAttachmentInput Copy func(*CreateTransitGatewayVpcAttachmentInput) CreateTransitGatewayVpcAttachmentRequest }
CreateTransitGatewayVpcAttachmentRequest is the request type for the CreateTransitGatewayVpcAttachment API operation.
func (CreateTransitGatewayVpcAttachmentRequest) Send ¶ added in v0.6.0
func (r CreateTransitGatewayVpcAttachmentRequest) Send(ctx context.Context) (*CreateTransitGatewayVpcAttachmentResponse, error)
Send marshals and sends the CreateTransitGatewayVpcAttachment API request.
type CreateTransitGatewayVpcAttachmentRequestOptions ¶ added in v0.6.0
type CreateTransitGatewayVpcAttachmentRequestOptions struct { // Enable or disable DNS support. The default is enable. DnsSupport DnsSupportValue `type:"string" enum:"true"` // Enable or disable IPv6 support. The default is enable. Ipv6Support Ipv6SupportValue `type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the options for a VPC attachment.
func (CreateTransitGatewayVpcAttachmentRequestOptions) String ¶ added in v0.6.0
func (s CreateTransitGatewayVpcAttachmentRequestOptions) String() string
String returns the string representation
type CreateTransitGatewayVpcAttachmentResponse ¶ added in v0.9.0
type CreateTransitGatewayVpcAttachmentResponse struct { *CreateTransitGatewayVpcAttachmentOutput // contains filtered or unexported fields }
CreateTransitGatewayVpcAttachmentResponse is the response type for the CreateTransitGatewayVpcAttachment API operation.
func (*CreateTransitGatewayVpcAttachmentResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateTransitGatewayVpcAttachmentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateTransitGatewayVpcAttachment request.
type CreateVolumeInput ¶
type CreateVolumeInput struct { // The Availability Zone in which to create the volume. // // AvailabilityZone is a required field AvailabilityZone *string `type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // Specifies whether the volume should be encrypted. The effect of setting the // encryption state to true depends on the volume origin (new or from a snapshot), // starting encryption state, ownership, and whether encryption by default is // enabled. For more information, see Encryption by Default (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default) // in the Amazon Elastic Compute Cloud User Guide. // // Encrypted Amazon EBS volumes must be attached to instances that support Amazon // EBS encryption. For more information, see Supported Instance Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances). Encrypted *bool `locationName:"encrypted" type:"boolean"` // The number of I/O operations per second (IOPS) to provision for the volume, // with a maximum ratio of 50 IOPS/GiB. Range is 100 to 64,000 IOPS for volumes // in most Regions. Maximum IOPS of 64,000 is guaranteed only on Nitro-based // instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances). // Other instance families guarantee performance up to 32,000 IOPS. For more // information, see Amazon EBS Volume Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) // in the Amazon Elastic Compute Cloud User Guide. // // This parameter is valid only for Provisioned IOPS SSD (io1) volumes. Iops *int64 `type:"integer"` // The identifier of the AWS Key Management Service (AWS KMS) customer master // key (CMK) to use for Amazon EBS encryption. If this parameter is not specified, // your AWS managed CMK for EBS is used. If KmsKeyId is specified, the encrypted // state must be true. // // You can specify the CMK using any of the following: // // * Key ID. For example, key/1234abcd-12ab-34cd-56ef-1234567890ab. // // * Key alias. For example, alias/ExampleAlias. // // * Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. // // * Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. // // AWS authenticates the CMK asynchronously. Therefore, if you specify an ID, // alias, or ARN that is not valid, the action can appear to complete, but eventually // fails. KmsKeyId *string `type:"string"` // The size of the volume, in GiBs. // // Constraints: 1-16,384 for gp2, 4-16,384 for io1, 500-16,384 for st1, 500-16,384 // for sc1, and 1-1,024 for standard. If you specify a snapshot, the volume // size must be equal to or larger than the snapshot size. // // Default: If you're creating the volume from a snapshot and don't specify // a volume size, the default is the snapshot size. // // At least one of Size or SnapshotId is required. Size *int64 `type:"integer"` // The snapshot from which to create the volume. // // At least one of Size or SnapshotId are required. SnapshotId *string `type:"string"` // The tags to apply to the volume during creation. TagSpecifications []TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` // The volume type. This can be gp2 for General Purpose SSD, io1 for Provisioned // IOPS SSD, st1 for Throughput Optimized HDD, sc1 for Cold HDD, or standard // for Magnetic volumes. // // Default: gp2 VolumeType VolumeType `type:"string" enum:"true"` // contains filtered or unexported fields }
Contains the parameters for CreateVolume.
func (CreateVolumeInput) String ¶
func (s CreateVolumeInput) String() string
String returns the string representation
func (*CreateVolumeInput) Validate ¶
func (s *CreateVolumeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVolumeOutput ¶
type CreateVolumeOutput struct { // Information about the volume attachments. Attachments []VolumeAttachment `locationName:"attachmentSet" locationNameList:"item" type:"list"` // The Availability Zone for the volume. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The time stamp when volume creation was initiated. CreateTime *time.Time `locationName:"createTime" type:"timestamp"` // Indicates whether the volume is encrypted. Encrypted *bool `locationName:"encrypted" type:"boolean"` // The number of I/O operations per second (IOPS) that the volume supports. // For Provisioned IOPS SSD volumes, this represents the number of IOPS that // are provisioned for the volume. For General Purpose SSD volumes, this represents // the baseline performance of the volume and the rate at which the volume accumulates // I/O credits for bursting. For more information, see Amazon EBS Volume Types // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) // in the Amazon Elastic Compute Cloud User Guide. // // Constraints: Range is 100-16,000 IOPS for gp2 volumes and 100 to 64,000IOPS // for io1 volumes, in most Regions. The maximum IOPS for io1 of 64,000 is guaranteed // only on Nitro-based instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances). // Other instance families guarantee performance up to 32,000 IOPS. // // Condition: This parameter is required for requests to create io1 volumes; // it is not used in requests to create gp2, st1, sc1, or standard volumes. Iops *int64 `locationName:"iops" type:"integer"` // The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) // customer master key (CMK) that was used to protect the volume encryption // key for the volume. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The size of the volume, in GiBs. Size *int64 `locationName:"size" type:"integer"` // The snapshot from which the volume was created, if applicable. SnapshotId *string `locationName:"snapshotId" type:"string"` // The volume state. State VolumeState `locationName:"status" type:"string" enum:"true"` // Any tags assigned to the volume. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the volume. VolumeId *string `locationName:"volumeId" type:"string"` // The volume type. This can be gp2 for General Purpose SSD, io1 for Provisioned // IOPS SSD, st1 for Throughput Optimized HDD, sc1 for Cold HDD, or standard // for Magnetic volumes. VolumeType VolumeType `locationName:"volumeType" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a volume.
func (CreateVolumeOutput) String ¶
func (s CreateVolumeOutput) String() string
String returns the string representation
type CreateVolumePermission ¶
type CreateVolumePermission struct { // The group to be added or removed. The possible value is all. Group PermissionGroup `locationName:"group" type:"string" enum:"true"` // The AWS account ID to be added or removed. UserId *string `locationName:"userId" type:"string"` // contains filtered or unexported fields }
Describes the user or group to be added or removed from the list of create volume permissions for a volume.
func (CreateVolumePermission) String ¶
func (s CreateVolumePermission) String() string
String returns the string representation
type CreateVolumePermissionModifications ¶
type CreateVolumePermissionModifications struct { // Adds the specified AWS account ID or group to the list. Add []CreateVolumePermission `locationNameList:"item" type:"list"` // Removes the specified AWS account ID or group from the list. Remove []CreateVolumePermission `locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes modifications to the list of create volume permissions for a volume.
func (CreateVolumePermissionModifications) String ¶
func (s CreateVolumePermissionModifications) String() string
String returns the string representation
type CreateVolumeRequest ¶
type CreateVolumeRequest struct { *aws.Request Input *CreateVolumeInput Copy func(*CreateVolumeInput) CreateVolumeRequest }
CreateVolumeRequest is the request type for the CreateVolume API operation.
func (CreateVolumeRequest) Send ¶
func (r CreateVolumeRequest) Send(ctx context.Context) (*CreateVolumeResponse, error)
Send marshals and sends the CreateVolume API request.
type CreateVolumeResponse ¶ added in v0.9.0
type CreateVolumeResponse struct { *CreateVolumeOutput // contains filtered or unexported fields }
CreateVolumeResponse is the response type for the CreateVolume API operation.
func (*CreateVolumeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateVolumeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateVolume request.
type CreateVpcEndpointConnectionNotificationInput ¶ added in v0.2.0
type CreateVpcEndpointConnectionNotificationInput struct { // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` // One or more endpoint events for which to receive notifications. Valid values // are Accept, Connect, Delete, and Reject. // // ConnectionEvents is a required field ConnectionEvents []string `locationNameList:"item" type:"list" required:"true"` // The ARN of the SNS topic for the notifications. // // ConnectionNotificationArn is a required field ConnectionNotificationArn *string `type:"string" required:"true"` // 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 endpoint service. ServiceId *string `type:"string"` // The ID of the endpoint. VpcEndpointId *string `type:"string"` // contains filtered or unexported fields }
func (CreateVpcEndpointConnectionNotificationInput) String ¶ added in v0.2.0
func (s CreateVpcEndpointConnectionNotificationInput) String() string
String returns the string representation
func (*CreateVpcEndpointConnectionNotificationInput) Validate ¶ added in v0.2.0
func (s *CreateVpcEndpointConnectionNotificationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVpcEndpointConnectionNotificationOutput ¶ added in v0.2.0
type CreateVpcEndpointConnectionNotificationOutput struct { // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. ClientToken *string `locationName:"clientToken" type:"string"` // Information about the notification. ConnectionNotification *ConnectionNotification `locationName:"connectionNotification" type:"structure"` // contains filtered or unexported fields }
func (CreateVpcEndpointConnectionNotificationOutput) String ¶ added in v0.2.0
func (s CreateVpcEndpointConnectionNotificationOutput) String() string
String returns the string representation
type CreateVpcEndpointConnectionNotificationRequest ¶ added in v0.2.0
type CreateVpcEndpointConnectionNotificationRequest struct { *aws.Request Input *CreateVpcEndpointConnectionNotificationInput Copy func(*CreateVpcEndpointConnectionNotificationInput) CreateVpcEndpointConnectionNotificationRequest }
CreateVpcEndpointConnectionNotificationRequest is the request type for the CreateVpcEndpointConnectionNotification API operation.
func (CreateVpcEndpointConnectionNotificationRequest) Send ¶ added in v0.2.0
func (r CreateVpcEndpointConnectionNotificationRequest) Send(ctx context.Context) (*CreateVpcEndpointConnectionNotificationResponse, error)
Send marshals and sends the CreateVpcEndpointConnectionNotification API request.
type CreateVpcEndpointConnectionNotificationResponse ¶ added in v0.9.0
type CreateVpcEndpointConnectionNotificationResponse struct { *CreateVpcEndpointConnectionNotificationOutput // contains filtered or unexported fields }
CreateVpcEndpointConnectionNotificationResponse is the response type for the CreateVpcEndpointConnectionNotification API operation.
func (*CreateVpcEndpointConnectionNotificationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateVpcEndpointConnectionNotificationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateVpcEndpointConnectionNotification request.
type CreateVpcEndpointInput ¶
type CreateVpcEndpointInput struct { // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` // 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"` // A policy to attach to the endpoint that controls access to the service. The // policy must be in valid JSON format. If this parameter is not specified, // we attach a default policy that allows full access to the service. PolicyDocument *string `type:"string"` // (Interface endpoint) Indicate whether to associate a private hosted zone // with the specified VPC. The private hosted zone contains a record set for // the default public DNS name for the service for the Region (for example, // kinesis.us-east-1.amazonaws.com) which resolves to the private IP addresses // of the endpoint network interfaces in the VPC. This enables you to make requests // to the default public DNS name for the service instead of the public DNS // names that are automatically generated by the VPC endpoint service. // // To use a private hosted zone, you must set the following VPC attributes to // true: enableDnsHostnames and enableDnsSupport. Use ModifyVpcAttribute to // set the VPC attributes. // // Default: true PrivateDnsEnabled *bool `type:"boolean"` // (Gateway endpoint) One or more route table IDs. RouteTableIds []string `locationName:"RouteTableId" locationNameList:"item" type:"list"` // (Interface endpoint) The ID of one or more security groups to associate with // the endpoint network interface. SecurityGroupIds []string `locationName:"SecurityGroupId" locationNameList:"item" type:"list"` // The service name. To get a list of available services, use the DescribeVpcEndpointServices // request, or get the name from the service provider. // // ServiceName is a required field ServiceName *string `type:"string" required:"true"` // (Interface endpoint) The ID of one or more subnets in which to create an // endpoint network interface. SubnetIds []string `locationName:"SubnetId" locationNameList:"item" type:"list"` // The type of endpoint. // // Default: Gateway VpcEndpointType VpcEndpointType `type:"string" enum:"true"` // The ID of the VPC in which the endpoint will be used. // // VpcId is a required field VpcId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for CreateVpcEndpoint.
func (CreateVpcEndpointInput) String ¶
func (s CreateVpcEndpointInput) String() string
String returns the string representation
func (*CreateVpcEndpointInput) Validate ¶
func (s *CreateVpcEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVpcEndpointOutput ¶
type CreateVpcEndpointOutput struct { // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. ClientToken *string `locationName:"clientToken" type:"string"` // Information about the endpoint. VpcEndpoint *VpcEndpoint `locationName:"vpcEndpoint" type:"structure"` // contains filtered or unexported fields }
Contains the output of CreateVpcEndpoint.
func (CreateVpcEndpointOutput) String ¶
func (s CreateVpcEndpointOutput) String() string
String returns the string representation
type CreateVpcEndpointRequest ¶
type CreateVpcEndpointRequest struct { *aws.Request Input *CreateVpcEndpointInput Copy func(*CreateVpcEndpointInput) CreateVpcEndpointRequest }
CreateVpcEndpointRequest is the request type for the CreateVpcEndpoint API operation.
func (CreateVpcEndpointRequest) Send ¶
func (r CreateVpcEndpointRequest) Send(ctx context.Context) (*CreateVpcEndpointResponse, error)
Send marshals and sends the CreateVpcEndpoint API request.
type CreateVpcEndpointResponse ¶ added in v0.9.0
type CreateVpcEndpointResponse struct { *CreateVpcEndpointOutput // contains filtered or unexported fields }
CreateVpcEndpointResponse is the response type for the CreateVpcEndpoint API operation.
func (*CreateVpcEndpointResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateVpcEndpointResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateVpcEndpoint request.
type CreateVpcEndpointServiceConfigurationInput ¶ added in v0.2.0
type CreateVpcEndpointServiceConfigurationInput struct { // Indicate whether requests from service consumers to create an endpoint to // your service must be accepted. To accept a request, use AcceptVpcEndpointConnections. AcceptanceRequired *bool `type:"boolean"` // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` // 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 Amazon Resource Names (ARNs) of one or more Network Load Balancers for // your service. // // NetworkLoadBalancerArns is a required field NetworkLoadBalancerArns []string `locationName:"NetworkLoadBalancerArn" locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
func (CreateVpcEndpointServiceConfigurationInput) String ¶ added in v0.2.0
func (s CreateVpcEndpointServiceConfigurationInput) String() string
String returns the string representation
func (*CreateVpcEndpointServiceConfigurationInput) Validate ¶ added in v0.2.0
func (s *CreateVpcEndpointServiceConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVpcEndpointServiceConfigurationOutput ¶ added in v0.2.0
type CreateVpcEndpointServiceConfigurationOutput struct { // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. ClientToken *string `locationName:"clientToken" type:"string"` // Information about the service configuration. ServiceConfiguration *ServiceConfiguration `locationName:"serviceConfiguration" type:"structure"` // contains filtered or unexported fields }
func (CreateVpcEndpointServiceConfigurationOutput) String ¶ added in v0.2.0
func (s CreateVpcEndpointServiceConfigurationOutput) String() string
String returns the string representation
type CreateVpcEndpointServiceConfigurationRequest ¶ added in v0.2.0
type CreateVpcEndpointServiceConfigurationRequest struct { *aws.Request Input *CreateVpcEndpointServiceConfigurationInput Copy func(*CreateVpcEndpointServiceConfigurationInput) CreateVpcEndpointServiceConfigurationRequest }
CreateVpcEndpointServiceConfigurationRequest is the request type for the CreateVpcEndpointServiceConfiguration API operation.
func (CreateVpcEndpointServiceConfigurationRequest) Send ¶ added in v0.2.0
func (r CreateVpcEndpointServiceConfigurationRequest) Send(ctx context.Context) (*CreateVpcEndpointServiceConfigurationResponse, error)
Send marshals and sends the CreateVpcEndpointServiceConfiguration API request.
type CreateVpcEndpointServiceConfigurationResponse ¶ added in v0.9.0
type CreateVpcEndpointServiceConfigurationResponse struct { *CreateVpcEndpointServiceConfigurationOutput // contains filtered or unexported fields }
CreateVpcEndpointServiceConfigurationResponse is the response type for the CreateVpcEndpointServiceConfiguration API operation.
func (*CreateVpcEndpointServiceConfigurationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateVpcEndpointServiceConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateVpcEndpointServiceConfiguration request.
type CreateVpcInput ¶
type CreateVpcInput struct { // Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for // the VPC. You cannot specify the range of IP addresses, or the size of the // CIDR block. AmazonProvidedIpv6CidrBlock *bool `locationName:"amazonProvidedIpv6CidrBlock" type:"boolean"` // The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16. // // CidrBlock is a required field CidrBlock *string `type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The tenancy options for instances launched into the VPC. For default, instances // are launched with shared tenancy by default. You can launch instances with // any tenancy into a shared tenancy VPC. For dedicated, instances are launched // as dedicated tenancy instances by default. You can only launch instances // with a tenancy of dedicated or host into a dedicated tenancy VPC. // // Important: The host value cannot be used with this parameter. Use the default // or dedicated values only. // // Default: default InstanceTenancy Tenancy `locationName:"instanceTenancy" type:"string" enum:"true"` // contains filtered or unexported fields }
func (CreateVpcInput) String ¶
func (s CreateVpcInput) String() string
String returns the string representation
func (*CreateVpcInput) Validate ¶
func (s *CreateVpcInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVpcOutput ¶
type CreateVpcOutput struct { // Information about the VPC. Vpc *Vpc `locationName:"vpc" type:"structure"` // contains filtered or unexported fields }
func (CreateVpcOutput) String ¶
func (s CreateVpcOutput) String() string
String returns the string representation
type CreateVpcPeeringConnectionInput ¶
type CreateVpcPeeringConnectionInput 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 `locationName:"dryRun" type:"boolean"` // The AWS account ID of the owner of the accepter VPC. // // Default: Your AWS account ID PeerOwnerId *string `locationName:"peerOwnerId" type:"string"` // The Region code for the accepter VPC, if the accepter VPC is located in a // Region other than the Region in which you make the request. // // Default: The Region in which you make the request. PeerRegion *string `type:"string"` // The ID of the VPC with which you are creating the VPC peering connection. // You must specify this parameter in the request. PeerVpcId *string `locationName:"peerVpcId" type:"string"` // The ID of the requester VPC. You must specify this parameter in the request. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
func (CreateVpcPeeringConnectionInput) String ¶
func (s CreateVpcPeeringConnectionInput) String() string
String returns the string representation
type CreateVpcPeeringConnectionOutput ¶
type CreateVpcPeeringConnectionOutput struct { // Information about the VPC peering connection. VpcPeeringConnection *VpcPeeringConnection `locationName:"vpcPeeringConnection" type:"structure"` // contains filtered or unexported fields }
func (CreateVpcPeeringConnectionOutput) String ¶
func (s CreateVpcPeeringConnectionOutput) String() string
String returns the string representation
type CreateVpcPeeringConnectionRequest ¶
type CreateVpcPeeringConnectionRequest struct { *aws.Request Input *CreateVpcPeeringConnectionInput Copy func(*CreateVpcPeeringConnectionInput) CreateVpcPeeringConnectionRequest }
CreateVpcPeeringConnectionRequest is the request type for the CreateVpcPeeringConnection API operation.
func (CreateVpcPeeringConnectionRequest) Send ¶
func (r CreateVpcPeeringConnectionRequest) Send(ctx context.Context) (*CreateVpcPeeringConnectionResponse, error)
Send marshals and sends the CreateVpcPeeringConnection API request.
type CreateVpcPeeringConnectionResponse ¶ added in v0.9.0
type CreateVpcPeeringConnectionResponse struct { *CreateVpcPeeringConnectionOutput // contains filtered or unexported fields }
CreateVpcPeeringConnectionResponse is the response type for the CreateVpcPeeringConnection API operation.
func (*CreateVpcPeeringConnectionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateVpcPeeringConnectionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateVpcPeeringConnection request.
type CreateVpcRequest ¶
type CreateVpcRequest struct { *aws.Request Input *CreateVpcInput Copy func(*CreateVpcInput) CreateVpcRequest }
CreateVpcRequest is the request type for the CreateVpc API operation.
func (CreateVpcRequest) Send ¶
func (r CreateVpcRequest) Send(ctx context.Context) (*CreateVpcResponse, error)
Send marshals and sends the CreateVpc API request.
type CreateVpcResponse ¶ added in v0.9.0
type CreateVpcResponse struct { *CreateVpcOutput // contains filtered or unexported fields }
CreateVpcResponse is the response type for the CreateVpc API operation.
func (*CreateVpcResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateVpcResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateVpc request.
type CreateVpnConnectionInput ¶
type CreateVpnConnectionInput struct { // The ID of the customer gateway. // // CustomerGatewayId is a required field CustomerGatewayId *string `type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The options for the VPN connection. Options *VpnConnectionOptionsSpecification `locationName:"options" type:"structure"` // The ID of the transit gateway. If you specify a transit gateway, you cannot // specify a virtual private gateway. TransitGatewayId *string `type:"string"` // The type of VPN connection (ipsec.1). // // Type is a required field Type *string `type:"string" required:"true"` // The ID of the virtual private gateway. If you specify a virtual private gateway, // you cannot specify a transit gateway. VpnGatewayId *string `type:"string"` // contains filtered or unexported fields }
Contains the parameters for CreateVpnConnection.
func (CreateVpnConnectionInput) String ¶
func (s CreateVpnConnectionInput) String() string
String returns the string representation
func (*CreateVpnConnectionInput) Validate ¶
func (s *CreateVpnConnectionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVpnConnectionOutput ¶
type CreateVpnConnectionOutput struct { // Information about the VPN connection. VpnConnection *VpnConnection `locationName:"vpnConnection" type:"structure"` // contains filtered or unexported fields }
Contains the output of CreateVpnConnection.
func (CreateVpnConnectionOutput) String ¶
func (s CreateVpnConnectionOutput) String() string
String returns the string representation
type CreateVpnConnectionRequest ¶
type CreateVpnConnectionRequest struct { *aws.Request Input *CreateVpnConnectionInput Copy func(*CreateVpnConnectionInput) CreateVpnConnectionRequest }
CreateVpnConnectionRequest is the request type for the CreateVpnConnection API operation.
func (CreateVpnConnectionRequest) Send ¶
func (r CreateVpnConnectionRequest) Send(ctx context.Context) (*CreateVpnConnectionResponse, error)
Send marshals and sends the CreateVpnConnection API request.
type CreateVpnConnectionResponse ¶ added in v0.9.0
type CreateVpnConnectionResponse struct { *CreateVpnConnectionOutput // contains filtered or unexported fields }
CreateVpnConnectionResponse is the response type for the CreateVpnConnection API operation.
func (*CreateVpnConnectionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateVpnConnectionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateVpnConnection request.
type CreateVpnConnectionRouteInput ¶
type CreateVpnConnectionRouteInput struct { // The CIDR block associated with the local subnet of the customer network. // // DestinationCidrBlock is a required field DestinationCidrBlock *string `type:"string" required:"true"` // The ID of the VPN connection. // // VpnConnectionId is a required field VpnConnectionId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for CreateVpnConnectionRoute.
func (CreateVpnConnectionRouteInput) String ¶
func (s CreateVpnConnectionRouteInput) String() string
String returns the string representation
func (*CreateVpnConnectionRouteInput) Validate ¶
func (s *CreateVpnConnectionRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVpnConnectionRouteOutput ¶
type CreateVpnConnectionRouteOutput struct {
// contains filtered or unexported fields
}
func (CreateVpnConnectionRouteOutput) String ¶
func (s CreateVpnConnectionRouteOutput) String() string
String returns the string representation
type CreateVpnConnectionRouteRequest ¶
type CreateVpnConnectionRouteRequest struct { *aws.Request Input *CreateVpnConnectionRouteInput Copy func(*CreateVpnConnectionRouteInput) CreateVpnConnectionRouteRequest }
CreateVpnConnectionRouteRequest is the request type for the CreateVpnConnectionRoute API operation.
func (CreateVpnConnectionRouteRequest) Send ¶
func (r CreateVpnConnectionRouteRequest) Send(ctx context.Context) (*CreateVpnConnectionRouteResponse, error)
Send marshals and sends the CreateVpnConnectionRoute API request.
type CreateVpnConnectionRouteResponse ¶ added in v0.9.0
type CreateVpnConnectionRouteResponse struct { *CreateVpnConnectionRouteOutput // contains filtered or unexported fields }
CreateVpnConnectionRouteResponse is the response type for the CreateVpnConnectionRoute API operation.
func (*CreateVpnConnectionRouteResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateVpnConnectionRouteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateVpnConnectionRoute request.
type CreateVpnGatewayInput ¶
type CreateVpnGatewayInput struct { // A private Autonomous System Number (ASN) for the Amazon side of a BGP session. // If you're using a 16-bit ASN, it must be in the 64512 to 65534 range. If // you're using a 32-bit ASN, it must be in the 4200000000 to 4294967294 range. // // Default: 64512 AmazonSideAsn *int64 `type:"long"` // The Availability Zone for the virtual private gateway. AvailabilityZone *string `type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // The type of VPN connection this virtual private gateway supports. // // Type is a required field Type GatewayType `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Contains the parameters for CreateVpnGateway.
func (CreateVpnGatewayInput) String ¶
func (s CreateVpnGatewayInput) String() string
String returns the string representation
func (*CreateVpnGatewayInput) Validate ¶
func (s *CreateVpnGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVpnGatewayOutput ¶
type CreateVpnGatewayOutput struct { // Information about the virtual private gateway. VpnGateway *VpnGateway `locationName:"vpnGateway" type:"structure"` // contains filtered or unexported fields }
Contains the output of CreateVpnGateway.
func (CreateVpnGatewayOutput) String ¶
func (s CreateVpnGatewayOutput) String() string
String returns the string representation
type CreateVpnGatewayRequest ¶
type CreateVpnGatewayRequest struct { *aws.Request Input *CreateVpnGatewayInput Copy func(*CreateVpnGatewayInput) CreateVpnGatewayRequest }
CreateVpnGatewayRequest is the request type for the CreateVpnGateway API operation.
func (CreateVpnGatewayRequest) Send ¶
func (r CreateVpnGatewayRequest) Send(ctx context.Context) (*CreateVpnGatewayResponse, error)
Send marshals and sends the CreateVpnGateway API request.
type CreateVpnGatewayResponse ¶ added in v0.9.0
type CreateVpnGatewayResponse struct { *CreateVpnGatewayOutput // contains filtered or unexported fields }
CreateVpnGatewayResponse is the response type for the CreateVpnGateway API operation.
func (*CreateVpnGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateVpnGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateVpnGateway request.
type CreditSpecification ¶ added in v0.2.0
type CreditSpecification struct { // The credit option for CPU usage of a T2 or T3 instance. Valid values are // standard and unlimited. CpuCredits *string `locationName:"cpuCredits" type:"string"` // contains filtered or unexported fields }
Describes the credit option for CPU usage of a T2 or T3 instance.
func (CreditSpecification) String ¶ added in v0.2.0
func (s CreditSpecification) String() string
String returns the string representation
type CreditSpecificationRequest ¶ added in v0.2.0
type CreditSpecificationRequest struct { // The credit option for CPU usage of a T2 or T3 instance. Valid values are // standard and unlimited. // // CpuCredits is a required field CpuCredits *string `type:"string" required:"true"` // contains filtered or unexported fields }
The credit option for CPU usage of a T2 or T3 instance.
func (CreditSpecificationRequest) String ¶ added in v0.2.0
func (s CreditSpecificationRequest) String() string
String returns the string representation
func (*CreditSpecificationRequest) Validate ¶ added in v0.2.0
func (s *CreditSpecificationRequest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CurrencyCodeValues ¶
type CurrencyCodeValues string
const (
CurrencyCodeValuesUsd CurrencyCodeValues = "USD"
)
Enum values for CurrencyCodeValues
func (CurrencyCodeValues) MarshalValue ¶ added in v0.3.0
func (enum CurrencyCodeValues) MarshalValue() (string, error)
func (CurrencyCodeValues) MarshalValueBuf ¶ added in v0.3.0
func (enum CurrencyCodeValues) MarshalValueBuf(b []byte) ([]byte, error)
type CustomerGateway ¶
type CustomerGateway struct { // The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number // (ASN). BgpAsn *string `locationName:"bgpAsn" type:"string"` // The Amazon Resource Name (ARN) for the customer gateway certificate. CertificateArn *string `locationName:"certificateArn" type:"string"` // The ID of the customer gateway. CustomerGatewayId *string `locationName:"customerGatewayId" type:"string"` // The Internet-routable IP address of the customer gateway's outside interface. IpAddress *string `locationName:"ipAddress" type:"string"` // The current state of the customer gateway (pending | available | deleting // | deleted). State *string `locationName:"state" type:"string"` // Any tags assigned to the customer gateway. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The type of VPN connection the customer gateway supports (ipsec.1). Type *string `locationName:"type" type:"string"` // contains filtered or unexported fields }
Describes a customer gateway.
func (CustomerGateway) String ¶
func (s CustomerGateway) String() string
String returns the string representation
type Data ¶ added in v0.9.0
type Data struct { // A user-defined comment about the disk upload. Comment *string `type:"string"` // The time that the disk upload ends. UploadEnd *time.Time `type:"timestamp"` // The size of the uploaded disk image, in GiB. UploadSize *float64 `type:"double"` // The time that the disk upload starts. UploadStart *time.Time `type:"timestamp"` // contains filtered or unexported fields }
Describes the client-specific data.
type DatafeedSubscriptionState ¶
type DatafeedSubscriptionState string
const ( DatafeedSubscriptionStateActive DatafeedSubscriptionState = "Active" DatafeedSubscriptionStateInactive DatafeedSubscriptionState = "Inactive" )
Enum values for DatafeedSubscriptionState
func (DatafeedSubscriptionState) MarshalValue ¶ added in v0.3.0
func (enum DatafeedSubscriptionState) MarshalValue() (string, error)
func (DatafeedSubscriptionState) MarshalValueBuf ¶ added in v0.3.0
func (enum DatafeedSubscriptionState) MarshalValueBuf(b []byte) ([]byte, error)
type DefaultRouteTableAssociationValue ¶ added in v0.6.0
type DefaultRouteTableAssociationValue string
const ( DefaultRouteTableAssociationValueEnable DefaultRouteTableAssociationValue = "enable" DefaultRouteTableAssociationValueDisable DefaultRouteTableAssociationValue = "disable" )
Enum values for DefaultRouteTableAssociationValue
func (DefaultRouteTableAssociationValue) MarshalValue ¶ added in v0.6.0
func (enum DefaultRouteTableAssociationValue) MarshalValue() (string, error)
func (DefaultRouteTableAssociationValue) MarshalValueBuf ¶ added in v0.6.0
func (enum DefaultRouteTableAssociationValue) MarshalValueBuf(b []byte) ([]byte, error)
type DefaultRouteTablePropagationValue ¶ added in v0.6.0
type DefaultRouteTablePropagationValue string
const ( DefaultRouteTablePropagationValueEnable DefaultRouteTablePropagationValue = "enable" DefaultRouteTablePropagationValueDisable DefaultRouteTablePropagationValue = "disable" )
Enum values for DefaultRouteTablePropagationValue
func (DefaultRouteTablePropagationValue) MarshalValue ¶ added in v0.6.0
func (enum DefaultRouteTablePropagationValue) MarshalValue() (string, error)
func (DefaultRouteTablePropagationValue) MarshalValueBuf ¶ added in v0.6.0
func (enum DefaultRouteTablePropagationValue) MarshalValueBuf(b []byte) ([]byte, error)
type DefaultTargetCapacityType ¶ added in v0.4.0
type DefaultTargetCapacityType string
const ( DefaultTargetCapacityTypeSpot DefaultTargetCapacityType = "spot" DefaultTargetCapacityTypeOnDemand DefaultTargetCapacityType = "on-demand" )
Enum values for DefaultTargetCapacityType
func (DefaultTargetCapacityType) MarshalValue ¶ added in v0.4.0
func (enum DefaultTargetCapacityType) MarshalValue() (string, error)
func (DefaultTargetCapacityType) MarshalValueBuf ¶ added in v0.4.0
func (enum DefaultTargetCapacityType) MarshalValueBuf(b []byte) ([]byte, error)
type DeleteClientVpnEndpointInput ¶ added in v0.7.0
type DeleteClientVpnEndpointInput struct { // The ID of the Client VPN to be deleted. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // 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"` // contains filtered or unexported fields }
func (DeleteClientVpnEndpointInput) String ¶ added in v0.7.0
func (s DeleteClientVpnEndpointInput) String() string
String returns the string representation
func (*DeleteClientVpnEndpointInput) Validate ¶ added in v0.7.0
func (s *DeleteClientVpnEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteClientVpnEndpointOutput ¶ added in v0.7.0
type DeleteClientVpnEndpointOutput struct { // The current state of the Client VPN endpoint. Status *VpnEndpointStatus `locationName:"status" type:"structure"` // contains filtered or unexported fields }
func (DeleteClientVpnEndpointOutput) String ¶ added in v0.7.0
func (s DeleteClientVpnEndpointOutput) String() string
String returns the string representation
type DeleteClientVpnEndpointRequest ¶ added in v0.7.0
type DeleteClientVpnEndpointRequest struct { *aws.Request Input *DeleteClientVpnEndpointInput Copy func(*DeleteClientVpnEndpointInput) DeleteClientVpnEndpointRequest }
DeleteClientVpnEndpointRequest is the request type for the DeleteClientVpnEndpoint API operation.
func (DeleteClientVpnEndpointRequest) Send ¶ added in v0.7.0
func (r DeleteClientVpnEndpointRequest) Send(ctx context.Context) (*DeleteClientVpnEndpointResponse, error)
Send marshals and sends the DeleteClientVpnEndpoint API request.
type DeleteClientVpnEndpointResponse ¶ added in v0.9.0
type DeleteClientVpnEndpointResponse struct { *DeleteClientVpnEndpointOutput // contains filtered or unexported fields }
DeleteClientVpnEndpointResponse is the response type for the DeleteClientVpnEndpoint API operation.
func (*DeleteClientVpnEndpointResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteClientVpnEndpointResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteClientVpnEndpoint request.
type DeleteClientVpnRouteInput ¶ added in v0.7.0
type DeleteClientVpnRouteInput struct { // The ID of the Client VPN endpoint from which the route is to be deleted. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // The IPv4 address range, in CIDR notation, of the route to be deleted. // // DestinationCidrBlock is a required field DestinationCidrBlock *string `type:"string" required:"true"` // 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 target subnet used by the route. TargetVpcSubnetId *string `type:"string"` // contains filtered or unexported fields }
func (DeleteClientVpnRouteInput) String ¶ added in v0.7.0
func (s DeleteClientVpnRouteInput) String() string
String returns the string representation
func (*DeleteClientVpnRouteInput) Validate ¶ added in v0.7.0
func (s *DeleteClientVpnRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteClientVpnRouteOutput ¶ added in v0.7.0
type DeleteClientVpnRouteOutput struct { // The current state of the route. Status *VpnRouteStatus `locationName:"status" type:"structure"` // contains filtered or unexported fields }
func (DeleteClientVpnRouteOutput) String ¶ added in v0.7.0
func (s DeleteClientVpnRouteOutput) String() string
String returns the string representation
type DeleteClientVpnRouteRequest ¶ added in v0.7.0
type DeleteClientVpnRouteRequest struct { *aws.Request Input *DeleteClientVpnRouteInput Copy func(*DeleteClientVpnRouteInput) DeleteClientVpnRouteRequest }
DeleteClientVpnRouteRequest is the request type for the DeleteClientVpnRoute API operation.
func (DeleteClientVpnRouteRequest) Send ¶ added in v0.7.0
func (r DeleteClientVpnRouteRequest) Send(ctx context.Context) (*DeleteClientVpnRouteResponse, error)
Send marshals and sends the DeleteClientVpnRoute API request.
type DeleteClientVpnRouteResponse ¶ added in v0.9.0
type DeleteClientVpnRouteResponse struct { *DeleteClientVpnRouteOutput // contains filtered or unexported fields }
DeleteClientVpnRouteResponse is the response type for the DeleteClientVpnRoute API operation.
func (*DeleteClientVpnRouteResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteClientVpnRouteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteClientVpnRoute request.
type DeleteCustomerGatewayInput ¶
type DeleteCustomerGatewayInput struct { // The ID of the customer gateway. // // CustomerGatewayId is a required field CustomerGatewayId *string `type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // contains filtered or unexported fields }
Contains the parameters for DeleteCustomerGateway.
func (DeleteCustomerGatewayInput) String ¶
func (s DeleteCustomerGatewayInput) String() string
String returns the string representation
func (*DeleteCustomerGatewayInput) Validate ¶
func (s *DeleteCustomerGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteCustomerGatewayOutput ¶
type DeleteCustomerGatewayOutput struct {
// contains filtered or unexported fields
}
func (DeleteCustomerGatewayOutput) String ¶
func (s DeleteCustomerGatewayOutput) String() string
String returns the string representation
type DeleteCustomerGatewayRequest ¶
type DeleteCustomerGatewayRequest struct { *aws.Request Input *DeleteCustomerGatewayInput Copy func(*DeleteCustomerGatewayInput) DeleteCustomerGatewayRequest }
DeleteCustomerGatewayRequest is the request type for the DeleteCustomerGateway API operation.
func (DeleteCustomerGatewayRequest) Send ¶
func (r DeleteCustomerGatewayRequest) Send(ctx context.Context) (*DeleteCustomerGatewayResponse, error)
Send marshals and sends the DeleteCustomerGateway API request.
type DeleteCustomerGatewayResponse ¶ added in v0.9.0
type DeleteCustomerGatewayResponse struct { *DeleteCustomerGatewayOutput // contains filtered or unexported fields }
DeleteCustomerGatewayResponse is the response type for the DeleteCustomerGateway API operation.
func (*DeleteCustomerGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteCustomerGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteCustomerGateway request.
type DeleteDhcpOptionsInput ¶
type DeleteDhcpOptionsInput struct { // The ID of the DHCP options set. // // DhcpOptionsId is a required field DhcpOptionsId *string `type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // contains filtered or unexported fields }
func (DeleteDhcpOptionsInput) String ¶
func (s DeleteDhcpOptionsInput) String() string
String returns the string representation
func (*DeleteDhcpOptionsInput) Validate ¶
func (s *DeleteDhcpOptionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDhcpOptionsOutput ¶
type DeleteDhcpOptionsOutput struct {
// contains filtered or unexported fields
}
func (DeleteDhcpOptionsOutput) String ¶
func (s DeleteDhcpOptionsOutput) String() string
String returns the string representation
type DeleteDhcpOptionsRequest ¶
type DeleteDhcpOptionsRequest struct { *aws.Request Input *DeleteDhcpOptionsInput Copy func(*DeleteDhcpOptionsInput) DeleteDhcpOptionsRequest }
DeleteDhcpOptionsRequest is the request type for the DeleteDhcpOptions API operation.
func (DeleteDhcpOptionsRequest) Send ¶
func (r DeleteDhcpOptionsRequest) Send(ctx context.Context) (*DeleteDhcpOptionsResponse, error)
Send marshals and sends the DeleteDhcpOptions API request.
type DeleteDhcpOptionsResponse ¶ added in v0.9.0
type DeleteDhcpOptionsResponse struct { *DeleteDhcpOptionsOutput // contains filtered or unexported fields }
DeleteDhcpOptionsResponse is the response type for the DeleteDhcpOptions API operation.
func (*DeleteDhcpOptionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteDhcpOptionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteDhcpOptions request.
type DeleteEgressOnlyInternetGatewayInput ¶
type DeleteEgressOnlyInternetGatewayInput 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 egress-only internet gateway. // // EgressOnlyInternetGatewayId is a required field EgressOnlyInternetGatewayId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteEgressOnlyInternetGatewayInput) String ¶
func (s DeleteEgressOnlyInternetGatewayInput) String() string
String returns the string representation
func (*DeleteEgressOnlyInternetGatewayInput) Validate ¶
func (s *DeleteEgressOnlyInternetGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteEgressOnlyInternetGatewayOutput ¶
type DeleteEgressOnlyInternetGatewayOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. ReturnCode *bool `locationName:"returnCode" type:"boolean"` // contains filtered or unexported fields }
func (DeleteEgressOnlyInternetGatewayOutput) String ¶
func (s DeleteEgressOnlyInternetGatewayOutput) String() string
String returns the string representation
type DeleteEgressOnlyInternetGatewayRequest ¶
type DeleteEgressOnlyInternetGatewayRequest struct { *aws.Request Input *DeleteEgressOnlyInternetGatewayInput Copy func(*DeleteEgressOnlyInternetGatewayInput) DeleteEgressOnlyInternetGatewayRequest }
DeleteEgressOnlyInternetGatewayRequest is the request type for the DeleteEgressOnlyInternetGateway API operation.
func (DeleteEgressOnlyInternetGatewayRequest) Send ¶
func (r DeleteEgressOnlyInternetGatewayRequest) Send(ctx context.Context) (*DeleteEgressOnlyInternetGatewayResponse, error)
Send marshals and sends the DeleteEgressOnlyInternetGateway API request.
type DeleteEgressOnlyInternetGatewayResponse ¶ added in v0.9.0
type DeleteEgressOnlyInternetGatewayResponse struct { *DeleteEgressOnlyInternetGatewayOutput // contains filtered or unexported fields }
DeleteEgressOnlyInternetGatewayResponse is the response type for the DeleteEgressOnlyInternetGateway API operation.
func (*DeleteEgressOnlyInternetGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteEgressOnlyInternetGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteEgressOnlyInternetGateway request.
type DeleteFleetError ¶ added in v0.4.0
type DeleteFleetError struct { // The error code. Code DeleteFleetErrorCode `locationName:"code" type:"string" enum:"true"` // The description for the error code. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes an EC2 Fleet error.
func (DeleteFleetError) String ¶ added in v0.4.0
func (s DeleteFleetError) String() string
String returns the string representation
type DeleteFleetErrorCode ¶ added in v0.4.0
type DeleteFleetErrorCode string
const ( DeleteFleetErrorCodeFleetIdDoesNotExist DeleteFleetErrorCode = "fleetIdDoesNotExist" DeleteFleetErrorCodeFleetIdMalformed DeleteFleetErrorCode = "fleetIdMalformed" DeleteFleetErrorCodeFleetNotInDeletableState DeleteFleetErrorCode = "fleetNotInDeletableState" DeleteFleetErrorCodeUnexpectedError DeleteFleetErrorCode = "unexpectedError" )
Enum values for DeleteFleetErrorCode
func (DeleteFleetErrorCode) MarshalValue ¶ added in v0.4.0
func (enum DeleteFleetErrorCode) MarshalValue() (string, error)
func (DeleteFleetErrorCode) MarshalValueBuf ¶ added in v0.4.0
func (enum DeleteFleetErrorCode) MarshalValueBuf(b []byte) ([]byte, error)
type DeleteFleetErrorItem ¶ added in v0.4.0
type DeleteFleetErrorItem struct { // The error. Error *DeleteFleetError `locationName:"error" type:"structure"` // The ID of the EC2 Fleet. FleetId *string `locationName:"fleetId" type:"string"` // contains filtered or unexported fields }
Describes an EC2 Fleet that was not successfully deleted.
func (DeleteFleetErrorItem) String ¶ added in v0.4.0
func (s DeleteFleetErrorItem) String() string
String returns the string representation
type DeleteFleetSuccessItem ¶ added in v0.4.0
type DeleteFleetSuccessItem struct { // The current state of the EC2 Fleet. CurrentFleetState FleetStateCode `locationName:"currentFleetState" type:"string" enum:"true"` // The ID of the EC2 Fleet. FleetId *string `locationName:"fleetId" type:"string"` // The previous state of the EC2 Fleet. PreviousFleetState FleetStateCode `locationName:"previousFleetState" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes an EC2 Fleet that was successfully deleted.
func (DeleteFleetSuccessItem) String ¶ added in v0.4.0
func (s DeleteFleetSuccessItem) String() string
String returns the string representation
type DeleteFleetsInput ¶ added in v0.4.0
type DeleteFleetsInput 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 EC2 Fleets. // // FleetIds is a required field FleetIds []string `locationName:"FleetId" type:"list" required:"true"` // Indicates whether to terminate instances for an EC2 Fleet if it is deleted // successfully. // // TerminateInstances is a required field TerminateInstances *bool `type:"boolean" required:"true"` // contains filtered or unexported fields }
func (DeleteFleetsInput) String ¶ added in v0.4.0
func (s DeleteFleetsInput) String() string
String returns the string representation
func (*DeleteFleetsInput) Validate ¶ added in v0.4.0
func (s *DeleteFleetsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFleetsOutput ¶ added in v0.4.0
type DeleteFleetsOutput struct { // Information about the EC2 Fleets that are successfully deleted. SuccessfulFleetDeletions []DeleteFleetSuccessItem `locationName:"successfulFleetDeletionSet" locationNameList:"item" type:"list"` // Information about the EC2 Fleets that are not successfully deleted. UnsuccessfulFleetDeletions []DeleteFleetErrorItem `locationName:"unsuccessfulFleetDeletionSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DeleteFleetsOutput) String ¶ added in v0.4.0
func (s DeleteFleetsOutput) String() string
String returns the string representation
type DeleteFleetsRequest ¶ added in v0.4.0
type DeleteFleetsRequest struct { *aws.Request Input *DeleteFleetsInput Copy func(*DeleteFleetsInput) DeleteFleetsRequest }
DeleteFleetsRequest is the request type for the DeleteFleets API operation.
func (DeleteFleetsRequest) Send ¶ added in v0.4.0
func (r DeleteFleetsRequest) Send(ctx context.Context) (*DeleteFleetsResponse, error)
Send marshals and sends the DeleteFleets API request.
type DeleteFleetsResponse ¶ added in v0.9.0
type DeleteFleetsResponse struct { *DeleteFleetsOutput // contains filtered or unexported fields }
DeleteFleetsResponse is the response type for the DeleteFleets API operation.
func (*DeleteFleetsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteFleetsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteFleets request.
type DeleteFlowLogsInput ¶
type DeleteFlowLogsInput 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"` // One or more flow log IDs. // // Constraint: Maximum of 1000 flow log IDs. // // FlowLogIds is a required field FlowLogIds []string `locationName:"FlowLogId" locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
func (DeleteFlowLogsInput) String ¶
func (s DeleteFlowLogsInput) String() string
String returns the string representation
func (*DeleteFlowLogsInput) Validate ¶
func (s *DeleteFlowLogsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFlowLogsOutput ¶
type DeleteFlowLogsOutput struct { // Information about the flow logs that could not be deleted successfully. Unsuccessful []UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DeleteFlowLogsOutput) String ¶
func (s DeleteFlowLogsOutput) String() string
String returns the string representation
type DeleteFlowLogsRequest ¶
type DeleteFlowLogsRequest struct { *aws.Request Input *DeleteFlowLogsInput Copy func(*DeleteFlowLogsInput) DeleteFlowLogsRequest }
DeleteFlowLogsRequest is the request type for the DeleteFlowLogs API operation.
func (DeleteFlowLogsRequest) Send ¶
func (r DeleteFlowLogsRequest) Send(ctx context.Context) (*DeleteFlowLogsResponse, error)
Send marshals and sends the DeleteFlowLogs API request.
type DeleteFlowLogsResponse ¶ added in v0.9.0
type DeleteFlowLogsResponse struct { *DeleteFlowLogsOutput // contains filtered or unexported fields }
DeleteFlowLogsResponse is the response type for the DeleteFlowLogs API operation.
func (*DeleteFlowLogsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteFlowLogsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteFlowLogs request.
type DeleteFpgaImageInput ¶
type DeleteFpgaImageInput 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 AFI. // // FpgaImageId is a required field FpgaImageId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteFpgaImageInput) String ¶
func (s DeleteFpgaImageInput) String() string
String returns the string representation
func (*DeleteFpgaImageInput) Validate ¶
func (s *DeleteFpgaImageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFpgaImageOutput ¶
type DeleteFpgaImageOutput struct { // Is true if the request succeeds, and an error otherwise. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (DeleteFpgaImageOutput) String ¶
func (s DeleteFpgaImageOutput) String() string
String returns the string representation
type DeleteFpgaImageRequest ¶
type DeleteFpgaImageRequest struct { *aws.Request Input *DeleteFpgaImageInput Copy func(*DeleteFpgaImageInput) DeleteFpgaImageRequest }
DeleteFpgaImageRequest is the request type for the DeleteFpgaImage API operation.
func (DeleteFpgaImageRequest) Send ¶
func (r DeleteFpgaImageRequest) Send(ctx context.Context) (*DeleteFpgaImageResponse, error)
Send marshals and sends the DeleteFpgaImage API request.
type DeleteFpgaImageResponse ¶ added in v0.9.0
type DeleteFpgaImageResponse struct { *DeleteFpgaImageOutput // contains filtered or unexported fields }
DeleteFpgaImageResponse is the response type for the DeleteFpgaImage API operation.
func (*DeleteFpgaImageResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteFpgaImageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteFpgaImage request.
type DeleteInternetGatewayInput ¶
type DeleteInternetGatewayInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the internet gateway. // // InternetGatewayId is a required field InternetGatewayId *string `locationName:"internetGatewayId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteInternetGatewayInput) String ¶
func (s DeleteInternetGatewayInput) String() string
String returns the string representation
func (*DeleteInternetGatewayInput) Validate ¶
func (s *DeleteInternetGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteInternetGatewayOutput ¶
type DeleteInternetGatewayOutput struct {
// contains filtered or unexported fields
}
func (DeleteInternetGatewayOutput) String ¶
func (s DeleteInternetGatewayOutput) String() string
String returns the string representation
type DeleteInternetGatewayRequest ¶
type DeleteInternetGatewayRequest struct { *aws.Request Input *DeleteInternetGatewayInput Copy func(*DeleteInternetGatewayInput) DeleteInternetGatewayRequest }
DeleteInternetGatewayRequest is the request type for the DeleteInternetGateway API operation.
func (DeleteInternetGatewayRequest) Send ¶
func (r DeleteInternetGatewayRequest) Send(ctx context.Context) (*DeleteInternetGatewayResponse, error)
Send marshals and sends the DeleteInternetGateway API request.
type DeleteInternetGatewayResponse ¶ added in v0.9.0
type DeleteInternetGatewayResponse struct { *DeleteInternetGatewayOutput // contains filtered or unexported fields }
DeleteInternetGatewayResponse is the response type for the DeleteInternetGateway API operation.
func (*DeleteInternetGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteInternetGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteInternetGateway request.
type DeleteKeyPairInput ¶
type DeleteKeyPairInput 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 `locationName:"dryRun" type:"boolean"` // The name of the key pair. // // KeyName is a required field KeyName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteKeyPairInput) String ¶
func (s DeleteKeyPairInput) String() string
String returns the string representation
func (*DeleteKeyPairInput) Validate ¶
func (s *DeleteKeyPairInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteKeyPairOutput ¶
type DeleteKeyPairOutput struct {
// contains filtered or unexported fields
}
func (DeleteKeyPairOutput) String ¶
func (s DeleteKeyPairOutput) String() string
String returns the string representation
type DeleteKeyPairRequest ¶
type DeleteKeyPairRequest struct { *aws.Request Input *DeleteKeyPairInput Copy func(*DeleteKeyPairInput) DeleteKeyPairRequest }
DeleteKeyPairRequest is the request type for the DeleteKeyPair API operation.
func (DeleteKeyPairRequest) Send ¶
func (r DeleteKeyPairRequest) Send(ctx context.Context) (*DeleteKeyPairResponse, error)
Send marshals and sends the DeleteKeyPair API request.
type DeleteKeyPairResponse ¶ added in v0.9.0
type DeleteKeyPairResponse struct { *DeleteKeyPairOutput // contains filtered or unexported fields }
DeleteKeyPairResponse is the response type for the DeleteKeyPair API operation.
func (*DeleteKeyPairResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteKeyPairResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteKeyPair request.
type DeleteLaunchTemplateInput ¶ added in v0.2.0
type DeleteLaunchTemplateInput 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 launch template. You must specify either the launch template // ID or launch template name in the request. LaunchTemplateId *string `type:"string"` // The name of the launch template. You must specify either the launch template // ID or launch template name in the request. LaunchTemplateName *string `min:"3" type:"string"` // contains filtered or unexported fields }
func (DeleteLaunchTemplateInput) String ¶ added in v0.2.0
func (s DeleteLaunchTemplateInput) String() string
String returns the string representation
func (*DeleteLaunchTemplateInput) Validate ¶ added in v0.2.0
func (s *DeleteLaunchTemplateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLaunchTemplateOutput ¶ added in v0.2.0
type DeleteLaunchTemplateOutput struct { // Information about the launch template. LaunchTemplate *LaunchTemplate `locationName:"launchTemplate" type:"structure"` // contains filtered or unexported fields }
func (DeleteLaunchTemplateOutput) String ¶ added in v0.2.0
func (s DeleteLaunchTemplateOutput) String() string
String returns the string representation
type DeleteLaunchTemplateRequest ¶ added in v0.2.0
type DeleteLaunchTemplateRequest struct { *aws.Request Input *DeleteLaunchTemplateInput Copy func(*DeleteLaunchTemplateInput) DeleteLaunchTemplateRequest }
DeleteLaunchTemplateRequest is the request type for the DeleteLaunchTemplate API operation.
func (DeleteLaunchTemplateRequest) Send ¶ added in v0.2.0
func (r DeleteLaunchTemplateRequest) Send(ctx context.Context) (*DeleteLaunchTemplateResponse, error)
Send marshals and sends the DeleteLaunchTemplate API request.
type DeleteLaunchTemplateResponse ¶ added in v0.9.0
type DeleteLaunchTemplateResponse struct { *DeleteLaunchTemplateOutput // contains filtered or unexported fields }
DeleteLaunchTemplateResponse is the response type for the DeleteLaunchTemplate API operation.
func (*DeleteLaunchTemplateResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteLaunchTemplateResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteLaunchTemplate request.
type DeleteLaunchTemplateVersionsInput ¶ added in v0.2.0
type DeleteLaunchTemplateVersionsInput 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 launch template. You must specify either the launch template // ID or launch template name in the request. LaunchTemplateId *string `type:"string"` // The name of the launch template. You must specify either the launch template // ID or launch template name in the request. LaunchTemplateName *string `min:"3" type:"string"` // The version numbers of one or more launch template versions to delete. // // Versions is a required field Versions []string `locationName:"LaunchTemplateVersion" locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
func (DeleteLaunchTemplateVersionsInput) String ¶ added in v0.2.0
func (s DeleteLaunchTemplateVersionsInput) String() string
String returns the string representation
func (*DeleteLaunchTemplateVersionsInput) Validate ¶ added in v0.2.0
func (s *DeleteLaunchTemplateVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLaunchTemplateVersionsOutput ¶ added in v0.2.0
type DeleteLaunchTemplateVersionsOutput struct { // Information about the launch template versions that were successfully deleted. SuccessfullyDeletedLaunchTemplateVersions []DeleteLaunchTemplateVersionsResponseSuccessItem `locationName:"successfullyDeletedLaunchTemplateVersionSet" locationNameList:"item" type:"list"` // Information about the launch template versions that could not be deleted. UnsuccessfullyDeletedLaunchTemplateVersions []DeleteLaunchTemplateVersionsResponseErrorItem `locationName:"unsuccessfullyDeletedLaunchTemplateVersionSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DeleteLaunchTemplateVersionsOutput) String ¶ added in v0.2.0
func (s DeleteLaunchTemplateVersionsOutput) String() string
String returns the string representation
type DeleteLaunchTemplateVersionsRequest ¶ added in v0.2.0
type DeleteLaunchTemplateVersionsRequest struct { *aws.Request Input *DeleteLaunchTemplateVersionsInput Copy func(*DeleteLaunchTemplateVersionsInput) DeleteLaunchTemplateVersionsRequest }
DeleteLaunchTemplateVersionsRequest is the request type for the DeleteLaunchTemplateVersions API operation.
func (DeleteLaunchTemplateVersionsRequest) Send ¶ added in v0.2.0
func (r DeleteLaunchTemplateVersionsRequest) Send(ctx context.Context) (*DeleteLaunchTemplateVersionsResponse, error)
Send marshals and sends the DeleteLaunchTemplateVersions API request.
type DeleteLaunchTemplateVersionsResponse ¶ added in v0.9.0
type DeleteLaunchTemplateVersionsResponse struct { *DeleteLaunchTemplateVersionsOutput // contains filtered or unexported fields }
DeleteLaunchTemplateVersionsResponse is the response type for the DeleteLaunchTemplateVersions API operation.
func (*DeleteLaunchTemplateVersionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteLaunchTemplateVersionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteLaunchTemplateVersions request.
type DeleteLaunchTemplateVersionsResponseErrorItem ¶ added in v0.2.0
type DeleteLaunchTemplateVersionsResponseErrorItem struct { // The ID of the launch template. LaunchTemplateId *string `locationName:"launchTemplateId" type:"string"` // The name of the launch template. LaunchTemplateName *string `locationName:"launchTemplateName" type:"string"` // Information about the error. ResponseError *ResponseError `locationName:"responseError" type:"structure"` // The version number of the launch template. VersionNumber *int64 `locationName:"versionNumber" type:"long"` // contains filtered or unexported fields }
Describes a launch template version that could not be deleted.
func (DeleteLaunchTemplateVersionsResponseErrorItem) String ¶ added in v0.2.0
func (s DeleteLaunchTemplateVersionsResponseErrorItem) String() string
String returns the string representation
type DeleteLaunchTemplateVersionsResponseSuccessItem ¶ added in v0.2.0
type DeleteLaunchTemplateVersionsResponseSuccessItem struct { // The ID of the launch template. LaunchTemplateId *string `locationName:"launchTemplateId" type:"string"` // The name of the launch template. LaunchTemplateName *string `locationName:"launchTemplateName" type:"string"` // The version number of the launch template. VersionNumber *int64 `locationName:"versionNumber" type:"long"` // contains filtered or unexported fields }
Describes a launch template version that was successfully deleted.
func (DeleteLaunchTemplateVersionsResponseSuccessItem) String ¶ added in v0.2.0
func (s DeleteLaunchTemplateVersionsResponseSuccessItem) String() string
String returns the string representation
type DeleteNatGatewayInput ¶
type DeleteNatGatewayInput struct { // The ID of the NAT gateway. // // NatGatewayId is a required field NatGatewayId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteNatGatewayInput) String ¶
func (s DeleteNatGatewayInput) String() string
String returns the string representation
func (*DeleteNatGatewayInput) Validate ¶
func (s *DeleteNatGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteNatGatewayOutput ¶
type DeleteNatGatewayOutput struct { // The ID of the NAT gateway. NatGatewayId *string `locationName:"natGatewayId" type:"string"` // contains filtered or unexported fields }
func (DeleteNatGatewayOutput) String ¶
func (s DeleteNatGatewayOutput) String() string
String returns the string representation
type DeleteNatGatewayRequest ¶
type DeleteNatGatewayRequest struct { *aws.Request Input *DeleteNatGatewayInput Copy func(*DeleteNatGatewayInput) DeleteNatGatewayRequest }
DeleteNatGatewayRequest is the request type for the DeleteNatGateway API operation.
func (DeleteNatGatewayRequest) Send ¶
func (r DeleteNatGatewayRequest) Send(ctx context.Context) (*DeleteNatGatewayResponse, error)
Send marshals and sends the DeleteNatGateway API request.
type DeleteNatGatewayResponse ¶ added in v0.9.0
type DeleteNatGatewayResponse struct { *DeleteNatGatewayOutput // contains filtered or unexported fields }
DeleteNatGatewayResponse is the response type for the DeleteNatGateway API operation.
func (*DeleteNatGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteNatGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteNatGateway request.
type DeleteNetworkAclEntryInput ¶
type DeleteNetworkAclEntryInput 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 `locationName:"dryRun" type:"boolean"` // Indicates whether the rule is an egress rule. // // Egress is a required field Egress *bool `locationName:"egress" type:"boolean" required:"true"` // The ID of the network ACL. // // NetworkAclId is a required field NetworkAclId *string `locationName:"networkAclId" type:"string" required:"true"` // The rule number of the entry to delete. // // RuleNumber is a required field RuleNumber *int64 `locationName:"ruleNumber" type:"integer" required:"true"` // contains filtered or unexported fields }
func (DeleteNetworkAclEntryInput) String ¶
func (s DeleteNetworkAclEntryInput) String() string
String returns the string representation
func (*DeleteNetworkAclEntryInput) Validate ¶
func (s *DeleteNetworkAclEntryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteNetworkAclEntryOutput ¶
type DeleteNetworkAclEntryOutput struct {
// contains filtered or unexported fields
}
func (DeleteNetworkAclEntryOutput) String ¶
func (s DeleteNetworkAclEntryOutput) String() string
String returns the string representation
type DeleteNetworkAclEntryRequest ¶
type DeleteNetworkAclEntryRequest struct { *aws.Request Input *DeleteNetworkAclEntryInput Copy func(*DeleteNetworkAclEntryInput) DeleteNetworkAclEntryRequest }
DeleteNetworkAclEntryRequest is the request type for the DeleteNetworkAclEntry API operation.
func (DeleteNetworkAclEntryRequest) Send ¶
func (r DeleteNetworkAclEntryRequest) Send(ctx context.Context) (*DeleteNetworkAclEntryResponse, error)
Send marshals and sends the DeleteNetworkAclEntry API request.
type DeleteNetworkAclEntryResponse ¶ added in v0.9.0
type DeleteNetworkAclEntryResponse struct { *DeleteNetworkAclEntryOutput // contains filtered or unexported fields }
DeleteNetworkAclEntryResponse is the response type for the DeleteNetworkAclEntry API operation.
func (*DeleteNetworkAclEntryResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteNetworkAclEntryResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteNetworkAclEntry request.
type DeleteNetworkAclInput ¶
type DeleteNetworkAclInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the network ACL. // // NetworkAclId is a required field NetworkAclId *string `locationName:"networkAclId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteNetworkAclInput) String ¶
func (s DeleteNetworkAclInput) String() string
String returns the string representation
func (*DeleteNetworkAclInput) Validate ¶
func (s *DeleteNetworkAclInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteNetworkAclOutput ¶
type DeleteNetworkAclOutput struct {
// contains filtered or unexported fields
}
func (DeleteNetworkAclOutput) String ¶
func (s DeleteNetworkAclOutput) String() string
String returns the string representation
type DeleteNetworkAclRequest ¶
type DeleteNetworkAclRequest struct { *aws.Request Input *DeleteNetworkAclInput Copy func(*DeleteNetworkAclInput) DeleteNetworkAclRequest }
DeleteNetworkAclRequest is the request type for the DeleteNetworkAcl API operation.
func (DeleteNetworkAclRequest) Send ¶
func (r DeleteNetworkAclRequest) Send(ctx context.Context) (*DeleteNetworkAclResponse, error)
Send marshals and sends the DeleteNetworkAcl API request.
type DeleteNetworkAclResponse ¶ added in v0.9.0
type DeleteNetworkAclResponse struct { *DeleteNetworkAclOutput // contains filtered or unexported fields }
DeleteNetworkAclResponse is the response type for the DeleteNetworkAcl API operation.
func (*DeleteNetworkAclResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteNetworkAclResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteNetworkAcl request.
type DeleteNetworkInterfaceInput ¶
type DeleteNetworkInterfaceInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the network interface. // // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeleteNetworkInterface.
func (DeleteNetworkInterfaceInput) String ¶
func (s DeleteNetworkInterfaceInput) String() string
String returns the string representation
func (*DeleteNetworkInterfaceInput) Validate ¶
func (s *DeleteNetworkInterfaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteNetworkInterfaceOutput ¶
type DeleteNetworkInterfaceOutput struct {
// contains filtered or unexported fields
}
func (DeleteNetworkInterfaceOutput) String ¶
func (s DeleteNetworkInterfaceOutput) String() string
String returns the string representation
type DeleteNetworkInterfacePermissionInput ¶
type DeleteNetworkInterfacePermissionInput 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"` // Specify true to remove the permission even if the network interface is attached // to an instance. Force *bool `type:"boolean"` // The ID of the network interface permission. // // NetworkInterfacePermissionId is a required field NetworkInterfacePermissionId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeleteNetworkInterfacePermission.
func (DeleteNetworkInterfacePermissionInput) String ¶
func (s DeleteNetworkInterfacePermissionInput) String() string
String returns the string representation
func (*DeleteNetworkInterfacePermissionInput) Validate ¶
func (s *DeleteNetworkInterfacePermissionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteNetworkInterfacePermissionOutput ¶
type DeleteNetworkInterfacePermissionOutput struct { // Returns true if the request succeeds, otherwise returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
Contains the output for DeleteNetworkInterfacePermission.
func (DeleteNetworkInterfacePermissionOutput) String ¶
func (s DeleteNetworkInterfacePermissionOutput) String() string
String returns the string representation
type DeleteNetworkInterfacePermissionRequest ¶
type DeleteNetworkInterfacePermissionRequest struct { *aws.Request Input *DeleteNetworkInterfacePermissionInput Copy func(*DeleteNetworkInterfacePermissionInput) DeleteNetworkInterfacePermissionRequest }
DeleteNetworkInterfacePermissionRequest is the request type for the DeleteNetworkInterfacePermission API operation.
func (DeleteNetworkInterfacePermissionRequest) Send ¶
func (r DeleteNetworkInterfacePermissionRequest) Send(ctx context.Context) (*DeleteNetworkInterfacePermissionResponse, error)
Send marshals and sends the DeleteNetworkInterfacePermission API request.
type DeleteNetworkInterfacePermissionResponse ¶ added in v0.9.0
type DeleteNetworkInterfacePermissionResponse struct { *DeleteNetworkInterfacePermissionOutput // contains filtered or unexported fields }
DeleteNetworkInterfacePermissionResponse is the response type for the DeleteNetworkInterfacePermission API operation.
func (*DeleteNetworkInterfacePermissionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteNetworkInterfacePermissionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteNetworkInterfacePermission request.
type DeleteNetworkInterfaceRequest ¶
type DeleteNetworkInterfaceRequest struct { *aws.Request Input *DeleteNetworkInterfaceInput Copy func(*DeleteNetworkInterfaceInput) DeleteNetworkInterfaceRequest }
DeleteNetworkInterfaceRequest is the request type for the DeleteNetworkInterface API operation.
func (DeleteNetworkInterfaceRequest) Send ¶
func (r DeleteNetworkInterfaceRequest) Send(ctx context.Context) (*DeleteNetworkInterfaceResponse, error)
Send marshals and sends the DeleteNetworkInterface API request.
type DeleteNetworkInterfaceResponse ¶ added in v0.9.0
type DeleteNetworkInterfaceResponse struct { *DeleteNetworkInterfaceOutput // contains filtered or unexported fields }
DeleteNetworkInterfaceResponse is the response type for the DeleteNetworkInterface API operation.
func (*DeleteNetworkInterfaceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteNetworkInterfaceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteNetworkInterface request.
type DeletePlacementGroupInput ¶
type DeletePlacementGroupInput 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 `locationName:"dryRun" type:"boolean"` // The name of the placement group. // // GroupName is a required field GroupName *string `locationName:"groupName" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeletePlacementGroupInput) String ¶
func (s DeletePlacementGroupInput) String() string
String returns the string representation
func (*DeletePlacementGroupInput) Validate ¶
func (s *DeletePlacementGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeletePlacementGroupOutput ¶
type DeletePlacementGroupOutput struct {
// contains filtered or unexported fields
}
func (DeletePlacementGroupOutput) String ¶
func (s DeletePlacementGroupOutput) String() string
String returns the string representation
type DeletePlacementGroupRequest ¶
type DeletePlacementGroupRequest struct { *aws.Request Input *DeletePlacementGroupInput Copy func(*DeletePlacementGroupInput) DeletePlacementGroupRequest }
DeletePlacementGroupRequest is the request type for the DeletePlacementGroup API operation.
func (DeletePlacementGroupRequest) Send ¶
func (r DeletePlacementGroupRequest) Send(ctx context.Context) (*DeletePlacementGroupResponse, error)
Send marshals and sends the DeletePlacementGroup API request.
type DeletePlacementGroupResponse ¶ added in v0.9.0
type DeletePlacementGroupResponse struct { *DeletePlacementGroupOutput // contains filtered or unexported fields }
DeletePlacementGroupResponse is the response type for the DeletePlacementGroup API operation.
func (*DeletePlacementGroupResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeletePlacementGroupResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeletePlacementGroup request.
type DeleteQueuedReservedInstancesError ¶ added in v0.14.0
type DeleteQueuedReservedInstancesError struct { // The error code. Code DeleteQueuedReservedInstancesErrorCode `locationName:"code" type:"string" enum:"true"` // The error message. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes the error for a Reserved Instance whose queued purchase could not be deleted.
func (DeleteQueuedReservedInstancesError) String ¶ added in v0.14.0
func (s DeleteQueuedReservedInstancesError) String() string
String returns the string representation
type DeleteQueuedReservedInstancesErrorCode ¶ added in v0.14.0
type DeleteQueuedReservedInstancesErrorCode string
const ( DeleteQueuedReservedInstancesErrorCodeReservedInstancesIdInvalid DeleteQueuedReservedInstancesErrorCode = "reserved-instances-id-invalid" DeleteQueuedReservedInstancesErrorCodeReservedInstancesNotInQueuedState DeleteQueuedReservedInstancesErrorCode = "reserved-instances-not-in-queued-state" DeleteQueuedReservedInstancesErrorCodeUnexpectedError DeleteQueuedReservedInstancesErrorCode = "unexpected-error" )
Enum values for DeleteQueuedReservedInstancesErrorCode
func (DeleteQueuedReservedInstancesErrorCode) MarshalValue ¶ added in v0.14.0
func (enum DeleteQueuedReservedInstancesErrorCode) MarshalValue() (string, error)
func (DeleteQueuedReservedInstancesErrorCode) MarshalValueBuf ¶ added in v0.14.0
func (enum DeleteQueuedReservedInstancesErrorCode) MarshalValueBuf(b []byte) ([]byte, error)
type DeleteQueuedReservedInstancesInput ¶ added in v0.14.0
type DeleteQueuedReservedInstancesInput 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 Reserved Instances. // // ReservedInstancesIds is a required field ReservedInstancesIds []string `locationName:"ReservedInstancesId" locationNameList:"item" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (DeleteQueuedReservedInstancesInput) String ¶ added in v0.14.0
func (s DeleteQueuedReservedInstancesInput) String() string
String returns the string representation
func (*DeleteQueuedReservedInstancesInput) Validate ¶ added in v0.14.0
func (s *DeleteQueuedReservedInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteQueuedReservedInstancesOutput ¶ added in v0.14.0
type DeleteQueuedReservedInstancesOutput struct { // Information about the queued purchases that could not be deleted. FailedQueuedPurchaseDeletions []FailedQueuedPurchaseDeletion `locationName:"failedQueuedPurchaseDeletionSet" locationNameList:"item" type:"list"` // Information about the queued purchases that were successfully deleted. SuccessfulQueuedPurchaseDeletions []SuccessfulQueuedPurchaseDeletion `locationName:"successfulQueuedPurchaseDeletionSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DeleteQueuedReservedInstancesOutput) String ¶ added in v0.14.0
func (s DeleteQueuedReservedInstancesOutput) String() string
String returns the string representation
type DeleteQueuedReservedInstancesRequest ¶ added in v0.14.0
type DeleteQueuedReservedInstancesRequest struct { *aws.Request Input *DeleteQueuedReservedInstancesInput Copy func(*DeleteQueuedReservedInstancesInput) DeleteQueuedReservedInstancesRequest }
DeleteQueuedReservedInstancesRequest is the request type for the DeleteQueuedReservedInstances API operation.
func (DeleteQueuedReservedInstancesRequest) Send ¶ added in v0.14.0
func (r DeleteQueuedReservedInstancesRequest) Send(ctx context.Context) (*DeleteQueuedReservedInstancesResponse, error)
Send marshals and sends the DeleteQueuedReservedInstances API request.
type DeleteQueuedReservedInstancesResponse ¶ added in v0.14.0
type DeleteQueuedReservedInstancesResponse struct { *DeleteQueuedReservedInstancesOutput // contains filtered or unexported fields }
DeleteQueuedReservedInstancesResponse is the response type for the DeleteQueuedReservedInstances API operation.
func (*DeleteQueuedReservedInstancesResponse) SDKResponseMetdata ¶ added in v0.14.0
func (r *DeleteQueuedReservedInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteQueuedReservedInstances request.
type DeleteRouteInput ¶
type DeleteRouteInput struct { // The IPv4 CIDR range for the route. The value you specify must match the CIDR // for the route exactly. DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string"` // The IPv6 CIDR range for the route. The value you specify must match the CIDR // for the route exactly. DestinationIpv6CidrBlock *string `locationName:"destinationIpv6CidrBlock" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the route table. // // RouteTableId is a required field RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteRouteInput) String ¶
func (s DeleteRouteInput) String() string
String returns the string representation
func (*DeleteRouteInput) Validate ¶
func (s *DeleteRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRouteOutput ¶
type DeleteRouteOutput struct {
// contains filtered or unexported fields
}
func (DeleteRouteOutput) String ¶
func (s DeleteRouteOutput) String() string
String returns the string representation
type DeleteRouteRequest ¶
type DeleteRouteRequest struct { *aws.Request Input *DeleteRouteInput Copy func(*DeleteRouteInput) DeleteRouteRequest }
DeleteRouteRequest is the request type for the DeleteRoute API operation.
func (DeleteRouteRequest) Send ¶
func (r DeleteRouteRequest) Send(ctx context.Context) (*DeleteRouteResponse, error)
Send marshals and sends the DeleteRoute API request.
type DeleteRouteResponse ¶ added in v0.9.0
type DeleteRouteResponse struct { *DeleteRouteOutput // contains filtered or unexported fields }
DeleteRouteResponse is the response type for the DeleteRoute API operation.
func (*DeleteRouteResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteRouteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteRoute request.
type DeleteRouteTableInput ¶
type DeleteRouteTableInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the route table. // // RouteTableId is a required field RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteRouteTableInput) String ¶
func (s DeleteRouteTableInput) String() string
String returns the string representation
func (*DeleteRouteTableInput) Validate ¶
func (s *DeleteRouteTableInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRouteTableOutput ¶
type DeleteRouteTableOutput struct {
// contains filtered or unexported fields
}
func (DeleteRouteTableOutput) String ¶
func (s DeleteRouteTableOutput) String() string
String returns the string representation
type DeleteRouteTableRequest ¶
type DeleteRouteTableRequest struct { *aws.Request Input *DeleteRouteTableInput Copy func(*DeleteRouteTableInput) DeleteRouteTableRequest }
DeleteRouteTableRequest is the request type for the DeleteRouteTable API operation.
func (DeleteRouteTableRequest) Send ¶
func (r DeleteRouteTableRequest) Send(ctx context.Context) (*DeleteRouteTableResponse, error)
Send marshals and sends the DeleteRouteTable API request.
type DeleteRouteTableResponse ¶ added in v0.9.0
type DeleteRouteTableResponse struct { *DeleteRouteTableOutput // contains filtered or unexported fields }
DeleteRouteTableResponse is the response type for the DeleteRouteTable API operation.
func (*DeleteRouteTableResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteRouteTableResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteRouteTable request.
type DeleteSecurityGroupInput ¶
type DeleteSecurityGroupInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the security group. Required for a nondefault VPC. GroupId *string `type:"string"` // [EC2-Classic, default VPC] The name of the security group. You can specify // either the security group name or the security group ID. GroupName *string `type:"string"` // contains filtered or unexported fields }
func (DeleteSecurityGroupInput) String ¶
func (s DeleteSecurityGroupInput) String() string
String returns the string representation
type DeleteSecurityGroupOutput ¶
type DeleteSecurityGroupOutput struct {
// contains filtered or unexported fields
}
func (DeleteSecurityGroupOutput) String ¶
func (s DeleteSecurityGroupOutput) String() string
String returns the string representation
type DeleteSecurityGroupRequest ¶
type DeleteSecurityGroupRequest struct { *aws.Request Input *DeleteSecurityGroupInput Copy func(*DeleteSecurityGroupInput) DeleteSecurityGroupRequest }
DeleteSecurityGroupRequest is the request type for the DeleteSecurityGroup API operation.
func (DeleteSecurityGroupRequest) Send ¶
func (r DeleteSecurityGroupRequest) Send(ctx context.Context) (*DeleteSecurityGroupResponse, error)
Send marshals and sends the DeleteSecurityGroup API request.
type DeleteSecurityGroupResponse ¶ added in v0.9.0
type DeleteSecurityGroupResponse struct { *DeleteSecurityGroupOutput // contains filtered or unexported fields }
DeleteSecurityGroupResponse is the response type for the DeleteSecurityGroup API operation.
func (*DeleteSecurityGroupResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteSecurityGroupResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteSecurityGroup request.
type DeleteSnapshotInput ¶
type DeleteSnapshotInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the EBS snapshot. // // SnapshotId is a required field SnapshotId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeleteSnapshot.
func (DeleteSnapshotInput) String ¶
func (s DeleteSnapshotInput) String() string
String returns the string representation
func (*DeleteSnapshotInput) Validate ¶
func (s *DeleteSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteSnapshotOutput ¶
type DeleteSnapshotOutput struct {
// contains filtered or unexported fields
}
func (DeleteSnapshotOutput) String ¶
func (s DeleteSnapshotOutput) String() string
String returns the string representation
type DeleteSnapshotRequest ¶
type DeleteSnapshotRequest struct { *aws.Request Input *DeleteSnapshotInput Copy func(*DeleteSnapshotInput) DeleteSnapshotRequest }
DeleteSnapshotRequest is the request type for the DeleteSnapshot API operation.
func (DeleteSnapshotRequest) Send ¶
func (r DeleteSnapshotRequest) Send(ctx context.Context) (*DeleteSnapshotResponse, error)
Send marshals and sends the DeleteSnapshot API request.
type DeleteSnapshotResponse ¶ added in v0.9.0
type DeleteSnapshotResponse struct { *DeleteSnapshotOutput // contains filtered or unexported fields }
DeleteSnapshotResponse is the response type for the DeleteSnapshot API operation.
func (*DeleteSnapshotResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteSnapshotResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteSnapshot request.
type DeleteSpotDatafeedSubscriptionInput ¶
type DeleteSpotDatafeedSubscriptionInput 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 `locationName:"dryRun" type:"boolean"` // contains filtered or unexported fields }
Contains the parameters for DeleteSpotDatafeedSubscription.
func (DeleteSpotDatafeedSubscriptionInput) String ¶
func (s DeleteSpotDatafeedSubscriptionInput) String() string
String returns the string representation
type DeleteSpotDatafeedSubscriptionOutput ¶
type DeleteSpotDatafeedSubscriptionOutput struct {
// contains filtered or unexported fields
}
func (DeleteSpotDatafeedSubscriptionOutput) String ¶
func (s DeleteSpotDatafeedSubscriptionOutput) String() string
String returns the string representation
type DeleteSpotDatafeedSubscriptionRequest ¶
type DeleteSpotDatafeedSubscriptionRequest struct { *aws.Request Input *DeleteSpotDatafeedSubscriptionInput Copy func(*DeleteSpotDatafeedSubscriptionInput) DeleteSpotDatafeedSubscriptionRequest }
DeleteSpotDatafeedSubscriptionRequest is the request type for the DeleteSpotDatafeedSubscription API operation.
func (DeleteSpotDatafeedSubscriptionRequest) Send ¶
func (r DeleteSpotDatafeedSubscriptionRequest) Send(ctx context.Context) (*DeleteSpotDatafeedSubscriptionResponse, error)
Send marshals and sends the DeleteSpotDatafeedSubscription API request.
type DeleteSpotDatafeedSubscriptionResponse ¶ added in v0.9.0
type DeleteSpotDatafeedSubscriptionResponse struct { *DeleteSpotDatafeedSubscriptionOutput // contains filtered or unexported fields }
DeleteSpotDatafeedSubscriptionResponse is the response type for the DeleteSpotDatafeedSubscription API operation.
func (*DeleteSpotDatafeedSubscriptionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteSpotDatafeedSubscriptionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteSpotDatafeedSubscription request.
type DeleteSubnetInput ¶
type DeleteSubnetInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the subnet. // // SubnetId is a required field SubnetId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteSubnetInput) String ¶
func (s DeleteSubnetInput) String() string
String returns the string representation
func (*DeleteSubnetInput) Validate ¶
func (s *DeleteSubnetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteSubnetOutput ¶
type DeleteSubnetOutput struct {
// contains filtered or unexported fields
}
func (DeleteSubnetOutput) String ¶
func (s DeleteSubnetOutput) String() string
String returns the string representation
type DeleteSubnetRequest ¶
type DeleteSubnetRequest struct { *aws.Request Input *DeleteSubnetInput Copy func(*DeleteSubnetInput) DeleteSubnetRequest }
DeleteSubnetRequest is the request type for the DeleteSubnet API operation.
func (DeleteSubnetRequest) Send ¶
func (r DeleteSubnetRequest) Send(ctx context.Context) (*DeleteSubnetResponse, error)
Send marshals and sends the DeleteSubnet API request.
type DeleteSubnetResponse ¶ added in v0.9.0
type DeleteSubnetResponse struct { *DeleteSubnetOutput // contains filtered or unexported fields }
DeleteSubnetResponse is the response type for the DeleteSubnet API operation.
func (*DeleteSubnetResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteSubnetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteSubnet request.
type DeleteTagsInput ¶
type DeleteTagsInput 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 `locationName:"dryRun" type:"boolean"` // The IDs of the resources, separated by spaces. // // Constraints: Up to 1000 resource IDs. We recommend breaking up this request // into smaller batches. // // Resources is a required field Resources []string `locationName:"resourceId" type:"list" required:"true"` // The tags to delete. Specify a tag key and an optional tag value to delete // specific tags. If you specify a tag key without a tag value, we delete any // tag with this key regardless of its value. If you specify a tag key with // an empty string as the tag value, we delete the tag only if its value is // an empty string. // // If you omit this parameter, we delete all user-defined tags for the specified // resources. We do not delete AWS-generated tags (tags that have the aws: prefix). Tags []Tag `locationName:"tag" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DeleteTagsInput) String ¶
func (s DeleteTagsInput) String() string
String returns the string representation
func (*DeleteTagsInput) Validate ¶
func (s *DeleteTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTagsOutput ¶
type DeleteTagsOutput struct {
// contains filtered or unexported fields
}
func (DeleteTagsOutput) String ¶
func (s DeleteTagsOutput) String() string
String returns the string representation
type DeleteTagsRequest ¶
type DeleteTagsRequest struct { *aws.Request Input *DeleteTagsInput Copy func(*DeleteTagsInput) DeleteTagsRequest }
DeleteTagsRequest is the request type for the DeleteTags API operation.
func (DeleteTagsRequest) Send ¶
func (r DeleteTagsRequest) Send(ctx context.Context) (*DeleteTagsResponse, error)
Send marshals and sends the DeleteTags API request.
type DeleteTagsResponse ¶ added in v0.9.0
type DeleteTagsResponse struct { *DeleteTagsOutput // contains filtered or unexported fields }
DeleteTagsResponse is the response type for the DeleteTags API operation.
func (*DeleteTagsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteTagsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteTags request.
type DeleteTrafficMirrorFilterInput ¶ added in v0.10.0
type DeleteTrafficMirrorFilterInput 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 Traffic Mirror filter. // // TrafficMirrorFilterId is a required field TrafficMirrorFilterId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteTrafficMirrorFilterInput) String ¶ added in v0.10.0
func (s DeleteTrafficMirrorFilterInput) String() string
String returns the string representation
func (*DeleteTrafficMirrorFilterInput) Validate ¶ added in v0.10.0
func (s *DeleteTrafficMirrorFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTrafficMirrorFilterOutput ¶ added in v0.10.0
type DeleteTrafficMirrorFilterOutput struct { // The ID of the Traffic Mirror filter. TrafficMirrorFilterId *string `locationName:"trafficMirrorFilterId" type:"string"` // contains filtered or unexported fields }
func (DeleteTrafficMirrorFilterOutput) String ¶ added in v0.10.0
func (s DeleteTrafficMirrorFilterOutput) String() string
String returns the string representation
type DeleteTrafficMirrorFilterRequest ¶ added in v0.10.0
type DeleteTrafficMirrorFilterRequest struct { *aws.Request Input *DeleteTrafficMirrorFilterInput Copy func(*DeleteTrafficMirrorFilterInput) DeleteTrafficMirrorFilterRequest }
DeleteTrafficMirrorFilterRequest is the request type for the DeleteTrafficMirrorFilter API operation.
func (DeleteTrafficMirrorFilterRequest) Send ¶ added in v0.10.0
func (r DeleteTrafficMirrorFilterRequest) Send(ctx context.Context) (*DeleteTrafficMirrorFilterResponse, error)
Send marshals and sends the DeleteTrafficMirrorFilter API request.
type DeleteTrafficMirrorFilterResponse ¶ added in v0.10.0
type DeleteTrafficMirrorFilterResponse struct { *DeleteTrafficMirrorFilterOutput // contains filtered or unexported fields }
DeleteTrafficMirrorFilterResponse is the response type for the DeleteTrafficMirrorFilter API operation.
func (*DeleteTrafficMirrorFilterResponse) SDKResponseMetdata ¶ added in v0.10.0
func (r *DeleteTrafficMirrorFilterResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteTrafficMirrorFilter request.
type DeleteTrafficMirrorFilterRuleInput ¶ added in v0.10.0
type DeleteTrafficMirrorFilterRuleInput 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 Traffic Mirror rule. // // TrafficMirrorFilterRuleId is a required field TrafficMirrorFilterRuleId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteTrafficMirrorFilterRuleInput) String ¶ added in v0.10.0
func (s DeleteTrafficMirrorFilterRuleInput) String() string
String returns the string representation
func (*DeleteTrafficMirrorFilterRuleInput) Validate ¶ added in v0.10.0
func (s *DeleteTrafficMirrorFilterRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTrafficMirrorFilterRuleOutput ¶ added in v0.10.0
type DeleteTrafficMirrorFilterRuleOutput struct { // The ID of the deleted Traffic Mirror rule. TrafficMirrorFilterRuleId *string `locationName:"trafficMirrorFilterRuleId" type:"string"` // contains filtered or unexported fields }
func (DeleteTrafficMirrorFilterRuleOutput) String ¶ added in v0.10.0
func (s DeleteTrafficMirrorFilterRuleOutput) String() string
String returns the string representation
type DeleteTrafficMirrorFilterRuleRequest ¶ added in v0.10.0
type DeleteTrafficMirrorFilterRuleRequest struct { *aws.Request Input *DeleteTrafficMirrorFilterRuleInput Copy func(*DeleteTrafficMirrorFilterRuleInput) DeleteTrafficMirrorFilterRuleRequest }
DeleteTrafficMirrorFilterRuleRequest is the request type for the DeleteTrafficMirrorFilterRule API operation.
func (DeleteTrafficMirrorFilterRuleRequest) Send ¶ added in v0.10.0
func (r DeleteTrafficMirrorFilterRuleRequest) Send(ctx context.Context) (*DeleteTrafficMirrorFilterRuleResponse, error)
Send marshals and sends the DeleteTrafficMirrorFilterRule API request.
type DeleteTrafficMirrorFilterRuleResponse ¶ added in v0.10.0
type DeleteTrafficMirrorFilterRuleResponse struct { *DeleteTrafficMirrorFilterRuleOutput // contains filtered or unexported fields }
DeleteTrafficMirrorFilterRuleResponse is the response type for the DeleteTrafficMirrorFilterRule API operation.
func (*DeleteTrafficMirrorFilterRuleResponse) SDKResponseMetdata ¶ added in v0.10.0
func (r *DeleteTrafficMirrorFilterRuleResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteTrafficMirrorFilterRule request.
type DeleteTrafficMirrorSessionInput ¶ added in v0.10.0
type DeleteTrafficMirrorSessionInput 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 Traffic Mirror session. // // TrafficMirrorSessionId is a required field TrafficMirrorSessionId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteTrafficMirrorSessionInput) String ¶ added in v0.10.0
func (s DeleteTrafficMirrorSessionInput) String() string
String returns the string representation
func (*DeleteTrafficMirrorSessionInput) Validate ¶ added in v0.10.0
func (s *DeleteTrafficMirrorSessionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTrafficMirrorSessionOutput ¶ added in v0.10.0
type DeleteTrafficMirrorSessionOutput struct { // The ID of the deleted Traffic Mirror session. TrafficMirrorSessionId *string `locationName:"trafficMirrorSessionId" type:"string"` // contains filtered or unexported fields }
func (DeleteTrafficMirrorSessionOutput) String ¶ added in v0.10.0
func (s DeleteTrafficMirrorSessionOutput) String() string
String returns the string representation
type DeleteTrafficMirrorSessionRequest ¶ added in v0.10.0
type DeleteTrafficMirrorSessionRequest struct { *aws.Request Input *DeleteTrafficMirrorSessionInput Copy func(*DeleteTrafficMirrorSessionInput) DeleteTrafficMirrorSessionRequest }
DeleteTrafficMirrorSessionRequest is the request type for the DeleteTrafficMirrorSession API operation.
func (DeleteTrafficMirrorSessionRequest) Send ¶ added in v0.10.0
func (r DeleteTrafficMirrorSessionRequest) Send(ctx context.Context) (*DeleteTrafficMirrorSessionResponse, error)
Send marshals and sends the DeleteTrafficMirrorSession API request.
type DeleteTrafficMirrorSessionResponse ¶ added in v0.10.0
type DeleteTrafficMirrorSessionResponse struct { *DeleteTrafficMirrorSessionOutput // contains filtered or unexported fields }
DeleteTrafficMirrorSessionResponse is the response type for the DeleteTrafficMirrorSession API operation.
func (*DeleteTrafficMirrorSessionResponse) SDKResponseMetdata ¶ added in v0.10.0
func (r *DeleteTrafficMirrorSessionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteTrafficMirrorSession request.
type DeleteTrafficMirrorTargetInput ¶ added in v0.10.0
type DeleteTrafficMirrorTargetInput 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 Traffic Mirror target. // // TrafficMirrorTargetId is a required field TrafficMirrorTargetId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteTrafficMirrorTargetInput) String ¶ added in v0.10.0
func (s DeleteTrafficMirrorTargetInput) String() string
String returns the string representation
func (*DeleteTrafficMirrorTargetInput) Validate ¶ added in v0.10.0
func (s *DeleteTrafficMirrorTargetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTrafficMirrorTargetOutput ¶ added in v0.10.0
type DeleteTrafficMirrorTargetOutput struct { // The ID of the deleted Traffic Mirror target. TrafficMirrorTargetId *string `locationName:"trafficMirrorTargetId" type:"string"` // contains filtered or unexported fields }
func (DeleteTrafficMirrorTargetOutput) String ¶ added in v0.10.0
func (s DeleteTrafficMirrorTargetOutput) String() string
String returns the string representation
type DeleteTrafficMirrorTargetRequest ¶ added in v0.10.0
type DeleteTrafficMirrorTargetRequest struct { *aws.Request Input *DeleteTrafficMirrorTargetInput Copy func(*DeleteTrafficMirrorTargetInput) DeleteTrafficMirrorTargetRequest }
DeleteTrafficMirrorTargetRequest is the request type for the DeleteTrafficMirrorTarget API operation.
func (DeleteTrafficMirrorTargetRequest) Send ¶ added in v0.10.0
func (r DeleteTrafficMirrorTargetRequest) Send(ctx context.Context) (*DeleteTrafficMirrorTargetResponse, error)
Send marshals and sends the DeleteTrafficMirrorTarget API request.
type DeleteTrafficMirrorTargetResponse ¶ added in v0.10.0
type DeleteTrafficMirrorTargetResponse struct { *DeleteTrafficMirrorTargetOutput // contains filtered or unexported fields }
DeleteTrafficMirrorTargetResponse is the response type for the DeleteTrafficMirrorTarget API operation.
func (*DeleteTrafficMirrorTargetResponse) SDKResponseMetdata ¶ added in v0.10.0
func (r *DeleteTrafficMirrorTargetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteTrafficMirrorTarget request.
type DeleteTransitGatewayInput ¶ added in v0.6.0
type DeleteTransitGatewayInput 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. // // TransitGatewayId is a required field TransitGatewayId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteTransitGatewayInput) String ¶ added in v0.6.0
func (s DeleteTransitGatewayInput) String() string
String returns the string representation
func (*DeleteTransitGatewayInput) Validate ¶ added in v0.6.0
func (s *DeleteTransitGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTransitGatewayOutput ¶ added in v0.6.0
type DeleteTransitGatewayOutput struct { // Information about the deleted transit gateway. TransitGateway *TransitGateway `locationName:"transitGateway" type:"structure"` // contains filtered or unexported fields }
func (DeleteTransitGatewayOutput) String ¶ added in v0.6.0
func (s DeleteTransitGatewayOutput) String() string
String returns the string representation
type DeleteTransitGatewayRequest ¶ added in v0.6.0
type DeleteTransitGatewayRequest struct { *aws.Request Input *DeleteTransitGatewayInput Copy func(*DeleteTransitGatewayInput) DeleteTransitGatewayRequest }
DeleteTransitGatewayRequest is the request type for the DeleteTransitGateway API operation.
func (DeleteTransitGatewayRequest) Send ¶ added in v0.6.0
func (r DeleteTransitGatewayRequest) Send(ctx context.Context) (*DeleteTransitGatewayResponse, error)
Send marshals and sends the DeleteTransitGateway API request.
type DeleteTransitGatewayResponse ¶ added in v0.9.0
type DeleteTransitGatewayResponse struct { *DeleteTransitGatewayOutput // contains filtered or unexported fields }
DeleteTransitGatewayResponse is the response type for the DeleteTransitGateway API operation.
func (*DeleteTransitGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteTransitGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteTransitGateway request.
type DeleteTransitGatewayRouteInput ¶ added in v0.6.0
type DeleteTransitGatewayRouteInput struct { // The CIDR range for the route. This must match the CIDR for the route exactly. // // DestinationCidrBlock is a required field DestinationCidrBlock *string `type:"string" required:"true"` // 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 route table. // // TransitGatewayRouteTableId is a required field TransitGatewayRouteTableId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteTransitGatewayRouteInput) String ¶ added in v0.6.0
func (s DeleteTransitGatewayRouteInput) String() string
String returns the string representation
func (*DeleteTransitGatewayRouteInput) Validate ¶ added in v0.6.0
func (s *DeleteTransitGatewayRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTransitGatewayRouteOutput ¶ added in v0.6.0
type DeleteTransitGatewayRouteOutput struct { // Information about the route. Route *TransitGatewayRoute `locationName:"route" type:"structure"` // contains filtered or unexported fields }
func (DeleteTransitGatewayRouteOutput) String ¶ added in v0.6.0
func (s DeleteTransitGatewayRouteOutput) String() string
String returns the string representation
type DeleteTransitGatewayRouteRequest ¶ added in v0.6.0
type DeleteTransitGatewayRouteRequest struct { *aws.Request Input *DeleteTransitGatewayRouteInput Copy func(*DeleteTransitGatewayRouteInput) DeleteTransitGatewayRouteRequest }
DeleteTransitGatewayRouteRequest is the request type for the DeleteTransitGatewayRoute API operation.
func (DeleteTransitGatewayRouteRequest) Send ¶ added in v0.6.0
func (r DeleteTransitGatewayRouteRequest) Send(ctx context.Context) (*DeleteTransitGatewayRouteResponse, error)
Send marshals and sends the DeleteTransitGatewayRoute API request.
type DeleteTransitGatewayRouteResponse ¶ added in v0.9.0
type DeleteTransitGatewayRouteResponse struct { *DeleteTransitGatewayRouteOutput // contains filtered or unexported fields }
DeleteTransitGatewayRouteResponse is the response type for the DeleteTransitGatewayRoute API operation.
func (*DeleteTransitGatewayRouteResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteTransitGatewayRouteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteTransitGatewayRoute request.
type DeleteTransitGatewayRouteTableInput ¶ added in v0.6.0
type DeleteTransitGatewayRouteTableInput 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 route table. // // TransitGatewayRouteTableId is a required field TransitGatewayRouteTableId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteTransitGatewayRouteTableInput) String ¶ added in v0.6.0
func (s DeleteTransitGatewayRouteTableInput) String() string
String returns the string representation
func (*DeleteTransitGatewayRouteTableInput) Validate ¶ added in v0.6.0
func (s *DeleteTransitGatewayRouteTableInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTransitGatewayRouteTableOutput ¶ added in v0.6.0
type DeleteTransitGatewayRouteTableOutput struct { // Information about the deleted transit gateway route table. TransitGatewayRouteTable *TransitGatewayRouteTable `locationName:"transitGatewayRouteTable" type:"structure"` // contains filtered or unexported fields }
func (DeleteTransitGatewayRouteTableOutput) String ¶ added in v0.6.0
func (s DeleteTransitGatewayRouteTableOutput) String() string
String returns the string representation
type DeleteTransitGatewayRouteTableRequest ¶ added in v0.6.0
type DeleteTransitGatewayRouteTableRequest struct { *aws.Request Input *DeleteTransitGatewayRouteTableInput Copy func(*DeleteTransitGatewayRouteTableInput) DeleteTransitGatewayRouteTableRequest }
DeleteTransitGatewayRouteTableRequest is the request type for the DeleteTransitGatewayRouteTable API operation.
func (DeleteTransitGatewayRouteTableRequest) Send ¶ added in v0.6.0
func (r DeleteTransitGatewayRouteTableRequest) Send(ctx context.Context) (*DeleteTransitGatewayRouteTableResponse, error)
Send marshals and sends the DeleteTransitGatewayRouteTable API request.
type DeleteTransitGatewayRouteTableResponse ¶ added in v0.9.0
type DeleteTransitGatewayRouteTableResponse struct { *DeleteTransitGatewayRouteTableOutput // contains filtered or unexported fields }
DeleteTransitGatewayRouteTableResponse is the response type for the DeleteTransitGatewayRouteTable API operation.
func (*DeleteTransitGatewayRouteTableResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteTransitGatewayRouteTableResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteTransitGatewayRouteTable request.
type DeleteTransitGatewayVpcAttachmentInput ¶ added in v0.6.0
type DeleteTransitGatewayVpcAttachmentInput 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 (DeleteTransitGatewayVpcAttachmentInput) String ¶ added in v0.6.0
func (s DeleteTransitGatewayVpcAttachmentInput) String() string
String returns the string representation
func (*DeleteTransitGatewayVpcAttachmentInput) Validate ¶ added in v0.6.0
func (s *DeleteTransitGatewayVpcAttachmentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTransitGatewayVpcAttachmentOutput ¶ added in v0.6.0
type DeleteTransitGatewayVpcAttachmentOutput struct { // Information about the deleted VPC attachment. TransitGatewayVpcAttachment *TransitGatewayVpcAttachment `locationName:"transitGatewayVpcAttachment" type:"structure"` // contains filtered or unexported fields }
func (DeleteTransitGatewayVpcAttachmentOutput) String ¶ added in v0.6.0
func (s DeleteTransitGatewayVpcAttachmentOutput) String() string
String returns the string representation
type DeleteTransitGatewayVpcAttachmentRequest ¶ added in v0.6.0
type DeleteTransitGatewayVpcAttachmentRequest struct { *aws.Request Input *DeleteTransitGatewayVpcAttachmentInput Copy func(*DeleteTransitGatewayVpcAttachmentInput) DeleteTransitGatewayVpcAttachmentRequest }
DeleteTransitGatewayVpcAttachmentRequest is the request type for the DeleteTransitGatewayVpcAttachment API operation.
func (DeleteTransitGatewayVpcAttachmentRequest) Send ¶ added in v0.6.0
func (r DeleteTransitGatewayVpcAttachmentRequest) Send(ctx context.Context) (*DeleteTransitGatewayVpcAttachmentResponse, error)
Send marshals and sends the DeleteTransitGatewayVpcAttachment API request.
type DeleteTransitGatewayVpcAttachmentResponse ¶ added in v0.9.0
type DeleteTransitGatewayVpcAttachmentResponse struct { *DeleteTransitGatewayVpcAttachmentOutput // contains filtered or unexported fields }
DeleteTransitGatewayVpcAttachmentResponse is the response type for the DeleteTransitGatewayVpcAttachment API operation.
func (*DeleteTransitGatewayVpcAttachmentResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteTransitGatewayVpcAttachmentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteTransitGatewayVpcAttachment request.
type DeleteVolumeInput ¶
type DeleteVolumeInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the volume. // // VolumeId is a required field VolumeId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeleteVolume.
func (DeleteVolumeInput) String ¶
func (s DeleteVolumeInput) String() string
String returns the string representation
func (*DeleteVolumeInput) Validate ¶
func (s *DeleteVolumeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVolumeOutput ¶
type DeleteVolumeOutput struct {
// contains filtered or unexported fields
}
func (DeleteVolumeOutput) String ¶
func (s DeleteVolumeOutput) String() string
String returns the string representation
type DeleteVolumeRequest ¶
type DeleteVolumeRequest struct { *aws.Request Input *DeleteVolumeInput Copy func(*DeleteVolumeInput) DeleteVolumeRequest }
DeleteVolumeRequest is the request type for the DeleteVolume API operation.
func (DeleteVolumeRequest) Send ¶
func (r DeleteVolumeRequest) Send(ctx context.Context) (*DeleteVolumeResponse, error)
Send marshals and sends the DeleteVolume API request.
type DeleteVolumeResponse ¶ added in v0.9.0
type DeleteVolumeResponse struct { *DeleteVolumeOutput // contains filtered or unexported fields }
DeleteVolumeResponse is the response type for the DeleteVolume API operation.
func (*DeleteVolumeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteVolumeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteVolume request.
type DeleteVpcEndpointConnectionNotificationsInput ¶ added in v0.2.0
type DeleteVpcEndpointConnectionNotificationsInput struct { // One or more notification IDs. // // ConnectionNotificationIds is a required field ConnectionNotificationIds []string `locationName:"ConnectionNotificationId" locationNameList:"item" type:"list" required:"true"` // 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"` // contains filtered or unexported fields }
func (DeleteVpcEndpointConnectionNotificationsInput) String ¶ added in v0.2.0
func (s DeleteVpcEndpointConnectionNotificationsInput) String() string
String returns the string representation
func (*DeleteVpcEndpointConnectionNotificationsInput) Validate ¶ added in v0.2.0
func (s *DeleteVpcEndpointConnectionNotificationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVpcEndpointConnectionNotificationsOutput ¶ added in v0.2.0
type DeleteVpcEndpointConnectionNotificationsOutput struct { // Information about the notifications that could not be deleted successfully. Unsuccessful []UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DeleteVpcEndpointConnectionNotificationsOutput) String ¶ added in v0.2.0
func (s DeleteVpcEndpointConnectionNotificationsOutput) String() string
String returns the string representation
type DeleteVpcEndpointConnectionNotificationsRequest ¶ added in v0.2.0
type DeleteVpcEndpointConnectionNotificationsRequest struct { *aws.Request Input *DeleteVpcEndpointConnectionNotificationsInput Copy func(*DeleteVpcEndpointConnectionNotificationsInput) DeleteVpcEndpointConnectionNotificationsRequest }
DeleteVpcEndpointConnectionNotificationsRequest is the request type for the DeleteVpcEndpointConnectionNotifications API operation.
func (DeleteVpcEndpointConnectionNotificationsRequest) Send ¶ added in v0.2.0
func (r DeleteVpcEndpointConnectionNotificationsRequest) Send(ctx context.Context) (*DeleteVpcEndpointConnectionNotificationsResponse, error)
Send marshals and sends the DeleteVpcEndpointConnectionNotifications API request.
type DeleteVpcEndpointConnectionNotificationsResponse ¶ added in v0.9.0
type DeleteVpcEndpointConnectionNotificationsResponse struct { *DeleteVpcEndpointConnectionNotificationsOutput // contains filtered or unexported fields }
DeleteVpcEndpointConnectionNotificationsResponse is the response type for the DeleteVpcEndpointConnectionNotifications API operation.
func (*DeleteVpcEndpointConnectionNotificationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteVpcEndpointConnectionNotificationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteVpcEndpointConnectionNotifications request.
type DeleteVpcEndpointServiceConfigurationsInput ¶ added in v0.2.0
type DeleteVpcEndpointServiceConfigurationsInput 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 one or more services. // // ServiceIds is a required field ServiceIds []string `locationName:"ServiceId" locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
func (DeleteVpcEndpointServiceConfigurationsInput) String ¶ added in v0.2.0
func (s DeleteVpcEndpointServiceConfigurationsInput) String() string
String returns the string representation
func (*DeleteVpcEndpointServiceConfigurationsInput) Validate ¶ added in v0.2.0
func (s *DeleteVpcEndpointServiceConfigurationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVpcEndpointServiceConfigurationsOutput ¶ added in v0.2.0
type DeleteVpcEndpointServiceConfigurationsOutput struct { // Information about the service configurations that were not deleted, if applicable. Unsuccessful []UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DeleteVpcEndpointServiceConfigurationsOutput) String ¶ added in v0.2.0
func (s DeleteVpcEndpointServiceConfigurationsOutput) String() string
String returns the string representation
type DeleteVpcEndpointServiceConfigurationsRequest ¶ added in v0.2.0
type DeleteVpcEndpointServiceConfigurationsRequest struct { *aws.Request Input *DeleteVpcEndpointServiceConfigurationsInput Copy func(*DeleteVpcEndpointServiceConfigurationsInput) DeleteVpcEndpointServiceConfigurationsRequest }
DeleteVpcEndpointServiceConfigurationsRequest is the request type for the DeleteVpcEndpointServiceConfigurations API operation.
func (DeleteVpcEndpointServiceConfigurationsRequest) Send ¶ added in v0.2.0
func (r DeleteVpcEndpointServiceConfigurationsRequest) Send(ctx context.Context) (*DeleteVpcEndpointServiceConfigurationsResponse, error)
Send marshals and sends the DeleteVpcEndpointServiceConfigurations API request.
type DeleteVpcEndpointServiceConfigurationsResponse ¶ added in v0.9.0
type DeleteVpcEndpointServiceConfigurationsResponse struct { *DeleteVpcEndpointServiceConfigurationsOutput // contains filtered or unexported fields }
DeleteVpcEndpointServiceConfigurationsResponse is the response type for the DeleteVpcEndpointServiceConfigurations API operation.
func (*DeleteVpcEndpointServiceConfigurationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteVpcEndpointServiceConfigurationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteVpcEndpointServiceConfigurations request.
type DeleteVpcEndpointsInput ¶
type DeleteVpcEndpointsInput 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"` // One or more VPC endpoint IDs. // // VpcEndpointIds is a required field VpcEndpointIds []string `locationName:"VpcEndpointId" locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeleteVpcEndpoints.
func (DeleteVpcEndpointsInput) String ¶
func (s DeleteVpcEndpointsInput) String() string
String returns the string representation
func (*DeleteVpcEndpointsInput) Validate ¶
func (s *DeleteVpcEndpointsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVpcEndpointsOutput ¶
type DeleteVpcEndpointsOutput struct { // Information about the VPC endpoints that were not successfully deleted. Unsuccessful []UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of DeleteVpcEndpoints.
func (DeleteVpcEndpointsOutput) String ¶
func (s DeleteVpcEndpointsOutput) String() string
String returns the string representation
type DeleteVpcEndpointsRequest ¶
type DeleteVpcEndpointsRequest struct { *aws.Request Input *DeleteVpcEndpointsInput Copy func(*DeleteVpcEndpointsInput) DeleteVpcEndpointsRequest }
DeleteVpcEndpointsRequest is the request type for the DeleteVpcEndpoints API operation.
func (DeleteVpcEndpointsRequest) Send ¶
func (r DeleteVpcEndpointsRequest) Send(ctx context.Context) (*DeleteVpcEndpointsResponse, error)
Send marshals and sends the DeleteVpcEndpoints API request.
type DeleteVpcEndpointsResponse ¶ added in v0.9.0
type DeleteVpcEndpointsResponse struct { *DeleteVpcEndpointsOutput // contains filtered or unexported fields }
DeleteVpcEndpointsResponse is the response type for the DeleteVpcEndpoints API operation.
func (*DeleteVpcEndpointsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteVpcEndpointsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteVpcEndpoints request.
type DeleteVpcInput ¶
type DeleteVpcInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the VPC. // // VpcId is a required field VpcId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteVpcInput) String ¶
func (s DeleteVpcInput) String() string
String returns the string representation
func (*DeleteVpcInput) Validate ¶
func (s *DeleteVpcInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVpcOutput ¶
type DeleteVpcOutput struct {
// contains filtered or unexported fields
}
func (DeleteVpcOutput) String ¶
func (s DeleteVpcOutput) String() string
String returns the string representation
type DeleteVpcPeeringConnectionInput ¶
type DeleteVpcPeeringConnectionInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the VPC peering connection. // // VpcPeeringConnectionId is a required field VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteVpcPeeringConnectionInput) String ¶
func (s DeleteVpcPeeringConnectionInput) String() string
String returns the string representation
func (*DeleteVpcPeeringConnectionInput) Validate ¶
func (s *DeleteVpcPeeringConnectionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVpcPeeringConnectionOutput ¶
type DeleteVpcPeeringConnectionOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (DeleteVpcPeeringConnectionOutput) String ¶
func (s DeleteVpcPeeringConnectionOutput) String() string
String returns the string representation
type DeleteVpcPeeringConnectionRequest ¶
type DeleteVpcPeeringConnectionRequest struct { *aws.Request Input *DeleteVpcPeeringConnectionInput Copy func(*DeleteVpcPeeringConnectionInput) DeleteVpcPeeringConnectionRequest }
DeleteVpcPeeringConnectionRequest is the request type for the DeleteVpcPeeringConnection API operation.
func (DeleteVpcPeeringConnectionRequest) Send ¶
func (r DeleteVpcPeeringConnectionRequest) Send(ctx context.Context) (*DeleteVpcPeeringConnectionResponse, error)
Send marshals and sends the DeleteVpcPeeringConnection API request.
type DeleteVpcPeeringConnectionResponse ¶ added in v0.9.0
type DeleteVpcPeeringConnectionResponse struct { *DeleteVpcPeeringConnectionOutput // contains filtered or unexported fields }
DeleteVpcPeeringConnectionResponse is the response type for the DeleteVpcPeeringConnection API operation.
func (*DeleteVpcPeeringConnectionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteVpcPeeringConnectionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteVpcPeeringConnection request.
type DeleteVpcRequest ¶
type DeleteVpcRequest struct { *aws.Request Input *DeleteVpcInput Copy func(*DeleteVpcInput) DeleteVpcRequest }
DeleteVpcRequest is the request type for the DeleteVpc API operation.
func (DeleteVpcRequest) Send ¶
func (r DeleteVpcRequest) Send(ctx context.Context) (*DeleteVpcResponse, error)
Send marshals and sends the DeleteVpc API request.
type DeleteVpcResponse ¶ added in v0.9.0
type DeleteVpcResponse struct { *DeleteVpcOutput // contains filtered or unexported fields }
DeleteVpcResponse is the response type for the DeleteVpc API operation.
func (*DeleteVpcResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteVpcResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteVpc request.
type DeleteVpnConnectionInput ¶
type DeleteVpnConnectionInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the VPN connection. // // VpnConnectionId is a required field VpnConnectionId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeleteVpnConnection.
func (DeleteVpnConnectionInput) String ¶
func (s DeleteVpnConnectionInput) String() string
String returns the string representation
func (*DeleteVpnConnectionInput) Validate ¶
func (s *DeleteVpnConnectionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVpnConnectionOutput ¶
type DeleteVpnConnectionOutput struct {
// contains filtered or unexported fields
}
func (DeleteVpnConnectionOutput) String ¶
func (s DeleteVpnConnectionOutput) String() string
String returns the string representation
type DeleteVpnConnectionRequest ¶
type DeleteVpnConnectionRequest struct { *aws.Request Input *DeleteVpnConnectionInput Copy func(*DeleteVpnConnectionInput) DeleteVpnConnectionRequest }
DeleteVpnConnectionRequest is the request type for the DeleteVpnConnection API operation.
func (DeleteVpnConnectionRequest) Send ¶
func (r DeleteVpnConnectionRequest) Send(ctx context.Context) (*DeleteVpnConnectionResponse, error)
Send marshals and sends the DeleteVpnConnection API request.
type DeleteVpnConnectionResponse ¶ added in v0.9.0
type DeleteVpnConnectionResponse struct { *DeleteVpnConnectionOutput // contains filtered or unexported fields }
DeleteVpnConnectionResponse is the response type for the DeleteVpnConnection API operation.
func (*DeleteVpnConnectionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteVpnConnectionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteVpnConnection request.
type DeleteVpnConnectionRouteInput ¶
type DeleteVpnConnectionRouteInput struct { // The CIDR block associated with the local subnet of the customer network. // // DestinationCidrBlock is a required field DestinationCidrBlock *string `type:"string" required:"true"` // The ID of the VPN connection. // // VpnConnectionId is a required field VpnConnectionId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeleteVpnConnectionRoute.
func (DeleteVpnConnectionRouteInput) String ¶
func (s DeleteVpnConnectionRouteInput) String() string
String returns the string representation
func (*DeleteVpnConnectionRouteInput) Validate ¶
func (s *DeleteVpnConnectionRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVpnConnectionRouteOutput ¶
type DeleteVpnConnectionRouteOutput struct {
// contains filtered or unexported fields
}
func (DeleteVpnConnectionRouteOutput) String ¶
func (s DeleteVpnConnectionRouteOutput) String() string
String returns the string representation
type DeleteVpnConnectionRouteRequest ¶
type DeleteVpnConnectionRouteRequest struct { *aws.Request Input *DeleteVpnConnectionRouteInput Copy func(*DeleteVpnConnectionRouteInput) DeleteVpnConnectionRouteRequest }
DeleteVpnConnectionRouteRequest is the request type for the DeleteVpnConnectionRoute API operation.
func (DeleteVpnConnectionRouteRequest) Send ¶
func (r DeleteVpnConnectionRouteRequest) Send(ctx context.Context) (*DeleteVpnConnectionRouteResponse, error)
Send marshals and sends the DeleteVpnConnectionRoute API request.
type DeleteVpnConnectionRouteResponse ¶ added in v0.9.0
type DeleteVpnConnectionRouteResponse struct { *DeleteVpnConnectionRouteOutput // contains filtered or unexported fields }
DeleteVpnConnectionRouteResponse is the response type for the DeleteVpnConnectionRoute API operation.
func (*DeleteVpnConnectionRouteResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteVpnConnectionRouteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteVpnConnectionRoute request.
type DeleteVpnGatewayInput ¶
type DeleteVpnGatewayInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the virtual private gateway. // // VpnGatewayId is a required field VpnGatewayId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeleteVpnGateway.
func (DeleteVpnGatewayInput) String ¶
func (s DeleteVpnGatewayInput) String() string
String returns the string representation
func (*DeleteVpnGatewayInput) Validate ¶
func (s *DeleteVpnGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVpnGatewayOutput ¶
type DeleteVpnGatewayOutput struct {
// contains filtered or unexported fields
}
func (DeleteVpnGatewayOutput) String ¶
func (s DeleteVpnGatewayOutput) String() string
String returns the string representation
type DeleteVpnGatewayRequest ¶
type DeleteVpnGatewayRequest struct { *aws.Request Input *DeleteVpnGatewayInput Copy func(*DeleteVpnGatewayInput) DeleteVpnGatewayRequest }
DeleteVpnGatewayRequest is the request type for the DeleteVpnGateway API operation.
func (DeleteVpnGatewayRequest) Send ¶
func (r DeleteVpnGatewayRequest) Send(ctx context.Context) (*DeleteVpnGatewayResponse, error)
Send marshals and sends the DeleteVpnGateway API request.
type DeleteVpnGatewayResponse ¶ added in v0.9.0
type DeleteVpnGatewayResponse struct { *DeleteVpnGatewayOutput // contains filtered or unexported fields }
DeleteVpnGatewayResponse is the response type for the DeleteVpnGateway API operation.
func (*DeleteVpnGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteVpnGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteVpnGateway request.
type DeprovisionByoipCidrInput ¶ added in v0.6.0
type DeprovisionByoipCidrInput struct { // The public IPv4 address range, in CIDR notation. The prefix must be the same // prefix that you specified when you provisioned the address range. // // Cidr is a required field Cidr *string `type:"string" required:"true"` // 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"` // contains filtered or unexported fields }
func (DeprovisionByoipCidrInput) String ¶ added in v0.6.0
func (s DeprovisionByoipCidrInput) String() string
String returns the string representation
func (*DeprovisionByoipCidrInput) Validate ¶ added in v0.6.0
func (s *DeprovisionByoipCidrInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeprovisionByoipCidrOutput ¶ added in v0.6.0
type DeprovisionByoipCidrOutput struct { // Information about the address range. ByoipCidr *ByoipCidr `locationName:"byoipCidr" type:"structure"` // contains filtered or unexported fields }
func (DeprovisionByoipCidrOutput) String ¶ added in v0.6.0
func (s DeprovisionByoipCidrOutput) String() string
String returns the string representation
type DeprovisionByoipCidrRequest ¶ added in v0.6.0
type DeprovisionByoipCidrRequest struct { *aws.Request Input *DeprovisionByoipCidrInput Copy func(*DeprovisionByoipCidrInput) DeprovisionByoipCidrRequest }
DeprovisionByoipCidrRequest is the request type for the DeprovisionByoipCidr API operation.
func (DeprovisionByoipCidrRequest) Send ¶ added in v0.6.0
func (r DeprovisionByoipCidrRequest) Send(ctx context.Context) (*DeprovisionByoipCidrResponse, error)
Send marshals and sends the DeprovisionByoipCidr API request.
type DeprovisionByoipCidrResponse ¶ added in v0.9.0
type DeprovisionByoipCidrResponse struct { *DeprovisionByoipCidrOutput // contains filtered or unexported fields }
DeprovisionByoipCidrResponse is the response type for the DeprovisionByoipCidr API operation.
func (*DeprovisionByoipCidrResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeprovisionByoipCidrResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeprovisionByoipCidr request.
type DeregisterImageInput ¶
type DeregisterImageInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the AMI. // // ImageId is a required field ImageId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeregisterImage.
func (DeregisterImageInput) String ¶
func (s DeregisterImageInput) String() string
String returns the string representation
func (*DeregisterImageInput) Validate ¶
func (s *DeregisterImageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeregisterImageOutput ¶
type DeregisterImageOutput struct {
// contains filtered or unexported fields
}
func (DeregisterImageOutput) String ¶
func (s DeregisterImageOutput) String() string
String returns the string representation
type DeregisterImageRequest ¶
type DeregisterImageRequest struct { *aws.Request Input *DeregisterImageInput Copy func(*DeregisterImageInput) DeregisterImageRequest }
DeregisterImageRequest is the request type for the DeregisterImage API operation.
func (DeregisterImageRequest) Send ¶
func (r DeregisterImageRequest) Send(ctx context.Context) (*DeregisterImageResponse, error)
Send marshals and sends the DeregisterImage API request.
type DeregisterImageResponse ¶ added in v0.9.0
type DeregisterImageResponse struct { *DeregisterImageOutput // contains filtered or unexported fields }
DeregisterImageResponse is the response type for the DeregisterImage API operation.
func (*DeregisterImageResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeregisterImageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeregisterImage request.
type DescribeAccountAttributesInput ¶
type DescribeAccountAttributesInput struct { // The account attribute names. AttributeNames []AccountAttributeName `locationName:"attributeName" locationNameList:"attributeName" type:"list"` // 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 `locationName:"dryRun" type:"boolean"` // contains filtered or unexported fields }
func (DescribeAccountAttributesInput) String ¶
func (s DescribeAccountAttributesInput) String() string
String returns the string representation
type DescribeAccountAttributesOutput ¶
type DescribeAccountAttributesOutput struct { // Information about the account attributes. AccountAttributes []AccountAttribute `locationName:"accountAttributeSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeAccountAttributesOutput) String ¶
func (s DescribeAccountAttributesOutput) String() string
String returns the string representation
type DescribeAccountAttributesRequest ¶
type DescribeAccountAttributesRequest struct { *aws.Request Input *DescribeAccountAttributesInput Copy func(*DescribeAccountAttributesInput) DescribeAccountAttributesRequest }
DescribeAccountAttributesRequest is the request type for the DescribeAccountAttributes API operation.
func (DescribeAccountAttributesRequest) Send ¶
func (r DescribeAccountAttributesRequest) Send(ctx context.Context) (*DescribeAccountAttributesResponse, error)
Send marshals and sends the DescribeAccountAttributes API request.
type DescribeAccountAttributesResponse ¶ added in v0.9.0
type DescribeAccountAttributesResponse struct { *DescribeAccountAttributesOutput // contains filtered or unexported fields }
DescribeAccountAttributesResponse is the response type for the DescribeAccountAttributes API operation.
func (*DescribeAccountAttributesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeAccountAttributesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeAccountAttributes request.
type DescribeAddressesInput ¶
type DescribeAddressesInput struct { // [EC2-VPC] Information about the allocation IDs. AllocationIds []string `locationName:"AllocationId" locationNameList:"AllocationId" type:"list"` // 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 `locationName:"dryRun" type:"boolean"` // One or more filters. Filter names and values are case-sensitive. // // * allocation-id - [EC2-VPC] The allocation ID for the address. // // * association-id - [EC2-VPC] The association ID for the address. // // * domain - Indicates whether the address is for use in EC2-Classic (standard) // or in a VPC (vpc). // // * instance-id - The ID of the instance the address is associated with, // if any. // // * network-interface-id - [EC2-VPC] The ID of the network interface that // the address is associated with, if any. // // * network-interface-owner-id - The AWS account ID of the owner. // // * private-ip-address - [EC2-VPC] The private IP address associated with // the Elastic IP address. // // * public-ip - The Elastic IP address. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // One or more Elastic IP addresses. // // Default: Describes all your Elastic IP addresses. PublicIps []string `locationName:"PublicIp" locationNameList:"PublicIp" type:"list"` // contains filtered or unexported fields }
func (DescribeAddressesInput) String ¶
func (s DescribeAddressesInput) String() string
String returns the string representation
type DescribeAddressesOutput ¶
type DescribeAddressesOutput struct { // Information about the Elastic IP addresses. Addresses []Address `locationName:"addressesSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeAddressesOutput) String ¶
func (s DescribeAddressesOutput) String() string
String returns the string representation
type DescribeAddressesRequest ¶
type DescribeAddressesRequest struct { *aws.Request Input *DescribeAddressesInput Copy func(*DescribeAddressesInput) DescribeAddressesRequest }
DescribeAddressesRequest is the request type for the DescribeAddresses API operation.
func (DescribeAddressesRequest) Send ¶
func (r DescribeAddressesRequest) Send(ctx context.Context) (*DescribeAddressesResponse, error)
Send marshals and sends the DescribeAddresses API request.
type DescribeAddressesResponse ¶ added in v0.9.0
type DescribeAddressesResponse struct { *DescribeAddressesOutput // contains filtered or unexported fields }
DescribeAddressesResponse is the response type for the DescribeAddresses API operation.
func (*DescribeAddressesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeAddressesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeAddresses request.
type DescribeAggregateIdFormatInput ¶ added in v0.3.0
type DescribeAggregateIdFormatInput 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"` // contains filtered or unexported fields }
func (DescribeAggregateIdFormatInput) String ¶ added in v0.3.0
func (s DescribeAggregateIdFormatInput) String() string
String returns the string representation
type DescribeAggregateIdFormatOutput ¶ added in v0.3.0
type DescribeAggregateIdFormatOutput struct { // Information about each resource's ID format. Statuses []IdFormat `locationName:"statusSet" locationNameList:"item" type:"list"` // Indicates whether all resource types in the Region are configured to use // longer IDs. This value is only true if all users are configured to use longer // IDs for all resources types in the Region. UseLongIdsAggregated *bool `locationName:"useLongIdsAggregated" type:"boolean"` // contains filtered or unexported fields }
func (DescribeAggregateIdFormatOutput) String ¶ added in v0.3.0
func (s DescribeAggregateIdFormatOutput) String() string
String returns the string representation
type DescribeAggregateIdFormatRequest ¶ added in v0.3.0
type DescribeAggregateIdFormatRequest struct { *aws.Request Input *DescribeAggregateIdFormatInput Copy func(*DescribeAggregateIdFormatInput) DescribeAggregateIdFormatRequest }
DescribeAggregateIdFormatRequest is the request type for the DescribeAggregateIdFormat API operation.
func (DescribeAggregateIdFormatRequest) Send ¶ added in v0.3.0
func (r DescribeAggregateIdFormatRequest) Send(ctx context.Context) (*DescribeAggregateIdFormatResponse, error)
Send marshals and sends the DescribeAggregateIdFormat API request.
type DescribeAggregateIdFormatResponse ¶ added in v0.9.0
type DescribeAggregateIdFormatResponse struct { *DescribeAggregateIdFormatOutput // contains filtered or unexported fields }
DescribeAggregateIdFormatResponse is the response type for the DescribeAggregateIdFormat API operation.
func (*DescribeAggregateIdFormatResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeAggregateIdFormatResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeAggregateIdFormat request.
type DescribeAvailabilityZonesInput ¶
type DescribeAvailabilityZonesInput 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 `locationName:"dryRun" type:"boolean"` // The filters. // // * message - Information about the Availability Zone. // // * region-name - The name of the Region for the Availability Zone (for // example, us-east-1). // // * state - The state of the Availability Zone (available | information // | impaired | unavailable). // // * zone-id - The ID of the Availability Zone (for example, use1-az1). // // * zone-name - The name of the Availability Zone (for example, us-east-1a). Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The IDs of the Availability Zones. ZoneIds []string `locationName:"ZoneId" locationNameList:"ZoneId" type:"list"` // The names of the Availability Zones. ZoneNames []string `locationName:"ZoneName" locationNameList:"ZoneName" type:"list"` // contains filtered or unexported fields }
func (DescribeAvailabilityZonesInput) String ¶
func (s DescribeAvailabilityZonesInput) String() string
String returns the string representation
type DescribeAvailabilityZonesOutput ¶
type DescribeAvailabilityZonesOutput struct { // Information about the Availability Zones. AvailabilityZones []AvailabilityZone `locationName:"availabilityZoneInfo" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeAvailabilityZonesOutput) String ¶
func (s DescribeAvailabilityZonesOutput) String() string
String returns the string representation
type DescribeAvailabilityZonesRequest ¶
type DescribeAvailabilityZonesRequest struct { *aws.Request Input *DescribeAvailabilityZonesInput Copy func(*DescribeAvailabilityZonesInput) DescribeAvailabilityZonesRequest }
DescribeAvailabilityZonesRequest is the request type for the DescribeAvailabilityZones API operation.
func (DescribeAvailabilityZonesRequest) Send ¶
func (r DescribeAvailabilityZonesRequest) Send(ctx context.Context) (*DescribeAvailabilityZonesResponse, error)
Send marshals and sends the DescribeAvailabilityZones API request.
type DescribeAvailabilityZonesResponse ¶ added in v0.9.0
type DescribeAvailabilityZonesResponse struct { *DescribeAvailabilityZonesOutput // contains filtered or unexported fields }
DescribeAvailabilityZonesResponse is the response type for the DescribeAvailabilityZones API operation.
func (*DescribeAvailabilityZonesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeAvailabilityZonesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeAvailabilityZones request.
type DescribeBundleTasksInput ¶
type DescribeBundleTasksInput struct { // The bundle task IDs. // // Default: Describes all your bundle tasks. BundleIds []string `locationName:"BundleId" locationNameList:"BundleId" type:"list"` // 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 `locationName:"dryRun" type:"boolean"` // The filters. // // * bundle-id - The ID of the bundle task. // // * error-code - If the task failed, the error code returned. // // * error-message - If the task failed, the error message returned. // // * instance-id - The ID of the instance. // // * progress - The level of task completion, as a percentage (for example, // 20%). // // * s3-bucket - The Amazon S3 bucket to store the AMI. // // * s3-prefix - The beginning of the AMI name. // // * start-time - The time the task started (for example, 2013-09-15T17:15:20.000Z). // // * state - The state of the task (pending | waiting-for-shutdown | bundling // | storing | cancelling | complete | failed). // // * update-time - The time of the most recent update for the task. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // contains filtered or unexported fields }
func (DescribeBundleTasksInput) String ¶
func (s DescribeBundleTasksInput) String() string
String returns the string representation
type DescribeBundleTasksOutput ¶
type DescribeBundleTasksOutput struct { // Information about the bundle tasks. BundleTasks []BundleTask `locationName:"bundleInstanceTasksSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeBundleTasksOutput) String ¶
func (s DescribeBundleTasksOutput) String() string
String returns the string representation
type DescribeBundleTasksRequest ¶
type DescribeBundleTasksRequest struct { *aws.Request Input *DescribeBundleTasksInput Copy func(*DescribeBundleTasksInput) DescribeBundleTasksRequest }
DescribeBundleTasksRequest is the request type for the DescribeBundleTasks API operation.
func (DescribeBundleTasksRequest) Send ¶
func (r DescribeBundleTasksRequest) Send(ctx context.Context) (*DescribeBundleTasksResponse, error)
Send marshals and sends the DescribeBundleTasks API request.
type DescribeBundleTasksResponse ¶ added in v0.9.0
type DescribeBundleTasksResponse struct { *DescribeBundleTasksOutput // contains filtered or unexported fields }
DescribeBundleTasksResponse is the response type for the DescribeBundleTasks API operation.
func (*DescribeBundleTasksResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeBundleTasksResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeBundleTasks request.
type DescribeByoipCidrsInput ¶ added in v0.6.0
type DescribeByoipCidrsInput 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 maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. // // MaxResults is a required field MaxResults *int64 `min:"1" type:"integer" required:"true"` // The token for the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeByoipCidrsInput) String ¶ added in v0.6.0
func (s DescribeByoipCidrsInput) String() string
String returns the string representation
func (*DescribeByoipCidrsInput) Validate ¶ added in v0.6.0
func (s *DescribeByoipCidrsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeByoipCidrsOutput ¶ added in v0.6.0
type DescribeByoipCidrsOutput struct { // Information about your address ranges. ByoipCidrs []ByoipCidr `locationName:"byoipCidrSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeByoipCidrsOutput) String ¶ added in v0.6.0
func (s DescribeByoipCidrsOutput) String() string
String returns the string representation
type DescribeByoipCidrsPaginator ¶ added in v0.9.0
DescribeByoipCidrsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeByoipCidrsPaginator ¶ added in v0.9.0
func NewDescribeByoipCidrsPaginator(req DescribeByoipCidrsRequest) DescribeByoipCidrsPaginator
NewDescribeByoipCidrsRequestPaginator returns a paginator for DescribeByoipCidrs. 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.DescribeByoipCidrsRequest(input) p := ec2.NewDescribeByoipCidrsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeByoipCidrsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeByoipCidrsPaginator) CurrentPage() *DescribeByoipCidrsOutput
type DescribeByoipCidrsRequest ¶ added in v0.6.0
type DescribeByoipCidrsRequest struct { *aws.Request Input *DescribeByoipCidrsInput Copy func(*DescribeByoipCidrsInput) DescribeByoipCidrsRequest }
DescribeByoipCidrsRequest is the request type for the DescribeByoipCidrs API operation.
func (DescribeByoipCidrsRequest) Send ¶ added in v0.6.0
func (r DescribeByoipCidrsRequest) Send(ctx context.Context) (*DescribeByoipCidrsResponse, error)
Send marshals and sends the DescribeByoipCidrs API request.
type DescribeByoipCidrsResponse ¶ added in v0.9.0
type DescribeByoipCidrsResponse struct { *DescribeByoipCidrsOutput // contains filtered or unexported fields }
DescribeByoipCidrsResponse is the response type for the DescribeByoipCidrs API operation.
func (*DescribeByoipCidrsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeByoipCidrsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeByoipCidrs request.
type DescribeCapacityReservationsInput ¶ added in v0.6.0
type DescribeCapacityReservationsInput struct { // The ID of the Capacity Reservation. CapacityReservationIds []string `locationName:"CapacityReservationId" locationNameList:"item" type:"list"` // 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"` // One or more filters. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return for the request in a single page. // The remaining results can be seen by sending another request with the returned // nextToken value. MaxResults *int64 `min:"1" type:"integer"` // The token to retrieve the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeCapacityReservationsInput) String ¶ added in v0.6.0
func (s DescribeCapacityReservationsInput) String() string
String returns the string representation
func (*DescribeCapacityReservationsInput) Validate ¶ added in v0.9.0
func (s *DescribeCapacityReservationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeCapacityReservationsOutput ¶ added in v0.6.0
type DescribeCapacityReservationsOutput struct { // Information about the Capacity Reservations. CapacityReservations []CapacityReservation `locationName:"capacityReservationSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeCapacityReservationsOutput) String ¶ added in v0.6.0
func (s DescribeCapacityReservationsOutput) String() string
String returns the string representation
type DescribeCapacityReservationsPaginator ¶ added in v0.9.0
DescribeCapacityReservationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeCapacityReservationsPaginator ¶ added in v0.9.0
func NewDescribeCapacityReservationsPaginator(req DescribeCapacityReservationsRequest) DescribeCapacityReservationsPaginator
NewDescribeCapacityReservationsRequestPaginator returns a paginator for DescribeCapacityReservations. 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.DescribeCapacityReservationsRequest(input) p := ec2.NewDescribeCapacityReservationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeCapacityReservationsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeCapacityReservationsPaginator) CurrentPage() *DescribeCapacityReservationsOutput
type DescribeCapacityReservationsRequest ¶ added in v0.6.0
type DescribeCapacityReservationsRequest struct { *aws.Request Input *DescribeCapacityReservationsInput Copy func(*DescribeCapacityReservationsInput) DescribeCapacityReservationsRequest }
DescribeCapacityReservationsRequest is the request type for the DescribeCapacityReservations API operation.
func (DescribeCapacityReservationsRequest) Send ¶ added in v0.6.0
func (r DescribeCapacityReservationsRequest) Send(ctx context.Context) (*DescribeCapacityReservationsResponse, error)
Send marshals and sends the DescribeCapacityReservations API request.
type DescribeCapacityReservationsResponse ¶ added in v0.9.0
type DescribeCapacityReservationsResponse struct { *DescribeCapacityReservationsOutput // contains filtered or unexported fields }
DescribeCapacityReservationsResponse is the response type for the DescribeCapacityReservations API operation.
func (*DescribeCapacityReservationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeCapacityReservationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeCapacityReservations request.
type DescribeClassicLinkInstancesInput ¶
type DescribeClassicLinkInstancesInput 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * group-id - The ID of a VPC security group that's associated with the // instance. // // * instance-id - The ID of the instance. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * vpc-id - The ID of the VPC to which the instance is linked. vpc-id - // The ID of the VPC that the instance is linked to. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // One or more instance IDs. Must be instances linked to a VPC through ClassicLink. InstanceIds []string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. // // Constraint: If the value is greater than 1000, we return only 1000 items. MaxResults *int64 `locationName:"maxResults" min:"5" type:"integer"` // The token for the next page of results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeClassicLinkInstancesInput) String ¶
func (s DescribeClassicLinkInstancesInput) String() string
String returns the string representation
func (*DescribeClassicLinkInstancesInput) Validate ¶ added in v0.10.0
func (s *DescribeClassicLinkInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeClassicLinkInstancesOutput ¶
type DescribeClassicLinkInstancesOutput struct { // Information about one or more linked EC2-Classic instances. Instances []ClassicLinkInstance `locationName:"instancesSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeClassicLinkInstancesOutput) String ¶
func (s DescribeClassicLinkInstancesOutput) String() string
String returns the string representation
type DescribeClassicLinkInstancesPaginator ¶ added in v0.9.0
DescribeClassicLinkInstancesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeClassicLinkInstancesPaginator ¶ added in v0.9.0
func NewDescribeClassicLinkInstancesPaginator(req DescribeClassicLinkInstancesRequest) DescribeClassicLinkInstancesPaginator
NewDescribeClassicLinkInstancesRequestPaginator returns a paginator for DescribeClassicLinkInstances. 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.DescribeClassicLinkInstancesRequest(input) p := ec2.NewDescribeClassicLinkInstancesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeClassicLinkInstancesPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeClassicLinkInstancesPaginator) CurrentPage() *DescribeClassicLinkInstancesOutput
type DescribeClassicLinkInstancesRequest ¶
type DescribeClassicLinkInstancesRequest struct { *aws.Request Input *DescribeClassicLinkInstancesInput Copy func(*DescribeClassicLinkInstancesInput) DescribeClassicLinkInstancesRequest }
DescribeClassicLinkInstancesRequest is the request type for the DescribeClassicLinkInstances API operation.
func (DescribeClassicLinkInstancesRequest) Send ¶
func (r DescribeClassicLinkInstancesRequest) Send(ctx context.Context) (*DescribeClassicLinkInstancesResponse, error)
Send marshals and sends the DescribeClassicLinkInstances API request.
type DescribeClassicLinkInstancesResponse ¶ added in v0.9.0
type DescribeClassicLinkInstancesResponse struct { *DescribeClassicLinkInstancesOutput // contains filtered or unexported fields }
DescribeClassicLinkInstancesResponse is the response type for the DescribeClassicLinkInstances API operation.
func (*DescribeClassicLinkInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeClassicLinkInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeClassicLinkInstances request.
type DescribeClientVpnAuthorizationRulesInput ¶ added in v0.7.0
type DescribeClientVpnAuthorizationRulesInput struct { // The ID of the Client VPN endpoint. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // 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"` // One or more filters. Filter names and values are case-sensitive. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return for the request in a single page. // The remaining results can be seen by sending another request with the nextToken // value. MaxResults *int64 `min:"5" type:"integer"` // The token to retrieve the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeClientVpnAuthorizationRulesInput) String ¶ added in v0.7.0
func (s DescribeClientVpnAuthorizationRulesInput) String() string
String returns the string representation
func (*DescribeClientVpnAuthorizationRulesInput) Validate ¶ added in v0.7.0
func (s *DescribeClientVpnAuthorizationRulesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeClientVpnAuthorizationRulesOutput ¶ added in v0.7.0
type DescribeClientVpnAuthorizationRulesOutput struct { // Information about the authorization rules. AuthorizationRules []AuthorizationRule `locationName:"authorizationRule" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeClientVpnAuthorizationRulesOutput) String ¶ added in v0.7.0
func (s DescribeClientVpnAuthorizationRulesOutput) String() string
String returns the string representation
type DescribeClientVpnAuthorizationRulesPaginator ¶ added in v0.9.0
DescribeClientVpnAuthorizationRulesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeClientVpnAuthorizationRulesPaginator ¶ added in v0.9.0
func NewDescribeClientVpnAuthorizationRulesPaginator(req DescribeClientVpnAuthorizationRulesRequest) DescribeClientVpnAuthorizationRulesPaginator
NewDescribeClientVpnAuthorizationRulesRequestPaginator returns a paginator for DescribeClientVpnAuthorizationRules. 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.DescribeClientVpnAuthorizationRulesRequest(input) p := ec2.NewDescribeClientVpnAuthorizationRulesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeClientVpnAuthorizationRulesPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeClientVpnAuthorizationRulesPaginator) CurrentPage() *DescribeClientVpnAuthorizationRulesOutput
type DescribeClientVpnAuthorizationRulesRequest ¶ added in v0.7.0
type DescribeClientVpnAuthorizationRulesRequest struct { *aws.Request Input *DescribeClientVpnAuthorizationRulesInput Copy func(*DescribeClientVpnAuthorizationRulesInput) DescribeClientVpnAuthorizationRulesRequest }
DescribeClientVpnAuthorizationRulesRequest is the request type for the DescribeClientVpnAuthorizationRules API operation.
func (DescribeClientVpnAuthorizationRulesRequest) Send ¶ added in v0.7.0
func (r DescribeClientVpnAuthorizationRulesRequest) Send(ctx context.Context) (*DescribeClientVpnAuthorizationRulesResponse, error)
Send marshals and sends the DescribeClientVpnAuthorizationRules API request.
type DescribeClientVpnAuthorizationRulesResponse ¶ added in v0.9.0
type DescribeClientVpnAuthorizationRulesResponse struct { *DescribeClientVpnAuthorizationRulesOutput // contains filtered or unexported fields }
DescribeClientVpnAuthorizationRulesResponse is the response type for the DescribeClientVpnAuthorizationRules API operation.
func (*DescribeClientVpnAuthorizationRulesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeClientVpnAuthorizationRulesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeClientVpnAuthorizationRules request.
type DescribeClientVpnConnectionsInput ¶ added in v0.7.0
type DescribeClientVpnConnectionsInput struct { // The ID of the Client VPN endpoint. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // 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"` // One or more filters. Filter names and values are case-sensitive. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return for the request in a single page. // The remaining results can be seen by sending another request with the nextToken // value. MaxResults *int64 `min:"5" type:"integer"` // The token to retrieve the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeClientVpnConnectionsInput) String ¶ added in v0.7.0
func (s DescribeClientVpnConnectionsInput) String() string
String returns the string representation
func (*DescribeClientVpnConnectionsInput) Validate ¶ added in v0.7.0
func (s *DescribeClientVpnConnectionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeClientVpnConnectionsOutput ¶ added in v0.7.0
type DescribeClientVpnConnectionsOutput struct { // Information about the active and terminated client connections. Connections []VpnConnection `locationName:"connections" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeClientVpnConnectionsOutput) String ¶ added in v0.7.0
func (s DescribeClientVpnConnectionsOutput) String() string
String returns the string representation
type DescribeClientVpnConnectionsPaginator ¶ added in v0.9.0
DescribeClientVpnConnectionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeClientVpnConnectionsPaginator ¶ added in v0.9.0
func NewDescribeClientVpnConnectionsPaginator(req DescribeClientVpnConnectionsRequest) DescribeClientVpnConnectionsPaginator
NewDescribeClientVpnConnectionsRequestPaginator returns a paginator for DescribeClientVpnConnections. 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.DescribeClientVpnConnectionsRequest(input) p := ec2.NewDescribeClientVpnConnectionsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeClientVpnConnectionsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeClientVpnConnectionsPaginator) CurrentPage() *DescribeClientVpnConnectionsOutput
type DescribeClientVpnConnectionsRequest ¶ added in v0.7.0
type DescribeClientVpnConnectionsRequest struct { *aws.Request Input *DescribeClientVpnConnectionsInput Copy func(*DescribeClientVpnConnectionsInput) DescribeClientVpnConnectionsRequest }
DescribeClientVpnConnectionsRequest is the request type for the DescribeClientVpnConnections API operation.
func (DescribeClientVpnConnectionsRequest) Send ¶ added in v0.7.0
func (r DescribeClientVpnConnectionsRequest) Send(ctx context.Context) (*DescribeClientVpnConnectionsResponse, error)
Send marshals and sends the DescribeClientVpnConnections API request.
type DescribeClientVpnConnectionsResponse ¶ added in v0.9.0
type DescribeClientVpnConnectionsResponse struct { *DescribeClientVpnConnectionsOutput // contains filtered or unexported fields }
DescribeClientVpnConnectionsResponse is the response type for the DescribeClientVpnConnections API operation.
func (*DescribeClientVpnConnectionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeClientVpnConnectionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeClientVpnConnections request.
type DescribeClientVpnEndpointsInput ¶ added in v0.7.0
type DescribeClientVpnEndpointsInput struct { // The ID of the Client VPN endpoint. ClientVpnEndpointIds []string `locationName:"ClientVpnEndpointId" locationNameList:"item" type:"list"` // 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"` // One or more filters. Filter names and values are case-sensitive. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return for the request in a single page. // The remaining results can be seen by sending another request with the nextToken // value. MaxResults *int64 `min:"5" type:"integer"` // The token to retrieve the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeClientVpnEndpointsInput) String ¶ added in v0.7.0
func (s DescribeClientVpnEndpointsInput) String() string
String returns the string representation
func (*DescribeClientVpnEndpointsInput) Validate ¶ added in v0.7.0
func (s *DescribeClientVpnEndpointsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeClientVpnEndpointsOutput ¶ added in v0.7.0
type DescribeClientVpnEndpointsOutput struct { // Information about the Client VPN endpoints. ClientVpnEndpoints []VpnEndpoint `locationName:"clientVpnEndpoint" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeClientVpnEndpointsOutput) String ¶ added in v0.7.0
func (s DescribeClientVpnEndpointsOutput) String() string
String returns the string representation
type DescribeClientVpnEndpointsPaginator ¶ added in v0.9.0
DescribeClientVpnEndpointsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeClientVpnEndpointsPaginator ¶ added in v0.9.0
func NewDescribeClientVpnEndpointsPaginator(req DescribeClientVpnEndpointsRequest) DescribeClientVpnEndpointsPaginator
NewDescribeClientVpnEndpointsRequestPaginator returns a paginator for DescribeClientVpnEndpoints. 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.DescribeClientVpnEndpointsRequest(input) p := ec2.NewDescribeClientVpnEndpointsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeClientVpnEndpointsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeClientVpnEndpointsPaginator) CurrentPage() *DescribeClientVpnEndpointsOutput
type DescribeClientVpnEndpointsRequest ¶ added in v0.7.0
type DescribeClientVpnEndpointsRequest struct { *aws.Request Input *DescribeClientVpnEndpointsInput Copy func(*DescribeClientVpnEndpointsInput) DescribeClientVpnEndpointsRequest }
DescribeClientVpnEndpointsRequest is the request type for the DescribeClientVpnEndpoints API operation.
func (DescribeClientVpnEndpointsRequest) Send ¶ added in v0.7.0
func (r DescribeClientVpnEndpointsRequest) Send(ctx context.Context) (*DescribeClientVpnEndpointsResponse, error)
Send marshals and sends the DescribeClientVpnEndpoints API request.
type DescribeClientVpnEndpointsResponse ¶ added in v0.9.0
type DescribeClientVpnEndpointsResponse struct { *DescribeClientVpnEndpointsOutput // contains filtered or unexported fields }
DescribeClientVpnEndpointsResponse is the response type for the DescribeClientVpnEndpoints API operation.
func (*DescribeClientVpnEndpointsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeClientVpnEndpointsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeClientVpnEndpoints request.
type DescribeClientVpnRoutesInput ¶ added in v0.7.0
type DescribeClientVpnRoutesInput struct { // The ID of the Client VPN endpoint. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // 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"` // One or more filters. Filter names and values are case-sensitive. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return for the request in a single page. // The remaining results can be seen by sending another request with the nextToken // value. MaxResults *int64 `min:"5" type:"integer"` // The token to retrieve the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeClientVpnRoutesInput) String ¶ added in v0.7.0
func (s DescribeClientVpnRoutesInput) String() string
String returns the string representation
func (*DescribeClientVpnRoutesInput) Validate ¶ added in v0.7.0
func (s *DescribeClientVpnRoutesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeClientVpnRoutesOutput ¶ added in v0.7.0
type DescribeClientVpnRoutesOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the Client VPN endpoint routes. Routes []VpnRoute `locationName:"routes" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeClientVpnRoutesOutput) String ¶ added in v0.7.0
func (s DescribeClientVpnRoutesOutput) String() string
String returns the string representation
type DescribeClientVpnRoutesPaginator ¶ added in v0.9.0
DescribeClientVpnRoutesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeClientVpnRoutesPaginator ¶ added in v0.9.0
func NewDescribeClientVpnRoutesPaginator(req DescribeClientVpnRoutesRequest) DescribeClientVpnRoutesPaginator
NewDescribeClientVpnRoutesRequestPaginator returns a paginator for DescribeClientVpnRoutes. 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.DescribeClientVpnRoutesRequest(input) p := ec2.NewDescribeClientVpnRoutesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeClientVpnRoutesPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeClientVpnRoutesPaginator) CurrentPage() *DescribeClientVpnRoutesOutput
type DescribeClientVpnRoutesRequest ¶ added in v0.7.0
type DescribeClientVpnRoutesRequest struct { *aws.Request Input *DescribeClientVpnRoutesInput Copy func(*DescribeClientVpnRoutesInput) DescribeClientVpnRoutesRequest }
DescribeClientVpnRoutesRequest is the request type for the DescribeClientVpnRoutes API operation.
func (DescribeClientVpnRoutesRequest) Send ¶ added in v0.7.0
func (r DescribeClientVpnRoutesRequest) Send(ctx context.Context) (*DescribeClientVpnRoutesResponse, error)
Send marshals and sends the DescribeClientVpnRoutes API request.
type DescribeClientVpnRoutesResponse ¶ added in v0.9.0
type DescribeClientVpnRoutesResponse struct { *DescribeClientVpnRoutesOutput // contains filtered or unexported fields }
DescribeClientVpnRoutesResponse is the response type for the DescribeClientVpnRoutes API operation.
func (*DescribeClientVpnRoutesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeClientVpnRoutesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeClientVpnRoutes request.
type DescribeClientVpnTargetNetworksInput ¶ added in v0.7.0
type DescribeClientVpnTargetNetworksInput struct { // The IDs of the target network associations. AssociationIds []string `locationNameList:"item" type:"list"` // The ID of the Client VPN endpoint. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // 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"` // One or more filters. Filter names and values are case-sensitive. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return for the request in a single page. // The remaining results can be seen by sending another request with the nextToken // value. MaxResults *int64 `min:"5" type:"integer"` // The token to retrieve the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeClientVpnTargetNetworksInput) String ¶ added in v0.7.0
func (s DescribeClientVpnTargetNetworksInput) String() string
String returns the string representation
func (*DescribeClientVpnTargetNetworksInput) Validate ¶ added in v0.7.0
func (s *DescribeClientVpnTargetNetworksInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeClientVpnTargetNetworksOutput ¶ added in v0.7.0
type DescribeClientVpnTargetNetworksOutput struct { // Information about the associated target networks. ClientVpnTargetNetworks []TargetNetwork `locationName:"clientVpnTargetNetworks" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeClientVpnTargetNetworksOutput) String ¶ added in v0.7.0
func (s DescribeClientVpnTargetNetworksOutput) String() string
String returns the string representation
type DescribeClientVpnTargetNetworksPaginator ¶ added in v0.9.0
DescribeClientVpnTargetNetworksPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeClientVpnTargetNetworksPaginator ¶ added in v0.9.0
func NewDescribeClientVpnTargetNetworksPaginator(req DescribeClientVpnTargetNetworksRequest) DescribeClientVpnTargetNetworksPaginator
NewDescribeClientVpnTargetNetworksRequestPaginator returns a paginator for DescribeClientVpnTargetNetworks. 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.DescribeClientVpnTargetNetworksRequest(input) p := ec2.NewDescribeClientVpnTargetNetworksRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeClientVpnTargetNetworksPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeClientVpnTargetNetworksPaginator) CurrentPage() *DescribeClientVpnTargetNetworksOutput
type DescribeClientVpnTargetNetworksRequest ¶ added in v0.7.0
type DescribeClientVpnTargetNetworksRequest struct { *aws.Request Input *DescribeClientVpnTargetNetworksInput Copy func(*DescribeClientVpnTargetNetworksInput) DescribeClientVpnTargetNetworksRequest }
DescribeClientVpnTargetNetworksRequest is the request type for the DescribeClientVpnTargetNetworks API operation.
func (DescribeClientVpnTargetNetworksRequest) Send ¶ added in v0.7.0
func (r DescribeClientVpnTargetNetworksRequest) Send(ctx context.Context) (*DescribeClientVpnTargetNetworksResponse, error)
Send marshals and sends the DescribeClientVpnTargetNetworks API request.
type DescribeClientVpnTargetNetworksResponse ¶ added in v0.9.0
type DescribeClientVpnTargetNetworksResponse struct { *DescribeClientVpnTargetNetworksOutput // contains filtered or unexported fields }
DescribeClientVpnTargetNetworksResponse is the response type for the DescribeClientVpnTargetNetworks API operation.
func (*DescribeClientVpnTargetNetworksResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeClientVpnTargetNetworksResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeClientVpnTargetNetworks request.
type DescribeConversionTasksInput ¶
type DescribeConversionTasksInput struct { // The conversion task IDs. ConversionTaskIds []string `locationName:"conversionTaskId" locationNameList:"item" type:"list"` // 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 `locationName:"dryRun" type:"boolean"` // contains filtered or unexported fields }
func (DescribeConversionTasksInput) String ¶
func (s DescribeConversionTasksInput) String() string
String returns the string representation
type DescribeConversionTasksOutput ¶
type DescribeConversionTasksOutput struct { // Information about the conversion tasks. ConversionTasks []ConversionTask `locationName:"conversionTasks" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeConversionTasksOutput) String ¶
func (s DescribeConversionTasksOutput) String() string
String returns the string representation
type DescribeConversionTasksRequest ¶
type DescribeConversionTasksRequest struct { *aws.Request Input *DescribeConversionTasksInput Copy func(*DescribeConversionTasksInput) DescribeConversionTasksRequest }
DescribeConversionTasksRequest is the request type for the DescribeConversionTasks API operation.
func (DescribeConversionTasksRequest) Send ¶
func (r DescribeConversionTasksRequest) Send(ctx context.Context) (*DescribeConversionTasksResponse, error)
Send marshals and sends the DescribeConversionTasks API request.
type DescribeConversionTasksResponse ¶ added in v0.9.0
type DescribeConversionTasksResponse struct { *DescribeConversionTasksOutput // contains filtered or unexported fields }
DescribeConversionTasksResponse is the response type for the DescribeConversionTasks API operation.
func (*DescribeConversionTasksResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeConversionTasksResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeConversionTasks request.
type DescribeCustomerGatewaysInput ¶
type DescribeCustomerGatewaysInput struct { // One or more customer gateway IDs. // // Default: Describes all your customer gateways. CustomerGatewayIds []string `locationName:"CustomerGatewayId" locationNameList:"CustomerGatewayId" type:"list"` // 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * bgp-asn - The customer gateway's Border Gateway Protocol (BGP) Autonomous // System Number (ASN). // // * customer-gateway-id - The ID of the customer gateway. // // * ip-address - The IP address of the customer gateway's Internet-routable // external interface. // // * state - The state of the customer gateway (pending | available | deleting // | deleted). // // * type - The type of customer gateway. Currently, the only supported type // is ipsec.1. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // contains filtered or unexported fields }
Contains the parameters for DescribeCustomerGateways.
func (DescribeCustomerGatewaysInput) String ¶
func (s DescribeCustomerGatewaysInput) String() string
String returns the string representation
type DescribeCustomerGatewaysOutput ¶
type DescribeCustomerGatewaysOutput struct { // Information about one or more customer gateways. CustomerGateways []CustomerGateway `locationName:"customerGatewaySet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeCustomerGateways.
func (DescribeCustomerGatewaysOutput) String ¶
func (s DescribeCustomerGatewaysOutput) String() string
String returns the string representation
type DescribeCustomerGatewaysRequest ¶
type DescribeCustomerGatewaysRequest struct { *aws.Request Input *DescribeCustomerGatewaysInput Copy func(*DescribeCustomerGatewaysInput) DescribeCustomerGatewaysRequest }
DescribeCustomerGatewaysRequest is the request type for the DescribeCustomerGateways API operation.
func (DescribeCustomerGatewaysRequest) Send ¶
func (r DescribeCustomerGatewaysRequest) Send(ctx context.Context) (*DescribeCustomerGatewaysResponse, error)
Send marshals and sends the DescribeCustomerGateways API request.
type DescribeCustomerGatewaysResponse ¶ added in v0.9.0
type DescribeCustomerGatewaysResponse struct { *DescribeCustomerGatewaysOutput // contains filtered or unexported fields }
DescribeCustomerGatewaysResponse is the response type for the DescribeCustomerGateways API operation.
func (*DescribeCustomerGatewaysResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeCustomerGatewaysResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeCustomerGateways request.
type DescribeDhcpOptionsInput ¶
type DescribeDhcpOptionsInput struct { // The IDs of one or more DHCP options sets. // // Default: Describes all your DHCP options sets. DhcpOptionsIds []string `locationName:"DhcpOptionsId" locationNameList:"DhcpOptionsId" type:"list"` // 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * dhcp-options-id - The ID of a DHCP options set. // // * key - The key for one of the options (for example, domain-name). // // * value - The value for one of the options. // // * owner-id - The ID of the AWS account that owns the DHCP options set. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeDhcpOptionsInput) String ¶
func (s DescribeDhcpOptionsInput) String() string
String returns the string representation
func (*DescribeDhcpOptionsInput) Validate ¶ added in v0.9.0
func (s *DescribeDhcpOptionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDhcpOptionsOutput ¶
type DescribeDhcpOptionsOutput struct { // Information about one or more DHCP options sets. DhcpOptions []DhcpOptions `locationName:"dhcpOptionsSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeDhcpOptionsOutput) String ¶
func (s DescribeDhcpOptionsOutput) String() string
String returns the string representation
type DescribeDhcpOptionsPaginator ¶ added in v0.9.0
DescribeDhcpOptionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeDhcpOptionsPaginator ¶ added in v0.9.0
func NewDescribeDhcpOptionsPaginator(req DescribeDhcpOptionsRequest) DescribeDhcpOptionsPaginator
NewDescribeDhcpOptionsRequestPaginator returns a paginator for DescribeDhcpOptions. 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.DescribeDhcpOptionsRequest(input) p := ec2.NewDescribeDhcpOptionsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeDhcpOptionsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeDhcpOptionsPaginator) CurrentPage() *DescribeDhcpOptionsOutput
type DescribeDhcpOptionsRequest ¶
type DescribeDhcpOptionsRequest struct { *aws.Request Input *DescribeDhcpOptionsInput Copy func(*DescribeDhcpOptionsInput) DescribeDhcpOptionsRequest }
DescribeDhcpOptionsRequest is the request type for the DescribeDhcpOptions API operation.
func (DescribeDhcpOptionsRequest) Send ¶
func (r DescribeDhcpOptionsRequest) Send(ctx context.Context) (*DescribeDhcpOptionsResponse, error)
Send marshals and sends the DescribeDhcpOptions API request.
type DescribeDhcpOptionsResponse ¶ added in v0.9.0
type DescribeDhcpOptionsResponse struct { *DescribeDhcpOptionsOutput // contains filtered or unexported fields }
DescribeDhcpOptionsResponse is the response type for the DescribeDhcpOptions API operation.
func (*DescribeDhcpOptionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeDhcpOptionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeDhcpOptions request.
type DescribeEgressOnlyInternetGatewaysInput ¶
type DescribeEgressOnlyInternetGatewaysInput 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"` // One or more egress-only internet gateway IDs. EgressOnlyInternetGatewayIds []string `locationName:"EgressOnlyInternetGatewayId" locationNameList:"item" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeEgressOnlyInternetGatewaysInput) String ¶
func (s DescribeEgressOnlyInternetGatewaysInput) String() string
String returns the string representation
func (*DescribeEgressOnlyInternetGatewaysInput) Validate ¶ added in v0.10.0
func (s *DescribeEgressOnlyInternetGatewaysInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeEgressOnlyInternetGatewaysOutput ¶
type DescribeEgressOnlyInternetGatewaysOutput struct { // Information about the egress-only internet gateways. EgressOnlyInternetGateways []EgressOnlyInternetGateway `locationName:"egressOnlyInternetGatewaySet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeEgressOnlyInternetGatewaysOutput) String ¶
func (s DescribeEgressOnlyInternetGatewaysOutput) String() string
String returns the string representation
type DescribeEgressOnlyInternetGatewaysPaginator ¶ added in v0.9.0
DescribeEgressOnlyInternetGatewaysPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeEgressOnlyInternetGatewaysPaginator ¶ added in v0.9.0
func NewDescribeEgressOnlyInternetGatewaysPaginator(req DescribeEgressOnlyInternetGatewaysRequest) DescribeEgressOnlyInternetGatewaysPaginator
NewDescribeEgressOnlyInternetGatewaysRequestPaginator returns a paginator for DescribeEgressOnlyInternetGateways. 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.DescribeEgressOnlyInternetGatewaysRequest(input) p := ec2.NewDescribeEgressOnlyInternetGatewaysRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeEgressOnlyInternetGatewaysPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeEgressOnlyInternetGatewaysPaginator) CurrentPage() *DescribeEgressOnlyInternetGatewaysOutput
type DescribeEgressOnlyInternetGatewaysRequest ¶
type DescribeEgressOnlyInternetGatewaysRequest struct { *aws.Request Input *DescribeEgressOnlyInternetGatewaysInput Copy func(*DescribeEgressOnlyInternetGatewaysInput) DescribeEgressOnlyInternetGatewaysRequest }
DescribeEgressOnlyInternetGatewaysRequest is the request type for the DescribeEgressOnlyInternetGateways API operation.
func (DescribeEgressOnlyInternetGatewaysRequest) Send ¶
func (r DescribeEgressOnlyInternetGatewaysRequest) Send(ctx context.Context) (*DescribeEgressOnlyInternetGatewaysResponse, error)
Send marshals and sends the DescribeEgressOnlyInternetGateways API request.
type DescribeEgressOnlyInternetGatewaysResponse ¶ added in v0.9.0
type DescribeEgressOnlyInternetGatewaysResponse struct { *DescribeEgressOnlyInternetGatewaysOutput // contains filtered or unexported fields }
DescribeEgressOnlyInternetGatewaysResponse is the response type for the DescribeEgressOnlyInternetGateways API operation.
func (*DescribeEgressOnlyInternetGatewaysResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeEgressOnlyInternetGatewaysResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeEgressOnlyInternetGateways request.
type DescribeElasticGpusInput ¶
type DescribeElasticGpusInput 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 Elastic Graphics accelerator IDs. ElasticGpuIds []string `locationName:"ElasticGpuId" locationNameList:"item" type:"list"` // The filters. // // * availability-zone - The Availability Zone in which the Elastic Graphics // accelerator resides. // // * elastic-gpu-health - The status of the Elastic Graphics accelerator // (OK | IMPAIRED). // // * elastic-gpu-state - The state of the Elastic Graphics accelerator (ATTACHED). // // * elastic-gpu-type - The type of Elastic Graphics accelerator; for example, // eg1.medium. // // * instance-id - The ID of the instance to which the Elastic Graphics accelerator // is associated. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. This // value can be between 5 and 1000. MaxResults *int64 `min:"10" type:"integer"` // The token to request the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeElasticGpusInput) String ¶
func (s DescribeElasticGpusInput) String() string
String returns the string representation
func (*DescribeElasticGpusInput) Validate ¶ added in v0.9.0
func (s *DescribeElasticGpusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeElasticGpusOutput ¶
type DescribeElasticGpusOutput struct { // Information about the Elastic Graphics accelerators. ElasticGpuSet []ElasticGpus `locationName:"elasticGpuSet" locationNameList:"item" type:"list"` // The total number of items to return. If the total number of items available // is more than the value specified in max-items then a Next-Token will be provided // in the output that you can use to resume pagination. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeElasticGpusOutput) String ¶
func (s DescribeElasticGpusOutput) String() string
String returns the string representation
type DescribeElasticGpusRequest ¶
type DescribeElasticGpusRequest struct { *aws.Request Input *DescribeElasticGpusInput Copy func(*DescribeElasticGpusInput) DescribeElasticGpusRequest }
DescribeElasticGpusRequest is the request type for the DescribeElasticGpus API operation.
func (DescribeElasticGpusRequest) Send ¶
func (r DescribeElasticGpusRequest) Send(ctx context.Context) (*DescribeElasticGpusResponse, error)
Send marshals and sends the DescribeElasticGpus API request.
type DescribeElasticGpusResponse ¶ added in v0.9.0
type DescribeElasticGpusResponse struct { *DescribeElasticGpusOutput // contains filtered or unexported fields }
DescribeElasticGpusResponse is the response type for the DescribeElasticGpus API operation.
func (*DescribeElasticGpusResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeElasticGpusResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeElasticGpus request.
type DescribeExportImageTasksInput ¶ added in v0.12.0
type DescribeExportImageTasksInput 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 export image tasks. ExportImageTaskIds []string `locationName:"ExportImageTaskId" locationNameList:"ExportImageTaskId" type:"list"` // Filter tasks using the task-state filter and one of the following values: // active, completed, deleting, or deleted. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return in a single call. MaxResults *int64 `min:"1" type:"integer"` // A token that indicates the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeExportImageTasksInput) String ¶ added in v0.12.0
func (s DescribeExportImageTasksInput) String() string
String returns the string representation
func (*DescribeExportImageTasksInput) Validate ¶ added in v0.12.0
func (s *DescribeExportImageTasksInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeExportImageTasksOutput ¶ added in v0.12.0
type DescribeExportImageTasksOutput struct { // Information about the export image tasks. ExportImageTasks []ExportImageTask `locationName:"exportImageTaskSet" locationNameList:"item" type:"list"` // The token to use to get the next page of results. This value is null when // there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeExportImageTasksOutput) String ¶ added in v0.12.0
func (s DescribeExportImageTasksOutput) String() string
String returns the string representation
type DescribeExportImageTasksRequest ¶ added in v0.12.0
type DescribeExportImageTasksRequest struct { *aws.Request Input *DescribeExportImageTasksInput Copy func(*DescribeExportImageTasksInput) DescribeExportImageTasksRequest }
DescribeExportImageTasksRequest is the request type for the DescribeExportImageTasks API operation.
func (DescribeExportImageTasksRequest) Send ¶ added in v0.12.0
func (r DescribeExportImageTasksRequest) Send(ctx context.Context) (*DescribeExportImageTasksResponse, error)
Send marshals and sends the DescribeExportImageTasks API request.
type DescribeExportImageTasksResponse ¶ added in v0.12.0
type DescribeExportImageTasksResponse struct { *DescribeExportImageTasksOutput // contains filtered or unexported fields }
DescribeExportImageTasksResponse is the response type for the DescribeExportImageTasks API operation.
func (*DescribeExportImageTasksResponse) SDKResponseMetdata ¶ added in v0.12.0
func (r *DescribeExportImageTasksResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeExportImageTasks request.
type DescribeExportTasksInput ¶
type DescribeExportTasksInput struct { // The export task IDs. ExportTaskIds []string `locationName:"exportTaskId" locationNameList:"ExportTaskId" type:"list"` // contains filtered or unexported fields }
func (DescribeExportTasksInput) String ¶
func (s DescribeExportTasksInput) String() string
String returns the string representation
type DescribeExportTasksOutput ¶
type DescribeExportTasksOutput struct { // Information about the export tasks. ExportTasks []ExportTask `locationName:"exportTaskSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeExportTasksOutput) String ¶
func (s DescribeExportTasksOutput) String() string
String returns the string representation
type DescribeExportTasksRequest ¶
type DescribeExportTasksRequest struct { *aws.Request Input *DescribeExportTasksInput Copy func(*DescribeExportTasksInput) DescribeExportTasksRequest }
DescribeExportTasksRequest is the request type for the DescribeExportTasks API operation.
func (DescribeExportTasksRequest) Send ¶
func (r DescribeExportTasksRequest) Send(ctx context.Context) (*DescribeExportTasksResponse, error)
Send marshals and sends the DescribeExportTasks API request.
type DescribeExportTasksResponse ¶ added in v0.9.0
type DescribeExportTasksResponse struct { *DescribeExportTasksOutput // contains filtered or unexported fields }
DescribeExportTasksResponse is the response type for the DescribeExportTasks API operation.
func (*DescribeExportTasksResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeExportTasksResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeExportTasks request.
type DescribeFleetError ¶ added in v0.6.0
type DescribeFleetError struct { // The error code that indicates why the instance could not be launched. For // more information about error codes, see Error Codes (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html). ErrorCode *string `locationName:"errorCode" type:"string"` // The error message that describes why the instance could not be launched. // For more information about error messages, see ee Error Codes (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html). ErrorMessage *string `locationName:"errorMessage" type:"string"` // The launch templates and overrides that were used for launching the instances. // Any parameters that you specify in the Overrides override the same parameters // in the launch template. LaunchTemplateAndOverrides *LaunchTemplateAndOverridesResponse `locationName:"launchTemplateAndOverrides" type:"structure"` // Indicates if the instance that could not be launched was a Spot Instance // or On-Demand Instance. Lifecycle InstanceLifecycle `locationName:"lifecycle" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the instances that could not be launched by the fleet.
func (DescribeFleetError) String ¶ added in v0.6.0
func (s DescribeFleetError) String() string
String returns the string representation
type DescribeFleetHistoryInput ¶ added in v0.4.0
type DescribeFleetHistoryInput 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 type of events to describe. By default, all events are described. EventType FleetEventType `type:"string" enum:"true"` // The ID of the EC2 Fleet. // // FleetId is a required field FleetId *string `type:"string" required:"true"` // The maximum number of results to return in a single call. Specify a value // between 1 and 1000. The default value is 1000. To retrieve the remaining // results, make another call with the returned NextToken value. MaxResults *int64 `type:"integer"` // The token for the next set of results. NextToken *string `type:"string"` // The start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). // // StartTime is a required field StartTime *time.Time `type:"timestamp" required:"true"` // contains filtered or unexported fields }
func (DescribeFleetHistoryInput) String ¶ added in v0.4.0
func (s DescribeFleetHistoryInput) String() string
String returns the string representation
func (*DescribeFleetHistoryInput) Validate ¶ added in v0.4.0
func (s *DescribeFleetHistoryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeFleetHistoryOutput ¶ added in v0.4.0
type DescribeFleetHistoryOutput struct { // The ID of the EC Fleet. FleetId *string `locationName:"fleetId" type:"string"` // Information about the events in the history of the EC2 Fleet. HistoryRecords []HistoryRecordEntry `locationName:"historyRecordSet" locationNameList:"item" type:"list"` // The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). // All records up to this time were retrieved. // // If nextToken indicates that there are more results, this value is not present. LastEvaluatedTime *time.Time `locationName:"lastEvaluatedTime" type:"timestamp"` // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // The start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). StartTime *time.Time `locationName:"startTime" type:"timestamp"` // contains filtered or unexported fields }
func (DescribeFleetHistoryOutput) String ¶ added in v0.4.0
func (s DescribeFleetHistoryOutput) String() string
String returns the string representation
type DescribeFleetHistoryRequest ¶ added in v0.4.0
type DescribeFleetHistoryRequest struct { *aws.Request Input *DescribeFleetHistoryInput Copy func(*DescribeFleetHistoryInput) DescribeFleetHistoryRequest }
DescribeFleetHistoryRequest is the request type for the DescribeFleetHistory API operation.
func (DescribeFleetHistoryRequest) Send ¶ added in v0.4.0
func (r DescribeFleetHistoryRequest) Send(ctx context.Context) (*DescribeFleetHistoryResponse, error)
Send marshals and sends the DescribeFleetHistory API request.
type DescribeFleetHistoryResponse ¶ added in v0.9.0
type DescribeFleetHistoryResponse struct { *DescribeFleetHistoryOutput // contains filtered or unexported fields }
DescribeFleetHistoryResponse is the response type for the DescribeFleetHistory API operation.
func (*DescribeFleetHistoryResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeFleetHistoryResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeFleetHistory request.
type DescribeFleetInstancesInput ¶ added in v0.4.0
type DescribeFleetInstancesInput 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 filters. // // * instance-type - The instance type. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The ID of the EC2 Fleet. // // FleetId is a required field FleetId *string `type:"string" required:"true"` // The maximum number of results to return in a single call. Specify a value // between 1 and 1000. The default value is 1000. To retrieve the remaining // results, make another call with the returned NextToken value. MaxResults *int64 `type:"integer"` // The token for the next set of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeFleetInstancesInput) String ¶ added in v0.4.0
func (s DescribeFleetInstancesInput) String() string
String returns the string representation
func (*DescribeFleetInstancesInput) Validate ¶ added in v0.4.0
func (s *DescribeFleetInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeFleetInstancesOutput ¶ added in v0.4.0
type DescribeFleetInstancesOutput struct { // The running instances. This list is refreshed periodically and might be out // of date. ActiveInstances []ActiveInstance `locationName:"activeInstanceSet" locationNameList:"item" type:"list"` // The ID of the EC2 Fleet. FleetId *string `locationName:"fleetId" type:"string"` // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeFleetInstancesOutput) String ¶ added in v0.4.0
func (s DescribeFleetInstancesOutput) String() string
String returns the string representation
type DescribeFleetInstancesRequest ¶ added in v0.4.0
type DescribeFleetInstancesRequest struct { *aws.Request Input *DescribeFleetInstancesInput Copy func(*DescribeFleetInstancesInput) DescribeFleetInstancesRequest }
DescribeFleetInstancesRequest is the request type for the DescribeFleetInstances API operation.
func (DescribeFleetInstancesRequest) Send ¶ added in v0.4.0
func (r DescribeFleetInstancesRequest) Send(ctx context.Context) (*DescribeFleetInstancesResponse, error)
Send marshals and sends the DescribeFleetInstances API request.
type DescribeFleetInstancesResponse ¶ added in v0.9.0
type DescribeFleetInstancesResponse struct { *DescribeFleetInstancesOutput // contains filtered or unexported fields }
DescribeFleetInstancesResponse is the response type for the DescribeFleetInstances API operation.
func (*DescribeFleetInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeFleetInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeFleetInstances request.
type DescribeFleetsInput ¶ added in v0.4.0
type DescribeFleetsInput 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 filters. // // * activity-status - The progress of the EC2 Fleet ( error | pending-fulfillment // | pending-termination | fulfilled). // // * excess-capacity-termination-policy - Indicates whether to terminate // running instances if the target capacity is decreased below the current // EC2 Fleet size (true | false). // // * fleet-state - The state of the EC2 Fleet (submitted | active | deleted // | failed | deleted-running | deleted-terminating | modifying). // // * replace-unhealthy-instances - Indicates whether EC2 Fleet should replace // unhealthy instances (true | false). // // * type - The type of request (instant | request | maintain). Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The ID of the EC2 Fleets. FleetIds []string `locationName:"FleetId" type:"list"` // The maximum number of results to return in a single call. Specify a value // between 1 and 1000. The default value is 1000. To retrieve the remaining // results, make another call with the returned NextToken value. MaxResults *int64 `type:"integer"` // The token for the next set of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeFleetsInput) String ¶ added in v0.4.0
func (s DescribeFleetsInput) String() string
String returns the string representation
type DescribeFleetsInstances ¶ added in v0.6.0
type DescribeFleetsInstances struct { // The IDs of the instances. InstanceIds []string `locationName:"instanceIds" locationNameList:"item" type:"list"` // The instance type. InstanceType InstanceType `locationName:"instanceType" type:"string" enum:"true"` // The launch templates and overrides that were used for launching the instances. // Any parameters that you specify in the Overrides override the same parameters // in the launch template. LaunchTemplateAndOverrides *LaunchTemplateAndOverridesResponse `locationName:"launchTemplateAndOverrides" type:"structure"` // Indicates if the instance that was launched is a Spot Instance or On-Demand // Instance. Lifecycle InstanceLifecycle `locationName:"lifecycle" type:"string" enum:"true"` // The value is Windows for Windows instances; otherwise blank. Platform PlatformValues `locationName:"platform" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the instances that were launched by the fleet.
func (DescribeFleetsInstances) String ¶ added in v0.6.0
func (s DescribeFleetsInstances) String() string
String returns the string representation
type DescribeFleetsOutput ¶ added in v0.4.0
type DescribeFleetsOutput struct { // Information about the EC2 Fleets. Fleets []FleetData `locationName:"fleetSet" locationNameList:"item" type:"list"` // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeFleetsOutput) String ¶ added in v0.4.0
func (s DescribeFleetsOutput) String() string
String returns the string representation
type DescribeFleetsPaginator ¶ added in v0.9.0
DescribeFleetsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeFleetsPaginator ¶ added in v0.9.0
func NewDescribeFleetsPaginator(req DescribeFleetsRequest) DescribeFleetsPaginator
NewDescribeFleetsRequestPaginator returns a paginator for DescribeFleets. 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.DescribeFleetsRequest(input) p := ec2.NewDescribeFleetsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeFleetsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeFleetsPaginator) CurrentPage() *DescribeFleetsOutput
type DescribeFleetsRequest ¶ added in v0.4.0
type DescribeFleetsRequest struct { *aws.Request Input *DescribeFleetsInput Copy func(*DescribeFleetsInput) DescribeFleetsRequest }
DescribeFleetsRequest is the request type for the DescribeFleets API operation.
func (DescribeFleetsRequest) Send ¶ added in v0.4.0
func (r DescribeFleetsRequest) Send(ctx context.Context) (*DescribeFleetsResponse, error)
Send marshals and sends the DescribeFleets API request.
type DescribeFleetsResponse ¶ added in v0.9.0
type DescribeFleetsResponse struct { *DescribeFleetsOutput // contains filtered or unexported fields }
DescribeFleetsResponse is the response type for the DescribeFleets API operation.
func (*DescribeFleetsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeFleetsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeFleets request.
type DescribeFlowLogsInput ¶
type DescribeFlowLogsInput 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"` // One or more filters. // // * deliver-log-status - The status of the logs delivery (SUCCESS | FAILED). // // * log-destination-type - The type of destination to which the flow log // publishes data. Possible destination types include cloud-watch-logs and // S3. // // * flow-log-id - The ID of the flow log. // // * log-group-name - The name of the log group. // // * resource-id - The ID of the VPC, subnet, or network interface. // // * traffic-type - The type of traffic (ACCEPT | REJECT | ALL). Filter []Filter `locationNameList:"Filter" type:"list"` // One or more flow log IDs. // // Constraint: Maximum of 1000 flow log IDs. FlowLogIds []string `locationName:"FlowLogId" locationNameList:"item" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeFlowLogsInput) String ¶
func (s DescribeFlowLogsInput) String() string
String returns the string representation
type DescribeFlowLogsOutput ¶
type DescribeFlowLogsOutput struct { // Information about the flow logs. FlowLogs []FlowLog `locationName:"flowLogSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeFlowLogsOutput) String ¶
func (s DescribeFlowLogsOutput) String() string
String returns the string representation
type DescribeFlowLogsPaginator ¶ added in v0.9.0
DescribeFlowLogsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeFlowLogsPaginator ¶ added in v0.9.0
func NewDescribeFlowLogsPaginator(req DescribeFlowLogsRequest) DescribeFlowLogsPaginator
NewDescribeFlowLogsRequestPaginator returns a paginator for DescribeFlowLogs. 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.DescribeFlowLogsRequest(input) p := ec2.NewDescribeFlowLogsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeFlowLogsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeFlowLogsPaginator) CurrentPage() *DescribeFlowLogsOutput
type DescribeFlowLogsRequest ¶
type DescribeFlowLogsRequest struct { *aws.Request Input *DescribeFlowLogsInput Copy func(*DescribeFlowLogsInput) DescribeFlowLogsRequest }
DescribeFlowLogsRequest is the request type for the DescribeFlowLogs API operation.
func (DescribeFlowLogsRequest) Send ¶
func (r DescribeFlowLogsRequest) Send(ctx context.Context) (*DescribeFlowLogsResponse, error)
Send marshals and sends the DescribeFlowLogs API request.
type DescribeFlowLogsResponse ¶ added in v0.9.0
type DescribeFlowLogsResponse struct { *DescribeFlowLogsOutput // contains filtered or unexported fields }
DescribeFlowLogsResponse is the response type for the DescribeFlowLogs API operation.
func (*DescribeFlowLogsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeFlowLogsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeFlowLogs request.
type DescribeFpgaImageAttributeInput ¶
type DescribeFpgaImageAttributeInput struct { // The AFI attribute. // // Attribute is a required field Attribute FpgaImageAttributeName `type:"string" required:"true" enum:"true"` // 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 AFI. // // FpgaImageId is a required field FpgaImageId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeFpgaImageAttributeInput) String ¶
func (s DescribeFpgaImageAttributeInput) String() string
String returns the string representation
func (*DescribeFpgaImageAttributeInput) Validate ¶
func (s *DescribeFpgaImageAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeFpgaImageAttributeOutput ¶
type DescribeFpgaImageAttributeOutput struct { // Information about the attribute. FpgaImageAttribute *FpgaImageAttribute `locationName:"fpgaImageAttribute" type:"structure"` // contains filtered or unexported fields }
func (DescribeFpgaImageAttributeOutput) String ¶
func (s DescribeFpgaImageAttributeOutput) String() string
String returns the string representation
type DescribeFpgaImageAttributeRequest ¶
type DescribeFpgaImageAttributeRequest struct { *aws.Request Input *DescribeFpgaImageAttributeInput Copy func(*DescribeFpgaImageAttributeInput) DescribeFpgaImageAttributeRequest }
DescribeFpgaImageAttributeRequest is the request type for the DescribeFpgaImageAttribute API operation.
func (DescribeFpgaImageAttributeRequest) Send ¶
func (r DescribeFpgaImageAttributeRequest) Send(ctx context.Context) (*DescribeFpgaImageAttributeResponse, error)
Send marshals and sends the DescribeFpgaImageAttribute API request.
type DescribeFpgaImageAttributeResponse ¶ added in v0.9.0
type DescribeFpgaImageAttributeResponse struct { *DescribeFpgaImageAttributeOutput // contains filtered or unexported fields }
DescribeFpgaImageAttributeResponse is the response type for the DescribeFpgaImageAttribute API operation.
func (*DescribeFpgaImageAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeFpgaImageAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeFpgaImageAttribute request.
type DescribeFpgaImagesInput ¶
type DescribeFpgaImagesInput 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 filters. // // * create-time - The creation time of the AFI. // // * fpga-image-id - The FPGA image identifier (AFI ID). // // * fpga-image-global-id - The global FPGA image identifier (AGFI ID). // // * name - The name of the AFI. // // * owner-id - The AWS account ID of the AFI owner. // // * product-code - The product code. // // * shell-version - The version of the AWS Shell that was used to create // the bitstream. // // * state - The state of the AFI (pending | failed | available | unavailable). // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * update-time - The time of the most recent update. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The AFI IDs. FpgaImageIds []string `locationName:"FpgaImageId" locationNameList:"item" type:"list"` // The maximum number of results to return in a single call. MaxResults *int64 `min:"5" type:"integer"` // The token to retrieve the next page of results. NextToken *string `type:"string"` // Filters the AFI by owner. Specify an AWS account ID, self (owner is the sender // of the request), or an AWS owner alias (valid values are amazon | aws-marketplace). Owners []string `locationName:"Owner" locationNameList:"Owner" type:"list"` // contains filtered or unexported fields }
func (DescribeFpgaImagesInput) String ¶
func (s DescribeFpgaImagesInput) String() string
String returns the string representation
func (*DescribeFpgaImagesInput) Validate ¶
func (s *DescribeFpgaImagesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeFpgaImagesOutput ¶
type DescribeFpgaImagesOutput struct { // Information about the FPGA images. FpgaImages []FpgaImage `locationName:"fpgaImageSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeFpgaImagesOutput) String ¶
func (s DescribeFpgaImagesOutput) String() string
String returns the string representation
type DescribeFpgaImagesPaginator ¶ added in v0.9.0
DescribeFpgaImagesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeFpgaImagesPaginator ¶ added in v0.9.0
func NewDescribeFpgaImagesPaginator(req DescribeFpgaImagesRequest) DescribeFpgaImagesPaginator
NewDescribeFpgaImagesRequestPaginator returns a paginator for DescribeFpgaImages. 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.DescribeFpgaImagesRequest(input) p := ec2.NewDescribeFpgaImagesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeFpgaImagesPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeFpgaImagesPaginator) CurrentPage() *DescribeFpgaImagesOutput
type DescribeFpgaImagesRequest ¶
type DescribeFpgaImagesRequest struct { *aws.Request Input *DescribeFpgaImagesInput Copy func(*DescribeFpgaImagesInput) DescribeFpgaImagesRequest }
DescribeFpgaImagesRequest is the request type for the DescribeFpgaImages API operation.
func (DescribeFpgaImagesRequest) Send ¶
func (r DescribeFpgaImagesRequest) Send(ctx context.Context) (*DescribeFpgaImagesResponse, error)
Send marshals and sends the DescribeFpgaImages API request.
type DescribeFpgaImagesResponse ¶ added in v0.9.0
type DescribeFpgaImagesResponse struct { *DescribeFpgaImagesOutput // contains filtered or unexported fields }
DescribeFpgaImagesResponse is the response type for the DescribeFpgaImages API operation.
func (*DescribeFpgaImagesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeFpgaImagesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeFpgaImages request.
type DescribeHostReservationOfferingsInput ¶
type DescribeHostReservationOfferingsInput struct { // The filters. // // * instance-family - The instance family of the offering (for example, // m4). // // * payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront). Filter []Filter `locationNameList:"Filter" type:"list"` // This is the maximum duration of the reservation to purchase, specified in // seconds. Reservations are available in one-year and three-year terms. The // number of seconds specified must be the number of seconds in a year (365x24x60x60) // times one of the supported durations (1 or 3). For example, specify 94608000 // for three years. MaxDuration *int64 `type:"integer"` // The maximum number of results to return for the request in a single page. // The remaining results can be seen by sending another request with the returned // nextToken value. This value can be between 5 and 500. If maxResults is given // a larger value than 500, you receive an error. MaxResults *int64 `min:"5" type:"integer"` // This is the minimum duration of the reservation you'd like to purchase, specified // in seconds. Reservations are available in one-year and three-year terms. // The number of seconds specified must be the number of seconds in a year (365x24x60x60) // times one of the supported durations (1 or 3). For example, specify 31536000 // for one year. MinDuration *int64 `type:"integer"` // The token to use to retrieve the next page of results. NextToken *string `type:"string"` // The ID of the reservation offering. OfferingId *string `type:"string"` // contains filtered or unexported fields }
func (DescribeHostReservationOfferingsInput) String ¶
func (s DescribeHostReservationOfferingsInput) String() string
String returns the string representation
func (*DescribeHostReservationOfferingsInput) Validate ¶ added in v0.8.0
func (s *DescribeHostReservationOfferingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeHostReservationOfferingsOutput ¶
type DescribeHostReservationOfferingsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the offerings. OfferingSet []HostOffering `locationName:"offeringSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeHostReservationOfferingsOutput) String ¶
func (s DescribeHostReservationOfferingsOutput) String() string
String returns the string representation
type DescribeHostReservationOfferingsPaginator ¶ added in v0.9.0
DescribeHostReservationOfferingsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeHostReservationOfferingsPaginator ¶ added in v0.9.0
func NewDescribeHostReservationOfferingsPaginator(req DescribeHostReservationOfferingsRequest) DescribeHostReservationOfferingsPaginator
NewDescribeHostReservationOfferingsRequestPaginator returns a paginator for DescribeHostReservationOfferings. 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.DescribeHostReservationOfferingsRequest(input) p := ec2.NewDescribeHostReservationOfferingsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeHostReservationOfferingsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeHostReservationOfferingsPaginator) CurrentPage() *DescribeHostReservationOfferingsOutput
type DescribeHostReservationOfferingsRequest ¶
type DescribeHostReservationOfferingsRequest struct { *aws.Request Input *DescribeHostReservationOfferingsInput Copy func(*DescribeHostReservationOfferingsInput) DescribeHostReservationOfferingsRequest }
DescribeHostReservationOfferingsRequest is the request type for the DescribeHostReservationOfferings API operation.
func (DescribeHostReservationOfferingsRequest) Send ¶
func (r DescribeHostReservationOfferingsRequest) Send(ctx context.Context) (*DescribeHostReservationOfferingsResponse, error)
Send marshals and sends the DescribeHostReservationOfferings API request.
type DescribeHostReservationOfferingsResponse ¶ added in v0.9.0
type DescribeHostReservationOfferingsResponse struct { *DescribeHostReservationOfferingsOutput // contains filtered or unexported fields }
DescribeHostReservationOfferingsResponse is the response type for the DescribeHostReservationOfferings API operation.
func (*DescribeHostReservationOfferingsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeHostReservationOfferingsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeHostReservationOfferings request.
type DescribeHostReservationsInput ¶
type DescribeHostReservationsInput struct { // The filters. // // * instance-family - The instance family (for example, m4). // // * payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront). // // * state - The state of the reservation (payment-pending | payment-failed // | active | retired). // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. Filter []Filter `locationNameList:"Filter" type:"list"` // The host reservation IDs. HostReservationIdSet []string `locationNameList:"item" type:"list"` // The maximum number of results to return for the request in a single page. // The remaining results can be seen by sending another request with the returned // nextToken value. This value can be between 5 and 500. If maxResults is given // a larger value than 500, you receive an error. MaxResults *int64 `type:"integer"` // The token to use to retrieve the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeHostReservationsInput) String ¶
func (s DescribeHostReservationsInput) String() string
String returns the string representation
type DescribeHostReservationsOutput ¶
type DescribeHostReservationsOutput struct { // Details about the reservation's configuration. HostReservationSet []HostReservation `locationName:"hostReservationSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeHostReservationsOutput) String ¶
func (s DescribeHostReservationsOutput) String() string
String returns the string representation
type DescribeHostReservationsPaginator ¶ added in v0.9.0
DescribeHostReservationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeHostReservationsPaginator ¶ added in v0.9.0
func NewDescribeHostReservationsPaginator(req DescribeHostReservationsRequest) DescribeHostReservationsPaginator
NewDescribeHostReservationsRequestPaginator returns a paginator for DescribeHostReservations. 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.DescribeHostReservationsRequest(input) p := ec2.NewDescribeHostReservationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeHostReservationsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeHostReservationsPaginator) CurrentPage() *DescribeHostReservationsOutput
type DescribeHostReservationsRequest ¶
type DescribeHostReservationsRequest struct { *aws.Request Input *DescribeHostReservationsInput Copy func(*DescribeHostReservationsInput) DescribeHostReservationsRequest }
DescribeHostReservationsRequest is the request type for the DescribeHostReservations API operation.
func (DescribeHostReservationsRequest) Send ¶
func (r DescribeHostReservationsRequest) Send(ctx context.Context) (*DescribeHostReservationsResponse, error)
Send marshals and sends the DescribeHostReservations API request.
type DescribeHostReservationsResponse ¶ added in v0.9.0
type DescribeHostReservationsResponse struct { *DescribeHostReservationsOutput // contains filtered or unexported fields }
DescribeHostReservationsResponse is the response type for the DescribeHostReservations API operation.
func (*DescribeHostReservationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeHostReservationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeHostReservations request.
type DescribeHostsInput ¶
type DescribeHostsInput struct { // The filters. // // * auto-placement - Whether auto-placement is enabled or disabled (on | // off). // // * availability-zone - The Availability Zone of the host. // // * client-token - The idempotency token that you provided when you allocated // the host. // // * host-reservation-id - The ID of the reservation assigned to this host. // // * instance-type - The instance type size that the Dedicated Host is configured // to support. // // * state - The allocation state of the Dedicated Host (available | under-assessment // | permanent-failure | released | released-permanent-failure). // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. Filter []Filter `locationName:"filter" locationNameList:"Filter" type:"list"` // The IDs of the Dedicated Hosts. The IDs are used for targeted instance launches. HostIds []string `locationName:"hostId" locationNameList:"item" type:"list"` // The maximum number of results to return for the request in a single page. // The remaining results can be seen by sending another request with the returned // nextToken value. This value can be between 5 and 500. If maxResults is given // a larger value than 500, you receive an error. // // You cannot specify this parameter and the host IDs parameter in the same // request. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to use to retrieve the next page of results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeHostsInput) String ¶
func (s DescribeHostsInput) String() string
String returns the string representation
type DescribeHostsOutput ¶
type DescribeHostsOutput struct { // Information about the Dedicated Hosts. Hosts []Host `locationName:"hostSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeHostsOutput) String ¶
func (s DescribeHostsOutput) String() string
String returns the string representation
type DescribeHostsPaginator ¶ added in v0.9.0
DescribeHostsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeHostsPaginator ¶ added in v0.9.0
func NewDescribeHostsPaginator(req DescribeHostsRequest) DescribeHostsPaginator
NewDescribeHostsRequestPaginator returns a paginator for DescribeHosts. 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.DescribeHostsRequest(input) p := ec2.NewDescribeHostsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeHostsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeHostsPaginator) CurrentPage() *DescribeHostsOutput
type DescribeHostsRequest ¶
type DescribeHostsRequest struct { *aws.Request Input *DescribeHostsInput Copy func(*DescribeHostsInput) DescribeHostsRequest }
DescribeHostsRequest is the request type for the DescribeHosts API operation.
func (DescribeHostsRequest) Send ¶
func (r DescribeHostsRequest) Send(ctx context.Context) (*DescribeHostsResponse, error)
Send marshals and sends the DescribeHosts API request.
type DescribeHostsResponse ¶ added in v0.9.0
type DescribeHostsResponse struct { *DescribeHostsOutput // contains filtered or unexported fields }
DescribeHostsResponse is the response type for the DescribeHosts API operation.
func (*DescribeHostsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeHostsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeHosts request.
type DescribeIamInstanceProfileAssociationsInput ¶
type DescribeIamInstanceProfileAssociationsInput struct { // The IAM instance profile associations. AssociationIds []string `locationName:"AssociationId" locationNameList:"AssociationId" type:"list"` // The filters. // // * instance-id - The ID of the instance. // // * state - The state of the association (associating | associated | disassociating // | disassociated). Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token to request the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeIamInstanceProfileAssociationsInput) String ¶
func (s DescribeIamInstanceProfileAssociationsInput) String() string
String returns the string representation
func (*DescribeIamInstanceProfileAssociationsInput) Validate ¶
func (s *DescribeIamInstanceProfileAssociationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeIamInstanceProfileAssociationsOutput ¶
type DescribeIamInstanceProfileAssociationsOutput struct { // Information about the IAM instance profile associations. IamInstanceProfileAssociations []IamInstanceProfileAssociation `locationName:"iamInstanceProfileAssociationSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeIamInstanceProfileAssociationsOutput) String ¶
func (s DescribeIamInstanceProfileAssociationsOutput) String() string
String returns the string representation
type DescribeIamInstanceProfileAssociationsPaginator ¶ added in v0.9.0
DescribeIamInstanceProfileAssociationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeIamInstanceProfileAssociationsPaginator ¶ added in v0.9.0
func NewDescribeIamInstanceProfileAssociationsPaginator(req DescribeIamInstanceProfileAssociationsRequest) DescribeIamInstanceProfileAssociationsPaginator
NewDescribeIamInstanceProfileAssociationsRequestPaginator returns a paginator for DescribeIamInstanceProfileAssociations. 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.DescribeIamInstanceProfileAssociationsRequest(input) p := ec2.NewDescribeIamInstanceProfileAssociationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeIamInstanceProfileAssociationsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeIamInstanceProfileAssociationsPaginator) CurrentPage() *DescribeIamInstanceProfileAssociationsOutput
type DescribeIamInstanceProfileAssociationsRequest ¶
type DescribeIamInstanceProfileAssociationsRequest struct { *aws.Request Input *DescribeIamInstanceProfileAssociationsInput Copy func(*DescribeIamInstanceProfileAssociationsInput) DescribeIamInstanceProfileAssociationsRequest }
DescribeIamInstanceProfileAssociationsRequest is the request type for the DescribeIamInstanceProfileAssociations API operation.
func (DescribeIamInstanceProfileAssociationsRequest) Send ¶
func (r DescribeIamInstanceProfileAssociationsRequest) Send(ctx context.Context) (*DescribeIamInstanceProfileAssociationsResponse, error)
Send marshals and sends the DescribeIamInstanceProfileAssociations API request.
type DescribeIamInstanceProfileAssociationsResponse ¶ added in v0.9.0
type DescribeIamInstanceProfileAssociationsResponse struct { *DescribeIamInstanceProfileAssociationsOutput // contains filtered or unexported fields }
DescribeIamInstanceProfileAssociationsResponse is the response type for the DescribeIamInstanceProfileAssociations API operation.
func (*DescribeIamInstanceProfileAssociationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeIamInstanceProfileAssociationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeIamInstanceProfileAssociations request.
type DescribeIdFormatInput ¶
type DescribeIdFormatInput struct { // The type of resource: bundle | conversion-task | customer-gateway | dhcp-options // | elastic-ip-allocation | elastic-ip-association | export-task | flow-log // | image | import-task | instance | internet-gateway | network-acl | network-acl-association // | network-interface | network-interface-attachment | prefix-list | reservation // | route-table | route-table-association | security-group | snapshot | subnet // | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association // | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway Resource *string `type:"string"` // contains filtered or unexported fields }
func (DescribeIdFormatInput) String ¶
func (s DescribeIdFormatInput) String() string
String returns the string representation
type DescribeIdFormatOutput ¶
type DescribeIdFormatOutput struct { // Information about the ID format for the resource. Statuses []IdFormat `locationName:"statusSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeIdFormatOutput) String ¶
func (s DescribeIdFormatOutput) String() string
String returns the string representation
type DescribeIdFormatRequest ¶
type DescribeIdFormatRequest struct { *aws.Request Input *DescribeIdFormatInput Copy func(*DescribeIdFormatInput) DescribeIdFormatRequest }
DescribeIdFormatRequest is the request type for the DescribeIdFormat API operation.
func (DescribeIdFormatRequest) Send ¶
func (r DescribeIdFormatRequest) Send(ctx context.Context) (*DescribeIdFormatResponse, error)
Send marshals and sends the DescribeIdFormat API request.
type DescribeIdFormatResponse ¶ added in v0.9.0
type DescribeIdFormatResponse struct { *DescribeIdFormatOutput // contains filtered or unexported fields }
DescribeIdFormatResponse is the response type for the DescribeIdFormat API operation.
func (*DescribeIdFormatResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeIdFormatResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeIdFormat request.
type DescribeIdentityIdFormatInput ¶
type DescribeIdentityIdFormatInput struct { // The ARN of the principal, which can be an IAM role, IAM user, or the root // user. // // PrincipalArn is a required field PrincipalArn *string `locationName:"principalArn" type:"string" required:"true"` // The type of resource: bundle | conversion-task | customer-gateway | dhcp-options // | elastic-ip-allocation | elastic-ip-association | export-task | flow-log // | image | import-task | instance | internet-gateway | network-acl | network-acl-association // | network-interface | network-interface-attachment | prefix-list | reservation // | route-table | route-table-association | security-group | snapshot | subnet // | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association // | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway Resource *string `locationName:"resource" type:"string"` // contains filtered or unexported fields }
func (DescribeIdentityIdFormatInput) String ¶
func (s DescribeIdentityIdFormatInput) String() string
String returns the string representation
func (*DescribeIdentityIdFormatInput) Validate ¶
func (s *DescribeIdentityIdFormatInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeIdentityIdFormatOutput ¶
type DescribeIdentityIdFormatOutput struct { // Information about the ID format for the resources. Statuses []IdFormat `locationName:"statusSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeIdentityIdFormatOutput) String ¶
func (s DescribeIdentityIdFormatOutput) String() string
String returns the string representation
type DescribeIdentityIdFormatRequest ¶
type DescribeIdentityIdFormatRequest struct { *aws.Request Input *DescribeIdentityIdFormatInput Copy func(*DescribeIdentityIdFormatInput) DescribeIdentityIdFormatRequest }
DescribeIdentityIdFormatRequest is the request type for the DescribeIdentityIdFormat API operation.
func (DescribeIdentityIdFormatRequest) Send ¶
func (r DescribeIdentityIdFormatRequest) Send(ctx context.Context) (*DescribeIdentityIdFormatResponse, error)
Send marshals and sends the DescribeIdentityIdFormat API request.
type DescribeIdentityIdFormatResponse ¶ added in v0.9.0
type DescribeIdentityIdFormatResponse struct { *DescribeIdentityIdFormatOutput // contains filtered or unexported fields }
DescribeIdentityIdFormatResponse is the response type for the DescribeIdentityIdFormat API operation.
func (*DescribeIdentityIdFormatResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeIdentityIdFormatResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeIdentityIdFormat request.
type DescribeImageAttributeInput ¶
type DescribeImageAttributeInput struct { // The AMI attribute. // // Note: Depending on your account privileges, the blockDeviceMapping attribute // may return a Client.AuthFailure error. If this happens, use DescribeImages // to get information about the block device mapping for the AMI. // // Attribute is a required field Attribute ImageAttributeName `type:"string" required:"true" enum:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the AMI. // // ImageId is a required field ImageId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DescribeImageAttribute.
func (DescribeImageAttributeInput) String ¶
func (s DescribeImageAttributeInput) String() string
String returns the string representation
func (*DescribeImageAttributeInput) Validate ¶
func (s *DescribeImageAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeImageAttributeOutput ¶
type DescribeImageAttributeOutput struct { // The block device mapping entries. BlockDeviceMappings []BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` // A description for the AMI. Description *AttributeValue `locationName:"description" type:"structure"` // The ID of the AMI. ImageId *string `locationName:"imageId" type:"string"` // The kernel ID. KernelId *AttributeValue `locationName:"kernel" type:"structure"` // The launch permissions. LaunchPermissions []LaunchPermission `locationName:"launchPermission" locationNameList:"item" type:"list"` // The product codes. ProductCodes []ProductCode `locationName:"productCodes" locationNameList:"item" type:"list"` // The RAM disk ID. RamdiskId *AttributeValue `locationName:"ramdisk" type:"structure"` // Indicates whether enhanced networking with the Intel 82599 Virtual Function // interface is enabled. SriovNetSupport *AttributeValue `locationName:"sriovNetSupport" type:"structure"` // contains filtered or unexported fields }
Describes an image attribute.
func (DescribeImageAttributeOutput) String ¶
func (s DescribeImageAttributeOutput) String() string
String returns the string representation
type DescribeImageAttributeRequest ¶
type DescribeImageAttributeRequest struct { *aws.Request Input *DescribeImageAttributeInput Copy func(*DescribeImageAttributeInput) DescribeImageAttributeRequest }
DescribeImageAttributeRequest is the request type for the DescribeImageAttribute API operation.
func (DescribeImageAttributeRequest) Send ¶
func (r DescribeImageAttributeRequest) Send(ctx context.Context) (*DescribeImageAttributeResponse, error)
Send marshals and sends the DescribeImageAttribute API request.
type DescribeImageAttributeResponse ¶ added in v0.9.0
type DescribeImageAttributeResponse struct { *DescribeImageAttributeOutput // contains filtered or unexported fields }
DescribeImageAttributeResponse is the response type for the DescribeImageAttribute API operation.
func (*DescribeImageAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeImageAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeImageAttribute request.
type DescribeImagesInput ¶
type DescribeImagesInput 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 `locationName:"dryRun" type:"boolean"` // Scopes the images by users with explicit launch permissions. Specify an AWS // account ID, self (the sender of the request), or all (public AMIs). ExecutableUsers []string `locationName:"ExecutableBy" locationNameList:"ExecutableBy" type:"list"` // The filters. // // * architecture - The image architecture (i386 | x86_64 | arm64). // // * block-device-mapping.delete-on-termination - A Boolean value that indicates // whether the Amazon EBS volume is deleted on instance termination. // // * block-device-mapping.device-name - The device name specified in the // block device mapping (for example, /dev/sdh or xvdh). // // * block-device-mapping.snapshot-id - The ID of the snapshot used for the // EBS volume. // // * block-device-mapping.volume-size - The volume size of the EBS volume, // in GiB. // // * block-device-mapping.volume-type - The volume type of the EBS volume // (gp2 | io1 | st1 | sc1 | standard). // // * block-device-mapping.encrypted - A Boolean that indicates whether the // EBS volume is encrypted. // // * description - The description of the image (provided during image creation). // // * ena-support - A Boolean that indicates whether enhanced networking with // ENA is enabled. // // * hypervisor - The hypervisor type (ovm | xen). // // * image-id - The ID of the image. // // * image-type - The image type (machine | kernel | ramdisk). // // * is-public - A Boolean that indicates whether the image is public. // // * kernel-id - The kernel ID. // // * manifest-location - The location of the image manifest. // // * name - The name of the AMI (provided during image creation). // // * owner-alias - String value from an Amazon-maintained list (amazon | // aws-marketplace | microsoft) of snapshot owners. Not to be confused with // the user-configured AWS account alias, which is set from the IAM console. // // * owner-id - The AWS account ID of the image owner. // // * platform - The platform. To only list Windows-based AMIs, use windows. // // * product-code - The product code. // // * product-code.type - The type of the product code (devpay | marketplace). // // * ramdisk-id - The RAM disk ID. // // * root-device-name - The device name of the root device volume (for example, // /dev/sda1). // // * root-device-type - The type of the root device volume (ebs | instance-store). // // * state - The state of the image (available | pending | failed). // // * state-reason-code - The reason code for the state change. // // * state-reason-message - The message for the state change. // // * sriov-net-support - A value of simple indicates that enhanced networking // with the Intel 82599 VF interface is enabled. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * virtualization-type - The virtualization type (paravirtual | hvm). Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The image IDs. // // Default: Describes all images available to you. ImageIds []string `locationName:"ImageId" locationNameList:"ImageId" type:"list"` // Filters the images by the owner. Specify an AWS account ID, self (owner is // the sender of the request), or an AWS owner alias (valid values are amazon // | aws-marketplace | microsoft). Omitting this option returns all images for // which you have launch permissions, regardless of ownership. Owners []string `locationName:"Owner" locationNameList:"Owner" type:"list"` // contains filtered or unexported fields }
func (DescribeImagesInput) String ¶
func (s DescribeImagesInput) String() string
String returns the string representation
type DescribeImagesOutput ¶
type DescribeImagesOutput struct { // Information about the images. Images []Image `locationName:"imagesSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeImagesOutput) String ¶
func (s DescribeImagesOutput) String() string
String returns the string representation
type DescribeImagesRequest ¶
type DescribeImagesRequest struct { *aws.Request Input *DescribeImagesInput Copy func(*DescribeImagesInput) DescribeImagesRequest }
DescribeImagesRequest is the request type for the DescribeImages API operation.
func (DescribeImagesRequest) Send ¶
func (r DescribeImagesRequest) Send(ctx context.Context) (*DescribeImagesResponse, error)
Send marshals and sends the DescribeImages API request.
type DescribeImagesResponse ¶ added in v0.9.0
type DescribeImagesResponse struct { *DescribeImagesOutput // contains filtered or unexported fields }
DescribeImagesResponse is the response type for the DescribeImages API operation.
func (*DescribeImagesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeImagesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeImages request.
type DescribeImportImageTasksInput ¶
type DescribeImportImageTasksInput 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"` // Filter tasks using the task-state filter and one of the following values: // active, completed, deleting, or deleted. Filters []Filter `locationNameList:"Filter" type:"list"` // The IDs of the import image tasks. ImportTaskIds []string `locationName:"ImportTaskId" locationNameList:"ImportTaskId" type:"list"` // The maximum number of results to return in a single call. MaxResults *int64 `type:"integer"` // A token that indicates the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeImportImageTasksInput) String ¶
func (s DescribeImportImageTasksInput) String() string
String returns the string representation
type DescribeImportImageTasksOutput ¶
type DescribeImportImageTasksOutput struct { // A list of zero or more import image tasks that are currently active or were // completed or canceled in the previous 7 days. ImportImageTasks []ImportImageTask `locationName:"importImageTaskSet" locationNameList:"item" type:"list"` // The token to use to get the next page of results. This value is null when // there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeImportImageTasksOutput) String ¶
func (s DescribeImportImageTasksOutput) String() string
String returns the string representation
type DescribeImportImageTasksPaginator ¶ added in v0.9.0
DescribeImportImageTasksPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeImportImageTasksPaginator ¶ added in v0.9.0
func NewDescribeImportImageTasksPaginator(req DescribeImportImageTasksRequest) DescribeImportImageTasksPaginator
NewDescribeImportImageTasksRequestPaginator returns a paginator for DescribeImportImageTasks. 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.DescribeImportImageTasksRequest(input) p := ec2.NewDescribeImportImageTasksRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeImportImageTasksPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeImportImageTasksPaginator) CurrentPage() *DescribeImportImageTasksOutput
type DescribeImportImageTasksRequest ¶
type DescribeImportImageTasksRequest struct { *aws.Request Input *DescribeImportImageTasksInput Copy func(*DescribeImportImageTasksInput) DescribeImportImageTasksRequest }
DescribeImportImageTasksRequest is the request type for the DescribeImportImageTasks API operation.
func (DescribeImportImageTasksRequest) Send ¶
func (r DescribeImportImageTasksRequest) Send(ctx context.Context) (*DescribeImportImageTasksResponse, error)
Send marshals and sends the DescribeImportImageTasks API request.
type DescribeImportImageTasksResponse ¶ added in v0.9.0
type DescribeImportImageTasksResponse struct { *DescribeImportImageTasksOutput // contains filtered or unexported fields }
DescribeImportImageTasksResponse is the response type for the DescribeImportImageTasks API operation.
func (*DescribeImportImageTasksResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeImportImageTasksResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeImportImageTasks request.
type DescribeImportSnapshotTasksInput ¶
type DescribeImportSnapshotTasksInput 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 filters. Filters []Filter `locationNameList:"Filter" type:"list"` // A list of import snapshot task IDs. ImportTaskIds []string `locationName:"ImportTaskId" locationNameList:"ImportTaskId" type:"list"` // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. MaxResults *int64 `type:"integer"` // A token that indicates the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeImportSnapshotTasksInput) String ¶
func (s DescribeImportSnapshotTasksInput) String() string
String returns the string representation
type DescribeImportSnapshotTasksOutput ¶
type DescribeImportSnapshotTasksOutput struct { // A list of zero or more import snapshot tasks that are currently active or // were completed or canceled in the previous 7 days. ImportSnapshotTasks []ImportSnapshotTask `locationName:"importSnapshotTaskSet" locationNameList:"item" type:"list"` // The token to use to get the next page of results. This value is null when // there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeImportSnapshotTasksOutput) String ¶
func (s DescribeImportSnapshotTasksOutput) String() string
String returns the string representation
type DescribeImportSnapshotTasksPaginator ¶ added in v0.9.0
DescribeImportSnapshotTasksPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeImportSnapshotTasksPaginator ¶ added in v0.9.0
func NewDescribeImportSnapshotTasksPaginator(req DescribeImportSnapshotTasksRequest) DescribeImportSnapshotTasksPaginator
NewDescribeImportSnapshotTasksRequestPaginator returns a paginator for DescribeImportSnapshotTasks. 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.DescribeImportSnapshotTasksRequest(input) p := ec2.NewDescribeImportSnapshotTasksRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeImportSnapshotTasksPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeImportSnapshotTasksPaginator) CurrentPage() *DescribeImportSnapshotTasksOutput
type DescribeImportSnapshotTasksRequest ¶
type DescribeImportSnapshotTasksRequest struct { *aws.Request Input *DescribeImportSnapshotTasksInput Copy func(*DescribeImportSnapshotTasksInput) DescribeImportSnapshotTasksRequest }
DescribeImportSnapshotTasksRequest is the request type for the DescribeImportSnapshotTasks API operation.
func (DescribeImportSnapshotTasksRequest) Send ¶
func (r DescribeImportSnapshotTasksRequest) Send(ctx context.Context) (*DescribeImportSnapshotTasksResponse, error)
Send marshals and sends the DescribeImportSnapshotTasks API request.
type DescribeImportSnapshotTasksResponse ¶ added in v0.9.0
type DescribeImportSnapshotTasksResponse struct { *DescribeImportSnapshotTasksOutput // contains filtered or unexported fields }
DescribeImportSnapshotTasksResponse is the response type for the DescribeImportSnapshotTasks API operation.
func (*DescribeImportSnapshotTasksResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeImportSnapshotTasksResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeImportSnapshotTasks request.
type DescribeInstanceAttributeInput ¶
type DescribeInstanceAttributeInput struct { // The instance attribute. // // Note: The enaSupport attribute is not supported at this time. // // Attribute is a required field Attribute InstanceAttributeName `locationName:"attribute" type:"string" required:"true" enum:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the instance. // // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeInstanceAttributeInput) String ¶
func (s DescribeInstanceAttributeInput) String() string
String returns the string representation
func (*DescribeInstanceAttributeInput) Validate ¶
func (s *DescribeInstanceAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeInstanceAttributeOutput ¶
type DescribeInstanceAttributeOutput struct { // The block device mapping of the instance. BlockDeviceMappings []InstanceBlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` // If the value is true, you can't terminate the instance through the Amazon // EC2 console, CLI, or API; otherwise, you can. DisableApiTermination *AttributeBooleanValue `locationName:"disableApiTermination" type:"structure"` // Indicates whether the instance is optimized for Amazon EBS I/O. EbsOptimized *AttributeBooleanValue `locationName:"ebsOptimized" type:"structure"` // Indicates whether enhanced networking with ENA is enabled. EnaSupport *AttributeBooleanValue `locationName:"enaSupport" type:"structure"` // The security groups associated with the instance. Groups []GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // Indicates whether an instance stops or terminates when you initiate shutdown // from the instance (using the operating system command for system shutdown). InstanceInitiatedShutdownBehavior *AttributeValue `locationName:"instanceInitiatedShutdownBehavior" type:"structure"` // The instance type. InstanceType *AttributeValue `locationName:"instanceType" type:"structure"` // The kernel ID. KernelId *AttributeValue `locationName:"kernel" type:"structure"` // A list of product codes. ProductCodes []ProductCode `locationName:"productCodes" locationNameList:"item" type:"list"` // The RAM disk ID. RamdiskId *AttributeValue `locationName:"ramdisk" type:"structure"` // The device name of the root device volume (for example, /dev/sda1). RootDeviceName *AttributeValue `locationName:"rootDeviceName" type:"structure"` // Indicates whether source/destination checking is enabled. A value of true // means that checking is enabled, and false means that checking is disabled. // This value must be false for a NAT instance to perform NAT. SourceDestCheck *AttributeBooleanValue `locationName:"sourceDestCheck" type:"structure"` // Indicates whether enhanced networking with the Intel 82599 Virtual Function // interface is enabled. SriovNetSupport *AttributeValue `locationName:"sriovNetSupport" type:"structure"` // The user data. UserData *AttributeValue `locationName:"userData" type:"structure"` // contains filtered or unexported fields }
Describes an instance attribute.
func (DescribeInstanceAttributeOutput) String ¶
func (s DescribeInstanceAttributeOutput) String() string
String returns the string representation
type DescribeInstanceAttributeRequest ¶
type DescribeInstanceAttributeRequest struct { *aws.Request Input *DescribeInstanceAttributeInput Copy func(*DescribeInstanceAttributeInput) DescribeInstanceAttributeRequest }
DescribeInstanceAttributeRequest is the request type for the DescribeInstanceAttribute API operation.
func (DescribeInstanceAttributeRequest) Send ¶
func (r DescribeInstanceAttributeRequest) Send(ctx context.Context) (*DescribeInstanceAttributeResponse, error)
Send marshals and sends the DescribeInstanceAttribute API request.
type DescribeInstanceAttributeResponse ¶ added in v0.9.0
type DescribeInstanceAttributeResponse struct { *DescribeInstanceAttributeOutput // contains filtered or unexported fields }
DescribeInstanceAttributeResponse is the response type for the DescribeInstanceAttribute API operation.
func (*DescribeInstanceAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeInstanceAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeInstanceAttribute request.
type DescribeInstanceCreditSpecificationsInput ¶ added in v0.2.0
type DescribeInstanceCreditSpecificationsInput 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 filters. // // * instance-id - The ID of the instance. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The instance IDs. // // Default: Describes all your instances. // // Constraints: Maximum 1000 explicitly specified instance IDs. InstanceIds []string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list"` // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. This // value can be between 5 and 1000. You cannot specify this parameter and the // instance IDs parameter in the same call. MaxResults *int64 `min:"5" type:"integer"` // The token to retrieve the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeInstanceCreditSpecificationsInput) String ¶ added in v0.2.0
func (s DescribeInstanceCreditSpecificationsInput) String() string
String returns the string representation
func (*DescribeInstanceCreditSpecificationsInput) Validate ¶ added in v0.8.0
func (s *DescribeInstanceCreditSpecificationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeInstanceCreditSpecificationsOutput ¶ added in v0.2.0
type DescribeInstanceCreditSpecificationsOutput struct { // Information about the credit option for CPU usage of an instance. InstanceCreditSpecifications []InstanceCreditSpecification `locationName:"instanceCreditSpecificationSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeInstanceCreditSpecificationsOutput) String ¶ added in v0.2.0
func (s DescribeInstanceCreditSpecificationsOutput) String() string
String returns the string representation
type DescribeInstanceCreditSpecificationsPaginator ¶ added in v0.9.0
DescribeInstanceCreditSpecificationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeInstanceCreditSpecificationsPaginator ¶ added in v0.9.0
func NewDescribeInstanceCreditSpecificationsPaginator(req DescribeInstanceCreditSpecificationsRequest) DescribeInstanceCreditSpecificationsPaginator
NewDescribeInstanceCreditSpecificationsRequestPaginator returns a paginator for DescribeInstanceCreditSpecifications. 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.DescribeInstanceCreditSpecificationsRequest(input) p := ec2.NewDescribeInstanceCreditSpecificationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeInstanceCreditSpecificationsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeInstanceCreditSpecificationsPaginator) CurrentPage() *DescribeInstanceCreditSpecificationsOutput
type DescribeInstanceCreditSpecificationsRequest ¶ added in v0.2.0
type DescribeInstanceCreditSpecificationsRequest struct { *aws.Request Input *DescribeInstanceCreditSpecificationsInput Copy func(*DescribeInstanceCreditSpecificationsInput) DescribeInstanceCreditSpecificationsRequest }
DescribeInstanceCreditSpecificationsRequest is the request type for the DescribeInstanceCreditSpecifications API operation.
func (DescribeInstanceCreditSpecificationsRequest) Send ¶ added in v0.2.0
func (r DescribeInstanceCreditSpecificationsRequest) Send(ctx context.Context) (*DescribeInstanceCreditSpecificationsResponse, error)
Send marshals and sends the DescribeInstanceCreditSpecifications API request.
type DescribeInstanceCreditSpecificationsResponse ¶ added in v0.9.0
type DescribeInstanceCreditSpecificationsResponse struct { *DescribeInstanceCreditSpecificationsOutput // contains filtered or unexported fields }
DescribeInstanceCreditSpecificationsResponse is the response type for the DescribeInstanceCreditSpecifications API operation.
func (*DescribeInstanceCreditSpecificationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeInstanceCreditSpecificationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeInstanceCreditSpecifications request.
type DescribeInstanceStatusInput ¶
type DescribeInstanceStatusInput 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 `locationName:"dryRun" type:"boolean"` // The filters. // // * availability-zone - The Availability Zone of the instance. // // * event.code - The code for the scheduled event (instance-reboot | system-reboot // | system-maintenance | instance-retirement | instance-stop). // // * event.description - A description of the event. // // * event.instance-event-id - The ID of the event whose date and time you // are modifying. // // * event.not-after - The latest end time for the scheduled event (for example, // 2014-09-15T17:15:20.000Z). // // * event.not-before - The earliest start time for the scheduled event (for // example, 2014-09-15T17:15:20.000Z). // // * event.not-before-deadline - The deadline for starting the event (for // example, 2014-09-15T17:15:20.000Z). // // * instance-state-code - The code for the instance state, as a 16-bit unsigned // integer. The high byte is used for internal purposes and should be ignored. // The low byte is set based on the state represented. The valid values are // 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), // and 80 (stopped). // // * instance-state-name - The state of the instance (pending | running | // shutting-down | terminated | stopping | stopped). // // * instance-status.reachability - Filters on instance status where the // name is reachability (passed | failed | initializing | insufficient-data). // // * instance-status.status - The status of the instance (ok | impaired | // initializing | insufficient-data | not-applicable). // // * system-status.reachability - Filters on system status where the name // is reachability (passed | failed | initializing | insufficient-data). // // * system-status.status - The system status of the instance (ok | impaired // | initializing | insufficient-data | not-applicable). Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // When true, includes the health status for all instances. When false, includes // the health status for running instances only. // // Default: false IncludeAllInstances *bool `locationName:"includeAllInstances" type:"boolean"` // The instance IDs. // // Default: Describes all your instances. // // Constraints: Maximum 100 explicitly specified instance IDs. InstanceIds []string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list"` // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. This // value can be between 5 and 1000. You cannot specify this parameter and the // instance IDs parameter in the same call. MaxResults *int64 `type:"integer"` // The token to retrieve the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeInstanceStatusInput) String ¶
func (s DescribeInstanceStatusInput) String() string
String returns the string representation
type DescribeInstanceStatusOutput ¶
type DescribeInstanceStatusOutput struct { // Information about the status of the instances. InstanceStatuses []InstanceStatus `locationName:"instanceStatusSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeInstanceStatusOutput) String ¶
func (s DescribeInstanceStatusOutput) String() string
String returns the string representation
type DescribeInstanceStatusPaginator ¶ added in v0.9.0
DescribeInstanceStatusPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeInstanceStatusPaginator ¶ added in v0.9.0
func NewDescribeInstanceStatusPaginator(req DescribeInstanceStatusRequest) DescribeInstanceStatusPaginator
NewDescribeInstanceStatusRequestPaginator returns a paginator for DescribeInstanceStatus. 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.DescribeInstanceStatusRequest(input) p := ec2.NewDescribeInstanceStatusRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeInstanceStatusPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeInstanceStatusPaginator) CurrentPage() *DescribeInstanceStatusOutput
type DescribeInstanceStatusRequest ¶
type DescribeInstanceStatusRequest struct { *aws.Request Input *DescribeInstanceStatusInput Copy func(*DescribeInstanceStatusInput) DescribeInstanceStatusRequest }
DescribeInstanceStatusRequest is the request type for the DescribeInstanceStatus API operation.
func (DescribeInstanceStatusRequest) Send ¶
func (r DescribeInstanceStatusRequest) Send(ctx context.Context) (*DescribeInstanceStatusResponse, error)
Send marshals and sends the DescribeInstanceStatus API request.
type DescribeInstanceStatusResponse ¶ added in v0.9.0
type DescribeInstanceStatusResponse struct { *DescribeInstanceStatusOutput // contains filtered or unexported fields }
DescribeInstanceStatusResponse is the response type for the DescribeInstanceStatus API operation.
func (*DescribeInstanceStatusResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeInstanceStatusResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeInstanceStatus request.
type DescribeInstancesInput ¶
type DescribeInstancesInput 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 `locationName:"dryRun" type:"boolean"` // The filters. // // * affinity - The affinity setting for an instance running on a Dedicated // Host (default | host). // // * architecture - The instance architecture (i386 | x86_64 | arm64). // // * availability-zone - The Availability Zone of the instance. // // * block-device-mapping.attach-time - The attach time for an EBS volume // mapped to the instance, for example, 2010-09-15T17:15:20.000Z. // // * block-device-mapping.delete-on-termination - A Boolean that indicates // whether the EBS volume is deleted on instance termination. // // * block-device-mapping.device-name - The device name specified in the // block device mapping (for example, /dev/sdh or xvdh). // // * block-device-mapping.status - The status for the EBS volume (attaching // | attached | detaching | detached). // // * block-device-mapping.volume-id - The volume ID of the EBS volume. // // * client-token - The idempotency token you provided when you launched // the instance. // // * dns-name - The public DNS name of the instance. // // * group-id - The ID of the security group for the instance. EC2-Classic // only. // // * group-name - The name of the security group for the instance. EC2-Classic // only. // // * hibernation-options.configured - A Boolean that indicates whether the // instance is enabled for hibernation. A value of true means that the instance // is enabled for hibernation. // // * host-id - The ID of the Dedicated Host on which the instance is running, // if applicable. // // * hypervisor - The hypervisor type of the instance (ovm | xen). // // * iam-instance-profile.arn - The instance profile associated with the // instance. Specified as an ARN. // // * image-id - The ID of the image used to launch the instance. // // * instance-id - The ID of the instance. // // * instance-lifecycle - Indicates whether this is a Spot Instance or a // Scheduled Instance (spot | scheduled). // // * instance-state-code - The state of the instance, as a 16-bit unsigned // integer. The high byte is used for internal purposes and should be ignored. // The low byte is set based on the state represented. The valid values are: // 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), // and 80 (stopped). // // * instance-state-name - The state of the instance (pending | running | // shutting-down | terminated | stopping | stopped). // // * instance-type - The type of instance (for example, t2.micro). // // * instance.group-id - The ID of the security group for the instance. // // * instance.group-name - The name of the security group for the instance. // // * ip-address - The public IPv4 address of the instance. // // * kernel-id - The kernel ID. // // * key-name - The name of the key pair used when the instance was launched. // // * launch-index - When launching multiple instances, this is the index // for the instance in the launch group (for example, 0, 1, 2, and so on). // // * launch-time - The time when the instance was launched. // // * monitoring-state - Indicates whether detailed monitoring is enabled // (disabled | enabled). // // * network-interface.addresses.private-ip-address - The private IPv4 address // associated with the network interface. // // * network-interface.addresses.primary - Specifies whether the IPv4 address // of the network interface is the primary private IPv4 address. // // * network-interface.addresses.association.public-ip - The ID of the association // of an Elastic IP address (IPv4) with a network interface. // // * network-interface.addresses.association.ip-owner-id - The owner ID of // the private IPv4 address associated with the network interface. // // * network-interface.association.public-ip - The address of the Elastic // IP address (IPv4) bound to the network interface. // // * network-interface.association.ip-owner-id - The owner of the Elastic // IP address (IPv4) associated with the network interface. // // * network-interface.association.allocation-id - The allocation ID returned // when you allocated the Elastic IP address (IPv4) for your network interface. // // * network-interface.association.association-id - The association ID returned // when the network interface was associated with an IPv4 address. // // * network-interface.attachment.attachment-id - The ID of the interface // attachment. // // * network-interface.attachment.instance-id - The ID of the instance to // which the network interface is attached. // // * network-interface.attachment.instance-owner-id - The owner ID of the // instance to which the network interface is attached. // // * network-interface.attachment.device-index - The device index to which // the network interface is attached. // // * network-interface.attachment.status - The status of the attachment (attaching // | attached | detaching | detached). // // * network-interface.attachment.attach-time - The time that the network // interface was attached to an instance. // // * network-interface.attachment.delete-on-termination - Specifies whether // the attachment is deleted when an instance is terminated. // // * network-interface.availability-zone - The Availability Zone for the // network interface. // // * network-interface.description - The description of the network interface. // // * network-interface.group-id - The ID of a security group associated with // the network interface. // // * network-interface.group-name - The name of a security group associated // with the network interface. // // * network-interface.ipv6-addresses.ipv6-address - The IPv6 address associated // with the network interface. // // * network-interface.mac-address - The MAC address of the network interface. // // * network-interface.network-interface-id - The ID of the network interface. // // * network-interface.owner-id - The ID of the owner of the network interface. // // * network-interface.private-dns-name - The private DNS name of the network // interface. // // * network-interface.requester-id - The requester ID for the network interface. // // * network-interface.requester-managed - Indicates whether the network // interface is being managed by AWS. // // * network-interface.status - The status of the network interface (available) // | in-use). // // * network-interface.source-dest-check - Whether the network interface // performs source/destination checking. A value of true means that checking // is enabled, and false means that checking is disabled. The value must // be false for the network interface to perform network address translation // (NAT) in your VPC. // // * network-interface.subnet-id - The ID of the subnet for the network interface. // // * network-interface.vpc-id - The ID of the VPC for the network interface. // // * owner-id - The AWS account ID of the instance owner. // // * placement-group-name - The name of the placement group for the instance. // // * placement-partition-number - The partition in which the instance is // located. // // * platform - The platform. To list only Windows instances, use windows. // // * private-dns-name - The private IPv4 DNS name of the instance. // // * private-ip-address - The private IPv4 address of the instance. // // * product-code - The product code associated with the AMI used to launch // the instance. // // * product-code.type - The type of product code (devpay | marketplace). // // * ramdisk-id - The RAM disk ID. // // * reason - The reason for the current state of the instance (for example, // shows "User Initiated [date]" when you stop or terminate the instance). // Similar to the state-reason-code filter. // // * requester-id - The ID of the entity that launched the instance on your // behalf (for example, AWS Management Console, Auto Scaling, and so on). // // * reservation-id - The ID of the instance's reservation. A reservation // ID is created any time you launch an instance. A reservation ID has a // one-to-one relationship with an instance launch request, but can be associated // with more than one instance if you launch multiple instances using the // same launch request. For example, if you launch one instance, you get // one reservation ID. If you launch ten instances using the same launch // request, you also get one reservation ID. // // * root-device-name - The device name of the root device volume (for example, // /dev/sda1). // // * root-device-type - The type of the root device volume (ebs | instance-store). // // * source-dest-check - Indicates whether the instance performs source/destination // checking. A value of true means that checking is enabled, and false means // that checking is disabled. The value must be false for the instance to // perform network address translation (NAT) in your VPC. // // * spot-instance-request-id - The ID of the Spot Instance request. // // * state-reason-code - The reason code for the state change. // // * state-reason-message - A message that describes the state change. // // * subnet-id - The ID of the subnet for the instance. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources that have a tag with a specific key, regardless // of the tag value. // // * tenancy - The tenancy of an instance (dedicated | default | host). // // * virtualization-type - The virtualization type of the instance (paravirtual // | hvm). // // * vpc-id - The ID of the VPC that the instance is running in. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The instance IDs. // // Default: Describes all your instances. InstanceIds []string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list"` // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. This // value can be between 5 and 1000. You cannot specify this parameter and the // instance IDs parameter in the same call. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to request the next page of results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeInstancesInput) String ¶
func (s DescribeInstancesInput) String() string
String returns the string representation
type DescribeInstancesOutput ¶
type DescribeInstancesOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the reservations. Reservations []Reservation `locationName:"reservationSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeInstancesOutput) String ¶
func (s DescribeInstancesOutput) String() string
String returns the string representation
type DescribeInstancesPaginator ¶ added in v0.9.0
DescribeInstancesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeInstancesPaginator ¶ added in v0.9.0
func NewDescribeInstancesPaginator(req DescribeInstancesRequest) DescribeInstancesPaginator
NewDescribeInstancesRequestPaginator returns a paginator for DescribeInstances. 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.DescribeInstancesRequest(input) p := ec2.NewDescribeInstancesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeInstancesPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeInstancesPaginator) CurrentPage() *DescribeInstancesOutput
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { *aws.Request Input *DescribeInstancesInput Copy func(*DescribeInstancesInput) DescribeInstancesRequest }
DescribeInstancesRequest is the request type for the DescribeInstances API operation.
func (DescribeInstancesRequest) Send ¶
func (r DescribeInstancesRequest) Send(ctx context.Context) (*DescribeInstancesResponse, error)
Send marshals and sends the DescribeInstances API request.
type DescribeInstancesResponse ¶ added in v0.9.0
type DescribeInstancesResponse struct { *DescribeInstancesOutput // contains filtered or unexported fields }
DescribeInstancesResponse is the response type for the DescribeInstances API operation.
func (*DescribeInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeInstances request.
type DescribeInternetGatewaysInput ¶
type DescribeInternetGatewaysInput 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * attachment.state - The current state of the attachment between the gateway // and the VPC (available). Present only if a VPC is attached. // // * attachment.vpc-id - The ID of an attached VPC. // // * internet-gateway-id - The ID of the Internet gateway. // // * owner-id - The ID of the AWS account that owns the internet gateway. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // One or more internet gateway IDs. // // Default: Describes all your internet gateways. InternetGatewayIds []string `locationName:"internetGatewayId" locationNameList:"item" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeInternetGatewaysInput) String ¶
func (s DescribeInternetGatewaysInput) String() string
String returns the string representation
func (*DescribeInternetGatewaysInput) Validate ¶ added in v0.8.0
func (s *DescribeInternetGatewaysInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeInternetGatewaysOutput ¶
type DescribeInternetGatewaysOutput struct { // Information about one or more internet gateways. InternetGateways []InternetGateway `locationName:"internetGatewaySet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeInternetGatewaysOutput) String ¶
func (s DescribeInternetGatewaysOutput) String() string
String returns the string representation
type DescribeInternetGatewaysPaginator ¶ added in v0.9.0
DescribeInternetGatewaysPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeInternetGatewaysPaginator ¶ added in v0.9.0
func NewDescribeInternetGatewaysPaginator(req DescribeInternetGatewaysRequest) DescribeInternetGatewaysPaginator
NewDescribeInternetGatewaysRequestPaginator returns a paginator for DescribeInternetGateways. 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.DescribeInternetGatewaysRequest(input) p := ec2.NewDescribeInternetGatewaysRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeInternetGatewaysPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeInternetGatewaysPaginator) CurrentPage() *DescribeInternetGatewaysOutput
type DescribeInternetGatewaysRequest ¶
type DescribeInternetGatewaysRequest struct { *aws.Request Input *DescribeInternetGatewaysInput Copy func(*DescribeInternetGatewaysInput) DescribeInternetGatewaysRequest }
DescribeInternetGatewaysRequest is the request type for the DescribeInternetGateways API operation.
func (DescribeInternetGatewaysRequest) Send ¶
func (r DescribeInternetGatewaysRequest) Send(ctx context.Context) (*DescribeInternetGatewaysResponse, error)
Send marshals and sends the DescribeInternetGateways API request.
type DescribeInternetGatewaysResponse ¶ added in v0.9.0
type DescribeInternetGatewaysResponse struct { *DescribeInternetGatewaysOutput // contains filtered or unexported fields }
DescribeInternetGatewaysResponse is the response type for the DescribeInternetGateways API operation.
func (*DescribeInternetGatewaysResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeInternetGatewaysResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeInternetGateways request.
type DescribeKeyPairsInput ¶
type DescribeKeyPairsInput 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 `locationName:"dryRun" type:"boolean"` // The filters. // // * fingerprint - The fingerprint of the key pair. // // * key-name - The name of the key pair. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The key pair names. // // Default: Describes all your key pairs. KeyNames []string `locationName:"KeyName" locationNameList:"KeyName" type:"list"` // contains filtered or unexported fields }
func (DescribeKeyPairsInput) String ¶
func (s DescribeKeyPairsInput) String() string
String returns the string representation
type DescribeKeyPairsOutput ¶
type DescribeKeyPairsOutput struct { // Information about the key pairs. KeyPairs []KeyPairInfo `locationName:"keySet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeKeyPairsOutput) String ¶
func (s DescribeKeyPairsOutput) String() string
String returns the string representation
type DescribeKeyPairsRequest ¶
type DescribeKeyPairsRequest struct { *aws.Request Input *DescribeKeyPairsInput Copy func(*DescribeKeyPairsInput) DescribeKeyPairsRequest }
DescribeKeyPairsRequest is the request type for the DescribeKeyPairs API operation.
func (DescribeKeyPairsRequest) Send ¶
func (r DescribeKeyPairsRequest) Send(ctx context.Context) (*DescribeKeyPairsResponse, error)
Send marshals and sends the DescribeKeyPairs API request.
type DescribeKeyPairsResponse ¶ added in v0.9.0
type DescribeKeyPairsResponse struct { *DescribeKeyPairsOutput // contains filtered or unexported fields }
DescribeKeyPairsResponse is the response type for the DescribeKeyPairs API operation.
func (*DescribeKeyPairsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeKeyPairsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeKeyPairs request.
type DescribeLaunchTemplateVersionsInput ¶ added in v0.2.0
type DescribeLaunchTemplateVersionsInput 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"` // One or more filters. // // * create-time - The time the launch template version was created. // // * ebs-optimized - A boolean that indicates whether the instance is optimized // for Amazon EBS I/O. // // * iam-instance-profile - The ARN of the IAM instance profile. // // * image-id - The ID of the AMI. // // * instance-type - The instance type. // // * is-default-version - A boolean that indicates whether the launch template // version is the default version. // // * kernel-id - The kernel ID. // // * ram-disk-id - The RAM disk ID. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The ID of the launch template. You must specify either the launch template // ID or launch template name in the request. LaunchTemplateId *string `type:"string"` // The name of the launch template. You must specify either the launch template // ID or launch template name in the request. LaunchTemplateName *string `min:"3" type:"string"` // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. This // value can be between 1 and 200. MaxResults *int64 `type:"integer"` // The version number up to which to describe launch template versions. MaxVersion *string `type:"string"` // The version number after which to describe launch template versions. MinVersion *string `type:"string"` // The token to request the next page of results. NextToken *string `type:"string"` // One or more versions of the launch template. Versions []string `locationName:"LaunchTemplateVersion" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeLaunchTemplateVersionsInput) String ¶ added in v0.2.0
func (s DescribeLaunchTemplateVersionsInput) String() string
String returns the string representation
func (*DescribeLaunchTemplateVersionsInput) Validate ¶ added in v0.2.0
func (s *DescribeLaunchTemplateVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLaunchTemplateVersionsOutput ¶ added in v0.2.0
type DescribeLaunchTemplateVersionsOutput struct { // Information about the launch template versions. LaunchTemplateVersions []LaunchTemplateVersion `locationName:"launchTemplateVersionSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeLaunchTemplateVersionsOutput) String ¶ added in v0.2.0
func (s DescribeLaunchTemplateVersionsOutput) String() string
String returns the string representation
type DescribeLaunchTemplateVersionsPaginator ¶ added in v0.9.0
DescribeLaunchTemplateVersionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeLaunchTemplateVersionsPaginator ¶ added in v0.9.0
func NewDescribeLaunchTemplateVersionsPaginator(req DescribeLaunchTemplateVersionsRequest) DescribeLaunchTemplateVersionsPaginator
NewDescribeLaunchTemplateVersionsRequestPaginator returns a paginator for DescribeLaunchTemplateVersions. 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.DescribeLaunchTemplateVersionsRequest(input) p := ec2.NewDescribeLaunchTemplateVersionsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeLaunchTemplateVersionsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeLaunchTemplateVersionsPaginator) CurrentPage() *DescribeLaunchTemplateVersionsOutput
type DescribeLaunchTemplateVersionsRequest ¶ added in v0.2.0
type DescribeLaunchTemplateVersionsRequest struct { *aws.Request Input *DescribeLaunchTemplateVersionsInput Copy func(*DescribeLaunchTemplateVersionsInput) DescribeLaunchTemplateVersionsRequest }
DescribeLaunchTemplateVersionsRequest is the request type for the DescribeLaunchTemplateVersions API operation.
func (DescribeLaunchTemplateVersionsRequest) Send ¶ added in v0.2.0
func (r DescribeLaunchTemplateVersionsRequest) Send(ctx context.Context) (*DescribeLaunchTemplateVersionsResponse, error)
Send marshals and sends the DescribeLaunchTemplateVersions API request.
type DescribeLaunchTemplateVersionsResponse ¶ added in v0.9.0
type DescribeLaunchTemplateVersionsResponse struct { *DescribeLaunchTemplateVersionsOutput // contains filtered or unexported fields }
DescribeLaunchTemplateVersionsResponse is the response type for the DescribeLaunchTemplateVersions API operation.
func (*DescribeLaunchTemplateVersionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeLaunchTemplateVersionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeLaunchTemplateVersions request.
type DescribeLaunchTemplatesInput ¶ added in v0.2.0
type DescribeLaunchTemplatesInput 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"` // One or more filters. // // * create-time - The time the launch template was created. // // * launch-template-name - The name of the launch template. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // One or more launch template IDs. LaunchTemplateIds []string `locationName:"LaunchTemplateId" locationNameList:"item" type:"list"` // One or more launch template names. LaunchTemplateNames []string `locationName:"LaunchTemplateName" locationNameList:"item" type:"list"` // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. This // value can be between 1 and 200. MaxResults *int64 `min:"1" type:"integer"` // The token to request the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeLaunchTemplatesInput) String ¶ added in v0.2.0
func (s DescribeLaunchTemplatesInput) String() string
String returns the string representation
func (*DescribeLaunchTemplatesInput) Validate ¶ added in v0.9.0
func (s *DescribeLaunchTemplatesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLaunchTemplatesOutput ¶ added in v0.2.0
type DescribeLaunchTemplatesOutput struct { // Information about the launch templates. LaunchTemplates []LaunchTemplate `locationName:"launchTemplates" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeLaunchTemplatesOutput) String ¶ added in v0.2.0
func (s DescribeLaunchTemplatesOutput) String() string
String returns the string representation
type DescribeLaunchTemplatesPaginator ¶ added in v0.9.0
DescribeLaunchTemplatesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeLaunchTemplatesPaginator ¶ added in v0.9.0
func NewDescribeLaunchTemplatesPaginator(req DescribeLaunchTemplatesRequest) DescribeLaunchTemplatesPaginator
NewDescribeLaunchTemplatesRequestPaginator returns a paginator for DescribeLaunchTemplates. 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.DescribeLaunchTemplatesRequest(input) p := ec2.NewDescribeLaunchTemplatesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeLaunchTemplatesPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeLaunchTemplatesPaginator) CurrentPage() *DescribeLaunchTemplatesOutput
type DescribeLaunchTemplatesRequest ¶ added in v0.2.0
type DescribeLaunchTemplatesRequest struct { *aws.Request Input *DescribeLaunchTemplatesInput Copy func(*DescribeLaunchTemplatesInput) DescribeLaunchTemplatesRequest }
DescribeLaunchTemplatesRequest is the request type for the DescribeLaunchTemplates API operation.
func (DescribeLaunchTemplatesRequest) Send ¶ added in v0.2.0
func (r DescribeLaunchTemplatesRequest) Send(ctx context.Context) (*DescribeLaunchTemplatesResponse, error)
Send marshals and sends the DescribeLaunchTemplates API request.
type DescribeLaunchTemplatesResponse ¶ added in v0.9.0
type DescribeLaunchTemplatesResponse struct { *DescribeLaunchTemplatesOutput // contains filtered or unexported fields }
DescribeLaunchTemplatesResponse is the response type for the DescribeLaunchTemplates API operation.
func (*DescribeLaunchTemplatesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeLaunchTemplatesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeLaunchTemplates request.
type DescribeMovingAddressesInput ¶
type DescribeMovingAddressesInput 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * moving-status - The status of the Elastic IP address (MovingToVpc | // RestoringToClassic). Filters []Filter `locationName:"filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return for the request in a single page. // The remaining results of the initial request can be seen by sending another // request with the returned NextToken value. This value can be between 5 and // 1000; if MaxResults is given a value outside of this range, an error is returned. // // Default: If no value is provided, the default is 1000. MaxResults *int64 `locationName:"maxResults" min:"5" type:"integer"` // The token for the next page of results. NextToken *string `locationName:"nextToken" type:"string"` // One or more Elastic IP addresses. PublicIps []string `locationName:"publicIp" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeMovingAddressesInput) String ¶
func (s DescribeMovingAddressesInput) String() string
String returns the string representation
func (*DescribeMovingAddressesInput) Validate ¶ added in v0.10.0
func (s *DescribeMovingAddressesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeMovingAddressesOutput ¶
type DescribeMovingAddressesOutput struct { // The status for each Elastic IP address. MovingAddressStatuses []MovingAddressStatus `locationName:"movingAddressStatusSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeMovingAddressesOutput) String ¶
func (s DescribeMovingAddressesOutput) String() string
String returns the string representation
type DescribeMovingAddressesPaginator ¶ added in v0.9.0
DescribeMovingAddressesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeMovingAddressesPaginator ¶ added in v0.9.0
func NewDescribeMovingAddressesPaginator(req DescribeMovingAddressesRequest) DescribeMovingAddressesPaginator
NewDescribeMovingAddressesRequestPaginator returns a paginator for DescribeMovingAddresses. 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.DescribeMovingAddressesRequest(input) p := ec2.NewDescribeMovingAddressesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeMovingAddressesPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeMovingAddressesPaginator) CurrentPage() *DescribeMovingAddressesOutput
type DescribeMovingAddressesRequest ¶
type DescribeMovingAddressesRequest struct { *aws.Request Input *DescribeMovingAddressesInput Copy func(*DescribeMovingAddressesInput) DescribeMovingAddressesRequest }
DescribeMovingAddressesRequest is the request type for the DescribeMovingAddresses API operation.
func (DescribeMovingAddressesRequest) Send ¶
func (r DescribeMovingAddressesRequest) Send(ctx context.Context) (*DescribeMovingAddressesResponse, error)
Send marshals and sends the DescribeMovingAddresses API request.
type DescribeMovingAddressesResponse ¶ added in v0.9.0
type DescribeMovingAddressesResponse struct { *DescribeMovingAddressesOutput // contains filtered or unexported fields }
DescribeMovingAddressesResponse is the response type for the DescribeMovingAddresses API operation.
func (*DescribeMovingAddressesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeMovingAddressesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeMovingAddresses request.
type DescribeNatGatewaysInput ¶
type DescribeNatGatewaysInput struct { // One or more filters. // // * nat-gateway-id - The ID of the NAT gateway. // // * state - The state of the NAT gateway (pending | failed | available | // deleting | deleted). // // * subnet-id - The ID of the subnet in which the NAT gateway resides. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * vpc-id - The ID of the VPC in which the NAT gateway resides. Filter []Filter `locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // One or more NAT gateway IDs. NatGatewayIds []string `locationName:"NatGatewayId" locationNameList:"item" type:"list"` // The token for the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeNatGatewaysInput) String ¶
func (s DescribeNatGatewaysInput) String() string
String returns the string representation
func (*DescribeNatGatewaysInput) Validate ¶ added in v0.10.0
func (s *DescribeNatGatewaysInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeNatGatewaysOutput ¶
type DescribeNatGatewaysOutput struct { // Information about the NAT gateways. NatGateways []NatGateway `locationName:"natGatewaySet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeNatGatewaysOutput) String ¶
func (s DescribeNatGatewaysOutput) String() string
String returns the string representation
type DescribeNatGatewaysPaginator ¶ added in v0.9.0
DescribeNatGatewaysPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeNatGatewaysPaginator ¶ added in v0.9.0
func NewDescribeNatGatewaysPaginator(req DescribeNatGatewaysRequest) DescribeNatGatewaysPaginator
NewDescribeNatGatewaysRequestPaginator returns a paginator for DescribeNatGateways. 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.DescribeNatGatewaysRequest(input) p := ec2.NewDescribeNatGatewaysRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeNatGatewaysPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeNatGatewaysPaginator) CurrentPage() *DescribeNatGatewaysOutput
type DescribeNatGatewaysRequest ¶
type DescribeNatGatewaysRequest struct { *aws.Request Input *DescribeNatGatewaysInput Copy func(*DescribeNatGatewaysInput) DescribeNatGatewaysRequest }
DescribeNatGatewaysRequest is the request type for the DescribeNatGateways API operation.
func (DescribeNatGatewaysRequest) Send ¶
func (r DescribeNatGatewaysRequest) Send(ctx context.Context) (*DescribeNatGatewaysResponse, error)
Send marshals and sends the DescribeNatGateways API request.
type DescribeNatGatewaysResponse ¶ added in v0.9.0
type DescribeNatGatewaysResponse struct { *DescribeNatGatewaysOutput // contains filtered or unexported fields }
DescribeNatGatewaysResponse is the response type for the DescribeNatGateways API operation.
func (*DescribeNatGatewaysResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeNatGatewaysResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeNatGateways request.
type DescribeNetworkAclsInput ¶
type DescribeNetworkAclsInput 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * association.association-id - The ID of an association ID for the ACL. // // * association.network-acl-id - The ID of the network ACL involved in the // association. // // * association.subnet-id - The ID of the subnet involved in the association. // // * default - Indicates whether the ACL is the default network ACL for the // VPC. // // * entry.cidr - The IPv4 CIDR range specified in the entry. // // * entry.icmp.code - The ICMP code specified in the entry, if any. // // * entry.icmp.type - The ICMP type specified in the entry, if any. // // * entry.ipv6-cidr - The IPv6 CIDR range specified in the entry. // // * entry.port-range.from - The start of the port range specified in the // entry. // // * entry.port-range.to - The end of the port range specified in the entry. // // * entry.protocol - The protocol specified in the entry (tcp | udp | icmp // or a protocol number). // // * entry.rule-action - Allows or denies the matching traffic (allow | deny). // // * entry.rule-number - The number of an entry (in other words, rule) in // the set of ACL entries. // // * network-acl-id - The ID of the network ACL. // // * owner-id - The ID of the AWS account that owns the network ACL. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * vpc-id - The ID of the VPC for the network ACL. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // One or more network ACL IDs. // // Default: Describes all your network ACLs. NetworkAclIds []string `locationName:"NetworkAclId" locationNameList:"item" type:"list"` // The token for the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeNetworkAclsInput) String ¶
func (s DescribeNetworkAclsInput) String() string
String returns the string representation
func (*DescribeNetworkAclsInput) Validate ¶ added in v0.8.0
func (s *DescribeNetworkAclsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeNetworkAclsOutput ¶
type DescribeNetworkAclsOutput struct { // Information about one or more network ACLs. NetworkAcls []NetworkAcl `locationName:"networkAclSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeNetworkAclsOutput) String ¶
func (s DescribeNetworkAclsOutput) String() string
String returns the string representation
type DescribeNetworkAclsPaginator ¶ added in v0.9.0
DescribeNetworkAclsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeNetworkAclsPaginator ¶ added in v0.9.0
func NewDescribeNetworkAclsPaginator(req DescribeNetworkAclsRequest) DescribeNetworkAclsPaginator
NewDescribeNetworkAclsRequestPaginator returns a paginator for DescribeNetworkAcls. 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.DescribeNetworkAclsRequest(input) p := ec2.NewDescribeNetworkAclsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeNetworkAclsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeNetworkAclsPaginator) CurrentPage() *DescribeNetworkAclsOutput
type DescribeNetworkAclsRequest ¶
type DescribeNetworkAclsRequest struct { *aws.Request Input *DescribeNetworkAclsInput Copy func(*DescribeNetworkAclsInput) DescribeNetworkAclsRequest }
DescribeNetworkAclsRequest is the request type for the DescribeNetworkAcls API operation.
func (DescribeNetworkAclsRequest) Send ¶
func (r DescribeNetworkAclsRequest) Send(ctx context.Context) (*DescribeNetworkAclsResponse, error)
Send marshals and sends the DescribeNetworkAcls API request.
type DescribeNetworkAclsResponse ¶ added in v0.9.0
type DescribeNetworkAclsResponse struct { *DescribeNetworkAclsOutput // contains filtered or unexported fields }
DescribeNetworkAclsResponse is the response type for the DescribeNetworkAcls API operation.
func (*DescribeNetworkAclsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeNetworkAclsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeNetworkAcls request.
type DescribeNetworkInterfaceAttributeInput ¶
type DescribeNetworkInterfaceAttributeInput struct { // The attribute of the network interface. This parameter is required. Attribute NetworkInterfaceAttribute `locationName:"attribute" type:"string" enum:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the network interface. // // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DescribeNetworkInterfaceAttribute.
func (DescribeNetworkInterfaceAttributeInput) String ¶
func (s DescribeNetworkInterfaceAttributeInput) String() string
String returns the string representation
func (*DescribeNetworkInterfaceAttributeInput) Validate ¶
func (s *DescribeNetworkInterfaceAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeNetworkInterfaceAttributeOutput ¶
type DescribeNetworkInterfaceAttributeOutput struct { // The attachment (if any) of the network interface. Attachment *NetworkInterfaceAttachment `locationName:"attachment" type:"structure"` // The description of the network interface. Description *AttributeValue `locationName:"description" type:"structure"` // The security groups associated with the network interface. Groups []GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // Indicates whether source/destination checking is enabled. SourceDestCheck *AttributeBooleanValue `locationName:"sourceDestCheck" type:"structure"` // contains filtered or unexported fields }
Contains the output of DescribeNetworkInterfaceAttribute.
func (DescribeNetworkInterfaceAttributeOutput) String ¶
func (s DescribeNetworkInterfaceAttributeOutput) String() string
String returns the string representation
type DescribeNetworkInterfaceAttributeRequest ¶
type DescribeNetworkInterfaceAttributeRequest struct { *aws.Request Input *DescribeNetworkInterfaceAttributeInput Copy func(*DescribeNetworkInterfaceAttributeInput) DescribeNetworkInterfaceAttributeRequest }
DescribeNetworkInterfaceAttributeRequest is the request type for the DescribeNetworkInterfaceAttribute API operation.
func (DescribeNetworkInterfaceAttributeRequest) Send ¶
func (r DescribeNetworkInterfaceAttributeRequest) Send(ctx context.Context) (*DescribeNetworkInterfaceAttributeResponse, error)
Send marshals and sends the DescribeNetworkInterfaceAttribute API request.
type DescribeNetworkInterfaceAttributeResponse ¶ added in v0.9.0
type DescribeNetworkInterfaceAttributeResponse struct { *DescribeNetworkInterfaceAttributeOutput // contains filtered or unexported fields }
DescribeNetworkInterfaceAttributeResponse is the response type for the DescribeNetworkInterfaceAttribute API operation.
func (*DescribeNetworkInterfaceAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeNetworkInterfaceAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeNetworkInterfaceAttribute request.
type DescribeNetworkInterfacePermissionsInput ¶
type DescribeNetworkInterfacePermissionsInput struct { // One or more filters. // // * network-interface-permission.network-interface-permission-id - The ID // of the permission. // // * network-interface-permission.network-interface-id - The ID of the network // interface. // // * network-interface-permission.aws-account-id - The AWS account ID. // // * network-interface-permission.aws-service - The AWS service. // // * network-interface-permission.permission - The type of permission (INSTANCE-ATTACH // | EIP-ASSOCIATE). Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. If // this parameter is not specified, up to 50 results are returned by default. MaxResults *int64 `min:"5" type:"integer"` // One or more network interface permission IDs. NetworkInterfacePermissionIds []string `locationName:"NetworkInterfacePermissionId" type:"list"` // The token to request the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
Contains the parameters for DescribeNetworkInterfacePermissions.
func (DescribeNetworkInterfacePermissionsInput) String ¶
func (s DescribeNetworkInterfacePermissionsInput) String() string
String returns the string representation
func (*DescribeNetworkInterfacePermissionsInput) Validate ¶ added in v0.9.0
func (s *DescribeNetworkInterfacePermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeNetworkInterfacePermissionsOutput ¶
type DescribeNetworkInterfacePermissionsOutput struct { // The network interface permissions. NetworkInterfacePermissions []NetworkInterfacePermission `locationName:"networkInterfacePermissions" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Contains the output for DescribeNetworkInterfacePermissions.
func (DescribeNetworkInterfacePermissionsOutput) String ¶
func (s DescribeNetworkInterfacePermissionsOutput) String() string
String returns the string representation
type DescribeNetworkInterfacePermissionsPaginator ¶ added in v0.9.0
DescribeNetworkInterfacePermissionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeNetworkInterfacePermissionsPaginator ¶ added in v0.9.0
func NewDescribeNetworkInterfacePermissionsPaginator(req DescribeNetworkInterfacePermissionsRequest) DescribeNetworkInterfacePermissionsPaginator
NewDescribeNetworkInterfacePermissionsRequestPaginator returns a paginator for DescribeNetworkInterfacePermissions. 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.DescribeNetworkInterfacePermissionsRequest(input) p := ec2.NewDescribeNetworkInterfacePermissionsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeNetworkInterfacePermissionsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeNetworkInterfacePermissionsPaginator) CurrentPage() *DescribeNetworkInterfacePermissionsOutput
type DescribeNetworkInterfacePermissionsRequest ¶
type DescribeNetworkInterfacePermissionsRequest struct { *aws.Request Input *DescribeNetworkInterfacePermissionsInput Copy func(*DescribeNetworkInterfacePermissionsInput) DescribeNetworkInterfacePermissionsRequest }
DescribeNetworkInterfacePermissionsRequest is the request type for the DescribeNetworkInterfacePermissions API operation.
func (DescribeNetworkInterfacePermissionsRequest) Send ¶
func (r DescribeNetworkInterfacePermissionsRequest) Send(ctx context.Context) (*DescribeNetworkInterfacePermissionsResponse, error)
Send marshals and sends the DescribeNetworkInterfacePermissions API request.
type DescribeNetworkInterfacePermissionsResponse ¶ added in v0.9.0
type DescribeNetworkInterfacePermissionsResponse struct { *DescribeNetworkInterfacePermissionsOutput // contains filtered or unexported fields }
DescribeNetworkInterfacePermissionsResponse is the response type for the DescribeNetworkInterfacePermissions API operation.
func (*DescribeNetworkInterfacePermissionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeNetworkInterfacePermissionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeNetworkInterfacePermissions request.
type DescribeNetworkInterfacesInput ¶
type DescribeNetworkInterfacesInput 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * addresses.private-ip-address - The private IPv4 addresses associated // with the network interface. // // * addresses.primary - Whether the private IPv4 address is the primary // IP address associated with the network interface. // // * addresses.association.public-ip - The association ID returned when the // network interface was associated with the Elastic IP address (IPv4). // // * addresses.association.owner-id - The owner ID of the addresses associated // with the network interface. // // * association.association-id - The association ID returned when the network // interface was associated with an IPv4 address. // // * association.allocation-id - The allocation ID returned when you allocated // the Elastic IP address (IPv4) for your network interface. // // * association.ip-owner-id - The owner of the Elastic IP address (IPv4) // associated with the network interface. // // * association.public-ip - The address of the Elastic IP address (IPv4) // bound to the network interface. // // * association.public-dns-name - The public DNS name for the network interface // (IPv4). // // * attachment.attachment-id - The ID of the interface attachment. // // * attachment.attach-time - The time that the network interface was attached // to an instance. // // * attachment.delete-on-termination - Indicates whether the attachment // is deleted when an instance is terminated. // // * attachment.device-index - The device index to which the network interface // is attached. // // * attachment.instance-id - The ID of the instance to which the network // interface is attached. // // * attachment.instance-owner-id - The owner ID of the instance to which // the network interface is attached. // // * attachment.nat-gateway-id - The ID of the NAT gateway to which the network // interface is attached. // // * attachment.status - The status of the attachment (attaching | attached // | detaching | detached). // // * availability-zone - The Availability Zone of the network interface. // // * description - The description of the network interface. // // * group-id - The ID of a security group associated with the network interface. // // * group-name - The name of a security group associated with the network // interface. // // * ipv6-addresses.ipv6-address - An IPv6 address associated with the network // interface. // // * mac-address - The MAC address of the network interface. // // * network-interface-id - The ID of the network interface. // // * owner-id - The AWS account ID of the network interface owner. // // * private-ip-address - The private IPv4 address or addresses of the network // interface. // // * private-dns-name - The private DNS name of the network interface (IPv4). // // * requester-id - The ID of the entity that launched the instance on your // behalf (for example, AWS Management Console, Auto Scaling, and so on). // // * requester-managed - Indicates whether the network interface is being // managed by an AWS service (for example, AWS Management Console, Auto Scaling, // and so on). // // * source-dest-check - Indicates whether the network interface performs // source/destination checking. A value of true means checking is enabled, // and false means checking is disabled. The value must be false for the // network interface to perform network address translation (NAT) in your // VPC. // // * status - The status of the network interface. If the network interface // is not attached to an instance, the status is available; if a network // interface is attached to an instance the status is in-use. // // * subnet-id - The ID of the subnet for the network interface. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * vpc-id - The ID of the VPC for the network interface. Filters []Filter `locationName:"filter" locationNameList:"Filter" type:"list"` // The maximum number of items to return for this request. The request returns // a token that you can specify in a subsequent call to get the next set of // results. MaxResults *int64 `min:"5" type:"integer"` // One or more network interface IDs. // // Default: Describes all your network interfaces. NetworkInterfaceIds []string `locationName:"NetworkInterfaceId" locationNameList:"item" type:"list"` // The token to retrieve the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
Contains the parameters for DescribeNetworkInterfaces.
func (DescribeNetworkInterfacesInput) String ¶
func (s DescribeNetworkInterfacesInput) String() string
String returns the string representation
func (*DescribeNetworkInterfacesInput) Validate ¶ added in v0.9.0
func (s *DescribeNetworkInterfacesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeNetworkInterfacesOutput ¶
type DescribeNetworkInterfacesOutput struct { // Information about one or more network interfaces. NetworkInterfaces []NetworkInterface `locationName:"networkInterfaceSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Contains the output of DescribeNetworkInterfaces.
func (DescribeNetworkInterfacesOutput) String ¶
func (s DescribeNetworkInterfacesOutput) String() string
String returns the string representation
type DescribeNetworkInterfacesPaginator ¶ added in v0.9.0
DescribeNetworkInterfacesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeNetworkInterfacesPaginator ¶ added in v0.9.0
func NewDescribeNetworkInterfacesPaginator(req DescribeNetworkInterfacesRequest) DescribeNetworkInterfacesPaginator
NewDescribeNetworkInterfacesRequestPaginator returns a paginator for DescribeNetworkInterfaces. 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.DescribeNetworkInterfacesRequest(input) p := ec2.NewDescribeNetworkInterfacesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeNetworkInterfacesPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeNetworkInterfacesPaginator) CurrentPage() *DescribeNetworkInterfacesOutput
type DescribeNetworkInterfacesRequest ¶
type DescribeNetworkInterfacesRequest struct { *aws.Request Input *DescribeNetworkInterfacesInput Copy func(*DescribeNetworkInterfacesInput) DescribeNetworkInterfacesRequest }
DescribeNetworkInterfacesRequest is the request type for the DescribeNetworkInterfaces API operation.
func (DescribeNetworkInterfacesRequest) Send ¶
func (r DescribeNetworkInterfacesRequest) Send(ctx context.Context) (*DescribeNetworkInterfacesResponse, error)
Send marshals and sends the DescribeNetworkInterfaces API request.
type DescribeNetworkInterfacesResponse ¶ added in v0.9.0
type DescribeNetworkInterfacesResponse struct { *DescribeNetworkInterfacesOutput // contains filtered or unexported fields }
DescribeNetworkInterfacesResponse is the response type for the DescribeNetworkInterfaces API operation.
func (*DescribeNetworkInterfacesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeNetworkInterfacesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeNetworkInterfaces request.
type DescribePlacementGroupsInput ¶
type DescribePlacementGroupsInput 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 `locationName:"dryRun" type:"boolean"` // The filters. // // * group-name - The name of the placement group. // // * state - The state of the placement group (pending | available | deleting // | deleted). // // * strategy - The strategy of the placement group (cluster | spread | partition). Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The names of the placement groups. // // Default: Describes all your placement groups, or only those otherwise specified. GroupNames []string `locationName:"groupName" type:"list"` // contains filtered or unexported fields }
func (DescribePlacementGroupsInput) String ¶
func (s DescribePlacementGroupsInput) String() string
String returns the string representation
type DescribePlacementGroupsOutput ¶
type DescribePlacementGroupsOutput struct { // Information about the placement groups. PlacementGroups []PlacementGroup `locationName:"placementGroupSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribePlacementGroupsOutput) String ¶
func (s DescribePlacementGroupsOutput) String() string
String returns the string representation
type DescribePlacementGroupsRequest ¶
type DescribePlacementGroupsRequest struct { *aws.Request Input *DescribePlacementGroupsInput Copy func(*DescribePlacementGroupsInput) DescribePlacementGroupsRequest }
DescribePlacementGroupsRequest is the request type for the DescribePlacementGroups API operation.
func (DescribePlacementGroupsRequest) Send ¶
func (r DescribePlacementGroupsRequest) Send(ctx context.Context) (*DescribePlacementGroupsResponse, error)
Send marshals and sends the DescribePlacementGroups API request.
type DescribePlacementGroupsResponse ¶ added in v0.9.0
type DescribePlacementGroupsResponse struct { *DescribePlacementGroupsOutput // contains filtered or unexported fields }
DescribePlacementGroupsResponse is the response type for the DescribePlacementGroups API operation.
func (*DescribePlacementGroupsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribePlacementGroupsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribePlacementGroups request.
type DescribePrefixListsInput ¶
type DescribePrefixListsInput 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"` // One or more filters. // // * prefix-list-id: The ID of a prefix list. // // * prefix-list-name: The name of a prefix list. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // One or more prefix list IDs. PrefixListIds []string `locationName:"PrefixListId" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribePrefixListsInput) String ¶
func (s DescribePrefixListsInput) String() string
String returns the string representation
type DescribePrefixListsOutput ¶
type DescribePrefixListsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // All available prefix lists. PrefixLists []PrefixList `locationName:"prefixListSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribePrefixListsOutput) String ¶
func (s DescribePrefixListsOutput) String() string
String returns the string representation
type DescribePrefixListsPaginator ¶ added in v0.9.0
DescribePrefixListsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribePrefixListsPaginator ¶ added in v0.9.0
func NewDescribePrefixListsPaginator(req DescribePrefixListsRequest) DescribePrefixListsPaginator
NewDescribePrefixListsRequestPaginator returns a paginator for DescribePrefixLists. 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.DescribePrefixListsRequest(input) p := ec2.NewDescribePrefixListsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribePrefixListsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribePrefixListsPaginator) CurrentPage() *DescribePrefixListsOutput
type DescribePrefixListsRequest ¶
type DescribePrefixListsRequest struct { *aws.Request Input *DescribePrefixListsInput Copy func(*DescribePrefixListsInput) DescribePrefixListsRequest }
DescribePrefixListsRequest is the request type for the DescribePrefixLists API operation.
func (DescribePrefixListsRequest) Send ¶
func (r DescribePrefixListsRequest) Send(ctx context.Context) (*DescribePrefixListsResponse, error)
Send marshals and sends the DescribePrefixLists API request.
type DescribePrefixListsResponse ¶ added in v0.9.0
type DescribePrefixListsResponse struct { *DescribePrefixListsOutput // contains filtered or unexported fields }
DescribePrefixListsResponse is the response type for the DescribePrefixLists API operation.
func (*DescribePrefixListsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribePrefixListsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribePrefixLists request.
type DescribePrincipalIdFormatInput ¶ added in v0.3.0
type DescribePrincipalIdFormatInput 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 maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. MaxResults *int64 `min:"1" type:"integer"` // The token to request the next page of results. NextToken *string `type:"string"` // The type of resource: bundle | conversion-task | customer-gateway | dhcp-options // | elastic-ip-allocation | elastic-ip-association | export-task | flow-log // | image | import-task | instance | internet-gateway | network-acl | network-acl-association // | network-interface | network-interface-attachment | prefix-list | reservation // | route-table | route-table-association | security-group | snapshot | subnet // | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association // | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway Resources []string `locationName:"Resource" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribePrincipalIdFormatInput) String ¶ added in v0.3.0
func (s DescribePrincipalIdFormatInput) String() string
String returns the string representation
func (*DescribePrincipalIdFormatInput) Validate ¶ added in v0.10.0
func (s *DescribePrincipalIdFormatInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribePrincipalIdFormatOutput ¶ added in v0.3.0
type DescribePrincipalIdFormatOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the ID format settings for the ARN. Principals []PrincipalIdFormat `locationName:"principalSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribePrincipalIdFormatOutput) String ¶ added in v0.3.0
func (s DescribePrincipalIdFormatOutput) String() string
String returns the string representation
type DescribePrincipalIdFormatPaginator ¶ added in v0.9.0
DescribePrincipalIdFormatPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribePrincipalIdFormatPaginator ¶ added in v0.9.0
func NewDescribePrincipalIdFormatPaginator(req DescribePrincipalIdFormatRequest) DescribePrincipalIdFormatPaginator
NewDescribePrincipalIdFormatRequestPaginator returns a paginator for DescribePrincipalIdFormat. 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.DescribePrincipalIdFormatRequest(input) p := ec2.NewDescribePrincipalIdFormatRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribePrincipalIdFormatPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribePrincipalIdFormatPaginator) CurrentPage() *DescribePrincipalIdFormatOutput
type DescribePrincipalIdFormatRequest ¶ added in v0.3.0
type DescribePrincipalIdFormatRequest struct { *aws.Request Input *DescribePrincipalIdFormatInput Copy func(*DescribePrincipalIdFormatInput) DescribePrincipalIdFormatRequest }
DescribePrincipalIdFormatRequest is the request type for the DescribePrincipalIdFormat API operation.
func (DescribePrincipalIdFormatRequest) Send ¶ added in v0.3.0
func (r DescribePrincipalIdFormatRequest) Send(ctx context.Context) (*DescribePrincipalIdFormatResponse, error)
Send marshals and sends the DescribePrincipalIdFormat API request.
type DescribePrincipalIdFormatResponse ¶ added in v0.9.0
type DescribePrincipalIdFormatResponse struct { *DescribePrincipalIdFormatOutput // contains filtered or unexported fields }
DescribePrincipalIdFormatResponse is the response type for the DescribePrincipalIdFormat API operation.
func (*DescribePrincipalIdFormatResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribePrincipalIdFormatResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribePrincipalIdFormat request.
type DescribePublicIpv4PoolsInput ¶ added in v0.6.0
type DescribePublicIpv4PoolsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"1" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // The IDs of the address pools. PoolIds []string `locationName:"PoolId" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribePublicIpv4PoolsInput) String ¶ added in v0.6.0
func (s DescribePublicIpv4PoolsInput) String() string
String returns the string representation
func (*DescribePublicIpv4PoolsInput) Validate ¶ added in v0.6.0
func (s *DescribePublicIpv4PoolsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribePublicIpv4PoolsOutput ¶ added in v0.6.0
type DescribePublicIpv4PoolsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the address pools. PublicIpv4Pools []PublicIpv4Pool `locationName:"publicIpv4PoolSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribePublicIpv4PoolsOutput) String ¶ added in v0.6.0
func (s DescribePublicIpv4PoolsOutput) String() string
String returns the string representation
type DescribePublicIpv4PoolsPaginator ¶ added in v0.9.0
DescribePublicIpv4PoolsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribePublicIpv4PoolsPaginator ¶ added in v0.9.0
func NewDescribePublicIpv4PoolsPaginator(req DescribePublicIpv4PoolsRequest) DescribePublicIpv4PoolsPaginator
NewDescribePublicIpv4PoolsRequestPaginator returns a paginator for DescribePublicIpv4Pools. 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.DescribePublicIpv4PoolsRequest(input) p := ec2.NewDescribePublicIpv4PoolsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribePublicIpv4PoolsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribePublicIpv4PoolsPaginator) CurrentPage() *DescribePublicIpv4PoolsOutput
type DescribePublicIpv4PoolsRequest ¶ added in v0.6.0
type DescribePublicIpv4PoolsRequest struct { *aws.Request Input *DescribePublicIpv4PoolsInput Copy func(*DescribePublicIpv4PoolsInput) DescribePublicIpv4PoolsRequest }
DescribePublicIpv4PoolsRequest is the request type for the DescribePublicIpv4Pools API operation.
func (DescribePublicIpv4PoolsRequest) Send ¶ added in v0.6.0
func (r DescribePublicIpv4PoolsRequest) Send(ctx context.Context) (*DescribePublicIpv4PoolsResponse, error)
Send marshals and sends the DescribePublicIpv4Pools API request.
type DescribePublicIpv4PoolsResponse ¶ added in v0.9.0
type DescribePublicIpv4PoolsResponse struct { *DescribePublicIpv4PoolsOutput // contains filtered or unexported fields }
DescribePublicIpv4PoolsResponse is the response type for the DescribePublicIpv4Pools API operation.
func (*DescribePublicIpv4PoolsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribePublicIpv4PoolsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribePublicIpv4Pools request.
type DescribeRegionsInput ¶
type DescribeRegionsInput struct { // Indicates whether to display all Regions, including Regions that are disabled // for your account. AllRegions *bool `type:"boolean"` // 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 `locationName:"dryRun" type:"boolean"` // The filters. // // * endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com). // // * opt-in-status - The opt-in status of the Region (opt-in-not-required // | opted-in | not-opted-in). // // * region-name - The name of the Region (for example, us-east-1). Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The names of the Regions. You can specify any Regions, whether they are enabled // and disabled for your account. RegionNames []string `locationName:"RegionName" locationNameList:"RegionName" type:"list"` // contains filtered or unexported fields }
func (DescribeRegionsInput) String ¶
func (s DescribeRegionsInput) String() string
String returns the string representation
type DescribeRegionsOutput ¶
type DescribeRegionsOutput struct { // Information about the Regions. Regions []Region `locationName:"regionInfo" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeRegionsOutput) String ¶
func (s DescribeRegionsOutput) String() string
String returns the string representation
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct { *aws.Request Input *DescribeRegionsInput Copy func(*DescribeRegionsInput) DescribeRegionsRequest }
DescribeRegionsRequest is the request type for the DescribeRegions API operation.
func (DescribeRegionsRequest) Send ¶
func (r DescribeRegionsRequest) Send(ctx context.Context) (*DescribeRegionsResponse, error)
Send marshals and sends the DescribeRegions API request.
type DescribeRegionsResponse ¶ added in v0.9.0
type DescribeRegionsResponse struct { *DescribeRegionsOutput // contains filtered or unexported fields }
DescribeRegionsResponse is the response type for the DescribeRegions API operation.
func (*DescribeRegionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeRegionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeRegions request.
type DescribeReservedInstancesInput ¶
type DescribeReservedInstancesInput 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * availability-zone - The Availability Zone where the Reserved Instance // can be used. // // * duration - The duration of the Reserved Instance (one year or three // years), in seconds (31536000 | 94608000). // // * end - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z). // // * fixed-price - The purchase price of the Reserved Instance (for example, // 9800.0). // // * instance-type - The instance type that is covered by the reservation. // // * scope - The scope of the Reserved Instance (Region or Availability Zone). // // * product-description - The Reserved Instance product platform description. // Instances that include (Amazon VPC) in the product platform description // will only be displayed to EC2-Classic account holders and are for use // with Amazon VPC (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE // Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux // (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL Server // Standard | Windows with SQL Server Standard (Amazon VPC) | Windows with // SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows with // SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon VPC)). // // * reserved-instances-id - The ID of the Reserved Instance. // // * start - The time at which the Reserved Instance purchase request was // placed (for example, 2014-08-07T11:54:42.000Z). // // * state - The state of the Reserved Instance (payment-pending | active // | payment-failed | retired). // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * usage-price - The usage price of the Reserved Instance, per hour (for // example, 0.84). Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // Describes whether the Reserved Instance is Standard or Convertible. OfferingClass OfferingClassType `type:"string" enum:"true"` // The Reserved Instance offering type. If you are using tools that predate // the 2011-11-01 API version, you only have access to the Medium Utilization // Reserved Instance offering type. OfferingType OfferingTypeValues `locationName:"offeringType" type:"string" enum:"true"` // One or more Reserved Instance IDs. // // Default: Describes all your Reserved Instances, or only those otherwise specified. ReservedInstancesIds []string `locationName:"ReservedInstancesId" locationNameList:"ReservedInstancesId" type:"list"` // contains filtered or unexported fields }
Contains the parameters for DescribeReservedInstances.
func (DescribeReservedInstancesInput) String ¶
func (s DescribeReservedInstancesInput) String() string
String returns the string representation
type DescribeReservedInstancesListingsInput ¶
type DescribeReservedInstancesListingsInput struct { // One or more filters. // // * reserved-instances-id - The ID of the Reserved Instances. // // * reserved-instances-listing-id - The ID of the Reserved Instances listing. // // * status - The status of the Reserved Instance listing (pending | active // | cancelled | closed). // // * status-message - The reason for the status. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // One or more Reserved Instance IDs. ReservedInstancesId *string `locationName:"reservedInstancesId" type:"string"` // One or more Reserved Instance listing IDs. ReservedInstancesListingId *string `locationName:"reservedInstancesListingId" type:"string"` // contains filtered or unexported fields }
Contains the parameters for DescribeReservedInstancesListings.
func (DescribeReservedInstancesListingsInput) String ¶
func (s DescribeReservedInstancesListingsInput) String() string
String returns the string representation
type DescribeReservedInstancesListingsOutput ¶
type DescribeReservedInstancesListingsOutput struct { // Information about the Reserved Instance listing. ReservedInstancesListings []ReservedInstancesListing `locationName:"reservedInstancesListingsSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeReservedInstancesListings.
func (DescribeReservedInstancesListingsOutput) String ¶
func (s DescribeReservedInstancesListingsOutput) String() string
String returns the string representation
type DescribeReservedInstancesListingsRequest ¶
type DescribeReservedInstancesListingsRequest struct { *aws.Request Input *DescribeReservedInstancesListingsInput Copy func(*DescribeReservedInstancesListingsInput) DescribeReservedInstancesListingsRequest }
DescribeReservedInstancesListingsRequest is the request type for the DescribeReservedInstancesListings API operation.
func (DescribeReservedInstancesListingsRequest) Send ¶
func (r DescribeReservedInstancesListingsRequest) Send(ctx context.Context) (*DescribeReservedInstancesListingsResponse, error)
Send marshals and sends the DescribeReservedInstancesListings API request.
type DescribeReservedInstancesListingsResponse ¶ added in v0.9.0
type DescribeReservedInstancesListingsResponse struct { *DescribeReservedInstancesListingsOutput // contains filtered or unexported fields }
DescribeReservedInstancesListingsResponse is the response type for the DescribeReservedInstancesListings API operation.
func (*DescribeReservedInstancesListingsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeReservedInstancesListingsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeReservedInstancesListings request.
type DescribeReservedInstancesModificationsInput ¶
type DescribeReservedInstancesModificationsInput struct { // One or more filters. // // * client-token - The idempotency token for the modification request. // // * create-date - The time when the modification request was created. // // * effective-date - The time when the modification becomes effective. // // * modification-result.reserved-instances-id - The ID for the Reserved // Instances created as part of the modification request. This ID is only // available when the status of the modification is fulfilled. // // * modification-result.target-configuration.availability-zone - The Availability // Zone for the new Reserved Instances. // // * modification-result.target-configuration.instance-count - The number // of new Reserved Instances. // // * modification-result.target-configuration.instance-type - The instance // type of the new Reserved Instances. // // * modification-result.target-configuration.platform - The network platform // of the new Reserved Instances (EC2-Classic | EC2-VPC). // // * reserved-instances-id - The ID of the Reserved Instances modified. // // * reserved-instances-modification-id - The ID of the modification request. // // * status - The status of the Reserved Instances modification request (processing // | fulfilled | failed). // // * status-message - The reason for the status. // // * update-date - The time when the modification request was last updated. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The token to retrieve the next page of results. NextToken *string `locationName:"nextToken" type:"string"` // IDs for the submitted modification request. ReservedInstancesModificationIds []string `locationName:"ReservedInstancesModificationId" locationNameList:"ReservedInstancesModificationId" type:"list"` // contains filtered or unexported fields }
Contains the parameters for DescribeReservedInstancesModifications.
func (DescribeReservedInstancesModificationsInput) String ¶
func (s DescribeReservedInstancesModificationsInput) String() string
String returns the string representation
type DescribeReservedInstancesModificationsOutput ¶
type DescribeReservedInstancesModificationsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The Reserved Instance modification information. ReservedInstancesModifications []ReservedInstancesModification `locationName:"reservedInstancesModificationsSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeReservedInstancesModifications.
func (DescribeReservedInstancesModificationsOutput) String ¶
func (s DescribeReservedInstancesModificationsOutput) String() string
String returns the string representation
type DescribeReservedInstancesModificationsPaginator ¶ added in v0.9.0
DescribeReservedInstancesModificationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeReservedInstancesModificationsPaginator ¶ added in v0.9.0
func NewDescribeReservedInstancesModificationsPaginator(req DescribeReservedInstancesModificationsRequest) DescribeReservedInstancesModificationsPaginator
NewDescribeReservedInstancesModificationsRequestPaginator returns a paginator for DescribeReservedInstancesModifications. 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.DescribeReservedInstancesModificationsRequest(input) p := ec2.NewDescribeReservedInstancesModificationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeReservedInstancesModificationsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeReservedInstancesModificationsPaginator) CurrentPage() *DescribeReservedInstancesModificationsOutput
type DescribeReservedInstancesModificationsRequest ¶
type DescribeReservedInstancesModificationsRequest struct { *aws.Request Input *DescribeReservedInstancesModificationsInput Copy func(*DescribeReservedInstancesModificationsInput) DescribeReservedInstancesModificationsRequest }
DescribeReservedInstancesModificationsRequest is the request type for the DescribeReservedInstancesModifications API operation.
func (DescribeReservedInstancesModificationsRequest) Send ¶
func (r DescribeReservedInstancesModificationsRequest) Send(ctx context.Context) (*DescribeReservedInstancesModificationsResponse, error)
Send marshals and sends the DescribeReservedInstancesModifications API request.
type DescribeReservedInstancesModificationsResponse ¶ added in v0.9.0
type DescribeReservedInstancesModificationsResponse struct { *DescribeReservedInstancesModificationsOutput // contains filtered or unexported fields }
DescribeReservedInstancesModificationsResponse is the response type for the DescribeReservedInstancesModifications API operation.
func (*DescribeReservedInstancesModificationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeReservedInstancesModificationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeReservedInstancesModifications request.
type DescribeReservedInstancesOfferingsInput ¶
type DescribeReservedInstancesOfferingsInput struct { // The Availability Zone in which the Reserved Instance can be used. AvailabilityZone *string `type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * availability-zone - The Availability Zone where the Reserved Instance // can be used. // // * duration - The duration of the Reserved Instance (for example, one year // or three years), in seconds (31536000 | 94608000). // // * fixed-price - The purchase price of the Reserved Instance (for example, // 9800.0). // // * instance-type - The instance type that is covered by the reservation. // // * marketplace - Set to true to show only Reserved Instance Marketplace // offerings. When this filter is not used, which is the default behavior, // all offerings from both AWS and the Reserved Instance Marketplace are // listed. // // * product-description - The Reserved Instance product platform description. // Instances that include (Amazon VPC) in the product platform description // will only be displayed to EC2-Classic account holders and are for use // with Amazon VPC. (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | // SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise // Linux (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL // Server Standard | Windows with SQL Server Standard (Amazon VPC) | Windows // with SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows // with SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon // VPC)) // // * reserved-instances-offering-id - The Reserved Instances offering ID. // // * scope - The scope of the Reserved Instance (Availability Zone or Region). // // * usage-price - The usage price of the Reserved Instance, per hour (for // example, 0.84). Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // Include Reserved Instance Marketplace offerings in the response. IncludeMarketplace *bool `type:"boolean"` // The tenancy of the instances covered by the reservation. A Reserved Instance // with a tenancy of dedicated is applied to instances that run in a VPC on // single-tenant hardware (i.e., Dedicated Instances). // // Important: The host value cannot be used with this parameter. Use the default // or dedicated values only. // // Default: default InstanceTenancy Tenancy `locationName:"instanceTenancy" type:"string" enum:"true"` // The instance type that the reservation will cover (for example, m1.small). // For more information, see Instance Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) // in the Amazon Elastic Compute Cloud User Guide. InstanceType InstanceType `type:"string" enum:"true"` // The maximum duration (in seconds) to filter when searching for offerings. // // Default: 94608000 (3 years) MaxDuration *int64 `type:"long"` // The maximum number of instances to filter when searching for offerings. // // Default: 20 MaxInstanceCount *int64 `type:"integer"` // The maximum number of results to return for the request in a single page. // The remaining results of the initial request can be seen by sending another // request with the returned NextToken value. The maximum is 100. // // Default: 100 MaxResults *int64 `locationName:"maxResults" type:"integer"` // The minimum duration (in seconds) to filter when searching for offerings. // // Default: 2592000 (1 month) MinDuration *int64 `type:"long"` // The token to retrieve the next page of results. NextToken *string `locationName:"nextToken" type:"string"` // The offering class of the Reserved Instance. Can be standard or convertible. OfferingClass OfferingClassType `type:"string" enum:"true"` // The Reserved Instance offering type. If you are using tools that predate // the 2011-11-01 API version, you only have access to the Medium Utilization // Reserved Instance offering type. OfferingType OfferingTypeValues `locationName:"offeringType" type:"string" enum:"true"` // The Reserved Instance product platform description. Instances that include // (Amazon VPC) in the description are for use with Amazon VPC. ProductDescription RIProductDescription `type:"string" enum:"true"` // One or more Reserved Instances offering IDs. ReservedInstancesOfferingIds []string `locationName:"ReservedInstancesOfferingId" type:"list"` // contains filtered or unexported fields }
Contains the parameters for DescribeReservedInstancesOfferings.
func (DescribeReservedInstancesOfferingsInput) String ¶
func (s DescribeReservedInstancesOfferingsInput) String() string
String returns the string representation
type DescribeReservedInstancesOfferingsOutput ¶
type DescribeReservedInstancesOfferingsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // A list of Reserved Instances offerings. ReservedInstancesOfferings []ReservedInstancesOffering `locationName:"reservedInstancesOfferingsSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeReservedInstancesOfferings.
func (DescribeReservedInstancesOfferingsOutput) String ¶
func (s DescribeReservedInstancesOfferingsOutput) String() string
String returns the string representation
type DescribeReservedInstancesOfferingsPaginator ¶ added in v0.9.0
DescribeReservedInstancesOfferingsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeReservedInstancesOfferingsPaginator ¶ added in v0.9.0
func NewDescribeReservedInstancesOfferingsPaginator(req DescribeReservedInstancesOfferingsRequest) DescribeReservedInstancesOfferingsPaginator
NewDescribeReservedInstancesOfferingsRequestPaginator returns a paginator for DescribeReservedInstancesOfferings. 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.DescribeReservedInstancesOfferingsRequest(input) p := ec2.NewDescribeReservedInstancesOfferingsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeReservedInstancesOfferingsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeReservedInstancesOfferingsPaginator) CurrentPage() *DescribeReservedInstancesOfferingsOutput
type DescribeReservedInstancesOfferingsRequest ¶
type DescribeReservedInstancesOfferingsRequest struct { *aws.Request Input *DescribeReservedInstancesOfferingsInput Copy func(*DescribeReservedInstancesOfferingsInput) DescribeReservedInstancesOfferingsRequest }
DescribeReservedInstancesOfferingsRequest is the request type for the DescribeReservedInstancesOfferings API operation.
func (DescribeReservedInstancesOfferingsRequest) Send ¶
func (r DescribeReservedInstancesOfferingsRequest) Send(ctx context.Context) (*DescribeReservedInstancesOfferingsResponse, error)
Send marshals and sends the DescribeReservedInstancesOfferings API request.
type DescribeReservedInstancesOfferingsResponse ¶ added in v0.9.0
type DescribeReservedInstancesOfferingsResponse struct { *DescribeReservedInstancesOfferingsOutput // contains filtered or unexported fields }
DescribeReservedInstancesOfferingsResponse is the response type for the DescribeReservedInstancesOfferings API operation.
func (*DescribeReservedInstancesOfferingsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeReservedInstancesOfferingsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeReservedInstancesOfferings request.
type DescribeReservedInstancesOutput ¶
type DescribeReservedInstancesOutput struct { // A list of Reserved Instances. ReservedInstances []ReservedInstances `locationName:"reservedInstancesSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output for DescribeReservedInstances.
func (DescribeReservedInstancesOutput) String ¶
func (s DescribeReservedInstancesOutput) String() string
String returns the string representation
type DescribeReservedInstancesRequest ¶
type DescribeReservedInstancesRequest struct { *aws.Request Input *DescribeReservedInstancesInput Copy func(*DescribeReservedInstancesInput) DescribeReservedInstancesRequest }
DescribeReservedInstancesRequest is the request type for the DescribeReservedInstances API operation.
func (DescribeReservedInstancesRequest) Send ¶
func (r DescribeReservedInstancesRequest) Send(ctx context.Context) (*DescribeReservedInstancesResponse, error)
Send marshals and sends the DescribeReservedInstances API request.
type DescribeReservedInstancesResponse ¶ added in v0.9.0
type DescribeReservedInstancesResponse struct { *DescribeReservedInstancesOutput // contains filtered or unexported fields }
DescribeReservedInstancesResponse is the response type for the DescribeReservedInstances API operation.
func (*DescribeReservedInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeReservedInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeReservedInstances request.
type DescribeRouteTablesInput ¶
type DescribeRouteTablesInput 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * association.route-table-association-id - The ID of an association ID // for the route table. // // * association.route-table-id - The ID of the route table involved in the // association. // // * association.subnet-id - The ID of the subnet involved in the association. // // * association.main - Indicates whether the route table is the main route // table for the VPC (true | false). Route tables that do not have an association // ID are not returned in the response. // // * owner-id - The ID of the AWS account that owns the route table. // // * route-table-id - The ID of the route table. // // * route.destination-cidr-block - The IPv4 CIDR range specified in a route // in the table. // // * route.destination-ipv6-cidr-block - The IPv6 CIDR range specified in // a route in the route table. // // * route.destination-prefix-list-id - The ID (prefix) of the AWS service // specified in a route in the table. // // * route.egress-only-internet-gateway-id - The ID of an egress-only Internet // gateway specified in a route in the route table. // // * route.gateway-id - The ID of a gateway specified in a route in the table. // // * route.instance-id - The ID of an instance specified in a route in the // table. // // * route.nat-gateway-id - The ID of a NAT gateway. // // * route.transit-gateway-id - The ID of a transit gateway. // // * route.origin - Describes how the route was created. CreateRouteTable // indicates that the route was automatically created when the route table // was created; CreateRoute indicates that the route was manually added to // the route table; EnableVgwRoutePropagation indicates that the route was // propagated by route propagation. // // * route.state - The state of a route in the route table (active | blackhole). // The blackhole state indicates that the route's target isn't available // (for example, the specified gateway isn't attached to the VPC, the specified // NAT instance has been terminated, and so on). // // * route.vpc-peering-connection-id - The ID of a VPC peering connection // specified in a route in the table. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * transit-gateway-id - The ID of a transit gateway. // // * vpc-id - The ID of the VPC for the route table. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // One or more route table IDs. // // Default: Describes all your route tables. RouteTableIds []string `locationName:"RouteTableId" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeRouteTablesInput) String ¶
func (s DescribeRouteTablesInput) String() string
String returns the string representation
func (*DescribeRouteTablesInput) Validate ¶ added in v0.9.0
func (s *DescribeRouteTablesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRouteTablesOutput ¶
type DescribeRouteTablesOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about one or more route tables. RouteTables []RouteTable `locationName:"routeTableSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeRouteTables.
func (DescribeRouteTablesOutput) String ¶
func (s DescribeRouteTablesOutput) String() string
String returns the string representation
type DescribeRouteTablesPaginator ¶ added in v0.9.0
DescribeRouteTablesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeRouteTablesPaginator ¶ added in v0.9.0
func NewDescribeRouteTablesPaginator(req DescribeRouteTablesRequest) DescribeRouteTablesPaginator
NewDescribeRouteTablesRequestPaginator returns a paginator for DescribeRouteTables. 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.DescribeRouteTablesRequest(input) p := ec2.NewDescribeRouteTablesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeRouteTablesPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeRouteTablesPaginator) CurrentPage() *DescribeRouteTablesOutput
type DescribeRouteTablesRequest ¶
type DescribeRouteTablesRequest struct { *aws.Request Input *DescribeRouteTablesInput Copy func(*DescribeRouteTablesInput) DescribeRouteTablesRequest }
DescribeRouteTablesRequest is the request type for the DescribeRouteTables API operation.
func (DescribeRouteTablesRequest) Send ¶
func (r DescribeRouteTablesRequest) Send(ctx context.Context) (*DescribeRouteTablesResponse, error)
Send marshals and sends the DescribeRouteTables API request.
type DescribeRouteTablesResponse ¶ added in v0.9.0
type DescribeRouteTablesResponse struct { *DescribeRouteTablesOutput // contains filtered or unexported fields }
DescribeRouteTablesResponse is the response type for the DescribeRouteTables API operation.
func (*DescribeRouteTablesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeRouteTablesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeRouteTables request.
type DescribeScheduledInstanceAvailabilityInput ¶
type DescribeScheduledInstanceAvailabilityInput 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 filters. // // * availability-zone - The Availability Zone (for example, us-west-2a). // // * instance-type - The instance type (for example, c4.large). // // * network-platform - The network platform (EC2-Classic or EC2-VPC). // // * platform - The platform (Linux/UNIX or Windows). Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The time period for the first schedule to start. // // FirstSlotStartTimeRange is a required field FirstSlotStartTimeRange *SlotDateTimeRangeRequest `type:"structure" required:"true"` // The maximum number of results to return in a single call. This value can // be between 5 and 300. The default value is 300. To retrieve the remaining // results, make another call with the returned NextToken value. MaxResults *int64 `min:"5" type:"integer"` // The maximum available duration, in hours. This value must be greater than // MinSlotDurationInHours and less than 1,720. MaxSlotDurationInHours *int64 `type:"integer"` // The minimum available duration, in hours. The minimum required duration is // 1,200 hours per year. For example, the minimum daily schedule is 4 hours, // the minimum weekly schedule is 24 hours, and the minimum monthly schedule // is 100 hours. MinSlotDurationInHours *int64 `type:"integer"` // The token for the next set of results. NextToken *string `type:"string"` // The schedule recurrence. // // Recurrence is a required field Recurrence *ScheduledInstanceRecurrenceRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DescribeScheduledInstanceAvailability.
func (DescribeScheduledInstanceAvailabilityInput) String ¶
func (s DescribeScheduledInstanceAvailabilityInput) String() string
String returns the string representation
func (*DescribeScheduledInstanceAvailabilityInput) Validate ¶
func (s *DescribeScheduledInstanceAvailabilityInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeScheduledInstanceAvailabilityOutput ¶
type DescribeScheduledInstanceAvailabilityOutput struct { // The token required to retrieve the next set of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the available Scheduled Instances. ScheduledInstanceAvailabilitySet []ScheduledInstanceAvailability `locationName:"scheduledInstanceAvailabilitySet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeScheduledInstanceAvailability.
func (DescribeScheduledInstanceAvailabilityOutput) String ¶
func (s DescribeScheduledInstanceAvailabilityOutput) String() string
String returns the string representation
type DescribeScheduledInstanceAvailabilityPaginator ¶ added in v0.9.0
DescribeScheduledInstanceAvailabilityPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeScheduledInstanceAvailabilityPaginator ¶ added in v0.9.0
func NewDescribeScheduledInstanceAvailabilityPaginator(req DescribeScheduledInstanceAvailabilityRequest) DescribeScheduledInstanceAvailabilityPaginator
NewDescribeScheduledInstanceAvailabilityRequestPaginator returns a paginator for DescribeScheduledInstanceAvailability. 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.DescribeScheduledInstanceAvailabilityRequest(input) p := ec2.NewDescribeScheduledInstanceAvailabilityRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeScheduledInstanceAvailabilityPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeScheduledInstanceAvailabilityPaginator) CurrentPage() *DescribeScheduledInstanceAvailabilityOutput
type DescribeScheduledInstanceAvailabilityRequest ¶
type DescribeScheduledInstanceAvailabilityRequest struct { *aws.Request Input *DescribeScheduledInstanceAvailabilityInput Copy func(*DescribeScheduledInstanceAvailabilityInput) DescribeScheduledInstanceAvailabilityRequest }
DescribeScheduledInstanceAvailabilityRequest is the request type for the DescribeScheduledInstanceAvailability API operation.
func (DescribeScheduledInstanceAvailabilityRequest) Send ¶
func (r DescribeScheduledInstanceAvailabilityRequest) Send(ctx context.Context) (*DescribeScheduledInstanceAvailabilityResponse, error)
Send marshals and sends the DescribeScheduledInstanceAvailability API request.
type DescribeScheduledInstanceAvailabilityResponse ¶ added in v0.9.0
type DescribeScheduledInstanceAvailabilityResponse struct { *DescribeScheduledInstanceAvailabilityOutput // contains filtered or unexported fields }
DescribeScheduledInstanceAvailabilityResponse is the response type for the DescribeScheduledInstanceAvailability API operation.
func (*DescribeScheduledInstanceAvailabilityResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeScheduledInstanceAvailabilityResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeScheduledInstanceAvailability request.
type DescribeScheduledInstancesInput ¶
type DescribeScheduledInstancesInput 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 filters. // // * availability-zone - The Availability Zone (for example, us-west-2a). // // * instance-type - The instance type (for example, c4.large). // // * network-platform - The network platform (EC2-Classic or EC2-VPC). // // * platform - The platform (Linux/UNIX or Windows). Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return in a single call. This value can // be between 5 and 300. The default value is 100. To retrieve the remaining // results, make another call with the returned NextToken value. MaxResults *int64 `type:"integer"` // The token for the next set of results. NextToken *string `type:"string"` // The Scheduled Instance IDs. ScheduledInstanceIds []string `locationName:"ScheduledInstanceId" locationNameList:"ScheduledInstanceId" type:"list"` // The time period for the first schedule to start. SlotStartTimeRange *SlotStartTimeRangeRequest `type:"structure"` // contains filtered or unexported fields }
Contains the parameters for DescribeScheduledInstances.
func (DescribeScheduledInstancesInput) String ¶
func (s DescribeScheduledInstancesInput) String() string
String returns the string representation
type DescribeScheduledInstancesOutput ¶
type DescribeScheduledInstancesOutput struct { // The token required to retrieve the next set of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the Scheduled Instances. ScheduledInstanceSet []ScheduledInstance `locationName:"scheduledInstanceSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeScheduledInstances.
func (DescribeScheduledInstancesOutput) String ¶
func (s DescribeScheduledInstancesOutput) String() string
String returns the string representation
type DescribeScheduledInstancesPaginator ¶ added in v0.9.0
DescribeScheduledInstancesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeScheduledInstancesPaginator ¶ added in v0.9.0
func NewDescribeScheduledInstancesPaginator(req DescribeScheduledInstancesRequest) DescribeScheduledInstancesPaginator
NewDescribeScheduledInstancesRequestPaginator returns a paginator for DescribeScheduledInstances. 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.DescribeScheduledInstancesRequest(input) p := ec2.NewDescribeScheduledInstancesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeScheduledInstancesPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeScheduledInstancesPaginator) CurrentPage() *DescribeScheduledInstancesOutput
type DescribeScheduledInstancesRequest ¶
type DescribeScheduledInstancesRequest struct { *aws.Request Input *DescribeScheduledInstancesInput Copy func(*DescribeScheduledInstancesInput) DescribeScheduledInstancesRequest }
DescribeScheduledInstancesRequest is the request type for the DescribeScheduledInstances API operation.
func (DescribeScheduledInstancesRequest) Send ¶
func (r DescribeScheduledInstancesRequest) Send(ctx context.Context) (*DescribeScheduledInstancesResponse, error)
Send marshals and sends the DescribeScheduledInstances API request.
type DescribeScheduledInstancesResponse ¶ added in v0.9.0
type DescribeScheduledInstancesResponse struct { *DescribeScheduledInstancesOutput // contains filtered or unexported fields }
DescribeScheduledInstancesResponse is the response type for the DescribeScheduledInstances API operation.
func (*DescribeScheduledInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeScheduledInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeScheduledInstances request.
type DescribeSecurityGroupReferencesInput ¶
type DescribeSecurityGroupReferencesInput 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 security groups in your account. // // GroupId is a required field GroupId []string `locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
func (DescribeSecurityGroupReferencesInput) String ¶
func (s DescribeSecurityGroupReferencesInput) String() string
String returns the string representation
func (*DescribeSecurityGroupReferencesInput) Validate ¶
func (s *DescribeSecurityGroupReferencesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSecurityGroupReferencesOutput ¶
type DescribeSecurityGroupReferencesOutput struct { // Information about the VPCs with the referencing security groups. SecurityGroupReferenceSet []SecurityGroupReference `locationName:"securityGroupReferenceSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeSecurityGroupReferencesOutput) String ¶
func (s DescribeSecurityGroupReferencesOutput) String() string
String returns the string representation
type DescribeSecurityGroupReferencesRequest ¶
type DescribeSecurityGroupReferencesRequest struct { *aws.Request Input *DescribeSecurityGroupReferencesInput Copy func(*DescribeSecurityGroupReferencesInput) DescribeSecurityGroupReferencesRequest }
DescribeSecurityGroupReferencesRequest is the request type for the DescribeSecurityGroupReferences API operation.
func (DescribeSecurityGroupReferencesRequest) Send ¶
func (r DescribeSecurityGroupReferencesRequest) Send(ctx context.Context) (*DescribeSecurityGroupReferencesResponse, error)
Send marshals and sends the DescribeSecurityGroupReferences API request.
type DescribeSecurityGroupReferencesResponse ¶ added in v0.9.0
type DescribeSecurityGroupReferencesResponse struct { *DescribeSecurityGroupReferencesOutput // contains filtered or unexported fields }
DescribeSecurityGroupReferencesResponse is the response type for the DescribeSecurityGroupReferences API operation.
func (*DescribeSecurityGroupReferencesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeSecurityGroupReferencesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeSecurityGroupReferences request.
type DescribeSecurityGroupsInput ¶
type DescribeSecurityGroupsInput 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 `locationName:"dryRun" type:"boolean"` // The filters. If using multiple filters for rules, the results include security // groups for which any combination of rules - not necessarily a single rule // - match all filters. // // * description - The description of the security group. // // * egress.ip-permission.cidr - An IPv4 CIDR block for an outbound security // group rule. // // * egress.ip-permission.from-port - For an outbound rule, the start of // port range for the TCP and UDP protocols, or an ICMP type number. // // * egress.ip-permission.group-id - The ID of a security group that has // been referenced in an outbound security group rule. // // * egress.ip-permission.group-name - The name of a security group that // has been referenced in an outbound security group rule. // // * egress.ip-permission.ipv6-cidr - An IPv6 CIDR block for an outbound // security group rule. // // * egress.ip-permission.prefix-list-id - The ID (prefix) of the AWS service // to which a security group rule allows outbound access. // // * egress.ip-permission.protocol - The IP protocol for an outbound security // group rule (tcp | udp | icmp or a protocol number). // // * egress.ip-permission.to-port - For an outbound rule, the end of port // range for the TCP and UDP protocols, or an ICMP code. // // * egress.ip-permission.user-id - The ID of an AWS account that has been // referenced in an outbound security group rule. // // * group-id - The ID of the security group. // // * group-name - The name of the security group. // // * ip-permission.cidr - An IPv4 CIDR block for an inbound security group // rule. // // * ip-permission.from-port - For an inbound rule, the start of port range // for the TCP and UDP protocols, or an ICMP type number. // // * ip-permission.group-id - The ID of a security group that has been referenced // in an inbound security group rule. // // * ip-permission.group-name - The name of a security group that has been // referenced in an inbound security group rule. // // * ip-permission.ipv6-cidr - An IPv6 CIDR block for an inbound security // group rule. // // * ip-permission.prefix-list-id - The ID (prefix) of the AWS service from // which a security group rule allows inbound access. // // * ip-permission.protocol - The IP protocol for an inbound security group // rule (tcp | udp | icmp or a protocol number). // // * ip-permission.to-port - For an inbound rule, the end of port range for // the TCP and UDP protocols, or an ICMP code. // // * ip-permission.user-id - The ID of an AWS account that has been referenced // in an inbound security group rule. // // * owner-id - The AWS account ID of the owner of the security group. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * vpc-id - The ID of the VPC specified when the security group was created. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The IDs of the security groups. Required for security groups in a nondefault // VPC. // // Default: Describes all your security groups. GroupIds []string `locationName:"GroupId" locationNameList:"groupId" type:"list"` // [EC2-Classic and default VPC only] The names of the security groups. You // can specify either the security group name or the security group ID. For // security groups in a nondefault VPC, use the group-name filter to describe // security groups by name. // // Default: Describes all your security groups. GroupNames []string `locationName:"GroupName" locationNameList:"GroupName" type:"list"` // The maximum number of results to return in a single call. To retrieve the // remaining results, make another request with the returned NextToken value. // This value can be between 5 and 1000. If this parameter is not specified, // then all results are returned. MaxResults *int64 `min:"5" type:"integer"` // The token to request the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeSecurityGroupsInput) String ¶
func (s DescribeSecurityGroupsInput) String() string
String returns the string representation
func (*DescribeSecurityGroupsInput) Validate ¶ added in v0.9.0
func (s *DescribeSecurityGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSecurityGroupsOutput ¶
type DescribeSecurityGroupsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the security groups. SecurityGroups []SecurityGroup `locationName:"securityGroupInfo" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeSecurityGroupsOutput) String ¶
func (s DescribeSecurityGroupsOutput) String() string
String returns the string representation
type DescribeSecurityGroupsPaginator ¶ added in v0.9.0
DescribeSecurityGroupsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeSecurityGroupsPaginator ¶ added in v0.9.0
func NewDescribeSecurityGroupsPaginator(req DescribeSecurityGroupsRequest) DescribeSecurityGroupsPaginator
NewDescribeSecurityGroupsRequestPaginator returns a paginator for DescribeSecurityGroups. 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.DescribeSecurityGroupsRequest(input) p := ec2.NewDescribeSecurityGroupsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeSecurityGroupsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeSecurityGroupsPaginator) CurrentPage() *DescribeSecurityGroupsOutput
type DescribeSecurityGroupsRequest ¶
type DescribeSecurityGroupsRequest struct { *aws.Request Input *DescribeSecurityGroupsInput Copy func(*DescribeSecurityGroupsInput) DescribeSecurityGroupsRequest }
DescribeSecurityGroupsRequest is the request type for the DescribeSecurityGroups API operation.
func (DescribeSecurityGroupsRequest) Send ¶
func (r DescribeSecurityGroupsRequest) Send(ctx context.Context) (*DescribeSecurityGroupsResponse, error)
Send marshals and sends the DescribeSecurityGroups API request.
type DescribeSecurityGroupsResponse ¶ added in v0.9.0
type DescribeSecurityGroupsResponse struct { *DescribeSecurityGroupsOutput // contains filtered or unexported fields }
DescribeSecurityGroupsResponse is the response type for the DescribeSecurityGroups API operation.
func (*DescribeSecurityGroupsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeSecurityGroupsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeSecurityGroups request.
type DescribeSnapshotAttributeInput ¶
type DescribeSnapshotAttributeInput struct { // The snapshot attribute you would like to view. // // Attribute is a required field Attribute SnapshotAttributeName `type:"string" required:"true" enum:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the EBS snapshot. // // SnapshotId is a required field SnapshotId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DescribeSnapshotAttribute.
func (DescribeSnapshotAttributeInput) String ¶
func (s DescribeSnapshotAttributeInput) String() string
String returns the string representation
func (*DescribeSnapshotAttributeInput) Validate ¶
func (s *DescribeSnapshotAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSnapshotAttributeOutput ¶
type DescribeSnapshotAttributeOutput struct { // The users and groups that have the permissions for creating volumes from // the snapshot. CreateVolumePermissions []CreateVolumePermission `locationName:"createVolumePermission" locationNameList:"item" type:"list"` // The product codes. ProductCodes []ProductCode `locationName:"productCodes" locationNameList:"item" type:"list"` // The ID of the EBS snapshot. SnapshotId *string `locationName:"snapshotId" type:"string"` // contains filtered or unexported fields }
Contains the output of DescribeSnapshotAttribute.
func (DescribeSnapshotAttributeOutput) String ¶
func (s DescribeSnapshotAttributeOutput) String() string
String returns the string representation
type DescribeSnapshotAttributeRequest ¶
type DescribeSnapshotAttributeRequest struct { *aws.Request Input *DescribeSnapshotAttributeInput Copy func(*DescribeSnapshotAttributeInput) DescribeSnapshotAttributeRequest }
DescribeSnapshotAttributeRequest is the request type for the DescribeSnapshotAttribute API operation.
func (DescribeSnapshotAttributeRequest) Send ¶
func (r DescribeSnapshotAttributeRequest) Send(ctx context.Context) (*DescribeSnapshotAttributeResponse, error)
Send marshals and sends the DescribeSnapshotAttribute API request.
type DescribeSnapshotAttributeResponse ¶ added in v0.9.0
type DescribeSnapshotAttributeResponse struct { *DescribeSnapshotAttributeOutput // contains filtered or unexported fields }
DescribeSnapshotAttributeResponse is the response type for the DescribeSnapshotAttribute API operation.
func (*DescribeSnapshotAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeSnapshotAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeSnapshotAttribute request.
type DescribeSnapshotsInput ¶
type DescribeSnapshotsInput 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 `locationName:"dryRun" type:"boolean"` // The filters. // // * description - A description of the snapshot. // // * encrypted - Indicates whether the snapshot is encrypted (true | false) // // * owner-alias - Value from an Amazon-maintained list (amazon | self | // all | aws-marketplace | microsoft) of snapshot owners. Not to be confused // with the user-configured AWS account alias, which is set from the IAM // console. // // * owner-id - The ID of the AWS account that owns the snapshot. // // * progress - The progress of the snapshot, as a percentage (for example, // 80%). // // * snapshot-id - The snapshot ID. // // * start-time - The time stamp when the snapshot was initiated. // // * status - The status of the snapshot (pending | completed | error). // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * volume-id - The ID of the volume the snapshot is for. // // * volume-size - The size of the volume, in GiB. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of snapshot results returned by DescribeSnapshots in paginated // output. When this parameter is used, DescribeSnapshots only returns MaxResults // results in a single page along with a NextToken response element. The remaining // results of the initial request can be seen by sending another DescribeSnapshots // request with the returned NextToken value. This value can be between 5 and // 1000; if MaxResults is given a value larger than 1000, only 1000 results // are returned. If this parameter is not used, then DescribeSnapshots returns // all results. You cannot specify this parameter and the snapshot IDs parameter // in the same request. MaxResults *int64 `type:"integer"` // The NextToken value returned from a previous paginated DescribeSnapshots // request where MaxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that // returned the NextToken value. This value is null when there are no more results // to return. NextToken *string `type:"string"` // Describes the snapshots owned by these owners. OwnerIds []string `locationName:"Owner" locationNameList:"Owner" type:"list"` // The IDs of the AWS accounts that can create volumes from the snapshot. RestorableByUserIds []string `locationName:"RestorableBy" type:"list"` // The snapshot IDs. // // Default: Describes the snapshots for which you have create volume permissions. SnapshotIds []string `locationName:"SnapshotId" locationNameList:"SnapshotId" type:"list"` // contains filtered or unexported fields }
func (DescribeSnapshotsInput) String ¶
func (s DescribeSnapshotsInput) String() string
String returns the string representation
type DescribeSnapshotsOutput ¶
type DescribeSnapshotsOutput struct { // The NextToken value to include in a future DescribeSnapshots request. When // the results of a DescribeSnapshots request exceed MaxResults, this value // can be used to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the snapshots. Snapshots []Snapshot `locationName:"snapshotSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeSnapshotsOutput) String ¶
func (s DescribeSnapshotsOutput) String() string
String returns the string representation
type DescribeSnapshotsPaginator ¶ added in v0.9.0
DescribeSnapshotsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeSnapshotsPaginator ¶ added in v0.9.0
func NewDescribeSnapshotsPaginator(req DescribeSnapshotsRequest) DescribeSnapshotsPaginator
NewDescribeSnapshotsRequestPaginator returns a paginator for DescribeSnapshots. 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.DescribeSnapshotsRequest(input) p := ec2.NewDescribeSnapshotsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeSnapshotsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeSnapshotsPaginator) CurrentPage() *DescribeSnapshotsOutput
type DescribeSnapshotsRequest ¶
type DescribeSnapshotsRequest struct { *aws.Request Input *DescribeSnapshotsInput Copy func(*DescribeSnapshotsInput) DescribeSnapshotsRequest }
DescribeSnapshotsRequest is the request type for the DescribeSnapshots API operation.
func (DescribeSnapshotsRequest) Send ¶
func (r DescribeSnapshotsRequest) Send(ctx context.Context) (*DescribeSnapshotsResponse, error)
Send marshals and sends the DescribeSnapshots API request.
type DescribeSnapshotsResponse ¶ added in v0.9.0
type DescribeSnapshotsResponse struct { *DescribeSnapshotsOutput // contains filtered or unexported fields }
DescribeSnapshotsResponse is the response type for the DescribeSnapshots API operation.
func (*DescribeSnapshotsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeSnapshotsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeSnapshots request.
type DescribeSpotDatafeedSubscriptionInput ¶
type DescribeSpotDatafeedSubscriptionInput 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 `locationName:"dryRun" type:"boolean"` // contains filtered or unexported fields }
Contains the parameters for DescribeSpotDatafeedSubscription.
func (DescribeSpotDatafeedSubscriptionInput) String ¶
func (s DescribeSpotDatafeedSubscriptionInput) String() string
String returns the string representation
type DescribeSpotDatafeedSubscriptionOutput ¶
type DescribeSpotDatafeedSubscriptionOutput struct { // The Spot Instance data feed subscription. SpotDatafeedSubscription *SpotDatafeedSubscription `locationName:"spotDatafeedSubscription" type:"structure"` // contains filtered or unexported fields }
Contains the output of DescribeSpotDatafeedSubscription.
func (DescribeSpotDatafeedSubscriptionOutput) String ¶
func (s DescribeSpotDatafeedSubscriptionOutput) String() string
String returns the string representation
type DescribeSpotDatafeedSubscriptionRequest ¶
type DescribeSpotDatafeedSubscriptionRequest struct { *aws.Request Input *DescribeSpotDatafeedSubscriptionInput Copy func(*DescribeSpotDatafeedSubscriptionInput) DescribeSpotDatafeedSubscriptionRequest }
DescribeSpotDatafeedSubscriptionRequest is the request type for the DescribeSpotDatafeedSubscription API operation.
func (DescribeSpotDatafeedSubscriptionRequest) Send ¶
func (r DescribeSpotDatafeedSubscriptionRequest) Send(ctx context.Context) (*DescribeSpotDatafeedSubscriptionResponse, error)
Send marshals and sends the DescribeSpotDatafeedSubscription API request.
type DescribeSpotDatafeedSubscriptionResponse ¶ added in v0.9.0
type DescribeSpotDatafeedSubscriptionResponse struct { *DescribeSpotDatafeedSubscriptionOutput // contains filtered or unexported fields }
DescribeSpotDatafeedSubscriptionResponse is the response type for the DescribeSpotDatafeedSubscription API operation.
func (*DescribeSpotDatafeedSubscriptionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeSpotDatafeedSubscriptionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeSpotDatafeedSubscription request.
type DescribeSpotFleetInstancesInput ¶
type DescribeSpotFleetInstancesInput 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 `locationName:"dryRun" type:"boolean"` // The maximum number of results to return in a single call. Specify a value // between 1 and 1000. The default value is 1000. To retrieve the remaining // results, make another call with the returned NextToken value. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // The ID of the Spot Fleet request. // // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DescribeSpotFleetInstances.
func (DescribeSpotFleetInstancesInput) String ¶
func (s DescribeSpotFleetInstancesInput) String() string
String returns the string representation
func (*DescribeSpotFleetInstancesInput) Validate ¶
func (s *DescribeSpotFleetInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSpotFleetInstancesOutput ¶
type DescribeSpotFleetInstancesOutput struct { // The running instances. This list is refreshed periodically and might be out // of date. ActiveInstances []ActiveInstance `locationName:"activeInstanceSet" locationNameList:"item" type:"list"` // The token required to retrieve the next set of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The ID of the Spot Fleet request. SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string"` // contains filtered or unexported fields }
Contains the output of DescribeSpotFleetInstances.
func (DescribeSpotFleetInstancesOutput) String ¶
func (s DescribeSpotFleetInstancesOutput) String() string
String returns the string representation
type DescribeSpotFleetInstancesRequest ¶
type DescribeSpotFleetInstancesRequest struct { *aws.Request Input *DescribeSpotFleetInstancesInput Copy func(*DescribeSpotFleetInstancesInput) DescribeSpotFleetInstancesRequest }
DescribeSpotFleetInstancesRequest is the request type for the DescribeSpotFleetInstances API operation.
func (DescribeSpotFleetInstancesRequest) Send ¶
func (r DescribeSpotFleetInstancesRequest) Send(ctx context.Context) (*DescribeSpotFleetInstancesResponse, error)
Send marshals and sends the DescribeSpotFleetInstances API request.
type DescribeSpotFleetInstancesResponse ¶ added in v0.9.0
type DescribeSpotFleetInstancesResponse struct { *DescribeSpotFleetInstancesOutput // contains filtered or unexported fields }
DescribeSpotFleetInstancesResponse is the response type for the DescribeSpotFleetInstances API operation.
func (*DescribeSpotFleetInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeSpotFleetInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeSpotFleetInstances request.
type DescribeSpotFleetRequestHistoryInput ¶
type DescribeSpotFleetRequestHistoryInput 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 `locationName:"dryRun" type:"boolean"` // The type of events to describe. By default, all events are described. EventType EventType `locationName:"eventType" type:"string" enum:"true"` // The maximum number of results to return in a single call. Specify a value // between 1 and 1000. The default value is 1000. To retrieve the remaining // results, make another call with the returned NextToken value. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // The ID of the Spot Fleet request. // // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` // The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). // // StartTime is a required field StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DescribeSpotFleetRequestHistory.
func (DescribeSpotFleetRequestHistoryInput) String ¶
func (s DescribeSpotFleetRequestHistoryInput) String() string
String returns the string representation
func (*DescribeSpotFleetRequestHistoryInput) Validate ¶
func (s *DescribeSpotFleetRequestHistoryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSpotFleetRequestHistoryOutput ¶
type DescribeSpotFleetRequestHistoryOutput struct { // Information about the events in the history of the Spot Fleet request. HistoryRecords []HistoryRecord `locationName:"historyRecordSet" locationNameList:"item" type:"list"` // The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). // All records up to this time were retrieved. // // If nextToken indicates that there are more results, this value is not present. LastEvaluatedTime *time.Time `locationName:"lastEvaluatedTime" type:"timestamp"` // The token required to retrieve the next set of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The ID of the Spot Fleet request. SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string"` // The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). StartTime *time.Time `locationName:"startTime" type:"timestamp"` // contains filtered or unexported fields }
Contains the output of DescribeSpotFleetRequestHistory.
func (DescribeSpotFleetRequestHistoryOutput) String ¶
func (s DescribeSpotFleetRequestHistoryOutput) String() string
String returns the string representation
type DescribeSpotFleetRequestHistoryRequest ¶
type DescribeSpotFleetRequestHistoryRequest struct { *aws.Request Input *DescribeSpotFleetRequestHistoryInput Copy func(*DescribeSpotFleetRequestHistoryInput) DescribeSpotFleetRequestHistoryRequest }
DescribeSpotFleetRequestHistoryRequest is the request type for the DescribeSpotFleetRequestHistory API operation.
func (DescribeSpotFleetRequestHistoryRequest) Send ¶
func (r DescribeSpotFleetRequestHistoryRequest) Send(ctx context.Context) (*DescribeSpotFleetRequestHistoryResponse, error)
Send marshals and sends the DescribeSpotFleetRequestHistory API request.
type DescribeSpotFleetRequestHistoryResponse ¶ added in v0.9.0
type DescribeSpotFleetRequestHistoryResponse struct { *DescribeSpotFleetRequestHistoryOutput // contains filtered or unexported fields }
DescribeSpotFleetRequestHistoryResponse is the response type for the DescribeSpotFleetRequestHistory API operation.
func (*DescribeSpotFleetRequestHistoryResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeSpotFleetRequestHistoryResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeSpotFleetRequestHistory request.
type DescribeSpotFleetRequestsInput ¶
type DescribeSpotFleetRequestsInput 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 `locationName:"dryRun" type:"boolean"` // The maximum number of results to return in a single call. Specify a value // between 1 and 1000. The default value is 1000. To retrieve the remaining // results, make another call with the returned NextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // The IDs of the Spot Fleet requests. SpotFleetRequestIds []string `locationName:"spotFleetRequestId" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the parameters for DescribeSpotFleetRequests.
func (DescribeSpotFleetRequestsInput) String ¶
func (s DescribeSpotFleetRequestsInput) String() string
String returns the string representation
type DescribeSpotFleetRequestsOutput ¶
type DescribeSpotFleetRequestsOutput struct { // The token required to retrieve the next set of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the configuration of your Spot Fleet. SpotFleetRequestConfigs []SpotFleetRequestConfig `locationName:"spotFleetRequestConfigSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeSpotFleetRequests.
func (DescribeSpotFleetRequestsOutput) String ¶
func (s DescribeSpotFleetRequestsOutput) String() string
String returns the string representation
type DescribeSpotFleetRequestsPaginator ¶ added in v0.9.0
DescribeSpotFleetRequestsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeSpotFleetRequestsPaginator ¶ added in v0.9.0
func NewDescribeSpotFleetRequestsPaginator(req DescribeSpotFleetRequestsRequest) DescribeSpotFleetRequestsPaginator
NewDescribeSpotFleetRequestsRequestPaginator returns a paginator for DescribeSpotFleetRequests. 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.DescribeSpotFleetRequestsRequest(input) p := ec2.NewDescribeSpotFleetRequestsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeSpotFleetRequestsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeSpotFleetRequestsPaginator) CurrentPage() *DescribeSpotFleetRequestsOutput
type DescribeSpotFleetRequestsRequest ¶
type DescribeSpotFleetRequestsRequest struct { *aws.Request Input *DescribeSpotFleetRequestsInput Copy func(*DescribeSpotFleetRequestsInput) DescribeSpotFleetRequestsRequest }
DescribeSpotFleetRequestsRequest is the request type for the DescribeSpotFleetRequests API operation.
func (DescribeSpotFleetRequestsRequest) Send ¶
func (r DescribeSpotFleetRequestsRequest) Send(ctx context.Context) (*DescribeSpotFleetRequestsResponse, error)
Send marshals and sends the DescribeSpotFleetRequests API request.
type DescribeSpotFleetRequestsResponse ¶ added in v0.9.0
type DescribeSpotFleetRequestsResponse struct { *DescribeSpotFleetRequestsOutput // contains filtered or unexported fields }
DescribeSpotFleetRequestsResponse is the response type for the DescribeSpotFleetRequests API operation.
func (*DescribeSpotFleetRequestsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeSpotFleetRequestsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeSpotFleetRequests request.
type DescribeSpotInstanceRequestsInput ¶
type DescribeSpotInstanceRequestsInput 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * availability-zone-group - The Availability Zone group. // // * create-time - The time stamp when the Spot Instance request was created. // // * fault-code - The fault code related to the request. // // * fault-message - The fault message related to the request. // // * instance-id - The ID of the instance that fulfilled the request. // // * launch-group - The Spot Instance launch group. // // * launch.block-device-mapping.delete-on-termination - Indicates whether // the EBS volume is deleted on instance termination. // // * launch.block-device-mapping.device-name - The device name for the volume // in the block device mapping (for example, /dev/sdh or xvdh). // // * launch.block-device-mapping.snapshot-id - The ID of the snapshot for // the EBS volume. // // * launch.block-device-mapping.volume-size - The size of the EBS volume, // in GiB. // // * launch.block-device-mapping.volume-type - The type of EBS volume: gp2 // for General Purpose SSD, io1 for Provisioned IOPS SSD, st1 for Throughput // Optimized HDD, sc1for Cold HDD, or standard for Magnetic. // // * launch.group-id - The ID of the security group for the instance. // // * launch.group-name - The name of the security group for the instance. // // * launch.image-id - The ID of the AMI. // // * launch.instance-type - The type of instance (for example, m3.medium). // // * launch.kernel-id - The kernel ID. // // * launch.key-name - The name of the key pair the instance launched with. // // * launch.monitoring-enabled - Whether detailed monitoring is enabled for // the Spot Instance. // // * launch.ramdisk-id - The RAM disk ID. // // * launched-availability-zone - The Availability Zone in which the request // is launched. // // * network-interface.addresses.primary - Indicates whether the IP address // is the primary private IP address. // // * network-interface.delete-on-termination - Indicates whether the network // interface is deleted when the instance is terminated. // // * network-interface.description - A description of the network interface. // // * network-interface.device-index - The index of the device for the network // interface attachment on the instance. // // * network-interface.group-id - The ID of the security group associated // with the network interface. // // * network-interface.network-interface-id - The ID of the network interface. // // * network-interface.private-ip-address - The primary private IP address // of the network interface. // // * network-interface.subnet-id - The ID of the subnet for the instance. // // * product-description - The product description associated with the instance // (Linux/UNIX | Windows). // // * spot-instance-request-id - The Spot Instance request ID. // // * spot-price - The maximum hourly price for any Spot Instance launched // to fulfill the request. // // * state - The state of the Spot Instance request (open | active | closed // | cancelled | failed). Spot request status information can help you track // your Amazon EC2 Spot Instance requests. For more information, see Spot // Request Status (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html) // in the Amazon EC2 User Guide for Linux Instances. // // * status-code - The short code describing the most recent evaluation of // your Spot Instance request. // // * status-message - The message explaining the status of the Spot Instance // request. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * type - The type of Spot Instance request (one-time | persistent). // // * valid-from - The start date of the request. // // * valid-until - The end date of the request. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return in a single call. Specify a value // between 5 and 1000. To retrieve the remaining results, make another call // with the returned NextToken value. MaxResults *int64 `type:"integer"` // The token to request the next set of results. This value is null when there // are no more results to return. NextToken *string `type:"string"` // One or more Spot Instance request IDs. SpotInstanceRequestIds []string `locationName:"SpotInstanceRequestId" locationNameList:"SpotInstanceRequestId" type:"list"` // contains filtered or unexported fields }
Contains the parameters for DescribeSpotInstanceRequests.
func (DescribeSpotInstanceRequestsInput) String ¶
func (s DescribeSpotInstanceRequestsInput) String() string
String returns the string representation
type DescribeSpotInstanceRequestsOutput ¶
type DescribeSpotInstanceRequestsOutput struct { // The token to use to retrieve the next set of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // One or more Spot Instance requests. SpotInstanceRequests []SpotInstanceRequest `locationName:"spotInstanceRequestSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeSpotInstanceRequests.
func (DescribeSpotInstanceRequestsOutput) String ¶
func (s DescribeSpotInstanceRequestsOutput) String() string
String returns the string representation
type DescribeSpotInstanceRequestsPaginator ¶ added in v0.9.0
DescribeSpotInstanceRequestsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeSpotInstanceRequestsPaginator ¶ added in v0.9.0
func NewDescribeSpotInstanceRequestsPaginator(req DescribeSpotInstanceRequestsRequest) DescribeSpotInstanceRequestsPaginator
NewDescribeSpotInstanceRequestsRequestPaginator returns a paginator for DescribeSpotInstanceRequests. 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.DescribeSpotInstanceRequestsRequest(input) p := ec2.NewDescribeSpotInstanceRequestsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeSpotInstanceRequestsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeSpotInstanceRequestsPaginator) CurrentPage() *DescribeSpotInstanceRequestsOutput
type DescribeSpotInstanceRequestsRequest ¶
type DescribeSpotInstanceRequestsRequest struct { *aws.Request Input *DescribeSpotInstanceRequestsInput Copy func(*DescribeSpotInstanceRequestsInput) DescribeSpotInstanceRequestsRequest }
DescribeSpotInstanceRequestsRequest is the request type for the DescribeSpotInstanceRequests API operation.
func (DescribeSpotInstanceRequestsRequest) Send ¶
func (r DescribeSpotInstanceRequestsRequest) Send(ctx context.Context) (*DescribeSpotInstanceRequestsResponse, error)
Send marshals and sends the DescribeSpotInstanceRequests API request.
type DescribeSpotInstanceRequestsResponse ¶ added in v0.9.0
type DescribeSpotInstanceRequestsResponse struct { *DescribeSpotInstanceRequestsOutput // contains filtered or unexported fields }
DescribeSpotInstanceRequestsResponse is the response type for the DescribeSpotInstanceRequests API operation.
func (*DescribeSpotInstanceRequestsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeSpotInstanceRequestsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeSpotInstanceRequests request.
type DescribeSpotPriceHistoryInput ¶
type DescribeSpotPriceHistoryInput struct { // Filters the results by the specified Availability Zone. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // The date and time, up to the current date, from which to stop retrieving // the price history data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). EndTime *time.Time `locationName:"endTime" type:"timestamp"` // One or more filters. // // * availability-zone - The Availability Zone for which prices should be // returned. // // * instance-type - The type of instance (for example, m3.medium). // // * product-description - The product description for the Spot price (Linux/UNIX // | SUSE Linux | Windows | Linux/UNIX (Amazon VPC) | SUSE Linux (Amazon // VPC) | Windows (Amazon VPC)). // // * spot-price - The Spot price. The value must match exactly (or use wildcards; // greater than or less than comparison is not supported). // // * timestamp - The time stamp of the Spot price history, in UTC format // (for example, YYYY-MM-DDTHH:MM:SSZ). You can use wildcards (* and ?). // Greater than or less than comparison is not supported. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // Filters the results by the specified instance types. InstanceTypes []InstanceType `locationName:"InstanceType" type:"list"` // The maximum number of results to return in a single call. Specify a value // between 1 and 1000. The default value is 1000. To retrieve the remaining // results, make another call with the returned NextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // Filters the results by the specified basic product descriptions. ProductDescriptions []string `locationName:"ProductDescription" type:"list"` // The date and time, up to the past 90 days, from which to start retrieving // the price history data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). StartTime *time.Time `locationName:"startTime" type:"timestamp"` // contains filtered or unexported fields }
Contains the parameters for DescribeSpotPriceHistory.
func (DescribeSpotPriceHistoryInput) String ¶
func (s DescribeSpotPriceHistoryInput) String() string
String returns the string representation
type DescribeSpotPriceHistoryOutput ¶
type DescribeSpotPriceHistoryOutput struct { // The token required to retrieve the next set of results. This value is null // or an empty string when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The historical Spot prices. SpotPriceHistory []SpotPrice `locationName:"spotPriceHistorySet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeSpotPriceHistory.
func (DescribeSpotPriceHistoryOutput) String ¶
func (s DescribeSpotPriceHistoryOutput) String() string
String returns the string representation
type DescribeSpotPriceHistoryPaginator ¶ added in v0.9.0
DescribeSpotPriceHistoryPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeSpotPriceHistoryPaginator ¶ added in v0.9.0
func NewDescribeSpotPriceHistoryPaginator(req DescribeSpotPriceHistoryRequest) DescribeSpotPriceHistoryPaginator
NewDescribeSpotPriceHistoryRequestPaginator returns a paginator for DescribeSpotPriceHistory. 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.DescribeSpotPriceHistoryRequest(input) p := ec2.NewDescribeSpotPriceHistoryRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeSpotPriceHistoryPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeSpotPriceHistoryPaginator) CurrentPage() *DescribeSpotPriceHistoryOutput
type DescribeSpotPriceHistoryRequest ¶
type DescribeSpotPriceHistoryRequest struct { *aws.Request Input *DescribeSpotPriceHistoryInput Copy func(*DescribeSpotPriceHistoryInput) DescribeSpotPriceHistoryRequest }
DescribeSpotPriceHistoryRequest is the request type for the DescribeSpotPriceHistory API operation.
func (DescribeSpotPriceHistoryRequest) Send ¶
func (r DescribeSpotPriceHistoryRequest) Send(ctx context.Context) (*DescribeSpotPriceHistoryResponse, error)
Send marshals and sends the DescribeSpotPriceHistory API request.
type DescribeSpotPriceHistoryResponse ¶ added in v0.9.0
type DescribeSpotPriceHistoryResponse struct { *DescribeSpotPriceHistoryOutput // contains filtered or unexported fields }
DescribeSpotPriceHistoryResponse is the response type for the DescribeSpotPriceHistory API operation.
func (*DescribeSpotPriceHistoryResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeSpotPriceHistoryResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeSpotPriceHistory request.
type DescribeStaleSecurityGroupsInput ¶
type DescribeStaleSecurityGroupsInput 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 maximum number of items to return for this request. The request returns // a token that you can specify in a subsequent call to get the next set of // results. MaxResults *int64 `min:"5" type:"integer"` // The token for the next set of items to return. (You received this token from // a prior call.) NextToken *string `min:"1" type:"string"` // The ID of the VPC. // // VpcId is a required field VpcId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeStaleSecurityGroupsInput) String ¶
func (s DescribeStaleSecurityGroupsInput) String() string
String returns the string representation
func (*DescribeStaleSecurityGroupsInput) Validate ¶
func (s *DescribeStaleSecurityGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeStaleSecurityGroupsOutput ¶
type DescribeStaleSecurityGroupsOutput struct { // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. NextToken *string `locationName:"nextToken" type:"string"` // Information about the stale security groups. StaleSecurityGroupSet []StaleSecurityGroup `locationName:"staleSecurityGroupSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeStaleSecurityGroupsOutput) String ¶
func (s DescribeStaleSecurityGroupsOutput) String() string
String returns the string representation
type DescribeStaleSecurityGroupsPaginator ¶ added in v0.9.0
DescribeStaleSecurityGroupsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeStaleSecurityGroupsPaginator ¶ added in v0.9.0
func NewDescribeStaleSecurityGroupsPaginator(req DescribeStaleSecurityGroupsRequest) DescribeStaleSecurityGroupsPaginator
NewDescribeStaleSecurityGroupsRequestPaginator returns a paginator for DescribeStaleSecurityGroups. 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.DescribeStaleSecurityGroupsRequest(input) p := ec2.NewDescribeStaleSecurityGroupsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeStaleSecurityGroupsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeStaleSecurityGroupsPaginator) CurrentPage() *DescribeStaleSecurityGroupsOutput
type DescribeStaleSecurityGroupsRequest ¶
type DescribeStaleSecurityGroupsRequest struct { *aws.Request Input *DescribeStaleSecurityGroupsInput Copy func(*DescribeStaleSecurityGroupsInput) DescribeStaleSecurityGroupsRequest }
DescribeStaleSecurityGroupsRequest is the request type for the DescribeStaleSecurityGroups API operation.
func (DescribeStaleSecurityGroupsRequest) Send ¶
func (r DescribeStaleSecurityGroupsRequest) Send(ctx context.Context) (*DescribeStaleSecurityGroupsResponse, error)
Send marshals and sends the DescribeStaleSecurityGroups API request.
type DescribeStaleSecurityGroupsResponse ¶ added in v0.9.0
type DescribeStaleSecurityGroupsResponse struct { *DescribeStaleSecurityGroupsOutput // contains filtered or unexported fields }
DescribeStaleSecurityGroupsResponse is the response type for the DescribeStaleSecurityGroups API operation.
func (*DescribeStaleSecurityGroupsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeStaleSecurityGroupsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeStaleSecurityGroups request.
type DescribeSubnetsInput ¶
type DescribeSubnetsInput 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * availability-zone - The Availability Zone for the subnet. You can also // use availabilityZone as the filter name. // // * availability-zone-id - The ID of the Availability Zone for the subnet. // You can also use availabilityZoneId as the filter name. // // * available-ip-address-count - The number of IPv4 addresses in the subnet // that are available. // // * cidr-block - The IPv4 CIDR block of the subnet. The CIDR block you specify // must exactly match the subnet's CIDR block for information to be returned // for the subnet. You can also use cidr or cidrBlock as the filter names. // // * default-for-az - Indicates whether this is the default subnet for the // Availability Zone. You can also use defaultForAz as the filter name. // // * ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated // with the subnet. // // * ipv6-cidr-block-association.association-id - An association ID for an // IPv6 CIDR block associated with the subnet. // // * ipv6-cidr-block-association.state - The state of an IPv6 CIDR block // associated with the subnet. // // * owner-id - The ID of the AWS account that owns the subnet. // // * state - The state of the subnet (pending | available). // // * subnet-arn - The Amazon Resource Name (ARN) of the subnet. // // * subnet-id - The ID of the subnet. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * vpc-id - The ID of the VPC for the subnet. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // One or more subnet IDs. // // Default: Describes all your subnets. SubnetIds []string `locationName:"SubnetId" locationNameList:"SubnetId" type:"list"` // contains filtered or unexported fields }
func (DescribeSubnetsInput) String ¶
func (s DescribeSubnetsInput) String() string
String returns the string representation
func (*DescribeSubnetsInput) Validate ¶ added in v0.9.0
func (s *DescribeSubnetsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSubnetsOutput ¶
type DescribeSubnetsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about one or more subnets. Subnets []Subnet `locationName:"subnetSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeSubnetsOutput) String ¶
func (s DescribeSubnetsOutput) String() string
String returns the string representation
type DescribeSubnetsPaginator ¶ added in v0.9.0
DescribeSubnetsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeSubnetsPaginator ¶ added in v0.9.0
func NewDescribeSubnetsPaginator(req DescribeSubnetsRequest) DescribeSubnetsPaginator
NewDescribeSubnetsRequestPaginator returns a paginator for DescribeSubnets. 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.DescribeSubnetsRequest(input) p := ec2.NewDescribeSubnetsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeSubnetsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeSubnetsPaginator) CurrentPage() *DescribeSubnetsOutput
type DescribeSubnetsRequest ¶
type DescribeSubnetsRequest struct { *aws.Request Input *DescribeSubnetsInput Copy func(*DescribeSubnetsInput) DescribeSubnetsRequest }
DescribeSubnetsRequest is the request type for the DescribeSubnets API operation.
func (DescribeSubnetsRequest) Send ¶
func (r DescribeSubnetsRequest) Send(ctx context.Context) (*DescribeSubnetsResponse, error)
Send marshals and sends the DescribeSubnets API request.
type DescribeSubnetsResponse ¶ added in v0.9.0
type DescribeSubnetsResponse struct { *DescribeSubnetsOutput // contains filtered or unexported fields }
DescribeSubnetsResponse is the response type for the DescribeSubnets API operation.
func (*DescribeSubnetsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeSubnetsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeSubnets request.
type DescribeTagsInput ¶
type DescribeTagsInput 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 `locationName:"dryRun" type:"boolean"` // The filters. // // * key - The tag key. // // * resource-id - The ID of the resource. // // * resource-type - The resource type (customer-gateway | dedicated-host // | dhcp-options | elastic-ip | fleet | fpga-image | image | instance | // host-reservation | internet-gateway | launch-template | natgateway | network-acl // | network-interface | reserved-instances | route-table | security-group // | snapshot | spot-instances-request | subnet | volume | vpc | vpc-peering-connection // | vpn-connection | vpn-gateway). // // * tag:<key> - The key/value combination of the tag. For example, specify // "tag:Owner" for the filter name and "TeamA" for the filter value to find // resources with the tag "Owner=TeamA". // // * value - The tag value. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return in a single call. This value can // be between 5 and 1000. To retrieve the remaining results, make another call // with the returned NextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to retrieve the next page of results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeTagsInput) String ¶
func (s DescribeTagsInput) String() string
String returns the string representation
type DescribeTagsOutput ¶
type DescribeTagsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The tags. Tags []TagDescription `locationName:"tagSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeTagsOutput) String ¶
func (s DescribeTagsOutput) String() string
String returns the string representation
type DescribeTagsPaginator ¶ added in v0.9.0
DescribeTagsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeTagsPaginator ¶ added in v0.9.0
func NewDescribeTagsPaginator(req DescribeTagsRequest) DescribeTagsPaginator
NewDescribeTagsRequestPaginator returns a paginator for DescribeTags. 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.DescribeTagsRequest(input) p := ec2.NewDescribeTagsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeTagsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeTagsPaginator) CurrentPage() *DescribeTagsOutput
type DescribeTagsRequest ¶
type DescribeTagsRequest struct { *aws.Request Input *DescribeTagsInput Copy func(*DescribeTagsInput) DescribeTagsRequest }
DescribeTagsRequest is the request type for the DescribeTags API operation.
func (DescribeTagsRequest) Send ¶
func (r DescribeTagsRequest) Send(ctx context.Context) (*DescribeTagsResponse, error)
Send marshals and sends the DescribeTags API request.
type DescribeTagsResponse ¶ added in v0.9.0
type DescribeTagsResponse struct { *DescribeTagsOutput // contains filtered or unexported fields }
DescribeTagsResponse is the response type for the DescribeTags API operation.
func (*DescribeTagsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeTagsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeTags request.
type DescribeTrafficMirrorFiltersInput ¶ added in v0.10.0
type DescribeTrafficMirrorFiltersInput 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"` // One or more filters. The possible values are: // // * description: The Traffic Mirror filter description. // // * traffic-mirror-filter-id: The ID of the Traffic Mirror filter. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // The ID of the Traffic Mirror filter. TrafficMirrorFilterIds []string `locationName:"TrafficMirrorFilterId" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeTrafficMirrorFiltersInput) String ¶ added in v0.10.0
func (s DescribeTrafficMirrorFiltersInput) String() string
String returns the string representation
func (*DescribeTrafficMirrorFiltersInput) Validate ¶ added in v0.10.0
func (s *DescribeTrafficMirrorFiltersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeTrafficMirrorFiltersOutput ¶ added in v0.10.0
type DescribeTrafficMirrorFiltersOutput struct { // The token to use to retrieve the next page of results. The value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about one or more Traffic Mirror filters. TrafficMirrorFilters []TrafficMirrorFilter `locationName:"trafficMirrorFilterSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeTrafficMirrorFiltersOutput) String ¶ added in v0.10.0
func (s DescribeTrafficMirrorFiltersOutput) String() string
String returns the string representation
type DescribeTrafficMirrorFiltersPaginator ¶ added in v0.10.0
DescribeTrafficMirrorFiltersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeTrafficMirrorFiltersPaginator ¶ added in v0.10.0
func NewDescribeTrafficMirrorFiltersPaginator(req DescribeTrafficMirrorFiltersRequest) DescribeTrafficMirrorFiltersPaginator
NewDescribeTrafficMirrorFiltersRequestPaginator returns a paginator for DescribeTrafficMirrorFilters. 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.DescribeTrafficMirrorFiltersRequest(input) p := ec2.NewDescribeTrafficMirrorFiltersRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeTrafficMirrorFiltersPaginator) CurrentPage ¶ added in v0.10.0
func (p *DescribeTrafficMirrorFiltersPaginator) CurrentPage() *DescribeTrafficMirrorFiltersOutput
type DescribeTrafficMirrorFiltersRequest ¶ added in v0.10.0
type DescribeTrafficMirrorFiltersRequest struct { *aws.Request Input *DescribeTrafficMirrorFiltersInput Copy func(*DescribeTrafficMirrorFiltersInput) DescribeTrafficMirrorFiltersRequest }
DescribeTrafficMirrorFiltersRequest is the request type for the DescribeTrafficMirrorFilters API operation.
func (DescribeTrafficMirrorFiltersRequest) Send ¶ added in v0.10.0
func (r DescribeTrafficMirrorFiltersRequest) Send(ctx context.Context) (*DescribeTrafficMirrorFiltersResponse, error)
Send marshals and sends the DescribeTrafficMirrorFilters API request.
type DescribeTrafficMirrorFiltersResponse ¶ added in v0.10.0
type DescribeTrafficMirrorFiltersResponse struct { *DescribeTrafficMirrorFiltersOutput // contains filtered or unexported fields }
DescribeTrafficMirrorFiltersResponse is the response type for the DescribeTrafficMirrorFilters API operation.
func (*DescribeTrafficMirrorFiltersResponse) SDKResponseMetdata ¶ added in v0.10.0
func (r *DescribeTrafficMirrorFiltersResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeTrafficMirrorFilters request.
type DescribeTrafficMirrorSessionsInput ¶ added in v0.10.0
type DescribeTrafficMirrorSessionsInput 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"` // One or more filters. The possible values are: // // * description: The Traffic Mirror session description. // // * network-interface-id: The ID of the Traffic Mirror session network interface. // // * owner-id: The ID of the account that owns the Traffic Mirror session. // // * packet-length: The assigned number of packets to mirror. // // * session-number: The assigned session number. // // * traffic-mirror-filter-id: The ID of the Traffic Mirror filter. // // * traffic-mirror-session-id: The ID of the Traffic Mirror session. // // * traffic-mirror-target-id: The ID of the Traffic Mirror target. // // * virtual-network-id: The virtual network ID of the Traffic Mirror session. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // The ID of the Traffic Mirror session. TrafficMirrorSessionIds []string `locationName:"TrafficMirrorSessionId" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeTrafficMirrorSessionsInput) String ¶ added in v0.10.0
func (s DescribeTrafficMirrorSessionsInput) String() string
String returns the string representation
func (*DescribeTrafficMirrorSessionsInput) Validate ¶ added in v0.10.0
func (s *DescribeTrafficMirrorSessionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeTrafficMirrorSessionsOutput ¶ added in v0.10.0
type DescribeTrafficMirrorSessionsOutput struct { // The token to use to retrieve the next page of results. The value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror // sessions are described. Alternatively, you can filter the results. TrafficMirrorSessions []TrafficMirrorSession `locationName:"trafficMirrorSessionSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeTrafficMirrorSessionsOutput) String ¶ added in v0.10.0
func (s DescribeTrafficMirrorSessionsOutput) String() string
String returns the string representation
type DescribeTrafficMirrorSessionsPaginator ¶ added in v0.10.0
DescribeTrafficMirrorSessionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeTrafficMirrorSessionsPaginator ¶ added in v0.10.0
func NewDescribeTrafficMirrorSessionsPaginator(req DescribeTrafficMirrorSessionsRequest) DescribeTrafficMirrorSessionsPaginator
NewDescribeTrafficMirrorSessionsRequestPaginator returns a paginator for DescribeTrafficMirrorSessions. 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.DescribeTrafficMirrorSessionsRequest(input) p := ec2.NewDescribeTrafficMirrorSessionsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeTrafficMirrorSessionsPaginator) CurrentPage ¶ added in v0.10.0
func (p *DescribeTrafficMirrorSessionsPaginator) CurrentPage() *DescribeTrafficMirrorSessionsOutput
type DescribeTrafficMirrorSessionsRequest ¶ added in v0.10.0
type DescribeTrafficMirrorSessionsRequest struct { *aws.Request Input *DescribeTrafficMirrorSessionsInput Copy func(*DescribeTrafficMirrorSessionsInput) DescribeTrafficMirrorSessionsRequest }
DescribeTrafficMirrorSessionsRequest is the request type for the DescribeTrafficMirrorSessions API operation.
func (DescribeTrafficMirrorSessionsRequest) Send ¶ added in v0.10.0
func (r DescribeTrafficMirrorSessionsRequest) Send(ctx context.Context) (*DescribeTrafficMirrorSessionsResponse, error)
Send marshals and sends the DescribeTrafficMirrorSessions API request.
type DescribeTrafficMirrorSessionsResponse ¶ added in v0.10.0
type DescribeTrafficMirrorSessionsResponse struct { *DescribeTrafficMirrorSessionsOutput // contains filtered or unexported fields }
DescribeTrafficMirrorSessionsResponse is the response type for the DescribeTrafficMirrorSessions API operation.
func (*DescribeTrafficMirrorSessionsResponse) SDKResponseMetdata ¶ added in v0.10.0
func (r *DescribeTrafficMirrorSessionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeTrafficMirrorSessions request.
type DescribeTrafficMirrorTargetsInput ¶ added in v0.10.0
type DescribeTrafficMirrorTargetsInput 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"` // One or more filters. The possible values are: // // * description: The Traffic Mirror target description. // // * network-interface-id: The ID of the Traffic Mirror session network interface. // // * network-load-balancer-arn: The Amazon Resource Name (ARN) of the Network // Load Balancer that is associated with the session. // // * owner-id: The ID of the account that owns the Traffic Mirror session. // // * traffic-mirror-target-id: The ID of the Traffic Mirror target. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // The ID of the Traffic Mirror targets. TrafficMirrorTargetIds []string `locationName:"TrafficMirrorTargetId" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeTrafficMirrorTargetsInput) String ¶ added in v0.10.0
func (s DescribeTrafficMirrorTargetsInput) String() string
String returns the string representation
func (*DescribeTrafficMirrorTargetsInput) Validate ¶ added in v0.10.0
func (s *DescribeTrafficMirrorTargetsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeTrafficMirrorTargetsOutput ¶ added in v0.10.0
type DescribeTrafficMirrorTargetsOutput struct { // The token to use to retrieve the next page of results. The value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about one or more Traffic Mirror targets. TrafficMirrorTargets []TrafficMirrorTarget `locationName:"trafficMirrorTargetSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeTrafficMirrorTargetsOutput) String ¶ added in v0.10.0
func (s DescribeTrafficMirrorTargetsOutput) String() string
String returns the string representation
type DescribeTrafficMirrorTargetsPaginator ¶ added in v0.10.0
DescribeTrafficMirrorTargetsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeTrafficMirrorTargetsPaginator ¶ added in v0.10.0
func NewDescribeTrafficMirrorTargetsPaginator(req DescribeTrafficMirrorTargetsRequest) DescribeTrafficMirrorTargetsPaginator
NewDescribeTrafficMirrorTargetsRequestPaginator returns a paginator for DescribeTrafficMirrorTargets. 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.DescribeTrafficMirrorTargetsRequest(input) p := ec2.NewDescribeTrafficMirrorTargetsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeTrafficMirrorTargetsPaginator) CurrentPage ¶ added in v0.10.0
func (p *DescribeTrafficMirrorTargetsPaginator) CurrentPage() *DescribeTrafficMirrorTargetsOutput
type DescribeTrafficMirrorTargetsRequest ¶ added in v0.10.0
type DescribeTrafficMirrorTargetsRequest struct { *aws.Request Input *DescribeTrafficMirrorTargetsInput Copy func(*DescribeTrafficMirrorTargetsInput) DescribeTrafficMirrorTargetsRequest }
DescribeTrafficMirrorTargetsRequest is the request type for the DescribeTrafficMirrorTargets API operation.
func (DescribeTrafficMirrorTargetsRequest) Send ¶ added in v0.10.0
func (r DescribeTrafficMirrorTargetsRequest) Send(ctx context.Context) (*DescribeTrafficMirrorTargetsResponse, error)
Send marshals and sends the DescribeTrafficMirrorTargets API request.
type DescribeTrafficMirrorTargetsResponse ¶ added in v0.10.0
type DescribeTrafficMirrorTargetsResponse struct { *DescribeTrafficMirrorTargetsOutput // contains filtered or unexported fields }
DescribeTrafficMirrorTargetsResponse is the response type for the DescribeTrafficMirrorTargets API operation.
func (*DescribeTrafficMirrorTargetsResponse) SDKResponseMetdata ¶ added in v0.10.0
func (r *DescribeTrafficMirrorTargetsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeTrafficMirrorTargets request.
type DescribeTransitGatewayAttachmentsInput ¶ added in v0.6.0
type DescribeTransitGatewayAttachmentsInput 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"` // One or more filters. The possible values are: // // * association.state - The state of the association (associating | associated // | disassociating). // // * association.transit-gateway-route-table-id - The ID of the route table // for the transit gateway. // // * resource-id - The ID of the resource. // // * resource-owner-id - The ID of the AWS account that owns the resource. // // * resource-type - The resource type (vpc | vpn). // // * state - The state of the attachment (available | deleted | deleting // | failed | modifying | pendingAcceptance | pending | rollingBack | rejected // | rejecting). // // * transit-gateway-attachment-id - The ID of the attachment. // // * transit-gateway-id - The ID of the transit gateway. // // * transit-gateway-owner-id - The ID of the AWS account that owns the transit // gateway. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // The IDs of the attachments. TransitGatewayAttachmentIds []string `type:"list"` // contains filtered or unexported fields }
func (DescribeTransitGatewayAttachmentsInput) String ¶ added in v0.6.0
func (s DescribeTransitGatewayAttachmentsInput) String() string
String returns the string representation
func (*DescribeTransitGatewayAttachmentsInput) Validate ¶ added in v0.6.0
func (s *DescribeTransitGatewayAttachmentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeTransitGatewayAttachmentsOutput ¶ added in v0.6.0
type DescribeTransitGatewayAttachmentsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the attachments. TransitGatewayAttachments []TransitGatewayAttachment `locationName:"transitGatewayAttachments" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeTransitGatewayAttachmentsOutput) String ¶ added in v0.6.0
func (s DescribeTransitGatewayAttachmentsOutput) String() string
String returns the string representation
type DescribeTransitGatewayAttachmentsPaginator ¶ added in v0.9.0
DescribeTransitGatewayAttachmentsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeTransitGatewayAttachmentsPaginator ¶ added in v0.9.0
func NewDescribeTransitGatewayAttachmentsPaginator(req DescribeTransitGatewayAttachmentsRequest) DescribeTransitGatewayAttachmentsPaginator
NewDescribeTransitGatewayAttachmentsRequestPaginator returns a paginator for DescribeTransitGatewayAttachments. 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.DescribeTransitGatewayAttachmentsRequest(input) p := ec2.NewDescribeTransitGatewayAttachmentsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeTransitGatewayAttachmentsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeTransitGatewayAttachmentsPaginator) CurrentPage() *DescribeTransitGatewayAttachmentsOutput
type DescribeTransitGatewayAttachmentsRequest ¶ added in v0.6.0
type DescribeTransitGatewayAttachmentsRequest struct { *aws.Request Input *DescribeTransitGatewayAttachmentsInput Copy func(*DescribeTransitGatewayAttachmentsInput) DescribeTransitGatewayAttachmentsRequest }
DescribeTransitGatewayAttachmentsRequest is the request type for the DescribeTransitGatewayAttachments API operation.
func (DescribeTransitGatewayAttachmentsRequest) Send ¶ added in v0.6.0
func (r DescribeTransitGatewayAttachmentsRequest) Send(ctx context.Context) (*DescribeTransitGatewayAttachmentsResponse, error)
Send marshals and sends the DescribeTransitGatewayAttachments API request.
type DescribeTransitGatewayAttachmentsResponse ¶ added in v0.9.0
type DescribeTransitGatewayAttachmentsResponse struct { *DescribeTransitGatewayAttachmentsOutput // contains filtered or unexported fields }
DescribeTransitGatewayAttachmentsResponse is the response type for the DescribeTransitGatewayAttachments API operation.
func (*DescribeTransitGatewayAttachmentsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeTransitGatewayAttachmentsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeTransitGatewayAttachments request.
type DescribeTransitGatewayRouteTablesInput ¶ added in v0.6.0
type DescribeTransitGatewayRouteTablesInput 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"` // One or more filters. The possible values are: // // * default-association-route-table - Indicates whether this is the default // association route table for the transit gateway (true | false). // // * default-propagation-route-table - Indicates whether this is the default // propagation route table for the transit gateway (true | false). // // * state - The state of the attachment (available | deleted | deleting // | failed | modifying | pendingAcceptance | pending | rollingBack | rejected // | rejecting). // // * transit-gateway-id - The ID of the transit gateway. // // * transit-gateway-route-table-id - The ID of the transit gateway route // table. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // The IDs of the transit gateway route tables. TransitGatewayRouteTableIds []string `locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeTransitGatewayRouteTablesInput) String ¶ added in v0.6.0
func (s DescribeTransitGatewayRouteTablesInput) String() string
String returns the string representation
func (*DescribeTransitGatewayRouteTablesInput) Validate ¶ added in v0.6.0
func (s *DescribeTransitGatewayRouteTablesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeTransitGatewayRouteTablesOutput ¶ added in v0.6.0
type DescribeTransitGatewayRouteTablesOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the transit gateway route tables. TransitGatewayRouteTables []TransitGatewayRouteTable `locationName:"transitGatewayRouteTables" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeTransitGatewayRouteTablesOutput) String ¶ added in v0.6.0
func (s DescribeTransitGatewayRouteTablesOutput) String() string
String returns the string representation
type DescribeTransitGatewayRouteTablesPaginator ¶ added in v0.9.0
DescribeTransitGatewayRouteTablesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeTransitGatewayRouteTablesPaginator ¶ added in v0.9.0
func NewDescribeTransitGatewayRouteTablesPaginator(req DescribeTransitGatewayRouteTablesRequest) DescribeTransitGatewayRouteTablesPaginator
NewDescribeTransitGatewayRouteTablesRequestPaginator returns a paginator for DescribeTransitGatewayRouteTables. 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.DescribeTransitGatewayRouteTablesRequest(input) p := ec2.NewDescribeTransitGatewayRouteTablesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeTransitGatewayRouteTablesPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeTransitGatewayRouteTablesPaginator) CurrentPage() *DescribeTransitGatewayRouteTablesOutput
type DescribeTransitGatewayRouteTablesRequest ¶ added in v0.6.0
type DescribeTransitGatewayRouteTablesRequest struct { *aws.Request Input *DescribeTransitGatewayRouteTablesInput Copy func(*DescribeTransitGatewayRouteTablesInput) DescribeTransitGatewayRouteTablesRequest }
DescribeTransitGatewayRouteTablesRequest is the request type for the DescribeTransitGatewayRouteTables API operation.
func (DescribeTransitGatewayRouteTablesRequest) Send ¶ added in v0.6.0
func (r DescribeTransitGatewayRouteTablesRequest) Send(ctx context.Context) (*DescribeTransitGatewayRouteTablesResponse, error)
Send marshals and sends the DescribeTransitGatewayRouteTables API request.
type DescribeTransitGatewayRouteTablesResponse ¶ added in v0.9.0
type DescribeTransitGatewayRouteTablesResponse struct { *DescribeTransitGatewayRouteTablesOutput // contains filtered or unexported fields }
DescribeTransitGatewayRouteTablesResponse is the response type for the DescribeTransitGatewayRouteTables API operation.
func (*DescribeTransitGatewayRouteTablesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeTransitGatewayRouteTablesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeTransitGatewayRouteTables request.
type DescribeTransitGatewayVpcAttachmentsInput ¶ added in v0.6.0
type DescribeTransitGatewayVpcAttachmentsInput 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"` // One or more filters. The possible values are: // // * state - The state of the attachment (available | deleted | deleting // | failed | modifying | pendingAcceptance | pending | rollingBack | rejected // | rejecting). // // * transit-gateway-attachment-id - The ID of the attachment. // // * transit-gateway-id - The ID of the transit gateway. // // * vpc-id - The ID of the VPC. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // The IDs of the attachments. TransitGatewayAttachmentIds []string `type:"list"` // contains filtered or unexported fields }
func (DescribeTransitGatewayVpcAttachmentsInput) String ¶ added in v0.6.0
func (s DescribeTransitGatewayVpcAttachmentsInput) String() string
String returns the string representation
func (*DescribeTransitGatewayVpcAttachmentsInput) Validate ¶ added in v0.6.0
func (s *DescribeTransitGatewayVpcAttachmentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeTransitGatewayVpcAttachmentsOutput ¶ added in v0.6.0
type DescribeTransitGatewayVpcAttachmentsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the VPC attachments. TransitGatewayVpcAttachments []TransitGatewayVpcAttachment `locationName:"transitGatewayVpcAttachments" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeTransitGatewayVpcAttachmentsOutput) String ¶ added in v0.6.0
func (s DescribeTransitGatewayVpcAttachmentsOutput) String() string
String returns the string representation
type DescribeTransitGatewayVpcAttachmentsPaginator ¶ added in v0.9.0
DescribeTransitGatewayVpcAttachmentsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeTransitGatewayVpcAttachmentsPaginator ¶ added in v0.9.0
func NewDescribeTransitGatewayVpcAttachmentsPaginator(req DescribeTransitGatewayVpcAttachmentsRequest) DescribeTransitGatewayVpcAttachmentsPaginator
NewDescribeTransitGatewayVpcAttachmentsRequestPaginator returns a paginator for DescribeTransitGatewayVpcAttachments. 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.DescribeTransitGatewayVpcAttachmentsRequest(input) p := ec2.NewDescribeTransitGatewayVpcAttachmentsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeTransitGatewayVpcAttachmentsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeTransitGatewayVpcAttachmentsPaginator) CurrentPage() *DescribeTransitGatewayVpcAttachmentsOutput
type DescribeTransitGatewayVpcAttachmentsRequest ¶ added in v0.6.0
type DescribeTransitGatewayVpcAttachmentsRequest struct { *aws.Request Input *DescribeTransitGatewayVpcAttachmentsInput Copy func(*DescribeTransitGatewayVpcAttachmentsInput) DescribeTransitGatewayVpcAttachmentsRequest }
DescribeTransitGatewayVpcAttachmentsRequest is the request type for the DescribeTransitGatewayVpcAttachments API operation.
func (DescribeTransitGatewayVpcAttachmentsRequest) Send ¶ added in v0.6.0
func (r DescribeTransitGatewayVpcAttachmentsRequest) Send(ctx context.Context) (*DescribeTransitGatewayVpcAttachmentsResponse, error)
Send marshals and sends the DescribeTransitGatewayVpcAttachments API request.
type DescribeTransitGatewayVpcAttachmentsResponse ¶ added in v0.9.0
type DescribeTransitGatewayVpcAttachmentsResponse struct { *DescribeTransitGatewayVpcAttachmentsOutput // contains filtered or unexported fields }
DescribeTransitGatewayVpcAttachmentsResponse is the response type for the DescribeTransitGatewayVpcAttachments API operation.
func (*DescribeTransitGatewayVpcAttachmentsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeTransitGatewayVpcAttachmentsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeTransitGatewayVpcAttachments request.
type DescribeTransitGatewaysInput ¶ added in v0.6.0
type DescribeTransitGatewaysInput 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"` // One or more filters. The possible values are: // // * options.propagation-default-route-table-id - The ID of the default propagation // route table. // // * options.amazon-side-asn - The private ASN for the Amazon side of a BGP // session. // // * options.association-default-route-table-id - The ID of the default association // route table. // // * options.auto-accept-shared-attachments - Indicates whether there is // automatic acceptance of attachment requests (enable | disable). // // * options.default-route-table-association - Indicates whether resource // attachments are automatically associated with the default association // route table (enable | disable). // // * options.default-route-table-propagation - Indicates whether resource // attachments automatically propagate routes to the default propagation // route table (enable | disable). // // * options.dns-support - Indicates whether DNS support is enabled (enable // | disable). // // * options.vpn-ecmp-support - Indicates whether Equal Cost Multipath Protocol // support is enabled (enable | disable). // // * owner-id - The ID of the AWS account that owns the transit gateway. // // * state - The state of the attachment (available | deleted | deleting // | failed | modifying | pendingAcceptance | pending | rollingBack | rejected // | rejecting). // // * transit-gateway-id - The ID of the transit gateway. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // The IDs of the transit gateways. TransitGatewayIds []string `locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeTransitGatewaysInput) String ¶ added in v0.6.0
func (s DescribeTransitGatewaysInput) String() string
String returns the string representation
func (*DescribeTransitGatewaysInput) Validate ¶ added in v0.6.0
func (s *DescribeTransitGatewaysInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeTransitGatewaysOutput ¶ added in v0.6.0
type DescribeTransitGatewaysOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the transit gateways. TransitGateways []TransitGateway `locationName:"transitGatewaySet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeTransitGatewaysOutput) String ¶ added in v0.6.0
func (s DescribeTransitGatewaysOutput) String() string
String returns the string representation
type DescribeTransitGatewaysPaginator ¶ added in v0.9.0
DescribeTransitGatewaysPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeTransitGatewaysPaginator ¶ added in v0.9.0
func NewDescribeTransitGatewaysPaginator(req DescribeTransitGatewaysRequest) DescribeTransitGatewaysPaginator
NewDescribeTransitGatewaysRequestPaginator returns a paginator for DescribeTransitGateways. 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.DescribeTransitGatewaysRequest(input) p := ec2.NewDescribeTransitGatewaysRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeTransitGatewaysPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeTransitGatewaysPaginator) CurrentPage() *DescribeTransitGatewaysOutput
type DescribeTransitGatewaysRequest ¶ added in v0.6.0
type DescribeTransitGatewaysRequest struct { *aws.Request Input *DescribeTransitGatewaysInput Copy func(*DescribeTransitGatewaysInput) DescribeTransitGatewaysRequest }
DescribeTransitGatewaysRequest is the request type for the DescribeTransitGateways API operation.
func (DescribeTransitGatewaysRequest) Send ¶ added in v0.6.0
func (r DescribeTransitGatewaysRequest) Send(ctx context.Context) (*DescribeTransitGatewaysResponse, error)
Send marshals and sends the DescribeTransitGateways API request.
type DescribeTransitGatewaysResponse ¶ added in v0.9.0
type DescribeTransitGatewaysResponse struct { *DescribeTransitGatewaysOutput // contains filtered or unexported fields }
DescribeTransitGatewaysResponse is the response type for the DescribeTransitGateways API operation.
func (*DescribeTransitGatewaysResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeTransitGatewaysResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeTransitGateways request.
type DescribeVolumeAttributeInput ¶
type DescribeVolumeAttributeInput struct { // The attribute of the volume. This parameter is required. // // Attribute is a required field Attribute VolumeAttributeName `type:"string" required:"true" enum:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the volume. // // VolumeId is a required field VolumeId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DescribeVolumeAttribute.
func (DescribeVolumeAttributeInput) String ¶
func (s DescribeVolumeAttributeInput) String() string
String returns the string representation
func (*DescribeVolumeAttributeInput) Validate ¶
func (s *DescribeVolumeAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeVolumeAttributeOutput ¶
type DescribeVolumeAttributeOutput struct { // The state of autoEnableIO attribute. AutoEnableIO *AttributeBooleanValue `locationName:"autoEnableIO" type:"structure"` // A list of product codes. ProductCodes []ProductCode `locationName:"productCodes" locationNameList:"item" type:"list"` // The ID of the volume. VolumeId *string `locationName:"volumeId" type:"string"` // contains filtered or unexported fields }
Contains the output of DescribeVolumeAttribute.
func (DescribeVolumeAttributeOutput) String ¶
func (s DescribeVolumeAttributeOutput) String() string
String returns the string representation
type DescribeVolumeAttributeRequest ¶
type DescribeVolumeAttributeRequest struct { *aws.Request Input *DescribeVolumeAttributeInput Copy func(*DescribeVolumeAttributeInput) DescribeVolumeAttributeRequest }
DescribeVolumeAttributeRequest is the request type for the DescribeVolumeAttribute API operation.
func (DescribeVolumeAttributeRequest) Send ¶
func (r DescribeVolumeAttributeRequest) Send(ctx context.Context) (*DescribeVolumeAttributeResponse, error)
Send marshals and sends the DescribeVolumeAttribute API request.
type DescribeVolumeAttributeResponse ¶ added in v0.9.0
type DescribeVolumeAttributeResponse struct { *DescribeVolumeAttributeOutput // contains filtered or unexported fields }
DescribeVolumeAttributeResponse is the response type for the DescribeVolumeAttribute API operation.
func (*DescribeVolumeAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVolumeAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVolumeAttribute request.
type DescribeVolumeStatusInput ¶
type DescribeVolumeStatusInput 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 `locationName:"dryRun" type:"boolean"` // The filters. // // * action.code - The action code for the event (for example, enable-volume-io). // // * action.description - A description of the action. // // * action.event-id - The event ID associated with the action. // // * availability-zone - The Availability Zone of the instance. // // * event.description - A description of the event. // // * event.event-id - The event ID. // // * event.event-type - The event type (for io-enabled: passed | failed; // for io-performance: io-performance:degraded | io-performance:severely-degraded // | io-performance:stalled). // // * event.not-after - The latest end time for the event. // // * event.not-before - The earliest start time for the event. // // * volume-status.details-name - The cause for volume-status.status (io-enabled // | io-performance). // // * volume-status.details-status - The status of volume-status.details-name // (for io-enabled: passed | failed; for io-performance: normal | degraded // | severely-degraded | stalled). // // * volume-status.status - The status of the volume (ok | impaired | warning // | insufficient-data). Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of volume results returned by DescribeVolumeStatus in // paginated output. When this parameter is used, the request only returns MaxResults // results in a single page along with a NextToken response element. The remaining // results of the initial request can be seen by sending another request with // the returned NextToken value. This value can be between 5 and 1000; if MaxResults // is given a value larger than 1000, only 1000 results are returned. If this // parameter is not used, then DescribeVolumeStatus returns all results. You // cannot specify this parameter and the volume IDs parameter in the same request. MaxResults *int64 `type:"integer"` // The NextToken value to include in a future DescribeVolumeStatus request. // When the results of the request exceed MaxResults, this value can be used // to retrieve the next page of results. This value is null when there are no // more results to return. NextToken *string `type:"string"` // The IDs of the volumes. // // Default: Describes all your volumes. VolumeIds []string `locationName:"VolumeId" locationNameList:"VolumeId" type:"list"` // contains filtered or unexported fields }
func (DescribeVolumeStatusInput) String ¶
func (s DescribeVolumeStatusInput) String() string
String returns the string representation
type DescribeVolumeStatusOutput ¶
type DescribeVolumeStatusOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the status of the volumes. VolumeStatuses []VolumeStatusItem `locationName:"volumeStatusSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeVolumeStatusOutput) String ¶
func (s DescribeVolumeStatusOutput) String() string
String returns the string representation
type DescribeVolumeStatusPaginator ¶ added in v0.9.0
DescribeVolumeStatusPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeVolumeStatusPaginator ¶ added in v0.9.0
func NewDescribeVolumeStatusPaginator(req DescribeVolumeStatusRequest) DescribeVolumeStatusPaginator
NewDescribeVolumeStatusRequestPaginator returns a paginator for DescribeVolumeStatus. 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.DescribeVolumeStatusRequest(input) p := ec2.NewDescribeVolumeStatusRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeVolumeStatusPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeVolumeStatusPaginator) CurrentPage() *DescribeVolumeStatusOutput
type DescribeVolumeStatusRequest ¶
type DescribeVolumeStatusRequest struct { *aws.Request Input *DescribeVolumeStatusInput Copy func(*DescribeVolumeStatusInput) DescribeVolumeStatusRequest }
DescribeVolumeStatusRequest is the request type for the DescribeVolumeStatus API operation.
func (DescribeVolumeStatusRequest) Send ¶
func (r DescribeVolumeStatusRequest) Send(ctx context.Context) (*DescribeVolumeStatusResponse, error)
Send marshals and sends the DescribeVolumeStatus API request.
type DescribeVolumeStatusResponse ¶ added in v0.9.0
type DescribeVolumeStatusResponse struct { *DescribeVolumeStatusOutput // contains filtered or unexported fields }
DescribeVolumeStatusResponse is the response type for the DescribeVolumeStatus API operation.
func (*DescribeVolumeStatusResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVolumeStatusResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVolumeStatus request.
type DescribeVolumesInput ¶
type DescribeVolumesInput 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 `locationName:"dryRun" type:"boolean"` // The filters. // // * attachment.attach-time - The time stamp when the attachment initiated. // // * attachment.delete-on-termination - Whether the volume is deleted on // instance termination. // // * attachment.device - The device name specified in the block device mapping // (for example, /dev/sda1). // // * attachment.instance-id - The ID of the instance the volume is attached // to. // // * attachment.status - The attachment state (attaching | attached | detaching). // // * availability-zone - The Availability Zone in which the volume was created. // // * create-time - The time stamp when the volume was created. // // * encrypted - Indicates whether the volume is encrypted (true | false) // // * size - The size of the volume, in GiB. // // * snapshot-id - The snapshot from which the volume was created. // // * status - The status of the volume (creating | available | in-use | deleting // | deleted | error). // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * volume-id - The volume ID. // // * volume-type - The Amazon EBS volume type. This can be gp2 for General // Purpose SSD, io1 for Provisioned IOPS SSD, st1 for Throughput Optimized // HDD, sc1 for Cold HDD, or standard for Magnetic volumes. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of volume results returned by DescribeVolumes in paginated // output. When this parameter is used, DescribeVolumes only returns MaxResults // results in a single page along with a NextToken response element. The remaining // results of the initial request can be seen by sending another DescribeVolumes // request with the returned NextToken value. This value can be between 5 and // 500; if MaxResults is given a value larger than 500, only 500 results are // returned. If this parameter is not used, then DescribeVolumes returns all // results. You cannot specify this parameter and the volume IDs parameter in // the same request. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The NextToken value returned from a previous paginated DescribeVolumes request // where MaxResults was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // NextToken value. This value is null when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The volume IDs. VolumeIds []string `locationName:"VolumeId" locationNameList:"VolumeId" type:"list"` // contains filtered or unexported fields }
func (DescribeVolumesInput) String ¶
func (s DescribeVolumesInput) String() string
String returns the string representation
type DescribeVolumesModificationsInput ¶
type DescribeVolumesModificationsInput 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 filters. Supported filters: volume-id, modification-state, target-size, // target-iops, target-volume-type, original-size, original-iops, original-volume-type, // start-time. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results (up to a limit of 500) to be returned in a // paginated request. MaxResults *int64 `type:"integer"` // The nextToken value returned by a previous paginated request. NextToken *string `type:"string"` // The IDs of the volumes for which in-progress modifications will be described. VolumeIds []string `locationName:"VolumeId" locationNameList:"VolumeId" type:"list"` // contains filtered or unexported fields }
func (DescribeVolumesModificationsInput) String ¶
func (s DescribeVolumesModificationsInput) String() string
String returns the string representation
type DescribeVolumesModificationsOutput ¶
type DescribeVolumesModificationsOutput struct { // Token for pagination, null if there are no more results NextToken *string `locationName:"nextToken" type:"string"` // Information about the volume modifications. VolumesModifications []VolumeModification `locationName:"volumeModificationSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeVolumesModificationsOutput) String ¶
func (s DescribeVolumesModificationsOutput) String() string
String returns the string representation
type DescribeVolumesModificationsPaginator ¶ added in v0.9.0
DescribeVolumesModificationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeVolumesModificationsPaginator ¶ added in v0.9.0
func NewDescribeVolumesModificationsPaginator(req DescribeVolumesModificationsRequest) DescribeVolumesModificationsPaginator
NewDescribeVolumesModificationsRequestPaginator returns a paginator for DescribeVolumesModifications. 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.DescribeVolumesModificationsRequest(input) p := ec2.NewDescribeVolumesModificationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeVolumesModificationsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeVolumesModificationsPaginator) CurrentPage() *DescribeVolumesModificationsOutput
type DescribeVolumesModificationsRequest ¶
type DescribeVolumesModificationsRequest struct { *aws.Request Input *DescribeVolumesModificationsInput Copy func(*DescribeVolumesModificationsInput) DescribeVolumesModificationsRequest }
DescribeVolumesModificationsRequest is the request type for the DescribeVolumesModifications API operation.
func (DescribeVolumesModificationsRequest) Send ¶
func (r DescribeVolumesModificationsRequest) Send(ctx context.Context) (*DescribeVolumesModificationsResponse, error)
Send marshals and sends the DescribeVolumesModifications API request.
type DescribeVolumesModificationsResponse ¶ added in v0.9.0
type DescribeVolumesModificationsResponse struct { *DescribeVolumesModificationsOutput // contains filtered or unexported fields }
DescribeVolumesModificationsResponse is the response type for the DescribeVolumesModifications API operation.
func (*DescribeVolumesModificationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVolumesModificationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVolumesModifications request.
type DescribeVolumesOutput ¶
type DescribeVolumesOutput struct { // The NextToken value to include in a future DescribeVolumes request. When // the results of a DescribeVolumes request exceed MaxResults, this value can // be used to retrieve the next page of results. This value is null when there // are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the volumes. Volumes []Volume `locationName:"volumeSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeVolumesOutput) String ¶
func (s DescribeVolumesOutput) String() string
String returns the string representation
type DescribeVolumesPaginator ¶ added in v0.9.0
DescribeVolumesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeVolumesPaginator ¶ added in v0.9.0
func NewDescribeVolumesPaginator(req DescribeVolumesRequest) DescribeVolumesPaginator
NewDescribeVolumesRequestPaginator returns a paginator for DescribeVolumes. 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.DescribeVolumesRequest(input) p := ec2.NewDescribeVolumesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeVolumesPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeVolumesPaginator) CurrentPage() *DescribeVolumesOutput
type DescribeVolumesRequest ¶
type DescribeVolumesRequest struct { *aws.Request Input *DescribeVolumesInput Copy func(*DescribeVolumesInput) DescribeVolumesRequest }
DescribeVolumesRequest is the request type for the DescribeVolumes API operation.
func (DescribeVolumesRequest) Send ¶
func (r DescribeVolumesRequest) Send(ctx context.Context) (*DescribeVolumesResponse, error)
Send marshals and sends the DescribeVolumes API request.
type DescribeVolumesResponse ¶ added in v0.9.0
type DescribeVolumesResponse struct { *DescribeVolumesOutput // contains filtered or unexported fields }
DescribeVolumesResponse is the response type for the DescribeVolumes API operation.
func (*DescribeVolumesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVolumesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVolumes request.
type DescribeVpcAttributeInput ¶
type DescribeVpcAttributeInput struct { // The VPC attribute. // // Attribute is a required field Attribute VpcAttributeName `type:"string" required:"true" enum:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the VPC. // // VpcId is a required field VpcId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeVpcAttributeInput) String ¶
func (s DescribeVpcAttributeInput) String() string
String returns the string representation
func (*DescribeVpcAttributeInput) Validate ¶
func (s *DescribeVpcAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeVpcAttributeOutput ¶
type DescribeVpcAttributeOutput struct { // Indicates whether the instances launched in the VPC get DNS hostnames. If // this attribute is true, instances in the VPC get DNS hostnames; otherwise, // they do not. EnableDnsHostnames *AttributeBooleanValue `locationName:"enableDnsHostnames" type:"structure"` // Indicates whether DNS resolution is enabled for the VPC. If this attribute // is true, the Amazon DNS server resolves DNS hostnames for your instances // to their corresponding IP addresses; otherwise, it does not. EnableDnsSupport *AttributeBooleanValue `locationName:"enableDnsSupport" type:"structure"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
func (DescribeVpcAttributeOutput) String ¶
func (s DescribeVpcAttributeOutput) String() string
String returns the string representation
type DescribeVpcAttributeRequest ¶
type DescribeVpcAttributeRequest struct { *aws.Request Input *DescribeVpcAttributeInput Copy func(*DescribeVpcAttributeInput) DescribeVpcAttributeRequest }
DescribeVpcAttributeRequest is the request type for the DescribeVpcAttribute API operation.
func (DescribeVpcAttributeRequest) Send ¶
func (r DescribeVpcAttributeRequest) Send(ctx context.Context) (*DescribeVpcAttributeResponse, error)
Send marshals and sends the DescribeVpcAttribute API request.
type DescribeVpcAttributeResponse ¶ added in v0.9.0
type DescribeVpcAttributeResponse struct { *DescribeVpcAttributeOutput // contains filtered or unexported fields }
DescribeVpcAttributeResponse is the response type for the DescribeVpcAttribute API operation.
func (*DescribeVpcAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVpcAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVpcAttribute request.
type DescribeVpcClassicLinkDnsSupportInput ¶
type DescribeVpcClassicLinkDnsSupportInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `locationName:"maxResults" min:"5" type:"integer"` // The token for the next page of results. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // One or more VPC IDs. VpcIds []string `locationNameList:"VpcId" type:"list"` // contains filtered or unexported fields }
func (DescribeVpcClassicLinkDnsSupportInput) String ¶
func (s DescribeVpcClassicLinkDnsSupportInput) String() string
String returns the string representation
func (*DescribeVpcClassicLinkDnsSupportInput) Validate ¶
func (s *DescribeVpcClassicLinkDnsSupportInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeVpcClassicLinkDnsSupportOutput ¶
type DescribeVpcClassicLinkDnsSupportOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // Information about the ClassicLink DNS support status of the VPCs. Vpcs []ClassicLinkDnsSupport `locationName:"vpcs" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeVpcClassicLinkDnsSupportOutput) String ¶
func (s DescribeVpcClassicLinkDnsSupportOutput) String() string
String returns the string representation
type DescribeVpcClassicLinkDnsSupportPaginator ¶ added in v0.9.0
DescribeVpcClassicLinkDnsSupportPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeVpcClassicLinkDnsSupportPaginator ¶ added in v0.9.0
func NewDescribeVpcClassicLinkDnsSupportPaginator(req DescribeVpcClassicLinkDnsSupportRequest) DescribeVpcClassicLinkDnsSupportPaginator
NewDescribeVpcClassicLinkDnsSupportRequestPaginator returns a paginator for DescribeVpcClassicLinkDnsSupport. 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.DescribeVpcClassicLinkDnsSupportRequest(input) p := ec2.NewDescribeVpcClassicLinkDnsSupportRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeVpcClassicLinkDnsSupportPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeVpcClassicLinkDnsSupportPaginator) CurrentPage() *DescribeVpcClassicLinkDnsSupportOutput
type DescribeVpcClassicLinkDnsSupportRequest ¶
type DescribeVpcClassicLinkDnsSupportRequest struct { *aws.Request Input *DescribeVpcClassicLinkDnsSupportInput Copy func(*DescribeVpcClassicLinkDnsSupportInput) DescribeVpcClassicLinkDnsSupportRequest }
DescribeVpcClassicLinkDnsSupportRequest is the request type for the DescribeVpcClassicLinkDnsSupport API operation.
func (DescribeVpcClassicLinkDnsSupportRequest) Send ¶
func (r DescribeVpcClassicLinkDnsSupportRequest) Send(ctx context.Context) (*DescribeVpcClassicLinkDnsSupportResponse, error)
Send marshals and sends the DescribeVpcClassicLinkDnsSupport API request.
type DescribeVpcClassicLinkDnsSupportResponse ¶ added in v0.9.0
type DescribeVpcClassicLinkDnsSupportResponse struct { *DescribeVpcClassicLinkDnsSupportOutput // contains filtered or unexported fields }
DescribeVpcClassicLinkDnsSupportResponse is the response type for the DescribeVpcClassicLinkDnsSupport API operation.
func (*DescribeVpcClassicLinkDnsSupportResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVpcClassicLinkDnsSupportResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVpcClassicLinkDnsSupport request.
type DescribeVpcClassicLinkInput ¶
type DescribeVpcClassicLinkInput 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * is-classic-link-enabled - Whether the VPC is enabled for ClassicLink // (true | false). // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // One or more VPCs for which you want to describe the ClassicLink status. VpcIds []string `locationName:"VpcId" locationNameList:"VpcId" type:"list"` // contains filtered or unexported fields }
func (DescribeVpcClassicLinkInput) String ¶
func (s DescribeVpcClassicLinkInput) String() string
String returns the string representation
type DescribeVpcClassicLinkOutput ¶
type DescribeVpcClassicLinkOutput struct { // The ClassicLink status of one or more VPCs. Vpcs []VpcClassicLink `locationName:"vpcSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeVpcClassicLinkOutput) String ¶
func (s DescribeVpcClassicLinkOutput) String() string
String returns the string representation
type DescribeVpcClassicLinkRequest ¶
type DescribeVpcClassicLinkRequest struct { *aws.Request Input *DescribeVpcClassicLinkInput Copy func(*DescribeVpcClassicLinkInput) DescribeVpcClassicLinkRequest }
DescribeVpcClassicLinkRequest is the request type for the DescribeVpcClassicLink API operation.
func (DescribeVpcClassicLinkRequest) Send ¶
func (r DescribeVpcClassicLinkRequest) Send(ctx context.Context) (*DescribeVpcClassicLinkResponse, error)
Send marshals and sends the DescribeVpcClassicLink API request.
type DescribeVpcClassicLinkResponse ¶ added in v0.9.0
type DescribeVpcClassicLinkResponse struct { *DescribeVpcClassicLinkOutput // contains filtered or unexported fields }
DescribeVpcClassicLinkResponse is the response type for the DescribeVpcClassicLink API operation.
func (*DescribeVpcClassicLinkResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVpcClassicLinkResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVpcClassicLink request.
type DescribeVpcEndpointConnectionNotificationsInput ¶ added in v0.2.0
type DescribeVpcEndpointConnectionNotificationsInput struct { // The ID of the notification. ConnectionNotificationId *string `type:"string"` // 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"` // One or more filters. // // * connection-notification-arn - The ARN of SNS topic for the notification. // // * connection-notification-id - The ID of the notification. // // * connection-notification-state - The state of the notification (Enabled // | Disabled). // // * connection-notification-type - The type of notification (Topic). // // * service-id - The ID of the endpoint service. // // * vpc-endpoint-id - The ID of the VPC endpoint. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return in a single call. To retrieve the // remaining results, make another request with the returned NextToken value. MaxResults *int64 `type:"integer"` // The token to request the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeVpcEndpointConnectionNotificationsInput) String ¶ added in v0.2.0
func (s DescribeVpcEndpointConnectionNotificationsInput) String() string
String returns the string representation
type DescribeVpcEndpointConnectionNotificationsOutput ¶ added in v0.2.0
type DescribeVpcEndpointConnectionNotificationsOutput struct { // One or more notifications. ConnectionNotificationSet []ConnectionNotification `locationName:"connectionNotificationSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeVpcEndpointConnectionNotificationsOutput) String ¶ added in v0.2.0
func (s DescribeVpcEndpointConnectionNotificationsOutput) String() string
String returns the string representation
type DescribeVpcEndpointConnectionNotificationsPaginator ¶ added in v0.9.0
DescribeVpcEndpointConnectionNotificationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeVpcEndpointConnectionNotificationsPaginator ¶ added in v0.9.0
func NewDescribeVpcEndpointConnectionNotificationsPaginator(req DescribeVpcEndpointConnectionNotificationsRequest) DescribeVpcEndpointConnectionNotificationsPaginator
NewDescribeVpcEndpointConnectionNotificationsRequestPaginator returns a paginator for DescribeVpcEndpointConnectionNotifications. 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.DescribeVpcEndpointConnectionNotificationsRequest(input) p := ec2.NewDescribeVpcEndpointConnectionNotificationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeVpcEndpointConnectionNotificationsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeVpcEndpointConnectionNotificationsPaginator) CurrentPage() *DescribeVpcEndpointConnectionNotificationsOutput
type DescribeVpcEndpointConnectionNotificationsRequest ¶ added in v0.2.0
type DescribeVpcEndpointConnectionNotificationsRequest struct { *aws.Request Input *DescribeVpcEndpointConnectionNotificationsInput Copy func(*DescribeVpcEndpointConnectionNotificationsInput) DescribeVpcEndpointConnectionNotificationsRequest }
DescribeVpcEndpointConnectionNotificationsRequest is the request type for the DescribeVpcEndpointConnectionNotifications API operation.
func (DescribeVpcEndpointConnectionNotificationsRequest) Send ¶ added in v0.2.0
func (r DescribeVpcEndpointConnectionNotificationsRequest) Send(ctx context.Context) (*DescribeVpcEndpointConnectionNotificationsResponse, error)
Send marshals and sends the DescribeVpcEndpointConnectionNotifications API request.
type DescribeVpcEndpointConnectionNotificationsResponse ¶ added in v0.9.0
type DescribeVpcEndpointConnectionNotificationsResponse struct { *DescribeVpcEndpointConnectionNotificationsOutput // contains filtered or unexported fields }
DescribeVpcEndpointConnectionNotificationsResponse is the response type for the DescribeVpcEndpointConnectionNotifications API operation.
func (*DescribeVpcEndpointConnectionNotificationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVpcEndpointConnectionNotificationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVpcEndpointConnectionNotifications request.
type DescribeVpcEndpointConnectionsInput ¶ added in v0.2.0
type DescribeVpcEndpointConnectionsInput 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"` // One or more filters. // // * service-id - The ID of the service. // // * vpc-endpoint-owner - The AWS account number of the owner of the endpoint. // // * vpc-endpoint-state - The state of the endpoint (pendingAcceptance | // pending | available | deleting | deleted | rejected | failed). // // * vpc-endpoint-id - The ID of the endpoint. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return for the request in a single page. // The remaining results of the initial request can be seen by sending another // request with the returned NextToken value. This value can be between 5 and // 1000; if MaxResults is given a value larger than 1000, only 1000 results // are returned. MaxResults *int64 `type:"integer"` // The token to retrieve the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeVpcEndpointConnectionsInput) String ¶ added in v0.2.0
func (s DescribeVpcEndpointConnectionsInput) String() string
String returns the string representation
type DescribeVpcEndpointConnectionsOutput ¶ added in v0.2.0
type DescribeVpcEndpointConnectionsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about one or more VPC endpoint connections. VpcEndpointConnections []VpcEndpointConnection `locationName:"vpcEndpointConnectionSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeVpcEndpointConnectionsOutput) String ¶ added in v0.2.0
func (s DescribeVpcEndpointConnectionsOutput) String() string
String returns the string representation
type DescribeVpcEndpointConnectionsPaginator ¶ added in v0.9.0
DescribeVpcEndpointConnectionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeVpcEndpointConnectionsPaginator ¶ added in v0.9.0
func NewDescribeVpcEndpointConnectionsPaginator(req DescribeVpcEndpointConnectionsRequest) DescribeVpcEndpointConnectionsPaginator
NewDescribeVpcEndpointConnectionsRequestPaginator returns a paginator for DescribeVpcEndpointConnections. 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.DescribeVpcEndpointConnectionsRequest(input) p := ec2.NewDescribeVpcEndpointConnectionsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeVpcEndpointConnectionsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeVpcEndpointConnectionsPaginator) CurrentPage() *DescribeVpcEndpointConnectionsOutput
type DescribeVpcEndpointConnectionsRequest ¶ added in v0.2.0
type DescribeVpcEndpointConnectionsRequest struct { *aws.Request Input *DescribeVpcEndpointConnectionsInput Copy func(*DescribeVpcEndpointConnectionsInput) DescribeVpcEndpointConnectionsRequest }
DescribeVpcEndpointConnectionsRequest is the request type for the DescribeVpcEndpointConnections API operation.
func (DescribeVpcEndpointConnectionsRequest) Send ¶ added in v0.2.0
func (r DescribeVpcEndpointConnectionsRequest) Send(ctx context.Context) (*DescribeVpcEndpointConnectionsResponse, error)
Send marshals and sends the DescribeVpcEndpointConnections API request.
type DescribeVpcEndpointConnectionsResponse ¶ added in v0.9.0
type DescribeVpcEndpointConnectionsResponse struct { *DescribeVpcEndpointConnectionsOutput // contains filtered or unexported fields }
DescribeVpcEndpointConnectionsResponse is the response type for the DescribeVpcEndpointConnections API operation.
func (*DescribeVpcEndpointConnectionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVpcEndpointConnectionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVpcEndpointConnections request.
type DescribeVpcEndpointServiceConfigurationsInput ¶ added in v0.2.0
type DescribeVpcEndpointServiceConfigurationsInput 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"` // One or more filters. // // * service-name - The name of the service. // // * service-id - The ID of the service. // // * service-state - The state of the service (Pending | Available | Deleting // | Deleted | Failed). // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return for the request in a single page. // The remaining results of the initial request can be seen by sending another // request with the returned NextToken value. This value can be between 5 and // 1000; if MaxResults is given a value larger than 1000, only 1000 results // are returned. MaxResults *int64 `type:"integer"` // The token to retrieve the next page of results. NextToken *string `type:"string"` // The IDs of one or more services. ServiceIds []string `locationName:"ServiceId" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeVpcEndpointServiceConfigurationsInput) String ¶ added in v0.2.0
func (s DescribeVpcEndpointServiceConfigurationsInput) String() string
String returns the string representation
type DescribeVpcEndpointServiceConfigurationsOutput ¶ added in v0.2.0
type DescribeVpcEndpointServiceConfigurationsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about one or more services. ServiceConfigurations []ServiceConfiguration `locationName:"serviceConfigurationSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeVpcEndpointServiceConfigurationsOutput) String ¶ added in v0.2.0
func (s DescribeVpcEndpointServiceConfigurationsOutput) String() string
String returns the string representation
type DescribeVpcEndpointServiceConfigurationsPaginator ¶ added in v0.9.0
DescribeVpcEndpointServiceConfigurationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeVpcEndpointServiceConfigurationsPaginator ¶ added in v0.9.0
func NewDescribeVpcEndpointServiceConfigurationsPaginator(req DescribeVpcEndpointServiceConfigurationsRequest) DescribeVpcEndpointServiceConfigurationsPaginator
NewDescribeVpcEndpointServiceConfigurationsRequestPaginator returns a paginator for DescribeVpcEndpointServiceConfigurations. 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.DescribeVpcEndpointServiceConfigurationsRequest(input) p := ec2.NewDescribeVpcEndpointServiceConfigurationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeVpcEndpointServiceConfigurationsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeVpcEndpointServiceConfigurationsPaginator) CurrentPage() *DescribeVpcEndpointServiceConfigurationsOutput
type DescribeVpcEndpointServiceConfigurationsRequest ¶ added in v0.2.0
type DescribeVpcEndpointServiceConfigurationsRequest struct { *aws.Request Input *DescribeVpcEndpointServiceConfigurationsInput Copy func(*DescribeVpcEndpointServiceConfigurationsInput) DescribeVpcEndpointServiceConfigurationsRequest }
DescribeVpcEndpointServiceConfigurationsRequest is the request type for the DescribeVpcEndpointServiceConfigurations API operation.
func (DescribeVpcEndpointServiceConfigurationsRequest) Send ¶ added in v0.2.0
func (r DescribeVpcEndpointServiceConfigurationsRequest) Send(ctx context.Context) (*DescribeVpcEndpointServiceConfigurationsResponse, error)
Send marshals and sends the DescribeVpcEndpointServiceConfigurations API request.
type DescribeVpcEndpointServiceConfigurationsResponse ¶ added in v0.9.0
type DescribeVpcEndpointServiceConfigurationsResponse struct { *DescribeVpcEndpointServiceConfigurationsOutput // contains filtered or unexported fields }
DescribeVpcEndpointServiceConfigurationsResponse is the response type for the DescribeVpcEndpointServiceConfigurations API operation.
func (*DescribeVpcEndpointServiceConfigurationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVpcEndpointServiceConfigurationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVpcEndpointServiceConfigurations request.
type DescribeVpcEndpointServicePermissionsInput ¶ added in v0.2.0
type DescribeVpcEndpointServicePermissionsInput 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"` // One or more filters. // // * principal - The ARN of the principal. // // * principal-type - The principal type (All | Service | OrganizationUnit // | Account | User | Role). Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return for the request in a single page. // The remaining results of the initial request can be seen by sending another // request with the returned NextToken value. This value can be between 5 and // 1000; if MaxResults is given a value larger than 1000, only 1000 results // are returned. MaxResults *int64 `type:"integer"` // The token to retrieve the next page of results. NextToken *string `type:"string"` // The ID of the service. // // ServiceId is a required field ServiceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeVpcEndpointServicePermissionsInput) String ¶ added in v0.2.0
func (s DescribeVpcEndpointServicePermissionsInput) String() string
String returns the string representation
func (*DescribeVpcEndpointServicePermissionsInput) Validate ¶ added in v0.2.0
func (s *DescribeVpcEndpointServicePermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeVpcEndpointServicePermissionsOutput ¶ added in v0.2.0
type DescribeVpcEndpointServicePermissionsOutput struct { // Information about one or more allowed principals. AllowedPrincipals []AllowedPrincipal `locationName:"allowedPrincipals" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeVpcEndpointServicePermissionsOutput) String ¶ added in v0.2.0
func (s DescribeVpcEndpointServicePermissionsOutput) String() string
String returns the string representation
type DescribeVpcEndpointServicePermissionsPaginator ¶ added in v0.9.0
DescribeVpcEndpointServicePermissionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeVpcEndpointServicePermissionsPaginator ¶ added in v0.9.0
func NewDescribeVpcEndpointServicePermissionsPaginator(req DescribeVpcEndpointServicePermissionsRequest) DescribeVpcEndpointServicePermissionsPaginator
NewDescribeVpcEndpointServicePermissionsRequestPaginator returns a paginator for DescribeVpcEndpointServicePermissions. 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.DescribeVpcEndpointServicePermissionsRequest(input) p := ec2.NewDescribeVpcEndpointServicePermissionsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeVpcEndpointServicePermissionsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeVpcEndpointServicePermissionsPaginator) CurrentPage() *DescribeVpcEndpointServicePermissionsOutput
type DescribeVpcEndpointServicePermissionsRequest ¶ added in v0.2.0
type DescribeVpcEndpointServicePermissionsRequest struct { *aws.Request Input *DescribeVpcEndpointServicePermissionsInput Copy func(*DescribeVpcEndpointServicePermissionsInput) DescribeVpcEndpointServicePermissionsRequest }
DescribeVpcEndpointServicePermissionsRequest is the request type for the DescribeVpcEndpointServicePermissions API operation.
func (DescribeVpcEndpointServicePermissionsRequest) Send ¶ added in v0.2.0
func (r DescribeVpcEndpointServicePermissionsRequest) Send(ctx context.Context) (*DescribeVpcEndpointServicePermissionsResponse, error)
Send marshals and sends the DescribeVpcEndpointServicePermissions API request.
type DescribeVpcEndpointServicePermissionsResponse ¶ added in v0.9.0
type DescribeVpcEndpointServicePermissionsResponse struct { *DescribeVpcEndpointServicePermissionsOutput // contains filtered or unexported fields }
DescribeVpcEndpointServicePermissionsResponse is the response type for the DescribeVpcEndpointServicePermissions API operation.
func (*DescribeVpcEndpointServicePermissionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVpcEndpointServicePermissionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVpcEndpointServicePermissions request.
type DescribeVpcEndpointServicesInput ¶
type DescribeVpcEndpointServicesInput 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"` // One or more filters. // // * service-name: The name of the service. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of items to return for this request. The request returns // a token that you can specify in a subsequent call to get the next set of // results. // // Constraint: If the value is greater than 1000, we return only 1000 items. MaxResults *int64 `type:"integer"` // The token for the next set of items to return. (You received this token from // a prior call.) NextToken *string `type:"string"` // One or more service names. ServiceNames []string `locationName:"ServiceName" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the parameters for DescribeVpcEndpointServices.
func (DescribeVpcEndpointServicesInput) String ¶
func (s DescribeVpcEndpointServicesInput) String() string
String returns the string representation
type DescribeVpcEndpointServicesOutput ¶
type DescribeVpcEndpointServicesOutput struct { // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. NextToken *string `locationName:"nextToken" type:"string"` // Information about the service. ServiceDetails []ServiceDetail `locationName:"serviceDetailSet" locationNameList:"item" type:"list"` // A list of supported services. ServiceNames []string `locationName:"serviceNameSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeVpcEndpointServices.
func (DescribeVpcEndpointServicesOutput) String ¶
func (s DescribeVpcEndpointServicesOutput) String() string
String returns the string representation
type DescribeVpcEndpointServicesRequest ¶
type DescribeVpcEndpointServicesRequest struct { *aws.Request Input *DescribeVpcEndpointServicesInput Copy func(*DescribeVpcEndpointServicesInput) DescribeVpcEndpointServicesRequest }
DescribeVpcEndpointServicesRequest is the request type for the DescribeVpcEndpointServices API operation.
func (DescribeVpcEndpointServicesRequest) Send ¶
func (r DescribeVpcEndpointServicesRequest) Send(ctx context.Context) (*DescribeVpcEndpointServicesResponse, error)
Send marshals and sends the DescribeVpcEndpointServices API request.
type DescribeVpcEndpointServicesResponse ¶ added in v0.9.0
type DescribeVpcEndpointServicesResponse struct { *DescribeVpcEndpointServicesOutput // contains filtered or unexported fields }
DescribeVpcEndpointServicesResponse is the response type for the DescribeVpcEndpointServices API operation.
func (*DescribeVpcEndpointServicesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVpcEndpointServicesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVpcEndpointServices request.
type DescribeVpcEndpointsInput ¶
type DescribeVpcEndpointsInput 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"` // One or more filters. // // * service-name: The name of the service. // // * vpc-id: The ID of the VPC in which the endpoint resides. // // * vpc-endpoint-id: The ID of the endpoint. // // * vpc-endpoint-state - The state of the endpoint (pendingAcceptance | // pending | available | deleting | deleted | rejected | failed). // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of items to return for this request. The request returns // a token that you can specify in a subsequent call to get the next set of // results. // // Constraint: If the value is greater than 1000, we return only 1000 items. MaxResults *int64 `type:"integer"` // The token for the next set of items to return. (You received this token from // a prior call.) NextToken *string `type:"string"` // One or more endpoint IDs. VpcEndpointIds []string `locationName:"VpcEndpointId" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the parameters for DescribeVpcEndpoints.
func (DescribeVpcEndpointsInput) String ¶
func (s DescribeVpcEndpointsInput) String() string
String returns the string representation
type DescribeVpcEndpointsOutput ¶
type DescribeVpcEndpointsOutput struct { // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. NextToken *string `locationName:"nextToken" type:"string"` // Information about the endpoints. VpcEndpoints []VpcEndpoint `locationName:"vpcEndpointSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeVpcEndpoints.
func (DescribeVpcEndpointsOutput) String ¶
func (s DescribeVpcEndpointsOutput) String() string
String returns the string representation
type DescribeVpcEndpointsPaginator ¶ added in v0.9.0
DescribeVpcEndpointsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeVpcEndpointsPaginator ¶ added in v0.9.0
func NewDescribeVpcEndpointsPaginator(req DescribeVpcEndpointsRequest) DescribeVpcEndpointsPaginator
NewDescribeVpcEndpointsRequestPaginator returns a paginator for DescribeVpcEndpoints. 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.DescribeVpcEndpointsRequest(input) p := ec2.NewDescribeVpcEndpointsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeVpcEndpointsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeVpcEndpointsPaginator) CurrentPage() *DescribeVpcEndpointsOutput
type DescribeVpcEndpointsRequest ¶
type DescribeVpcEndpointsRequest struct { *aws.Request Input *DescribeVpcEndpointsInput Copy func(*DescribeVpcEndpointsInput) DescribeVpcEndpointsRequest }
DescribeVpcEndpointsRequest is the request type for the DescribeVpcEndpoints API operation.
func (DescribeVpcEndpointsRequest) Send ¶
func (r DescribeVpcEndpointsRequest) Send(ctx context.Context) (*DescribeVpcEndpointsResponse, error)
Send marshals and sends the DescribeVpcEndpoints API request.
type DescribeVpcEndpointsResponse ¶ added in v0.9.0
type DescribeVpcEndpointsResponse struct { *DescribeVpcEndpointsOutput // contains filtered or unexported fields }
DescribeVpcEndpointsResponse is the response type for the DescribeVpcEndpoints API operation.
func (*DescribeVpcEndpointsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVpcEndpointsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVpcEndpoints request.
type DescribeVpcPeeringConnectionsInput ¶
type DescribeVpcPeeringConnectionsInput 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * accepter-vpc-info.cidr-block - The IPv4 CIDR block of the accepter VPC. // // * accepter-vpc-info.owner-id - The AWS account ID of the owner of the // accepter VPC. // // * accepter-vpc-info.vpc-id - The ID of the accepter VPC. // // * expiration-time - The expiration date and time for the VPC peering connection. // // * requester-vpc-info.cidr-block - The IPv4 CIDR block of the requester's // VPC. // // * requester-vpc-info.owner-id - The AWS account ID of the owner of the // requester VPC. // // * requester-vpc-info.vpc-id - The ID of the requester VPC. // // * status-code - The status of the VPC peering connection (pending-acceptance // | failed | expired | provisioning | active | deleting | deleted | rejected). // // * status-message - A message that provides more information about the // status of the VPC peering connection, if applicable. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * vpc-peering-connection-id - The ID of the VPC peering connection. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // One or more VPC peering connection IDs. // // Default: Describes all your VPC peering connections. VpcPeeringConnectionIds []string `locationName:"VpcPeeringConnectionId" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeVpcPeeringConnectionsInput) String ¶
func (s DescribeVpcPeeringConnectionsInput) String() string
String returns the string representation
func (*DescribeVpcPeeringConnectionsInput) Validate ¶ added in v0.8.0
func (s *DescribeVpcPeeringConnectionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeVpcPeeringConnectionsOutput ¶
type DescribeVpcPeeringConnectionsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the VPC peering connections. VpcPeeringConnections []VpcPeeringConnection `locationName:"vpcPeeringConnectionSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeVpcPeeringConnectionsOutput) String ¶
func (s DescribeVpcPeeringConnectionsOutput) String() string
String returns the string representation
type DescribeVpcPeeringConnectionsPaginator ¶ added in v0.9.0
DescribeVpcPeeringConnectionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeVpcPeeringConnectionsPaginator ¶ added in v0.9.0
func NewDescribeVpcPeeringConnectionsPaginator(req DescribeVpcPeeringConnectionsRequest) DescribeVpcPeeringConnectionsPaginator
NewDescribeVpcPeeringConnectionsRequestPaginator returns a paginator for DescribeVpcPeeringConnections. 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.DescribeVpcPeeringConnectionsRequest(input) p := ec2.NewDescribeVpcPeeringConnectionsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeVpcPeeringConnectionsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeVpcPeeringConnectionsPaginator) CurrentPage() *DescribeVpcPeeringConnectionsOutput
type DescribeVpcPeeringConnectionsRequest ¶
type DescribeVpcPeeringConnectionsRequest struct { *aws.Request Input *DescribeVpcPeeringConnectionsInput Copy func(*DescribeVpcPeeringConnectionsInput) DescribeVpcPeeringConnectionsRequest }
DescribeVpcPeeringConnectionsRequest is the request type for the DescribeVpcPeeringConnections API operation.
func (DescribeVpcPeeringConnectionsRequest) Send ¶
func (r DescribeVpcPeeringConnectionsRequest) Send(ctx context.Context) (*DescribeVpcPeeringConnectionsResponse, error)
Send marshals and sends the DescribeVpcPeeringConnections API request.
type DescribeVpcPeeringConnectionsResponse ¶ added in v0.9.0
type DescribeVpcPeeringConnectionsResponse struct { *DescribeVpcPeeringConnectionsOutput // contains filtered or unexported fields }
DescribeVpcPeeringConnectionsResponse is the response type for the DescribeVpcPeeringConnections API operation.
func (*DescribeVpcPeeringConnectionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVpcPeeringConnectionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVpcPeeringConnections request.
type DescribeVpcsInput ¶
type DescribeVpcsInput 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * cidr - The primary IPv4 CIDR block of the VPC. The CIDR block you specify // must exactly match the VPC's CIDR block for information to be returned // for the VPC. Must contain the slash followed by one or two digits (for // example, /28). // // * cidr-block-association.cidr-block - An IPv4 CIDR block associated with // the VPC. // // * cidr-block-association.association-id - The association ID for an IPv4 // CIDR block associated with the VPC. // // * cidr-block-association.state - The state of an IPv4 CIDR block associated // with the VPC. // // * dhcp-options-id - The ID of a set of DHCP options. // // * ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated // with the VPC. // // * ipv6-cidr-block-association.association-id - The association ID for // an IPv6 CIDR block associated with the VPC. // // * ipv6-cidr-block-association.state - The state of an IPv6 CIDR block // associated with the VPC. // // * isDefault - Indicates whether the VPC is the default VPC. // // * owner-id - The ID of the AWS account that owns the VPC. // // * state - The state of the VPC (pending | available). // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * vpc-id - The ID of the VPC. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // One or more VPC IDs. // // Default: Describes all your VPCs. VpcIds []string `locationName:"VpcId" locationNameList:"VpcId" type:"list"` // contains filtered or unexported fields }
func (DescribeVpcsInput) String ¶
func (s DescribeVpcsInput) String() string
String returns the string representation
func (*DescribeVpcsInput) Validate ¶ added in v0.8.0
func (s *DescribeVpcsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeVpcsOutput ¶
type DescribeVpcsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about one or more VPCs. Vpcs []Vpc `locationName:"vpcSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (DescribeVpcsOutput) String ¶
func (s DescribeVpcsOutput) String() string
String returns the string representation
type DescribeVpcsPaginator ¶ added in v0.9.0
DescribeVpcsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeVpcsPaginator ¶ added in v0.9.0
func NewDescribeVpcsPaginator(req DescribeVpcsRequest) DescribeVpcsPaginator
NewDescribeVpcsRequestPaginator returns a paginator for DescribeVpcs. 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.DescribeVpcsRequest(input) p := ec2.NewDescribeVpcsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeVpcsPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeVpcsPaginator) CurrentPage() *DescribeVpcsOutput
type DescribeVpcsRequest ¶
type DescribeVpcsRequest struct { *aws.Request Input *DescribeVpcsInput Copy func(*DescribeVpcsInput) DescribeVpcsRequest }
DescribeVpcsRequest is the request type for the DescribeVpcs API operation.
func (DescribeVpcsRequest) Send ¶
func (r DescribeVpcsRequest) Send(ctx context.Context) (*DescribeVpcsResponse, error)
Send marshals and sends the DescribeVpcs API request.
type DescribeVpcsResponse ¶ added in v0.9.0
type DescribeVpcsResponse struct { *DescribeVpcsOutput // contains filtered or unexported fields }
DescribeVpcsResponse is the response type for the DescribeVpcs API operation.
func (*DescribeVpcsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVpcsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVpcs request.
type DescribeVpnConnectionsInput ¶
type DescribeVpnConnectionsInput 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * customer-gateway-configuration - The configuration information for the // customer gateway. // // * customer-gateway-id - The ID of a customer gateway associated with the // VPN connection. // // * state - The state of the VPN connection (pending | available | deleting // | deleted). // // * option.static-routes-only - Indicates whether the connection has static // routes only. Used for devices that do not support Border Gateway Protocol // (BGP). // // * route.destination-cidr-block - The destination CIDR block. This corresponds // to the subnet used in a customer data center. // // * bgp-asn - The BGP Autonomous System Number (ASN) associated with a BGP // device. // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * type - The type of VPN connection. Currently the only supported type // is ipsec.1. // // * vpn-connection-id - The ID of the VPN connection. // // * vpn-gateway-id - The ID of a virtual private gateway associated with // the VPN connection. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // One or more VPN connection IDs. // // Default: Describes your VPN connections. VpnConnectionIds []string `locationName:"VpnConnectionId" locationNameList:"VpnConnectionId" type:"list"` // contains filtered or unexported fields }
Contains the parameters for DescribeVpnConnections.
func (DescribeVpnConnectionsInput) String ¶
func (s DescribeVpnConnectionsInput) String() string
String returns the string representation
type DescribeVpnConnectionsOutput ¶
type DescribeVpnConnectionsOutput struct { // Information about one or more VPN connections. VpnConnections []VpnConnection `locationName:"vpnConnectionSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeVpnConnections.
func (DescribeVpnConnectionsOutput) String ¶
func (s DescribeVpnConnectionsOutput) String() string
String returns the string representation
type DescribeVpnConnectionsRequest ¶
type DescribeVpnConnectionsRequest struct { *aws.Request Input *DescribeVpnConnectionsInput Copy func(*DescribeVpnConnectionsInput) DescribeVpnConnectionsRequest }
DescribeVpnConnectionsRequest is the request type for the DescribeVpnConnections API operation.
func (DescribeVpnConnectionsRequest) Send ¶
func (r DescribeVpnConnectionsRequest) Send(ctx context.Context) (*DescribeVpnConnectionsResponse, error)
Send marshals and sends the DescribeVpnConnections API request.
type DescribeVpnConnectionsResponse ¶ added in v0.9.0
type DescribeVpnConnectionsResponse struct { *DescribeVpnConnectionsOutput // contains filtered or unexported fields }
DescribeVpnConnectionsResponse is the response type for the DescribeVpnConnections API operation.
func (*DescribeVpnConnectionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVpnConnectionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVpnConnections request.
type DescribeVpnGatewaysInput ¶
type DescribeVpnGatewaysInput 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 `locationName:"dryRun" type:"boolean"` // One or more filters. // // * amazon-side-asn - The Autonomous System Number (ASN) for the Amazon // side of the gateway. // // * attachment.state - The current state of the attachment between the gateway // and the VPC (attaching | attached | detaching | detached). // // * attachment.vpc-id - The ID of an attached VPC. // // * availability-zone - The Availability Zone for the virtual private gateway // (if applicable). // // * state - The state of the virtual private gateway (pending | available // | deleting | deleted). // // * tag:<key> - The key/value combination of a tag assigned to the resource. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all resources that have a tag with the key Owner // and the value TeamA, specify tag:Owner for the filter name and TeamA for // the filter value. // // * tag-key - The key of a tag assigned to the resource. Use this filter // to find all resources assigned a tag with a specific key, regardless of // the tag value. // // * type - The type of virtual private gateway. Currently the only supported // type is ipsec.1. // // * vpn-gateway-id - The ID of the virtual private gateway. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // One or more virtual private gateway IDs. // // Default: Describes all your virtual private gateways. VpnGatewayIds []string `locationName:"VpnGatewayId" locationNameList:"VpnGatewayId" type:"list"` // contains filtered or unexported fields }
Contains the parameters for DescribeVpnGateways.
func (DescribeVpnGatewaysInput) String ¶
func (s DescribeVpnGatewaysInput) String() string
String returns the string representation
type DescribeVpnGatewaysOutput ¶
type DescribeVpnGatewaysOutput struct { // Information about one or more virtual private gateways. VpnGateways []VpnGateway `locationName:"vpnGatewaySet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeVpnGateways.
func (DescribeVpnGatewaysOutput) String ¶
func (s DescribeVpnGatewaysOutput) String() string
String returns the string representation
type DescribeVpnGatewaysRequest ¶
type DescribeVpnGatewaysRequest struct { *aws.Request Input *DescribeVpnGatewaysInput Copy func(*DescribeVpnGatewaysInput) DescribeVpnGatewaysRequest }
DescribeVpnGatewaysRequest is the request type for the DescribeVpnGateways API operation.
func (DescribeVpnGatewaysRequest) Send ¶
func (r DescribeVpnGatewaysRequest) Send(ctx context.Context) (*DescribeVpnGatewaysResponse, error)
Send marshals and sends the DescribeVpnGateways API request.
type DescribeVpnGatewaysResponse ¶ added in v0.9.0
type DescribeVpnGatewaysResponse struct { *DescribeVpnGatewaysOutput // contains filtered or unexported fields }
DescribeVpnGatewaysResponse is the response type for the DescribeVpnGateways API operation.
func (*DescribeVpnGatewaysResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeVpnGatewaysResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVpnGateways request.
type DetachClassicLinkVpcInput ¶
type DetachClassicLinkVpcInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the instance to unlink from the VPC. // // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // The ID of the VPC to which the instance is linked. // // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DetachClassicLinkVpcInput) String ¶
func (s DetachClassicLinkVpcInput) String() string
String returns the string representation
func (*DetachClassicLinkVpcInput) Validate ¶
func (s *DetachClassicLinkVpcInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetachClassicLinkVpcOutput ¶
type DetachClassicLinkVpcOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (DetachClassicLinkVpcOutput) String ¶
func (s DetachClassicLinkVpcOutput) String() string
String returns the string representation
type DetachClassicLinkVpcRequest ¶
type DetachClassicLinkVpcRequest struct { *aws.Request Input *DetachClassicLinkVpcInput Copy func(*DetachClassicLinkVpcInput) DetachClassicLinkVpcRequest }
DetachClassicLinkVpcRequest is the request type for the DetachClassicLinkVpc API operation.
func (DetachClassicLinkVpcRequest) Send ¶
func (r DetachClassicLinkVpcRequest) Send(ctx context.Context) (*DetachClassicLinkVpcResponse, error)
Send marshals and sends the DetachClassicLinkVpc API request.
type DetachClassicLinkVpcResponse ¶ added in v0.9.0
type DetachClassicLinkVpcResponse struct { *DetachClassicLinkVpcOutput // contains filtered or unexported fields }
DetachClassicLinkVpcResponse is the response type for the DetachClassicLinkVpc API operation.
func (*DetachClassicLinkVpcResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DetachClassicLinkVpcResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DetachClassicLinkVpc request.
type DetachInternetGatewayInput ¶
type DetachInternetGatewayInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the internet gateway. // // InternetGatewayId is a required field InternetGatewayId *string `locationName:"internetGatewayId" type:"string" required:"true"` // The ID of the VPC. // // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DetachInternetGatewayInput) String ¶
func (s DetachInternetGatewayInput) String() string
String returns the string representation
func (*DetachInternetGatewayInput) Validate ¶
func (s *DetachInternetGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetachInternetGatewayOutput ¶
type DetachInternetGatewayOutput struct {
// contains filtered or unexported fields
}
func (DetachInternetGatewayOutput) String ¶
func (s DetachInternetGatewayOutput) String() string
String returns the string representation
type DetachInternetGatewayRequest ¶
type DetachInternetGatewayRequest struct { *aws.Request Input *DetachInternetGatewayInput Copy func(*DetachInternetGatewayInput) DetachInternetGatewayRequest }
DetachInternetGatewayRequest is the request type for the DetachInternetGateway API operation.
func (DetachInternetGatewayRequest) Send ¶
func (r DetachInternetGatewayRequest) Send(ctx context.Context) (*DetachInternetGatewayResponse, error)
Send marshals and sends the DetachInternetGateway API request.
type DetachInternetGatewayResponse ¶ added in v0.9.0
type DetachInternetGatewayResponse struct { *DetachInternetGatewayOutput // contains filtered or unexported fields }
DetachInternetGatewayResponse is the response type for the DetachInternetGateway API operation.
func (*DetachInternetGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DetachInternetGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DetachInternetGateway request.
type DetachNetworkInterfaceInput ¶
type DetachNetworkInterfaceInput struct { // The ID of the attachment. // // AttachmentId is a required field AttachmentId *string `locationName:"attachmentId" type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // Specifies whether to force a detachment. // // * Use the Force parameter only as a last resort to detach a network interface // from a failed instance. // // * If you use the Force parameter to detach a network interface, you might // not be able to attach a different network interface to the same index // on the instance without first stopping and starting the instance. // // * If you force the detachment of a network interface, the instance metadata // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) // might not get updated. This means that the attributes associated with // the detached network interface might still be visible. The instance metadata // will get updated when you stop and start the instance. Force *bool `locationName:"force" type:"boolean"` // contains filtered or unexported fields }
Contains the parameters for DetachNetworkInterface.
func (DetachNetworkInterfaceInput) String ¶
func (s DetachNetworkInterfaceInput) String() string
String returns the string representation
func (*DetachNetworkInterfaceInput) Validate ¶
func (s *DetachNetworkInterfaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetachNetworkInterfaceOutput ¶
type DetachNetworkInterfaceOutput struct {
// contains filtered or unexported fields
}
func (DetachNetworkInterfaceOutput) String ¶
func (s DetachNetworkInterfaceOutput) String() string
String returns the string representation
type DetachNetworkInterfaceRequest ¶
type DetachNetworkInterfaceRequest struct { *aws.Request Input *DetachNetworkInterfaceInput Copy func(*DetachNetworkInterfaceInput) DetachNetworkInterfaceRequest }
DetachNetworkInterfaceRequest is the request type for the DetachNetworkInterface API operation.
func (DetachNetworkInterfaceRequest) Send ¶
func (r DetachNetworkInterfaceRequest) Send(ctx context.Context) (*DetachNetworkInterfaceResponse, error)
Send marshals and sends the DetachNetworkInterface API request.
type DetachNetworkInterfaceResponse ¶ added in v0.9.0
type DetachNetworkInterfaceResponse struct { *DetachNetworkInterfaceOutput // contains filtered or unexported fields }
DetachNetworkInterfaceResponse is the response type for the DetachNetworkInterface API operation.
func (*DetachNetworkInterfaceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DetachNetworkInterfaceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DetachNetworkInterface request.
type DetachVolumeInput ¶
type DetachVolumeInput struct { // The device name. Device *string `type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // Forces detachment if the previous detachment attempt did not occur cleanly // (for example, logging into an instance, unmounting the volume, and detaching // normally). This option can lead to data loss or a corrupted file system. // Use this option only as a last resort to detach a volume from a failed instance. // The instance won't have an opportunity to flush file system caches or file // system metadata. If you use this option, you must perform file system check // and repair procedures. Force *bool `type:"boolean"` // The ID of the instance. InstanceId *string `type:"string"` // The ID of the volume. // // VolumeId is a required field VolumeId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DetachVolume.
func (DetachVolumeInput) String ¶
func (s DetachVolumeInput) String() string
String returns the string representation
func (*DetachVolumeInput) Validate ¶
func (s *DetachVolumeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetachVolumeOutput ¶
type DetachVolumeOutput struct { // The time stamp when the attachment initiated. AttachTime *time.Time `locationName:"attachTime" type:"timestamp"` // Indicates whether the EBS volume is deleted on instance termination. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` // The device name. Device *string `locationName:"device" type:"string"` // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // The attachment state of the volume. State VolumeAttachmentState `locationName:"status" type:"string" enum:"true"` // The ID of the volume. VolumeId *string `locationName:"volumeId" type:"string"` // contains filtered or unexported fields }
Describes volume attachment details.
func (DetachVolumeOutput) String ¶
func (s DetachVolumeOutput) String() string
String returns the string representation
type DetachVolumeRequest ¶
type DetachVolumeRequest struct { *aws.Request Input *DetachVolumeInput Copy func(*DetachVolumeInput) DetachVolumeRequest }
DetachVolumeRequest is the request type for the DetachVolume API operation.
func (DetachVolumeRequest) Send ¶
func (r DetachVolumeRequest) Send(ctx context.Context) (*DetachVolumeResponse, error)
Send marshals and sends the DetachVolume API request.
type DetachVolumeResponse ¶ added in v0.9.0
type DetachVolumeResponse struct { *DetachVolumeOutput // contains filtered or unexported fields }
DetachVolumeResponse is the response type for the DetachVolume API operation.
func (*DetachVolumeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DetachVolumeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DetachVolume request.
type DetachVpnGatewayInput ¶
type DetachVpnGatewayInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the VPC. // // VpcId is a required field VpcId *string `type:"string" required:"true"` // The ID of the virtual private gateway. // // VpnGatewayId is a required field VpnGatewayId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DetachVpnGateway.
func (DetachVpnGatewayInput) String ¶
func (s DetachVpnGatewayInput) String() string
String returns the string representation
func (*DetachVpnGatewayInput) Validate ¶
func (s *DetachVpnGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetachVpnGatewayOutput ¶
type DetachVpnGatewayOutput struct {
// contains filtered or unexported fields
}
func (DetachVpnGatewayOutput) String ¶
func (s DetachVpnGatewayOutput) String() string
String returns the string representation
type DetachVpnGatewayRequest ¶
type DetachVpnGatewayRequest struct { *aws.Request Input *DetachVpnGatewayInput Copy func(*DetachVpnGatewayInput) DetachVpnGatewayRequest }
DetachVpnGatewayRequest is the request type for the DetachVpnGateway API operation.
func (DetachVpnGatewayRequest) Send ¶
func (r DetachVpnGatewayRequest) Send(ctx context.Context) (*DetachVpnGatewayResponse, error)
Send marshals and sends the DetachVpnGateway API request.
type DetachVpnGatewayResponse ¶ added in v0.9.0
type DetachVpnGatewayResponse struct { *DetachVpnGatewayOutput // contains filtered or unexported fields }
DetachVpnGatewayResponse is the response type for the DetachVpnGateway API operation.
func (*DetachVpnGatewayResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DetachVpnGatewayResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DetachVpnGateway request.
type DeviceType ¶
type DeviceType string
const ( DeviceTypeEbs DeviceType = "ebs" DeviceTypeInstanceStore DeviceType = "instance-store" )
Enum values for DeviceType
func (DeviceType) MarshalValue ¶ added in v0.3.0
func (enum DeviceType) MarshalValue() (string, error)
func (DeviceType) MarshalValueBuf ¶ added in v0.3.0
func (enum DeviceType) MarshalValueBuf(b []byte) ([]byte, error)
type DhcpConfiguration ¶
type DhcpConfiguration struct { // The name of a DHCP option. Key *string `locationName:"key" type:"string"` // One or more values for the DHCP option. Values []AttributeValue `locationName:"valueSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes a DHCP configuration option.
func (DhcpConfiguration) String ¶
func (s DhcpConfiguration) String() string
String returns the string representation
type DhcpOptions ¶
type DhcpOptions struct { // One or more DHCP options in the set. DhcpConfigurations []DhcpConfiguration `locationName:"dhcpConfigurationSet" locationNameList:"item" type:"list"` // The ID of the set of DHCP options. DhcpOptionsId *string `locationName:"dhcpOptionsId" type:"string"` // The ID of the AWS account that owns the DHCP options set. OwnerId *string `locationName:"ownerId" type:"string"` // Any tags assigned to the DHCP options set. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes a set of DHCP options.
func (DhcpOptions) String ¶
func (s DhcpOptions) String() string
String returns the string representation
type DirectoryServiceAuthentication ¶ added in v0.7.0
type DirectoryServiceAuthentication struct { // The ID of the Active Directory used for authentication. DirectoryId *string `locationName:"directoryId" type:"string"` // contains filtered or unexported fields }
Describes an Active Directory.
func (DirectoryServiceAuthentication) String ¶ added in v0.7.0
func (s DirectoryServiceAuthentication) String() string
String returns the string representation
type DirectoryServiceAuthenticationRequest ¶ added in v0.7.0
type DirectoryServiceAuthenticationRequest struct { // The ID of the Active Directory to be used for authentication. DirectoryId *string `type:"string"` // contains filtered or unexported fields }
Describes the Active Directory to be used for client authentication.
func (DirectoryServiceAuthenticationRequest) String ¶ added in v0.7.0
func (s DirectoryServiceAuthenticationRequest) String() string
String returns the string representation
type DisableEbsEncryptionByDefaultInput ¶ added in v0.9.0
type DisableEbsEncryptionByDefaultInput 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"` // contains filtered or unexported fields }
func (DisableEbsEncryptionByDefaultInput) String ¶ added in v0.9.0
func (s DisableEbsEncryptionByDefaultInput) String() string
String returns the string representation
type DisableEbsEncryptionByDefaultOutput ¶ added in v0.9.0
type DisableEbsEncryptionByDefaultOutput struct { // The updated status of encryption by default. EbsEncryptionByDefault *bool `locationName:"ebsEncryptionByDefault" type:"boolean"` // contains filtered or unexported fields }
func (DisableEbsEncryptionByDefaultOutput) String ¶ added in v0.9.0
func (s DisableEbsEncryptionByDefaultOutput) String() string
String returns the string representation
type DisableEbsEncryptionByDefaultRequest ¶ added in v0.9.0
type DisableEbsEncryptionByDefaultRequest struct { *aws.Request Input *DisableEbsEncryptionByDefaultInput Copy func(*DisableEbsEncryptionByDefaultInput) DisableEbsEncryptionByDefaultRequest }
DisableEbsEncryptionByDefaultRequest is the request type for the DisableEbsEncryptionByDefault API operation.
func (DisableEbsEncryptionByDefaultRequest) Send ¶ added in v0.9.0
func (r DisableEbsEncryptionByDefaultRequest) Send(ctx context.Context) (*DisableEbsEncryptionByDefaultResponse, error)
Send marshals and sends the DisableEbsEncryptionByDefault API request.
type DisableEbsEncryptionByDefaultResponse ¶ added in v0.9.0
type DisableEbsEncryptionByDefaultResponse struct { *DisableEbsEncryptionByDefaultOutput // contains filtered or unexported fields }
DisableEbsEncryptionByDefaultResponse is the response type for the DisableEbsEncryptionByDefault API operation.
func (*DisableEbsEncryptionByDefaultResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisableEbsEncryptionByDefaultResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisableEbsEncryptionByDefault request.
type DisableTransitGatewayRouteTablePropagationInput ¶ added in v0.6.0
type DisableTransitGatewayRouteTablePropagationInput 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"` // The ID of the propagation route table. // // TransitGatewayRouteTableId is a required field TransitGatewayRouteTableId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DisableTransitGatewayRouteTablePropagationInput) String ¶ added in v0.6.0
func (s DisableTransitGatewayRouteTablePropagationInput) String() string
String returns the string representation
func (*DisableTransitGatewayRouteTablePropagationInput) Validate ¶ added in v0.6.0
func (s *DisableTransitGatewayRouteTablePropagationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisableTransitGatewayRouteTablePropagationOutput ¶ added in v0.6.0
type DisableTransitGatewayRouteTablePropagationOutput struct { // Information about route propagation. Propagation *TransitGatewayPropagation `locationName:"propagation" type:"structure"` // contains filtered or unexported fields }
func (DisableTransitGatewayRouteTablePropagationOutput) String ¶ added in v0.6.0
func (s DisableTransitGatewayRouteTablePropagationOutput) String() string
String returns the string representation
type DisableTransitGatewayRouteTablePropagationRequest ¶ added in v0.6.0
type DisableTransitGatewayRouteTablePropagationRequest struct { *aws.Request Input *DisableTransitGatewayRouteTablePropagationInput Copy func(*DisableTransitGatewayRouteTablePropagationInput) DisableTransitGatewayRouteTablePropagationRequest }
DisableTransitGatewayRouteTablePropagationRequest is the request type for the DisableTransitGatewayRouteTablePropagation API operation.
func (DisableTransitGatewayRouteTablePropagationRequest) Send ¶ added in v0.6.0
func (r DisableTransitGatewayRouteTablePropagationRequest) Send(ctx context.Context) (*DisableTransitGatewayRouteTablePropagationResponse, error)
Send marshals and sends the DisableTransitGatewayRouteTablePropagation API request.
type DisableTransitGatewayRouteTablePropagationResponse ¶ added in v0.9.0
type DisableTransitGatewayRouteTablePropagationResponse struct { *DisableTransitGatewayRouteTablePropagationOutput // contains filtered or unexported fields }
DisableTransitGatewayRouteTablePropagationResponse is the response type for the DisableTransitGatewayRouteTablePropagation API operation.
func (*DisableTransitGatewayRouteTablePropagationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisableTransitGatewayRouteTablePropagationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisableTransitGatewayRouteTablePropagation request.
type DisableVgwRoutePropagationInput ¶
type DisableVgwRoutePropagationInput struct { // The ID of the virtual private gateway. // // GatewayId is a required field GatewayId *string `type:"string" required:"true"` // The ID of the route table. // // RouteTableId is a required field RouteTableId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DisableVgwRoutePropagation.
func (DisableVgwRoutePropagationInput) String ¶
func (s DisableVgwRoutePropagationInput) String() string
String returns the string representation
func (*DisableVgwRoutePropagationInput) Validate ¶
func (s *DisableVgwRoutePropagationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisableVgwRoutePropagationOutput ¶
type DisableVgwRoutePropagationOutput struct {
// contains filtered or unexported fields
}
func (DisableVgwRoutePropagationOutput) String ¶
func (s DisableVgwRoutePropagationOutput) String() string
String returns the string representation
type DisableVgwRoutePropagationRequest ¶
type DisableVgwRoutePropagationRequest struct { *aws.Request Input *DisableVgwRoutePropagationInput Copy func(*DisableVgwRoutePropagationInput) DisableVgwRoutePropagationRequest }
DisableVgwRoutePropagationRequest is the request type for the DisableVgwRoutePropagation API operation.
func (DisableVgwRoutePropagationRequest) Send ¶
func (r DisableVgwRoutePropagationRequest) Send(ctx context.Context) (*DisableVgwRoutePropagationResponse, error)
Send marshals and sends the DisableVgwRoutePropagation API request.
type DisableVgwRoutePropagationResponse ¶ added in v0.9.0
type DisableVgwRoutePropagationResponse struct { *DisableVgwRoutePropagationOutput // contains filtered or unexported fields }
DisableVgwRoutePropagationResponse is the response type for the DisableVgwRoutePropagation API operation.
func (*DisableVgwRoutePropagationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisableVgwRoutePropagationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisableVgwRoutePropagation request.
type DisableVpcClassicLinkDnsSupportInput ¶
type DisableVpcClassicLinkDnsSupportInput struct { // The ID of the VPC. VpcId *string `type:"string"` // contains filtered or unexported fields }
func (DisableVpcClassicLinkDnsSupportInput) String ¶
func (s DisableVpcClassicLinkDnsSupportInput) String() string
String returns the string representation
type DisableVpcClassicLinkDnsSupportOutput ¶
type DisableVpcClassicLinkDnsSupportOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (DisableVpcClassicLinkDnsSupportOutput) String ¶
func (s DisableVpcClassicLinkDnsSupportOutput) String() string
String returns the string representation
type DisableVpcClassicLinkDnsSupportRequest ¶
type DisableVpcClassicLinkDnsSupportRequest struct { *aws.Request Input *DisableVpcClassicLinkDnsSupportInput Copy func(*DisableVpcClassicLinkDnsSupportInput) DisableVpcClassicLinkDnsSupportRequest }
DisableVpcClassicLinkDnsSupportRequest is the request type for the DisableVpcClassicLinkDnsSupport API operation.
func (DisableVpcClassicLinkDnsSupportRequest) Send ¶
func (r DisableVpcClassicLinkDnsSupportRequest) Send(ctx context.Context) (*DisableVpcClassicLinkDnsSupportResponse, error)
Send marshals and sends the DisableVpcClassicLinkDnsSupport API request.
type DisableVpcClassicLinkDnsSupportResponse ¶ added in v0.9.0
type DisableVpcClassicLinkDnsSupportResponse struct { *DisableVpcClassicLinkDnsSupportOutput // contains filtered or unexported fields }
DisableVpcClassicLinkDnsSupportResponse is the response type for the DisableVpcClassicLinkDnsSupport API operation.
func (*DisableVpcClassicLinkDnsSupportResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisableVpcClassicLinkDnsSupportResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisableVpcClassicLinkDnsSupport request.
type DisableVpcClassicLinkInput ¶
type DisableVpcClassicLinkInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the VPC. // // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisableVpcClassicLinkInput) String ¶
func (s DisableVpcClassicLinkInput) String() string
String returns the string representation
func (*DisableVpcClassicLinkInput) Validate ¶
func (s *DisableVpcClassicLinkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisableVpcClassicLinkOutput ¶
type DisableVpcClassicLinkOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (DisableVpcClassicLinkOutput) String ¶
func (s DisableVpcClassicLinkOutput) String() string
String returns the string representation
type DisableVpcClassicLinkRequest ¶
type DisableVpcClassicLinkRequest struct { *aws.Request Input *DisableVpcClassicLinkInput Copy func(*DisableVpcClassicLinkInput) DisableVpcClassicLinkRequest }
DisableVpcClassicLinkRequest is the request type for the DisableVpcClassicLink API operation.
func (DisableVpcClassicLinkRequest) Send ¶
func (r DisableVpcClassicLinkRequest) Send(ctx context.Context) (*DisableVpcClassicLinkResponse, error)
Send marshals and sends the DisableVpcClassicLink API request.
type DisableVpcClassicLinkResponse ¶ added in v0.9.0
type DisableVpcClassicLinkResponse struct { *DisableVpcClassicLinkOutput // contains filtered or unexported fields }
DisableVpcClassicLinkResponse is the response type for the DisableVpcClassicLink API operation.
func (*DisableVpcClassicLinkResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisableVpcClassicLinkResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisableVpcClassicLink request.
type DisassociateAddressInput ¶
type DisassociateAddressInput struct { // [EC2-VPC] The association ID. Required for EC2-VPC. AssociationId *string `type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // [EC2-Classic] The Elastic IP address. Required for EC2-Classic. PublicIp *string `type:"string"` // contains filtered or unexported fields }
func (DisassociateAddressInput) String ¶
func (s DisassociateAddressInput) String() string
String returns the string representation
type DisassociateAddressOutput ¶
type DisassociateAddressOutput struct {
// contains filtered or unexported fields
}
func (DisassociateAddressOutput) String ¶
func (s DisassociateAddressOutput) String() string
String returns the string representation
type DisassociateAddressRequest ¶
type DisassociateAddressRequest struct { *aws.Request Input *DisassociateAddressInput Copy func(*DisassociateAddressInput) DisassociateAddressRequest }
DisassociateAddressRequest is the request type for the DisassociateAddress API operation.
func (DisassociateAddressRequest) Send ¶
func (r DisassociateAddressRequest) Send(ctx context.Context) (*DisassociateAddressResponse, error)
Send marshals and sends the DisassociateAddress API request.
type DisassociateAddressResponse ¶ added in v0.9.0
type DisassociateAddressResponse struct { *DisassociateAddressOutput // contains filtered or unexported fields }
DisassociateAddressResponse is the response type for the DisassociateAddress API operation.
func (*DisassociateAddressResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisassociateAddressResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateAddress request.
type DisassociateClientVpnTargetNetworkInput ¶ added in v0.7.0
type DisassociateClientVpnTargetNetworkInput struct { // The ID of the target network association. // // AssociationId is a required field AssociationId *string `type:"string" required:"true"` // The ID of the Client VPN endpoint from which to disassociate the target network. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // 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"` // contains filtered or unexported fields }
func (DisassociateClientVpnTargetNetworkInput) String ¶ added in v0.7.0
func (s DisassociateClientVpnTargetNetworkInput) String() string
String returns the string representation
func (*DisassociateClientVpnTargetNetworkInput) Validate ¶ added in v0.7.0
func (s *DisassociateClientVpnTargetNetworkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateClientVpnTargetNetworkOutput ¶ added in v0.7.0
type DisassociateClientVpnTargetNetworkOutput struct { // The ID of the target network association. AssociationId *string `locationName:"associationId" type:"string"` // The current state of the target network association. Status *AssociationStatus `locationName:"status" type:"structure"` // contains filtered or unexported fields }
func (DisassociateClientVpnTargetNetworkOutput) String ¶ added in v0.7.0
func (s DisassociateClientVpnTargetNetworkOutput) String() string
String returns the string representation
type DisassociateClientVpnTargetNetworkRequest ¶ added in v0.7.0
type DisassociateClientVpnTargetNetworkRequest struct { *aws.Request Input *DisassociateClientVpnTargetNetworkInput Copy func(*DisassociateClientVpnTargetNetworkInput) DisassociateClientVpnTargetNetworkRequest }
DisassociateClientVpnTargetNetworkRequest is the request type for the DisassociateClientVpnTargetNetwork API operation.
func (DisassociateClientVpnTargetNetworkRequest) Send ¶ added in v0.7.0
func (r DisassociateClientVpnTargetNetworkRequest) Send(ctx context.Context) (*DisassociateClientVpnTargetNetworkResponse, error)
Send marshals and sends the DisassociateClientVpnTargetNetwork API request.
type DisassociateClientVpnTargetNetworkResponse ¶ added in v0.9.0
type DisassociateClientVpnTargetNetworkResponse struct { *DisassociateClientVpnTargetNetworkOutput // contains filtered or unexported fields }
DisassociateClientVpnTargetNetworkResponse is the response type for the DisassociateClientVpnTargetNetwork API operation.
func (*DisassociateClientVpnTargetNetworkResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisassociateClientVpnTargetNetworkResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateClientVpnTargetNetwork request.
type DisassociateIamInstanceProfileInput ¶
type DisassociateIamInstanceProfileInput struct { // The ID of the IAM instance profile association. // // AssociationId is a required field AssociationId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DisassociateIamInstanceProfileInput) String ¶
func (s DisassociateIamInstanceProfileInput) String() string
String returns the string representation
func (*DisassociateIamInstanceProfileInput) Validate ¶
func (s *DisassociateIamInstanceProfileInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateIamInstanceProfileOutput ¶
type DisassociateIamInstanceProfileOutput struct { // Information about the IAM instance profile association. IamInstanceProfileAssociation *IamInstanceProfileAssociation `locationName:"iamInstanceProfileAssociation" type:"structure"` // contains filtered or unexported fields }
func (DisassociateIamInstanceProfileOutput) String ¶
func (s DisassociateIamInstanceProfileOutput) String() string
String returns the string representation
type DisassociateIamInstanceProfileRequest ¶
type DisassociateIamInstanceProfileRequest struct { *aws.Request Input *DisassociateIamInstanceProfileInput Copy func(*DisassociateIamInstanceProfileInput) DisassociateIamInstanceProfileRequest }
DisassociateIamInstanceProfileRequest is the request type for the DisassociateIamInstanceProfile API operation.
func (DisassociateIamInstanceProfileRequest) Send ¶
func (r DisassociateIamInstanceProfileRequest) Send(ctx context.Context) (*DisassociateIamInstanceProfileResponse, error)
Send marshals and sends the DisassociateIamInstanceProfile API request.
type DisassociateIamInstanceProfileResponse ¶ added in v0.9.0
type DisassociateIamInstanceProfileResponse struct { *DisassociateIamInstanceProfileOutput // contains filtered or unexported fields }
DisassociateIamInstanceProfileResponse is the response type for the DisassociateIamInstanceProfile API operation.
func (*DisassociateIamInstanceProfileResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisassociateIamInstanceProfileResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateIamInstanceProfile request.
type DisassociateRouteTableInput ¶
type DisassociateRouteTableInput struct { // The association ID representing the current association between the route // table and subnet. // // AssociationId is a required field AssociationId *string `locationName:"associationId" type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // contains filtered or unexported fields }
func (DisassociateRouteTableInput) String ¶
func (s DisassociateRouteTableInput) String() string
String returns the string representation
func (*DisassociateRouteTableInput) Validate ¶
func (s *DisassociateRouteTableInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateRouteTableOutput ¶
type DisassociateRouteTableOutput struct {
// contains filtered or unexported fields
}
func (DisassociateRouteTableOutput) String ¶
func (s DisassociateRouteTableOutput) String() string
String returns the string representation
type DisassociateRouteTableRequest ¶
type DisassociateRouteTableRequest struct { *aws.Request Input *DisassociateRouteTableInput Copy func(*DisassociateRouteTableInput) DisassociateRouteTableRequest }
DisassociateRouteTableRequest is the request type for the DisassociateRouteTable API operation.
func (DisassociateRouteTableRequest) Send ¶
func (r DisassociateRouteTableRequest) Send(ctx context.Context) (*DisassociateRouteTableResponse, error)
Send marshals and sends the DisassociateRouteTable API request.
type DisassociateRouteTableResponse ¶ added in v0.9.0
type DisassociateRouteTableResponse struct { *DisassociateRouteTableOutput // contains filtered or unexported fields }
DisassociateRouteTableResponse is the response type for the DisassociateRouteTable API operation.
func (*DisassociateRouteTableResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisassociateRouteTableResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateRouteTable request.
type DisassociateSubnetCidrBlockInput ¶
type DisassociateSubnetCidrBlockInput struct { // The association ID for the CIDR block. // // AssociationId is a required field AssociationId *string `locationName:"associationId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisassociateSubnetCidrBlockInput) String ¶
func (s DisassociateSubnetCidrBlockInput) String() string
String returns the string representation
func (*DisassociateSubnetCidrBlockInput) Validate ¶
func (s *DisassociateSubnetCidrBlockInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateSubnetCidrBlockOutput ¶
type DisassociateSubnetCidrBlockOutput struct { // Information about the IPv6 CIDR block association. Ipv6CidrBlockAssociation *SubnetIpv6CidrBlockAssociation `locationName:"ipv6CidrBlockAssociation" type:"structure"` // The ID of the subnet. SubnetId *string `locationName:"subnetId" type:"string"` // contains filtered or unexported fields }
func (DisassociateSubnetCidrBlockOutput) String ¶
func (s DisassociateSubnetCidrBlockOutput) String() string
String returns the string representation
type DisassociateSubnetCidrBlockRequest ¶
type DisassociateSubnetCidrBlockRequest struct { *aws.Request Input *DisassociateSubnetCidrBlockInput Copy func(*DisassociateSubnetCidrBlockInput) DisassociateSubnetCidrBlockRequest }
DisassociateSubnetCidrBlockRequest is the request type for the DisassociateSubnetCidrBlock API operation.
func (DisassociateSubnetCidrBlockRequest) Send ¶
func (r DisassociateSubnetCidrBlockRequest) Send(ctx context.Context) (*DisassociateSubnetCidrBlockResponse, error)
Send marshals and sends the DisassociateSubnetCidrBlock API request.
type DisassociateSubnetCidrBlockResponse ¶ added in v0.9.0
type DisassociateSubnetCidrBlockResponse struct { *DisassociateSubnetCidrBlockOutput // contains filtered or unexported fields }
DisassociateSubnetCidrBlockResponse is the response type for the DisassociateSubnetCidrBlock API operation.
func (*DisassociateSubnetCidrBlockResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisassociateSubnetCidrBlockResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateSubnetCidrBlock request.
type DisassociateTransitGatewayRouteTableInput ¶ added in v0.6.0
type DisassociateTransitGatewayRouteTableInput 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"` // The ID of the transit gateway route table. // // TransitGatewayRouteTableId is a required field TransitGatewayRouteTableId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DisassociateTransitGatewayRouteTableInput) String ¶ added in v0.6.0
func (s DisassociateTransitGatewayRouteTableInput) String() string
String returns the string representation
func (*DisassociateTransitGatewayRouteTableInput) Validate ¶ added in v0.6.0
func (s *DisassociateTransitGatewayRouteTableInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateTransitGatewayRouteTableOutput ¶ added in v0.6.0
type DisassociateTransitGatewayRouteTableOutput struct { // Information about the association. Association *TransitGatewayAssociation `locationName:"association" type:"structure"` // contains filtered or unexported fields }
func (DisassociateTransitGatewayRouteTableOutput) String ¶ added in v0.6.0
func (s DisassociateTransitGatewayRouteTableOutput) String() string
String returns the string representation
type DisassociateTransitGatewayRouteTableRequest ¶ added in v0.6.0
type DisassociateTransitGatewayRouteTableRequest struct { *aws.Request Input *DisassociateTransitGatewayRouteTableInput Copy func(*DisassociateTransitGatewayRouteTableInput) DisassociateTransitGatewayRouteTableRequest }
DisassociateTransitGatewayRouteTableRequest is the request type for the DisassociateTransitGatewayRouteTable API operation.
func (DisassociateTransitGatewayRouteTableRequest) Send ¶ added in v0.6.0
func (r DisassociateTransitGatewayRouteTableRequest) Send(ctx context.Context) (*DisassociateTransitGatewayRouteTableResponse, error)
Send marshals and sends the DisassociateTransitGatewayRouteTable API request.
type DisassociateTransitGatewayRouteTableResponse ¶ added in v0.9.0
type DisassociateTransitGatewayRouteTableResponse struct { *DisassociateTransitGatewayRouteTableOutput // contains filtered or unexported fields }
DisassociateTransitGatewayRouteTableResponse is the response type for the DisassociateTransitGatewayRouteTable API operation.
func (*DisassociateTransitGatewayRouteTableResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisassociateTransitGatewayRouteTableResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateTransitGatewayRouteTable request.
type DisassociateVpcCidrBlockInput ¶
type DisassociateVpcCidrBlockInput struct { // The association ID for the CIDR block. // // AssociationId is a required field AssociationId *string `locationName:"associationId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisassociateVpcCidrBlockInput) String ¶
func (s DisassociateVpcCidrBlockInput) String() string
String returns the string representation
func (*DisassociateVpcCidrBlockInput) Validate ¶
func (s *DisassociateVpcCidrBlockInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateVpcCidrBlockOutput ¶
type DisassociateVpcCidrBlockOutput struct { // Information about the IPv4 CIDR block association. CidrBlockAssociation *VpcCidrBlockAssociation `locationName:"cidrBlockAssociation" type:"structure"` // Information about the IPv6 CIDR block association. Ipv6CidrBlockAssociation *VpcIpv6CidrBlockAssociation `locationName:"ipv6CidrBlockAssociation" type:"structure"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
func (DisassociateVpcCidrBlockOutput) String ¶
func (s DisassociateVpcCidrBlockOutput) String() string
String returns the string representation
type DisassociateVpcCidrBlockRequest ¶
type DisassociateVpcCidrBlockRequest struct { *aws.Request Input *DisassociateVpcCidrBlockInput Copy func(*DisassociateVpcCidrBlockInput) DisassociateVpcCidrBlockRequest }
DisassociateVpcCidrBlockRequest is the request type for the DisassociateVpcCidrBlock API operation.
func (DisassociateVpcCidrBlockRequest) Send ¶
func (r DisassociateVpcCidrBlockRequest) Send(ctx context.Context) (*DisassociateVpcCidrBlockResponse, error)
Send marshals and sends the DisassociateVpcCidrBlock API request.
type DisassociateVpcCidrBlockResponse ¶ added in v0.9.0
type DisassociateVpcCidrBlockResponse struct { *DisassociateVpcCidrBlockOutput // contains filtered or unexported fields }
DisassociateVpcCidrBlockResponse is the response type for the DisassociateVpcCidrBlock API operation.
func (*DisassociateVpcCidrBlockResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisassociateVpcCidrBlockResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateVpcCidrBlock request.
type DiskImage ¶
type DiskImage struct { // A description of the disk image. Description *string `type:"string"` // Information about the disk image. Image *DiskImageDetail `type:"structure"` // Information about the volume. Volume *VolumeDetail `type:"structure"` // contains filtered or unexported fields }
Describes a disk image.
type DiskImageDescription ¶
type DiskImageDescription struct { // The checksum computed for the disk image. Checksum *string `locationName:"checksum" type:"string"` // The disk image format. Format DiskImageFormat `locationName:"format" type:"string" enum:"true"` // A presigned URL for the import manifest stored in Amazon S3. For information // about creating a presigned URL for an Amazon S3 object, read the "Query String // Request Authentication Alternative" section of the Authenticating REST Requests // (https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html) // topic in the Amazon Simple Storage Service Developer Guide. // // For information about the import manifest referenced by this API action, // see VM Import Manifest (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html). ImportManifestUrl *string `locationName:"importManifestUrl" type:"string"` // The size of the disk image, in GiB. Size *int64 `locationName:"size" type:"long"` // contains filtered or unexported fields }
Describes a disk image.
func (DiskImageDescription) String ¶
func (s DiskImageDescription) String() string
String returns the string representation
type DiskImageDetail ¶
type DiskImageDetail struct { // The size of the disk image, in GiB. // // Bytes is a required field Bytes *int64 `locationName:"bytes" type:"long" required:"true"` // The disk image format. // // Format is a required field Format DiskImageFormat `locationName:"format" type:"string" required:"true" enum:"true"` // A presigned URL for the import manifest stored in Amazon S3 and presented // here as an Amazon S3 presigned URL. For information about creating a presigned // URL for an Amazon S3 object, read the "Query String Request Authentication // Alternative" section of the Authenticating REST Requests (https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html) // topic in the Amazon Simple Storage Service Developer Guide. // // For information about the import manifest referenced by this API action, // see VM Import Manifest (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html). // // ImportManifestUrl is a required field ImportManifestUrl *string `locationName:"importManifestUrl" type:"string" required:"true"` // contains filtered or unexported fields }
Describes a disk image.
func (DiskImageDetail) String ¶
func (s DiskImageDetail) String() string
String returns the string representation
func (*DiskImageDetail) Validate ¶
func (s *DiskImageDetail) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DiskImageFormat ¶
type DiskImageFormat string
const ( DiskImageFormatVmdk DiskImageFormat = "VMDK" DiskImageFormatRaw DiskImageFormat = "RAW" DiskImageFormatVhd DiskImageFormat = "VHD" )
Enum values for DiskImageFormat
func (DiskImageFormat) MarshalValue ¶ added in v0.3.0
func (enum DiskImageFormat) MarshalValue() (string, error)
func (DiskImageFormat) MarshalValueBuf ¶ added in v0.3.0
func (enum DiskImageFormat) MarshalValueBuf(b []byte) ([]byte, error)
type DiskImageVolumeDescription ¶
type DiskImageVolumeDescription struct { // The volume identifier. Id *string `locationName:"id" type:"string"` // The size of the volume, in GiB. Size *int64 `locationName:"size" type:"long"` // contains filtered or unexported fields }
Describes a disk image volume.
func (DiskImageVolumeDescription) String ¶
func (s DiskImageVolumeDescription) String() string
String returns the string representation
type DnsEntry ¶ added in v0.2.0
type DnsEntry struct { // The DNS name. DnsName *string `locationName:"dnsName" type:"string"` // The ID of the private hosted zone. HostedZoneId *string `locationName:"hostedZoneId" type:"string"` // contains filtered or unexported fields }
Describes a DNS entry.
type DnsServersOptionsModifyStructure ¶ added in v0.7.0
type DnsServersOptionsModifyStructure struct { // The IPv4 address range, in CIDR notation, of the DNS servers to be used. // You can specify up to two DNS servers. Ensure that the DNS servers can be // reached by the clients. The specified values overwrite the existing values. CustomDnsServers []string `locationNameList:"item" type:"list"` // Indicates whether DNS servers should be used. Specify False to delete the // existing DNS servers. Enabled *bool `type:"boolean"` // contains filtered or unexported fields }
Information about the DNS server to be used.
func (DnsServersOptionsModifyStructure) String ¶ added in v0.7.0
func (s DnsServersOptionsModifyStructure) String() string
String returns the string representation
type DnsSupportValue ¶ added in v0.6.0
type DnsSupportValue string
const ( DnsSupportValueEnable DnsSupportValue = "enable" DnsSupportValueDisable DnsSupportValue = "disable" )
Enum values for DnsSupportValue
func (DnsSupportValue) MarshalValue ¶ added in v0.6.0
func (enum DnsSupportValue) MarshalValue() (string, error)
func (DnsSupportValue) MarshalValueBuf ¶ added in v0.6.0
func (enum DnsSupportValue) MarshalValueBuf(b []byte) ([]byte, error)
type DomainType ¶
type DomainType string
const ( DomainTypeVpc DomainType = "vpc" DomainTypeStandard DomainType = "standard" )
Enum values for DomainType
func (DomainType) MarshalValue ¶ added in v0.3.0
func (enum DomainType) MarshalValue() (string, error)
func (DomainType) MarshalValueBuf ¶ added in v0.3.0
func (enum DomainType) MarshalValueBuf(b []byte) ([]byte, error)
type EbsBlockDevice ¶
type EbsBlockDevice struct { // Indicates whether the EBS volume is deleted on instance termination. For // more information, see Preserving Amazon EBS Volumes on Instance Termination // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#preserving-volumes-on-termination) // in the Amazon Elastic Compute Cloud User Guide. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` // Indicates whether the encryption state of an EBS volume is changed while // being restored from a backing snapshot. The effect of setting the encryption // state to true depends on the volume origin (new or from a snapshot), starting // encryption state, ownership, and whether encryption by default is enabled. // For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-parameters) // in the Amazon Elastic Compute Cloud User Guide. // // In no case can you remove encryption from an encrypted volume. // // Encrypted volumes can only be attached to instances that support Amazon EBS // encryption. For more information, see Supported Instance Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances). Encrypted *bool `locationName:"encrypted" type:"boolean"` // The number of I/O operations per second (IOPS) that the volume supports. // For io1 volumes, this represents the number of IOPS that are provisioned // for the volume. For gp2 volumes, this represents the baseline performance // of the volume and the rate at which the volume accumulates I/O credits for // bursting. For more information, see Amazon EBS Volume Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) // in the Amazon Elastic Compute Cloud User Guide. // // Constraints: Range is 100-16,000 IOPS for gp2 volumes and 100 to 64,000IOPS // for io1 volumes in most Regions. Maximum io1 IOPS of 64,000 is guaranteed // only on Nitro-based instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances). // Other instance families guarantee performance up to 32,000 IOPS. For more // information, see Amazon EBS Volume Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) // in the Amazon Elastic Compute Cloud User Guide. // // Condition: This parameter is required for requests to create io1 volumes; // it is not used in requests to create gp2, st1, sc1, or standard volumes. Iops *int64 `locationName:"iops" type:"integer"` // Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed // CMK under which the EBS volume is encrypted. // // This parameter is only supported on BlockDeviceMapping objects called by // RunInstances (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html), // RequestSpotFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html), // and RequestSpotInstances (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html). KmsKeyId *string `type:"string"` // The ID of the snapshot. SnapshotId *string `locationName:"snapshotId" type:"string"` // The size of the volume, in GiB. // // Default: If you're creating the volume from a snapshot and don't specify // a volume size, the default is the snapshot size. // // Constraints: 1-16384 for General Purpose SSD (gp2), 4-16384 for Provisioned // IOPS SSD (io1), 500-16384 for Throughput Optimized HDD (st1), 500-16384 for // Cold HDD (sc1), and 1-1024 for Magnetic (standard) volumes. If you specify // a snapshot, the volume size must be equal to or larger than the snapshot // size. VolumeSize *int64 `locationName:"volumeSize" type:"integer"` // The volume type. If you set the type to io1, you must also specify the IOPS // that the volume supports. // // Default: gp2 VolumeType VolumeType `locationName:"volumeType" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a block device for an EBS volume.
func (EbsBlockDevice) String ¶
func (s EbsBlockDevice) String() string
String returns the string representation
type EbsInstanceBlockDevice ¶
type EbsInstanceBlockDevice struct { // The time stamp when the attachment initiated. AttachTime *time.Time `locationName:"attachTime" type:"timestamp"` // Indicates whether the volume is deleted on instance termination. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` // The attachment state. Status AttachmentStatus `locationName:"status" type:"string" enum:"true"` // The ID of the EBS volume. VolumeId *string `locationName:"volumeId" type:"string"` // contains filtered or unexported fields }
Describes a parameter used to set up an EBS volume in a block device mapping.
func (EbsInstanceBlockDevice) String ¶
func (s EbsInstanceBlockDevice) String() string
String returns the string representation
type EbsInstanceBlockDeviceSpecification ¶
type EbsInstanceBlockDeviceSpecification struct { // Indicates whether the volume is deleted on instance termination. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` // The ID of the EBS volume. VolumeId *string `locationName:"volumeId" type:"string"` // contains filtered or unexported fields }
Describes information used to set up an EBS volume specified in a block device mapping.
func (EbsInstanceBlockDeviceSpecification) String ¶
func (s EbsInstanceBlockDeviceSpecification) String() string
String returns the string representation
type EgressOnlyInternetGateway ¶
type EgressOnlyInternetGateway struct { // Information about the attachment of the egress-only internet gateway. Attachments []InternetGatewayAttachment `locationName:"attachmentSet" locationNameList:"item" type:"list"` // The ID of the egress-only internet gateway. EgressOnlyInternetGatewayId *string `locationName:"egressOnlyInternetGatewayId" type:"string"` // contains filtered or unexported fields }
Describes an egress-only internet gateway.
func (EgressOnlyInternetGateway) String ¶
func (s EgressOnlyInternetGateway) String() string
String returns the string representation
type ElasticGpuAssociation ¶
type ElasticGpuAssociation struct { // The ID of the association. ElasticGpuAssociationId *string `locationName:"elasticGpuAssociationId" type:"string"` // The state of the association between the instance and the Elastic Graphics // accelerator. ElasticGpuAssociationState *string `locationName:"elasticGpuAssociationState" type:"string"` // The time the Elastic Graphics accelerator was associated with the instance. ElasticGpuAssociationTime *string `locationName:"elasticGpuAssociationTime" type:"string"` // The ID of the Elastic Graphics accelerator. ElasticGpuId *string `locationName:"elasticGpuId" type:"string"` // contains filtered or unexported fields }
Describes the association between an instance and an Elastic Graphics accelerator.
func (ElasticGpuAssociation) String ¶
func (s ElasticGpuAssociation) String() string
String returns the string representation
type ElasticGpuHealth ¶
type ElasticGpuHealth struct { // The health status. Status ElasticGpuStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the status of an Elastic Graphics accelerator.
func (ElasticGpuHealth) String ¶
func (s ElasticGpuHealth) String() string
String returns the string representation
type ElasticGpuSpecification ¶
type ElasticGpuSpecification struct { // The type of Elastic Graphics accelerator. // // Type is a required field Type *string `type:"string" required:"true"` // contains filtered or unexported fields }
A specification for an Elastic Graphics accelerator.
func (ElasticGpuSpecification) String ¶
func (s ElasticGpuSpecification) String() string
String returns the string representation
func (*ElasticGpuSpecification) Validate ¶
func (s *ElasticGpuSpecification) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ElasticGpuSpecificationResponse ¶ added in v0.2.0
type ElasticGpuSpecificationResponse struct { // The elastic GPU type. Type *string `locationName:"type" type:"string"` // contains filtered or unexported fields }
Describes an elastic GPU.
func (ElasticGpuSpecificationResponse) String ¶ added in v0.2.0
func (s ElasticGpuSpecificationResponse) String() string
String returns the string representation
type ElasticGpuState ¶
type ElasticGpuState string
const (
ElasticGpuStateAttached ElasticGpuState = "ATTACHED"
)
Enum values for ElasticGpuState
func (ElasticGpuState) MarshalValue ¶ added in v0.3.0
func (enum ElasticGpuState) MarshalValue() (string, error)
func (ElasticGpuState) MarshalValueBuf ¶ added in v0.3.0
func (enum ElasticGpuState) MarshalValueBuf(b []byte) ([]byte, error)
type ElasticGpuStatus ¶
type ElasticGpuStatus string
const ( ElasticGpuStatusOk ElasticGpuStatus = "OK" ElasticGpuStatusImpaired ElasticGpuStatus = "IMPAIRED" )
Enum values for ElasticGpuStatus
func (ElasticGpuStatus) MarshalValue ¶ added in v0.3.0
func (enum ElasticGpuStatus) MarshalValue() (string, error)
func (ElasticGpuStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum ElasticGpuStatus) MarshalValueBuf(b []byte) ([]byte, error)
type ElasticGpus ¶
type ElasticGpus struct { // The Availability Zone in the which the Elastic Graphics accelerator resides. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The status of the Elastic Graphics accelerator. ElasticGpuHealth *ElasticGpuHealth `locationName:"elasticGpuHealth" type:"structure"` // The ID of the Elastic Graphics accelerator. ElasticGpuId *string `locationName:"elasticGpuId" type:"string"` // The state of the Elastic Graphics accelerator. ElasticGpuState ElasticGpuState `locationName:"elasticGpuState" type:"string" enum:"true"` // The type of Elastic Graphics accelerator. ElasticGpuType *string `locationName:"elasticGpuType" type:"string"` // The ID of the instance to which the Elastic Graphics accelerator is attached. InstanceId *string `locationName:"instanceId" type:"string"` // contains filtered or unexported fields }
Describes an Elastic Graphics accelerator.
func (ElasticGpus) String ¶
func (s ElasticGpus) String() string
String returns the string representation
type ElasticInferenceAccelerator ¶ added in v0.6.0
type ElasticInferenceAccelerator struct { // The type of elastic inference accelerator. The possible values are eia1.small, // eia1.medium, and eia1.large. // // Type is a required field Type *string `type:"string" required:"true"` // contains filtered or unexported fields }
Describes an elastic inference accelerator.
func (ElasticInferenceAccelerator) String ¶ added in v0.6.0
func (s ElasticInferenceAccelerator) String() string
String returns the string representation
func (*ElasticInferenceAccelerator) Validate ¶ added in v0.6.0
func (s *ElasticInferenceAccelerator) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ElasticInferenceAcceleratorAssociation ¶ added in v0.6.0
type ElasticInferenceAcceleratorAssociation struct { // The Amazon Resource Name (ARN) of the elastic inference accelerator. ElasticInferenceAcceleratorArn *string `locationName:"elasticInferenceAcceleratorArn" type:"string"` // The ID of the association. ElasticInferenceAcceleratorAssociationId *string `locationName:"elasticInferenceAcceleratorAssociationId" type:"string"` // The state of the elastic inference accelerator. ElasticInferenceAcceleratorAssociationState *string `locationName:"elasticInferenceAcceleratorAssociationState" type:"string"` // The time at which the elastic inference accelerator is associated with an // instance. ElasticInferenceAcceleratorAssociationTime *time.Time `locationName:"elasticInferenceAcceleratorAssociationTime" type:"timestamp"` // contains filtered or unexported fields }
Describes the association between an instance and an elastic inference accelerator.
func (ElasticInferenceAcceleratorAssociation) String ¶ added in v0.6.0
func (s ElasticInferenceAcceleratorAssociation) String() string
String returns the string representation
type EnableEbsEncryptionByDefaultInput ¶ added in v0.9.0
type EnableEbsEncryptionByDefaultInput 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"` // contains filtered or unexported fields }
func (EnableEbsEncryptionByDefaultInput) String ¶ added in v0.9.0
func (s EnableEbsEncryptionByDefaultInput) String() string
String returns the string representation
type EnableEbsEncryptionByDefaultOutput ¶ added in v0.9.0
type EnableEbsEncryptionByDefaultOutput struct { // The updated status of encryption by default. EbsEncryptionByDefault *bool `locationName:"ebsEncryptionByDefault" type:"boolean"` // contains filtered or unexported fields }
func (EnableEbsEncryptionByDefaultOutput) String ¶ added in v0.9.0
func (s EnableEbsEncryptionByDefaultOutput) String() string
String returns the string representation
type EnableEbsEncryptionByDefaultRequest ¶ added in v0.9.0
type EnableEbsEncryptionByDefaultRequest struct { *aws.Request Input *EnableEbsEncryptionByDefaultInput Copy func(*EnableEbsEncryptionByDefaultInput) EnableEbsEncryptionByDefaultRequest }
EnableEbsEncryptionByDefaultRequest is the request type for the EnableEbsEncryptionByDefault API operation.
func (EnableEbsEncryptionByDefaultRequest) Send ¶ added in v0.9.0
func (r EnableEbsEncryptionByDefaultRequest) Send(ctx context.Context) (*EnableEbsEncryptionByDefaultResponse, error)
Send marshals and sends the EnableEbsEncryptionByDefault API request.
type EnableEbsEncryptionByDefaultResponse ¶ added in v0.9.0
type EnableEbsEncryptionByDefaultResponse struct { *EnableEbsEncryptionByDefaultOutput // contains filtered or unexported fields }
EnableEbsEncryptionByDefaultResponse is the response type for the EnableEbsEncryptionByDefault API operation.
func (*EnableEbsEncryptionByDefaultResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *EnableEbsEncryptionByDefaultResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the EnableEbsEncryptionByDefault request.
type EnableTransitGatewayRouteTablePropagationInput ¶ added in v0.6.0
type EnableTransitGatewayRouteTablePropagationInput 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"` // The ID of the propagation route table. // // TransitGatewayRouteTableId is a required field TransitGatewayRouteTableId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (EnableTransitGatewayRouteTablePropagationInput) String ¶ added in v0.6.0
func (s EnableTransitGatewayRouteTablePropagationInput) String() string
String returns the string representation
func (*EnableTransitGatewayRouteTablePropagationInput) Validate ¶ added in v0.6.0
func (s *EnableTransitGatewayRouteTablePropagationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EnableTransitGatewayRouteTablePropagationOutput ¶ added in v0.6.0
type EnableTransitGatewayRouteTablePropagationOutput struct { // Information about route propagation. Propagation *TransitGatewayPropagation `locationName:"propagation" type:"structure"` // contains filtered or unexported fields }
func (EnableTransitGatewayRouteTablePropagationOutput) String ¶ added in v0.6.0
func (s EnableTransitGatewayRouteTablePropagationOutput) String() string
String returns the string representation
type EnableTransitGatewayRouteTablePropagationRequest ¶ added in v0.6.0
type EnableTransitGatewayRouteTablePropagationRequest struct { *aws.Request Input *EnableTransitGatewayRouteTablePropagationInput Copy func(*EnableTransitGatewayRouteTablePropagationInput) EnableTransitGatewayRouteTablePropagationRequest }
EnableTransitGatewayRouteTablePropagationRequest is the request type for the EnableTransitGatewayRouteTablePropagation API operation.
func (EnableTransitGatewayRouteTablePropagationRequest) Send ¶ added in v0.6.0
func (r EnableTransitGatewayRouteTablePropagationRequest) Send(ctx context.Context) (*EnableTransitGatewayRouteTablePropagationResponse, error)
Send marshals and sends the EnableTransitGatewayRouteTablePropagation API request.
type EnableTransitGatewayRouteTablePropagationResponse ¶ added in v0.9.0
type EnableTransitGatewayRouteTablePropagationResponse struct { *EnableTransitGatewayRouteTablePropagationOutput // contains filtered or unexported fields }
EnableTransitGatewayRouteTablePropagationResponse is the response type for the EnableTransitGatewayRouteTablePropagation API operation.
func (*EnableTransitGatewayRouteTablePropagationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *EnableTransitGatewayRouteTablePropagationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the EnableTransitGatewayRouteTablePropagation request.
type EnableVgwRoutePropagationInput ¶
type EnableVgwRoutePropagationInput struct { // The ID of the virtual private gateway that is attached to a VPC. The virtual // private gateway must be attached to the same VPC that the routing tables // are associated with. // // GatewayId is a required field GatewayId *string `type:"string" required:"true"` // The ID of the route table. The routing table must be associated with the // same VPC that the virtual private gateway is attached to. // // RouteTableId is a required field RouteTableId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for EnableVgwRoutePropagation.
func (EnableVgwRoutePropagationInput) String ¶
func (s EnableVgwRoutePropagationInput) String() string
String returns the string representation
func (*EnableVgwRoutePropagationInput) Validate ¶
func (s *EnableVgwRoutePropagationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EnableVgwRoutePropagationOutput ¶
type EnableVgwRoutePropagationOutput struct {
// contains filtered or unexported fields
}
func (EnableVgwRoutePropagationOutput) String ¶
func (s EnableVgwRoutePropagationOutput) String() string
String returns the string representation
type EnableVgwRoutePropagationRequest ¶
type EnableVgwRoutePropagationRequest struct { *aws.Request Input *EnableVgwRoutePropagationInput Copy func(*EnableVgwRoutePropagationInput) EnableVgwRoutePropagationRequest }
EnableVgwRoutePropagationRequest is the request type for the EnableVgwRoutePropagation API operation.
func (EnableVgwRoutePropagationRequest) Send ¶
func (r EnableVgwRoutePropagationRequest) Send(ctx context.Context) (*EnableVgwRoutePropagationResponse, error)
Send marshals and sends the EnableVgwRoutePropagation API request.
type EnableVgwRoutePropagationResponse ¶ added in v0.9.0
type EnableVgwRoutePropagationResponse struct { *EnableVgwRoutePropagationOutput // contains filtered or unexported fields }
EnableVgwRoutePropagationResponse is the response type for the EnableVgwRoutePropagation API operation.
func (*EnableVgwRoutePropagationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *EnableVgwRoutePropagationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the EnableVgwRoutePropagation request.
type EnableVolumeIOInput ¶
type EnableVolumeIOInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the volume. // // VolumeId is a required field VolumeId *string `locationName:"volumeId" type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for EnableVolumeIO.
func (EnableVolumeIOInput) String ¶
func (s EnableVolumeIOInput) String() string
String returns the string representation
func (*EnableVolumeIOInput) Validate ¶
func (s *EnableVolumeIOInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EnableVolumeIOOutput ¶
type EnableVolumeIOOutput struct {
// contains filtered or unexported fields
}
func (EnableVolumeIOOutput) String ¶
func (s EnableVolumeIOOutput) String() string
String returns the string representation
type EnableVolumeIORequest ¶
type EnableVolumeIORequest struct { *aws.Request Input *EnableVolumeIOInput Copy func(*EnableVolumeIOInput) EnableVolumeIORequest }
EnableVolumeIORequest is the request type for the EnableVolumeIO API operation.
func (EnableVolumeIORequest) Send ¶
func (r EnableVolumeIORequest) Send(ctx context.Context) (*EnableVolumeIOResponse, error)
Send marshals and sends the EnableVolumeIO API request.
type EnableVolumeIOResponse ¶ added in v0.9.0
type EnableVolumeIOResponse struct { *EnableVolumeIOOutput // contains filtered or unexported fields }
EnableVolumeIOResponse is the response type for the EnableVolumeIO API operation.
func (*EnableVolumeIOResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *EnableVolumeIOResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the EnableVolumeIO request.
type EnableVpcClassicLinkDnsSupportInput ¶
type EnableVpcClassicLinkDnsSupportInput struct { // The ID of the VPC. VpcId *string `type:"string"` // contains filtered or unexported fields }
func (EnableVpcClassicLinkDnsSupportInput) String ¶
func (s EnableVpcClassicLinkDnsSupportInput) String() string
String returns the string representation
type EnableVpcClassicLinkDnsSupportOutput ¶
type EnableVpcClassicLinkDnsSupportOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (EnableVpcClassicLinkDnsSupportOutput) String ¶
func (s EnableVpcClassicLinkDnsSupportOutput) String() string
String returns the string representation
type EnableVpcClassicLinkDnsSupportRequest ¶
type EnableVpcClassicLinkDnsSupportRequest struct { *aws.Request Input *EnableVpcClassicLinkDnsSupportInput Copy func(*EnableVpcClassicLinkDnsSupportInput) EnableVpcClassicLinkDnsSupportRequest }
EnableVpcClassicLinkDnsSupportRequest is the request type for the EnableVpcClassicLinkDnsSupport API operation.
func (EnableVpcClassicLinkDnsSupportRequest) Send ¶
func (r EnableVpcClassicLinkDnsSupportRequest) Send(ctx context.Context) (*EnableVpcClassicLinkDnsSupportResponse, error)
Send marshals and sends the EnableVpcClassicLinkDnsSupport API request.
type EnableVpcClassicLinkDnsSupportResponse ¶ added in v0.9.0
type EnableVpcClassicLinkDnsSupportResponse struct { *EnableVpcClassicLinkDnsSupportOutput // contains filtered or unexported fields }
EnableVpcClassicLinkDnsSupportResponse is the response type for the EnableVpcClassicLinkDnsSupport API operation.
func (*EnableVpcClassicLinkDnsSupportResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *EnableVpcClassicLinkDnsSupportResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the EnableVpcClassicLinkDnsSupport request.
type EnableVpcClassicLinkInput ¶
type EnableVpcClassicLinkInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the VPC. // // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` // contains filtered or unexported fields }
func (EnableVpcClassicLinkInput) String ¶
func (s EnableVpcClassicLinkInput) String() string
String returns the string representation
func (*EnableVpcClassicLinkInput) Validate ¶
func (s *EnableVpcClassicLinkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EnableVpcClassicLinkOutput ¶
type EnableVpcClassicLinkOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (EnableVpcClassicLinkOutput) String ¶
func (s EnableVpcClassicLinkOutput) String() string
String returns the string representation
type EnableVpcClassicLinkRequest ¶
type EnableVpcClassicLinkRequest struct { *aws.Request Input *EnableVpcClassicLinkInput Copy func(*EnableVpcClassicLinkInput) EnableVpcClassicLinkRequest }
EnableVpcClassicLinkRequest is the request type for the EnableVpcClassicLink API operation.
func (EnableVpcClassicLinkRequest) Send ¶
func (r EnableVpcClassicLinkRequest) Send(ctx context.Context) (*EnableVpcClassicLinkResponse, error)
Send marshals and sends the EnableVpcClassicLink API request.
type EnableVpcClassicLinkResponse ¶ added in v0.9.0
type EnableVpcClassicLinkResponse struct { *EnableVpcClassicLinkOutput // contains filtered or unexported fields }
EnableVpcClassicLinkResponse is the response type for the EnableVpcClassicLink API operation.
func (*EnableVpcClassicLinkResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *EnableVpcClassicLinkResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the EnableVpcClassicLink request.
type EndDateType ¶ added in v0.6.0
type EndDateType string
const ( EndDateTypeUnlimited EndDateType = "unlimited" EndDateTypeLimited EndDateType = "limited" )
Enum values for EndDateType
func (EndDateType) MarshalValue ¶ added in v0.6.0
func (enum EndDateType) MarshalValue() (string, error)
func (EndDateType) MarshalValueBuf ¶ added in v0.6.0
func (enum EndDateType) MarshalValueBuf(b []byte) ([]byte, error)
type EventCode ¶
type EventCode string
const ( EventCodeInstanceReboot EventCode = "instance-reboot" EventCodeSystemReboot EventCode = "system-reboot" EventCodeSystemMaintenance EventCode = "system-maintenance" EventCodeInstanceRetirement EventCode = "instance-retirement" EventCodeInstanceStop EventCode = "instance-stop" )
Enum values for EventCode
func (EventCode) MarshalValue ¶ added in v0.3.0
type EventInformation ¶
type EventInformation struct { // The description of the event. EventDescription *string `locationName:"eventDescription" type:"string"` // The event. // // The following are the error events: // // * iamFleetRoleInvalid - The EC2 Fleet or Spot Fleet did not have the required // permissions either to launch or terminate an instance. // // * spotFleetRequestConfigurationInvalid - The configuration is not valid. // For more information, see the description of the event. // // * spotInstanceCountLimitExceeded - You've reached the limit on the number // of Spot Instances that you can launch. // // The following are the fleetRequestChange events: // // * active - The EC2 Fleet or Spot Fleet request has been validated and // Amazon EC2 is attempting to maintain the target number of running Spot // Instances. // // * cancelled - The EC2 Fleet or Spot Fleet request is canceled and has // no running Spot Instances. The EC2 Fleet or Spot Fleet will be deleted // two days after its instances were terminated. // // * cancelled_running - The EC2 Fleet or Spot Fleet request is canceled // and does not launch additional Spot Instances. Existing Spot Instances // continue to run until they are interrupted or terminated. // // * cancelled_terminating - The EC2 Fleet or Spot Fleet request is canceled // and its Spot Instances are terminating. // // * expired - The EC2 Fleet or Spot Fleet request has expired. A subsequent // event indicates that the instances were terminated, if the request was // created with TerminateInstancesWithExpiration set. // // * modify_in_progress - A request to modify the EC2 Fleet or Spot Fleet // request was accepted and is in progress. // // * modify_successful - The EC2 Fleet or Spot Fleet request was modified. // // * price_update - The price for a launch configuration was adjusted because // it was too high. This change is permanent. // // * submitted - The EC2 Fleet or Spot Fleet request is being evaluated and // Amazon EC2 is preparing to launch the target number of Spot Instances. // // The following are the instanceChange events: // // * launched - A request was fulfilled and a new instance was launched. // // * terminated - An instance was terminated by the user. // // The following are the Information events: // // * launchSpecTemporarilyBlacklisted - The configuration is not valid and // several attempts to launch instances have failed. For more information, // see the description of the event. // // * launchSpecUnusable - The price in a launch specification is not valid // because it is below the Spot price or the Spot price is above the On-Demand // price. // // * fleetProgressHalted - The price in every launch specification is not // valid. A launch specification might become valid if the Spot price changes. EventSubType *string `locationName:"eventSubType" type:"string"` // The ID of the instance. This information is available only for instanceChange // events. InstanceId *string `locationName:"instanceId" type:"string"` // contains filtered or unexported fields }
Describes an EC2 Fleet or Spot Fleet event.
func (EventInformation) String ¶
func (s EventInformation) String() string
String returns the string representation
type EventType ¶
type EventType string
const ( EventTypeInstanceChange EventType = "instanceChange" EventTypeFleetRequestChange EventType = "fleetRequestChange" EventTypeError EventType = "error" EventTypeInformation EventType = "information" )
Enum values for EventType
func (EventType) MarshalValue ¶ added in v0.3.0
type ExcessCapacityTerminationPolicy ¶
type ExcessCapacityTerminationPolicy string
const ( ExcessCapacityTerminationPolicyNoTermination ExcessCapacityTerminationPolicy = "noTermination" ExcessCapacityTerminationPolicyDefault ExcessCapacityTerminationPolicy = "default" )
Enum values for ExcessCapacityTerminationPolicy
func (ExcessCapacityTerminationPolicy) MarshalValue ¶ added in v0.3.0
func (enum ExcessCapacityTerminationPolicy) MarshalValue() (string, error)
func (ExcessCapacityTerminationPolicy) MarshalValueBuf ¶ added in v0.3.0
func (enum ExcessCapacityTerminationPolicy) MarshalValueBuf(b []byte) ([]byte, error)
type ExportClientVpnClientCertificateRevocationListInput ¶ added in v0.7.0
type ExportClientVpnClientCertificateRevocationListInput struct { // The ID of the Client VPN endpoint. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // 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"` // contains filtered or unexported fields }
func (ExportClientVpnClientCertificateRevocationListInput) String ¶ added in v0.7.0
func (s ExportClientVpnClientCertificateRevocationListInput) String() string
String returns the string representation
func (*ExportClientVpnClientCertificateRevocationListInput) Validate ¶ added in v0.7.0
func (s *ExportClientVpnClientCertificateRevocationListInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportClientVpnClientCertificateRevocationListOutput ¶ added in v0.7.0
type ExportClientVpnClientCertificateRevocationListOutput struct { // Information about the client certificate revocation list. CertificateRevocationList *string `locationName:"certificateRevocationList" type:"string"` // The current state of the client certificate revocation list. Status *CertificateRevocationListStatus `locationName:"status" type:"structure"` // contains filtered or unexported fields }
func (ExportClientVpnClientCertificateRevocationListOutput) String ¶ added in v0.7.0
func (s ExportClientVpnClientCertificateRevocationListOutput) String() string
String returns the string representation
type ExportClientVpnClientCertificateRevocationListRequest ¶ added in v0.7.0
type ExportClientVpnClientCertificateRevocationListRequest struct { *aws.Request Input *ExportClientVpnClientCertificateRevocationListInput Copy func(*ExportClientVpnClientCertificateRevocationListInput) ExportClientVpnClientCertificateRevocationListRequest }
ExportClientVpnClientCertificateRevocationListRequest is the request type for the ExportClientVpnClientCertificateRevocationList API operation.
func (ExportClientVpnClientCertificateRevocationListRequest) Send ¶ added in v0.7.0
func (r ExportClientVpnClientCertificateRevocationListRequest) Send(ctx context.Context) (*ExportClientVpnClientCertificateRevocationListResponse, error)
Send marshals and sends the ExportClientVpnClientCertificateRevocationList API request.
type ExportClientVpnClientCertificateRevocationListResponse ¶ added in v0.9.0
type ExportClientVpnClientCertificateRevocationListResponse struct { *ExportClientVpnClientCertificateRevocationListOutput // contains filtered or unexported fields }
ExportClientVpnClientCertificateRevocationListResponse is the response type for the ExportClientVpnClientCertificateRevocationList API operation.
func (*ExportClientVpnClientCertificateRevocationListResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ExportClientVpnClientCertificateRevocationListResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ExportClientVpnClientCertificateRevocationList request.
type ExportClientVpnClientConfigurationInput ¶ added in v0.7.0
type ExportClientVpnClientConfigurationInput struct { // The ID of the Client VPN endpoint. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // 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"` // contains filtered or unexported fields }
func (ExportClientVpnClientConfigurationInput) String ¶ added in v0.7.0
func (s ExportClientVpnClientConfigurationInput) String() string
String returns the string representation
func (*ExportClientVpnClientConfigurationInput) Validate ¶ added in v0.7.0
func (s *ExportClientVpnClientConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportClientVpnClientConfigurationOutput ¶ added in v0.7.0
type ExportClientVpnClientConfigurationOutput struct { // The contents of the Client VPN endpoint configuration file. ClientConfiguration *string `locationName:"clientConfiguration" type:"string"` // contains filtered or unexported fields }
func (ExportClientVpnClientConfigurationOutput) String ¶ added in v0.7.0
func (s ExportClientVpnClientConfigurationOutput) String() string
String returns the string representation
type ExportClientVpnClientConfigurationRequest ¶ added in v0.7.0
type ExportClientVpnClientConfigurationRequest struct { *aws.Request Input *ExportClientVpnClientConfigurationInput Copy func(*ExportClientVpnClientConfigurationInput) ExportClientVpnClientConfigurationRequest }
ExportClientVpnClientConfigurationRequest is the request type for the ExportClientVpnClientConfiguration API operation.
func (ExportClientVpnClientConfigurationRequest) Send ¶ added in v0.7.0
func (r ExportClientVpnClientConfigurationRequest) Send(ctx context.Context) (*ExportClientVpnClientConfigurationResponse, error)
Send marshals and sends the ExportClientVpnClientConfiguration API request.
type ExportClientVpnClientConfigurationResponse ¶ added in v0.9.0
type ExportClientVpnClientConfigurationResponse struct { *ExportClientVpnClientConfigurationOutput // contains filtered or unexported fields }
ExportClientVpnClientConfigurationResponse is the response type for the ExportClientVpnClientConfiguration API operation.
func (*ExportClientVpnClientConfigurationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ExportClientVpnClientConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ExportClientVpnClientConfiguration request.
type ExportEnvironment ¶
type ExportEnvironment string
const ( ExportEnvironmentCitrix ExportEnvironment = "citrix" ExportEnvironmentVmware ExportEnvironment = "vmware" ExportEnvironmentMicrosoft ExportEnvironment = "microsoft" )
Enum values for ExportEnvironment
func (ExportEnvironment) MarshalValue ¶ added in v0.3.0
func (enum ExportEnvironment) MarshalValue() (string, error)
func (ExportEnvironment) MarshalValueBuf ¶ added in v0.3.0
func (enum ExportEnvironment) MarshalValueBuf(b []byte) ([]byte, error)
type ExportImageInput ¶ added in v0.12.0
type ExportImageInput struct { // Token to enable idempotency for export image requests. ClientToken *string `type:"string" idempotencyToken:"true"` // A description of the image being exported. The maximum length is 255 bytes. Description *string `type:"string"` // The disk image format. // // DiskImageFormat is a required field DiskImageFormat DiskImageFormat `type:"string" required:"true" enum:"true"` // 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 image. // // ImageId is a required field ImageId *string `type:"string" required:"true"` // The name of the role that grants VM Import/Export permission to export images // to your S3 bucket. If this parameter is not specified, the default role is // named 'vmimport'. RoleName *string `type:"string"` // Information about the destination S3 bucket. The bucket must exist and grant // WRITE and READ_ACP permissions to the AWS account vm-import-export@amazon.com. // // S3ExportLocation is a required field S3ExportLocation *ExportTaskS3LocationRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
func (ExportImageInput) String ¶ added in v0.12.0
func (s ExportImageInput) String() string
String returns the string representation
func (*ExportImageInput) Validate ¶ added in v0.12.0
func (s *ExportImageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportImageOutput ¶ added in v0.12.0
type ExportImageOutput struct { // A description of the image being exported. Description *string `locationName:"description" type:"string"` // The disk image format for the exported image. DiskImageFormat DiskImageFormat `locationName:"diskImageFormat" type:"string" enum:"true"` // The ID of the export image task. ExportImageTaskId *string `locationName:"exportImageTaskId" type:"string"` // The ID of the image. ImageId *string `locationName:"imageId" type:"string"` // The percent complete of the export image task. Progress *string `locationName:"progress" type:"string"` // The name of the role that grants VM Import/Export permission to export images // to your S3 bucket. RoleName *string `locationName:"roleName" type:"string"` // Information about the destination S3 bucket. S3ExportLocation *ExportTaskS3Location `locationName:"s3ExportLocation" type:"structure"` // The status of the export image task. The possible values are active, completed, // deleting, and deleted. Status *string `locationName:"status" type:"string"` // The status message for the export image task. StatusMessage *string `locationName:"statusMessage" type:"string"` // contains filtered or unexported fields }
func (ExportImageOutput) String ¶ added in v0.12.0
func (s ExportImageOutput) String() string
String returns the string representation
type ExportImageRequest ¶ added in v0.12.0
type ExportImageRequest struct { *aws.Request Input *ExportImageInput Copy func(*ExportImageInput) ExportImageRequest }
ExportImageRequest is the request type for the ExportImage API operation.
func (ExportImageRequest) Send ¶ added in v0.12.0
func (r ExportImageRequest) Send(ctx context.Context) (*ExportImageResponse, error)
Send marshals and sends the ExportImage API request.
type ExportImageResponse ¶ added in v0.12.0
type ExportImageResponse struct { *ExportImageOutput // contains filtered or unexported fields }
ExportImageResponse is the response type for the ExportImage API operation.
func (*ExportImageResponse) SDKResponseMetdata ¶ added in v0.12.0
func (r *ExportImageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ExportImage request.
type ExportImageTask ¶ added in v0.12.0
type ExportImageTask struct { // A description of the image being exported. Description *string `locationName:"description" type:"string"` // The ID of the export image task. ExportImageTaskId *string `locationName:"exportImageTaskId" type:"string"` // The ID of the image. ImageId *string `locationName:"imageId" type:"string"` // The percent complete of the export image task. Progress *string `locationName:"progress" type:"string"` // Information about the destination S3 bucket. S3ExportLocation *ExportTaskS3Location `locationName:"s3ExportLocation" type:"structure"` // The status of the export image task. The possible values are active, completed, // deleting, and deleted. Status *string `locationName:"status" type:"string"` // The status message for the export image task. StatusMessage *string `locationName:"statusMessage" type:"string"` // contains filtered or unexported fields }
Describes an export image task.
func (ExportImageTask) String ¶ added in v0.12.0
func (s ExportImageTask) String() string
String returns the string representation
type ExportTask ¶
type ExportTask struct { // A description of the resource being exported. Description *string `locationName:"description" type:"string"` // The ID of the export task. ExportTaskId *string `locationName:"exportTaskId" type:"string"` // Information about the export task. ExportToS3Task *ExportToS3Task `locationName:"exportToS3" type:"structure"` // Information about the instance to export. InstanceExportDetails *InstanceExportDetails `locationName:"instanceExport" type:"structure"` // The state of the export task. State ExportTaskState `locationName:"state" type:"string" enum:"true"` // The status message related to the export task. StatusMessage *string `locationName:"statusMessage" type:"string"` // contains filtered or unexported fields }
Describes an instance export task.
func (ExportTask) String ¶
func (s ExportTask) String() string
String returns the string representation
type ExportTaskS3Location ¶ added in v0.12.0
type ExportTaskS3Location struct { // The destination S3 bucket. S3Bucket *string `locationName:"s3Bucket" type:"string"` // The prefix (logical hierarchy) in the bucket. S3Prefix *string `locationName:"s3Prefix" type:"string"` // contains filtered or unexported fields }
Describes the destination for an export image task.
func (ExportTaskS3Location) String ¶ added in v0.12.0
func (s ExportTaskS3Location) String() string
String returns the string representation
type ExportTaskS3LocationRequest ¶ added in v0.12.0
type ExportTaskS3LocationRequest struct { // The destination S3 bucket. // // S3Bucket is a required field S3Bucket *string `type:"string" required:"true"` // The prefix (logical hierarchy) in the bucket. S3Prefix *string `type:"string"` // contains filtered or unexported fields }
Describes the destination for an export image task.
func (ExportTaskS3LocationRequest) String ¶ added in v0.12.0
func (s ExportTaskS3LocationRequest) String() string
String returns the string representation
func (*ExportTaskS3LocationRequest) Validate ¶ added in v0.12.0
func (s *ExportTaskS3LocationRequest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportTaskState ¶
type ExportTaskState string
const ( ExportTaskStateActive ExportTaskState = "active" ExportTaskStateCancelling ExportTaskState = "cancelling" ExportTaskStateCancelled ExportTaskState = "cancelled" ExportTaskStateCompleted ExportTaskState = "completed" )
Enum values for ExportTaskState
func (ExportTaskState) MarshalValue ¶ added in v0.3.0
func (enum ExportTaskState) MarshalValue() (string, error)
func (ExportTaskState) MarshalValueBuf ¶ added in v0.3.0
func (enum ExportTaskState) MarshalValueBuf(b []byte) ([]byte, error)
type ExportToS3Task ¶
type ExportToS3Task struct { // The container format used to combine disk images with metadata (such as OVF). // If absent, only the disk image is exported. ContainerFormat ContainerFormat `locationName:"containerFormat" type:"string" enum:"true"` // The format for the exported image. DiskImageFormat DiskImageFormat `locationName:"diskImageFormat" type:"string" enum:"true"` // The S3 bucket for the destination image. The destination bucket must exist // and grant WRITE and READ_ACP permissions to the AWS account vm-import-export@amazon.com. S3Bucket *string `locationName:"s3Bucket" type:"string"` // The encryption key for your S3 bucket. S3Key *string `locationName:"s3Key" type:"string"` // contains filtered or unexported fields }
Describes the format and location for an instance export task.
func (ExportToS3Task) String ¶
func (s ExportToS3Task) String() string
String returns the string representation
type ExportToS3TaskSpecification ¶
type ExportToS3TaskSpecification struct { // The container format used to combine disk images with metadata (such as OVF). // If absent, only the disk image is exported. ContainerFormat ContainerFormat `locationName:"containerFormat" type:"string" enum:"true"` // The format for the exported image. DiskImageFormat DiskImageFormat `locationName:"diskImageFormat" type:"string" enum:"true"` // The S3 bucket for the destination image. The destination bucket must exist // and grant WRITE and READ_ACP permissions to the AWS account vm-import-export@amazon.com. S3Bucket *string `locationName:"s3Bucket" type:"string"` // The image is written to a single object in the S3 bucket at the S3 key s3prefix // + exportTaskId + '.' + diskImageFormat. S3Prefix *string `locationName:"s3Prefix" type:"string"` // contains filtered or unexported fields }
Describes an instance export task.
func (ExportToS3TaskSpecification) String ¶
func (s ExportToS3TaskSpecification) String() string
String returns the string representation
type ExportTransitGatewayRoutesInput ¶ added in v0.6.0
type ExportTransitGatewayRoutesInput 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"` // One or more filters. The possible values are: // // * attachment.transit-gateway-attachment-id - The id of the transit gateway // attachment. // // * attachment.resource-id - The resource id of the transit gateway attachment. // // * route-search.exact-match - The exact match of the specified filter. // // * route-search.longest-prefix-match - The longest prefix that matches // the route. // // * route-search.subnet-of-match - The routes with a subnet that match the // specified CIDR filter. // // * route-search.supernet-of-match - The routes with a CIDR that encompass // the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 // routes in your route table and you specify supernet-of-match as 10.0.1.0/30, // then the result returns 10.0.1.0/29. // // * state - The state of the attachment (available | deleted | deleting // | failed | modifying | pendingAcceptance | pending | rollingBack | rejected // | rejecting). // // * transit-gateway-route-destination-cidr-block - The CIDR range. // // * type - The type of route (active | blackhole). Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The name of the S3 bucket. // // S3Bucket is a required field S3Bucket *string `type:"string" required:"true"` // The ID of the route table. // // TransitGatewayRouteTableId is a required field TransitGatewayRouteTableId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ExportTransitGatewayRoutesInput) String ¶ added in v0.6.0
func (s ExportTransitGatewayRoutesInput) String() string
String returns the string representation
func (*ExportTransitGatewayRoutesInput) Validate ¶ added in v0.6.0
func (s *ExportTransitGatewayRoutesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportTransitGatewayRoutesOutput ¶ added in v0.6.0
type ExportTransitGatewayRoutesOutput struct { // The URL of the exported file in Amazon S3. For example, s3://bucket_name/VPCTransitGateway/TransitGatewayRouteTables/file_name. S3Location *string `locationName:"s3Location" type:"string"` // contains filtered or unexported fields }
func (ExportTransitGatewayRoutesOutput) String ¶ added in v0.6.0
func (s ExportTransitGatewayRoutesOutput) String() string
String returns the string representation
type ExportTransitGatewayRoutesRequest ¶ added in v0.6.0
type ExportTransitGatewayRoutesRequest struct { *aws.Request Input *ExportTransitGatewayRoutesInput Copy func(*ExportTransitGatewayRoutesInput) ExportTransitGatewayRoutesRequest }
ExportTransitGatewayRoutesRequest is the request type for the ExportTransitGatewayRoutes API operation.
func (ExportTransitGatewayRoutesRequest) Send ¶ added in v0.6.0
func (r ExportTransitGatewayRoutesRequest) Send(ctx context.Context) (*ExportTransitGatewayRoutesResponse, error)
Send marshals and sends the ExportTransitGatewayRoutes API request.
type ExportTransitGatewayRoutesResponse ¶ added in v0.9.0
type ExportTransitGatewayRoutesResponse struct { *ExportTransitGatewayRoutesOutput // contains filtered or unexported fields }
ExportTransitGatewayRoutesResponse is the response type for the ExportTransitGatewayRoutes API operation.
func (*ExportTransitGatewayRoutesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ExportTransitGatewayRoutesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ExportTransitGatewayRoutes request.
type FailedQueuedPurchaseDeletion ¶ added in v0.14.0
type FailedQueuedPurchaseDeletion struct { // The error. Error *DeleteQueuedReservedInstancesError `locationName:"error" type:"structure"` // The ID of the Reserved Instance. ReservedInstancesId *string `locationName:"reservedInstancesId" type:"string"` // contains filtered or unexported fields }
Describes a Reserved Instance whose queued purchase was not deleted.
func (FailedQueuedPurchaseDeletion) String ¶ added in v0.14.0
func (s FailedQueuedPurchaseDeletion) String() string
String returns the string representation
type Filter ¶
type Filter struct { // The name of the filter. Filter names are case-sensitive. Name *string `type:"string"` // The filter values. Filter values are case-sensitive. Values []string `locationName:"Value" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs. The filters supported by a describe operation are documented with the describe operation. For example:
DescribeAvailabilityZones
DescribeImages
DescribeInstances
DescribeKeyPairs
DescribeSecurityGroups
DescribeSnapshots
DescribeSubnets
DescribeTags
DescribeVolumes
DescribeVpcs
type FleetActivityStatus ¶ added in v0.4.0
type FleetActivityStatus string
const ( FleetActivityStatusError FleetActivityStatus = "error" FleetActivityStatusPendingFulfillment FleetActivityStatus = "pending_fulfillment" FleetActivityStatusPendingTermination FleetActivityStatus = "pending_termination" FleetActivityStatusFulfilled FleetActivityStatus = "fulfilled" )
Enum values for FleetActivityStatus
func (FleetActivityStatus) MarshalValue ¶ added in v0.4.0
func (enum FleetActivityStatus) MarshalValue() (string, error)
func (FleetActivityStatus) MarshalValueBuf ¶ added in v0.4.0
func (enum FleetActivityStatus) MarshalValueBuf(b []byte) ([]byte, error)
type FleetData ¶ added in v0.4.0
type FleetData struct { // The progress of the EC2 Fleet. If there is an error, the status is error. // After all requests are placed, the status is pending_fulfillment. If the // size of the EC2 Fleet is equal to or greater than its target capacity, the // status is fulfilled. If the size of the EC2 Fleet is decreased, the status // is pending_termination while instances are terminating. ActivityStatus FleetActivityStatus `locationName:"activityStatus" type:"string" enum:"true"` // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). // // Constraints: Maximum 64 ASCII characters ClientToken *string `locationName:"clientToken" type:"string"` // The creation date and time of the EC2 Fleet. CreateTime *time.Time `locationName:"createTime" type:"timestamp"` // Information about the instances that could not be launched by the fleet. // Valid only when Type is set to instant. Errors []DescribeFleetError `locationName:"errorSet" locationNameList:"item" type:"list"` // Indicates whether running instances should be terminated if the target capacity // of the EC2 Fleet is decreased below the current size of the EC2 Fleet. ExcessCapacityTerminationPolicy FleetExcessCapacityTerminationPolicy `locationName:"excessCapacityTerminationPolicy" type:"string" enum:"true"` // The ID of the EC2 Fleet. FleetId *string `locationName:"fleetId" type:"string"` // The state of the EC2 Fleet. FleetState FleetStateCode `locationName:"fleetState" type:"string" enum:"true"` // The number of units fulfilled by this request compared to the set target // capacity. FulfilledCapacity *float64 `locationName:"fulfilledCapacity" type:"double"` // The number of units fulfilled by this request compared to the set target // On-Demand capacity. FulfilledOnDemandCapacity *float64 `locationName:"fulfilledOnDemandCapacity" type:"double"` // Information about the instances that were launched by the fleet. Valid only // when Type is set to instant. Instances []DescribeFleetsInstances `locationName:"fleetInstanceSet" locationNameList:"item" type:"list"` // The launch template and overrides. LaunchTemplateConfigs []FleetLaunchTemplateConfig `locationName:"launchTemplateConfigs" locationNameList:"item" type:"list"` // The allocation strategy of On-Demand Instances in an EC2 Fleet. OnDemandOptions *OnDemandOptions `locationName:"onDemandOptions" type:"structure"` // Indicates whether EC2 Fleet should replace unhealthy instances. ReplaceUnhealthyInstances *bool `locationName:"replaceUnhealthyInstances" type:"boolean"` // The configuration of Spot Instances in an EC2 Fleet. SpotOptions *SpotOptions `locationName:"spotOptions" type:"structure"` // The tags for an EC2 Fleet resource. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The number of units to request. You can choose to set the target capacity // in terms of instances or a performance characteristic that is important to // your application workload, such as vCPUs, memory, or I/O. If the request // type is maintain, you can specify a target capacity of 0 and add capacity // later. TargetCapacitySpecification *TargetCapacitySpecification `locationName:"targetCapacitySpecification" type:"structure"` // Indicates whether running instances should be terminated when the EC2 Fleet // expires. TerminateInstancesWithExpiration *bool `locationName:"terminateInstancesWithExpiration" type:"boolean"` // The type of request. Indicates whether the EC2 Fleet only requests the target // capacity, or also attempts to maintain it. If you request a certain target // capacity, EC2 Fleet only places the required requests; it does not attempt // to replenish instances if capacity is diminished, and does not submit requests // in alternative capacity pools if capacity is unavailable. To maintain a certain // target capacity, EC2 Fleet places the required requests to meet this target // capacity. It also automatically replenishes any interrupted Spot Instances. // Default: maintain. Type FleetType `locationName:"type" type:"string" enum:"true"` // The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). // The default is to start fulfilling the request immediately. ValidFrom *time.Time `locationName:"validFrom" type:"timestamp"` // The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). // At this point, no new instance requests are placed or able to fulfill the // request. The default end date is 7 days from the current date. ValidUntil *time.Time `locationName:"validUntil" type:"timestamp"` // contains filtered or unexported fields }
Describes an EC2 Fleet.
type FleetEventType ¶ added in v0.4.0
type FleetEventType string
const ( FleetEventTypeInstanceChange FleetEventType = "instance-change" FleetEventTypeFleetChange FleetEventType = "fleet-change" FleetEventTypeServiceError FleetEventType = "service-error" )
Enum values for FleetEventType
func (FleetEventType) MarshalValue ¶ added in v0.4.0
func (enum FleetEventType) MarshalValue() (string, error)
func (FleetEventType) MarshalValueBuf ¶ added in v0.4.0
func (enum FleetEventType) MarshalValueBuf(b []byte) ([]byte, error)
type FleetExcessCapacityTerminationPolicy ¶ added in v0.4.0
type FleetExcessCapacityTerminationPolicy string
const ( FleetExcessCapacityTerminationPolicyNoTermination FleetExcessCapacityTerminationPolicy = "no-termination" FleetExcessCapacityTerminationPolicyTermination FleetExcessCapacityTerminationPolicy = "termination" )
Enum values for FleetExcessCapacityTerminationPolicy
func (FleetExcessCapacityTerminationPolicy) MarshalValue ¶ added in v0.4.0
func (enum FleetExcessCapacityTerminationPolicy) MarshalValue() (string, error)
func (FleetExcessCapacityTerminationPolicy) MarshalValueBuf ¶ added in v0.4.0
func (enum FleetExcessCapacityTerminationPolicy) MarshalValueBuf(b []byte) ([]byte, error)
type FleetLaunchTemplateConfig ¶ added in v0.4.0
type FleetLaunchTemplateConfig struct { // The launch template. LaunchTemplateSpecification *FleetLaunchTemplateSpecification `locationName:"launchTemplateSpecification" type:"structure"` // Any parameters that you specify override the same parameters in the launch // template. Overrides []FleetLaunchTemplateOverrides `locationName:"overrides" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes a launch template and overrides.
func (FleetLaunchTemplateConfig) String ¶ added in v0.4.0
func (s FleetLaunchTemplateConfig) String() string
String returns the string representation
type FleetLaunchTemplateConfigRequest ¶ added in v0.4.0
type FleetLaunchTemplateConfigRequest struct { // The launch template to use. You must specify either the launch template ID // or launch template name in the request. LaunchTemplateSpecification *FleetLaunchTemplateSpecificationRequest `type:"structure"` // Any parameters that you specify override the same parameters in the launch // template. Overrides []FleetLaunchTemplateOverridesRequest `locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes a launch template and overrides.
func (FleetLaunchTemplateConfigRequest) String ¶ added in v0.4.0
func (s FleetLaunchTemplateConfigRequest) String() string
String returns the string representation
func (*FleetLaunchTemplateConfigRequest) Validate ¶ added in v0.4.0
func (s *FleetLaunchTemplateConfigRequest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FleetLaunchTemplateOverrides ¶ added in v0.4.0
type FleetLaunchTemplateOverrides struct { // The Availability Zone in which to launch the instances. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The instance type. InstanceType InstanceType `locationName:"instanceType" type:"string" enum:"true"` // The maximum price per unit hour that you are willing to pay for a Spot Instance. MaxPrice *string `locationName:"maxPrice" type:"string"` // The location where the instance launched, if applicable. Placement *PlacementResponse `locationName:"placement" type:"structure"` // The priority for the launch template override. If AllocationStrategy is set // to prioritized, EC2 Fleet uses priority to determine which launch template // override to use first in fulfilling On-Demand capacity. The highest priority // is launched first. Valid values are whole numbers starting at 0. The lower // the number, the higher the priority. If no number is set, the override has // the lowest priority. Priority *float64 `locationName:"priority" type:"double"` // The ID of the subnet in which to launch the instances. SubnetId *string `locationName:"subnetId" type:"string"` // The number of units provided by the specified instance type. WeightedCapacity *float64 `locationName:"weightedCapacity" type:"double"` // contains filtered or unexported fields }
Describes overrides for a launch template.
func (FleetLaunchTemplateOverrides) String ¶ added in v0.4.0
func (s FleetLaunchTemplateOverrides) String() string
String returns the string representation
type FleetLaunchTemplateOverridesRequest ¶ added in v0.4.0
type FleetLaunchTemplateOverridesRequest struct { // The Availability Zone in which to launch the instances. AvailabilityZone *string `type:"string"` // The instance type. InstanceType InstanceType `type:"string" enum:"true"` // The maximum price per unit hour that you are willing to pay for a Spot Instance. MaxPrice *string `type:"string"` // The location where the instance launched, if applicable. Placement *Placement `type:"structure"` // The priority for the launch template override. If AllocationStrategy is set // to prioritized, EC2 Fleet uses priority to determine which launch template // override to use first in fulfilling On-Demand capacity. The highest priority // is launched first. Valid values are whole numbers starting at 0. The lower // the number, the higher the priority. If no number is set, the launch template // override has the lowest priority. Priority *float64 `type:"double"` // The ID of the subnet in which to launch the instances. SubnetId *string `type:"string"` // The number of units provided by the specified instance type. WeightedCapacity *float64 `type:"double"` // contains filtered or unexported fields }
Describes overrides for a launch template.
func (FleetLaunchTemplateOverridesRequest) String ¶ added in v0.4.0
func (s FleetLaunchTemplateOverridesRequest) String() string
String returns the string representation
type FleetLaunchTemplateSpecification ¶ added in v0.2.0
type FleetLaunchTemplateSpecification struct { // The ID of the launch template. You must specify either a template ID or a // template name. LaunchTemplateId *string `locationName:"launchTemplateId" type:"string"` // The name of the launch template. You must specify either a template name // or a template ID. LaunchTemplateName *string `locationName:"launchTemplateName" min:"3" type:"string"` // The version number of the launch template. You must specify a version number. Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
Describes a launch template.
func (FleetLaunchTemplateSpecification) String ¶ added in v0.2.0
func (s FleetLaunchTemplateSpecification) String() string
String returns the string representation
func (*FleetLaunchTemplateSpecification) Validate ¶ added in v0.2.0
func (s *FleetLaunchTemplateSpecification) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FleetLaunchTemplateSpecificationRequest ¶ added in v0.4.0
type FleetLaunchTemplateSpecificationRequest struct { // The ID of the launch template. LaunchTemplateId *string `type:"string"` // The name of the launch template. LaunchTemplateName *string `min:"3" type:"string"` // The version number of the launch template. Note: This is a required parameter // and will be updated soon. Version *string `type:"string"` // contains filtered or unexported fields }
The launch template to use. You must specify either the launch template ID or launch template name in the request.
func (FleetLaunchTemplateSpecificationRequest) String ¶ added in v0.4.0
func (s FleetLaunchTemplateSpecificationRequest) String() string
String returns the string representation
func (*FleetLaunchTemplateSpecificationRequest) Validate ¶ added in v0.4.0
func (s *FleetLaunchTemplateSpecificationRequest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FleetOnDemandAllocationStrategy ¶ added in v0.5.0
type FleetOnDemandAllocationStrategy string
const ( FleetOnDemandAllocationStrategyLowestPrice FleetOnDemandAllocationStrategy = "lowest-price" FleetOnDemandAllocationStrategyPrioritized FleetOnDemandAllocationStrategy = "prioritized" )
Enum values for FleetOnDemandAllocationStrategy
func (FleetOnDemandAllocationStrategy) MarshalValue ¶ added in v0.5.0
func (enum FleetOnDemandAllocationStrategy) MarshalValue() (string, error)
func (FleetOnDemandAllocationStrategy) MarshalValueBuf ¶ added in v0.5.0
func (enum FleetOnDemandAllocationStrategy) MarshalValueBuf(b []byte) ([]byte, error)
type FleetStateCode ¶ added in v0.4.0
type FleetStateCode string
const ( FleetStateCodeSubmitted FleetStateCode = "submitted" FleetStateCodeActive FleetStateCode = "active" FleetStateCodeDeleted FleetStateCode = "deleted" FleetStateCodeFailed FleetStateCode = "failed" FleetStateCodeDeletedRunning FleetStateCode = "deleted_running" FleetStateCodeDeletedTerminating FleetStateCode = "deleted_terminating" FleetStateCodeModifying FleetStateCode = "modifying" )
Enum values for FleetStateCode
func (FleetStateCode) MarshalValue ¶ added in v0.4.0
func (enum FleetStateCode) MarshalValue() (string, error)
func (FleetStateCode) MarshalValueBuf ¶ added in v0.4.0
func (enum FleetStateCode) MarshalValueBuf(b []byte) ([]byte, error)
type FleetType ¶
type FleetType string
const ( FleetTypeRequest FleetType = "request" FleetTypeMaintain FleetType = "maintain" FleetTypeInstant FleetType = "instant" )
Enum values for FleetType
func (FleetType) MarshalValue ¶ added in v0.3.0
type FlowLog ¶
type FlowLog struct { // The date and time the flow log was created. CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` // Information about the error that occurred. Rate limited indicates that CloudWatch // Logs throttling has been applied for one or more network interfaces, or that // you've reached the limit on the number of log groups that you can create. // Access error indicates that the IAM role associated with the flow log does // not have sufficient permissions to publish to CloudWatch Logs. Unknown error // indicates an internal error. DeliverLogsErrorMessage *string `locationName:"deliverLogsErrorMessage" type:"string"` // The ARN of the IAM role that posts logs to CloudWatch Logs. DeliverLogsPermissionArn *string `locationName:"deliverLogsPermissionArn" type:"string"` // The status of the logs delivery (SUCCESS | FAILED). DeliverLogsStatus *string `locationName:"deliverLogsStatus" type:"string"` // The flow log ID. FlowLogId *string `locationName:"flowLogId" type:"string"` // The status of the flow log (ACTIVE). FlowLogStatus *string `locationName:"flowLogStatus" type:"string"` // Specifies the destination to which the flow log data is published. Flow log // data can be published to an CloudWatch Logs log group or an Amazon S3 bucket. // If the flow log publishes to CloudWatch Logs, this element indicates the // Amazon Resource Name (ARN) of the CloudWatch Logs log group to which the // data is published. If the flow log publishes to Amazon S3, this element indicates // the ARN of the Amazon S3 bucket to which the data is published. LogDestination *string `locationName:"logDestination" type:"string"` // Specifies the type of destination to which the flow log data is published. // Flow log data can be published to CloudWatch Logs or Amazon S3. LogDestinationType LogDestinationType `locationName:"logDestinationType" type:"string" enum:"true"` // The format of the flow log record. LogFormat *string `locationName:"logFormat" type:"string"` // The name of the flow log group. LogGroupName *string `locationName:"logGroupName" type:"string"` // The ID of the resource on which the flow log was created. ResourceId *string `locationName:"resourceId" type:"string"` // The type of traffic captured for the flow log. TrafficType TrafficType `locationName:"trafficType" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a flow log.
type FlowLogsResourceType ¶
type FlowLogsResourceType string
const ( FlowLogsResourceTypeVpc FlowLogsResourceType = "VPC" FlowLogsResourceTypeSubnet FlowLogsResourceType = "Subnet" FlowLogsResourceTypeNetworkInterface FlowLogsResourceType = "NetworkInterface" )
Enum values for FlowLogsResourceType
func (FlowLogsResourceType) MarshalValue ¶ added in v0.3.0
func (enum FlowLogsResourceType) MarshalValue() (string, error)
func (FlowLogsResourceType) MarshalValueBuf ¶ added in v0.3.0
func (enum FlowLogsResourceType) MarshalValueBuf(b []byte) ([]byte, error)
type FpgaImage ¶
type FpgaImage struct { // The date and time the AFI was created. CreateTime *time.Time `locationName:"createTime" type:"timestamp"` // Indicates whether data retention support is enabled for the AFI. DataRetentionSupport *bool `locationName:"dataRetentionSupport" type:"boolean"` // The description of the AFI. Description *string `locationName:"description" type:"string"` // The global FPGA image identifier (AGFI ID). FpgaImageGlobalId *string `locationName:"fpgaImageGlobalId" type:"string"` // The FPGA image identifier (AFI ID). FpgaImageId *string `locationName:"fpgaImageId" type:"string"` // The name of the AFI. Name *string `locationName:"name" type:"string"` // The alias of the AFI owner. Possible values include self, amazon, and aws-marketplace. OwnerAlias *string `locationName:"ownerAlias" type:"string"` // The AWS account ID of the AFI owner. OwnerId *string `locationName:"ownerId" type:"string"` // Information about the PCI bus. PciId *PciId `locationName:"pciId" type:"structure"` // The product codes for the AFI. ProductCodes []ProductCode `locationName:"productCodes" locationNameList:"item" type:"list"` // Indicates whether the AFI is public. Public *bool `locationName:"public" type:"boolean"` // The version of the AWS Shell that was used to create the bitstream. ShellVersion *string `locationName:"shellVersion" type:"string"` // Information about the state of the AFI. State *FpgaImageState `locationName:"state" type:"structure"` // Any tags assigned to the AFI. Tags []Tag `locationName:"tags" locationNameList:"item" type:"list"` // The time of the most recent update to the AFI. UpdateTime *time.Time `locationName:"updateTime" type:"timestamp"` // contains filtered or unexported fields }
Describes an Amazon FPGA image (AFI).
type FpgaImageAttribute ¶
type FpgaImageAttribute struct { // The description of the AFI. Description *string `locationName:"description" type:"string"` // The ID of the AFI. FpgaImageId *string `locationName:"fpgaImageId" type:"string"` // The load permissions. LoadPermissions []LoadPermission `locationName:"loadPermissions" locationNameList:"item" type:"list"` // The name of the AFI. Name *string `locationName:"name" type:"string"` // The product codes. ProductCodes []ProductCode `locationName:"productCodes" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes an Amazon FPGA image (AFI) attribute.
func (FpgaImageAttribute) String ¶
func (s FpgaImageAttribute) String() string
String returns the string representation
type FpgaImageAttributeName ¶
type FpgaImageAttributeName string
const ( FpgaImageAttributeNameDescription FpgaImageAttributeName = "description" FpgaImageAttributeNameName FpgaImageAttributeName = "name" FpgaImageAttributeNameLoadPermission FpgaImageAttributeName = "loadPermission" FpgaImageAttributeNameProductCodes FpgaImageAttributeName = "productCodes" )
Enum values for FpgaImageAttributeName
func (FpgaImageAttributeName) MarshalValue ¶ added in v0.3.0
func (enum FpgaImageAttributeName) MarshalValue() (string, error)
func (FpgaImageAttributeName) MarshalValueBuf ¶ added in v0.3.0
func (enum FpgaImageAttributeName) MarshalValueBuf(b []byte) ([]byte, error)
type FpgaImageState ¶
type FpgaImageState struct { // The state. The following are the possible values: // // * pending - AFI bitstream generation is in progress. // // * available - The AFI is available for use. // // * failed - AFI bitstream generation failed. // // * unavailable - The AFI is no longer available for use. Code FpgaImageStateCode `locationName:"code" type:"string" enum:"true"` // If the state is failed, this is the error message. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes the state of the bitstream generation process for an Amazon FPGA image (AFI).
func (FpgaImageState) String ¶
func (s FpgaImageState) String() string
String returns the string representation
type FpgaImageStateCode ¶
type FpgaImageStateCode string
const ( FpgaImageStateCodePending FpgaImageStateCode = "pending" FpgaImageStateCodeFailed FpgaImageStateCode = "failed" FpgaImageStateCodeAvailable FpgaImageStateCode = "available" )
Enum values for FpgaImageStateCode
func (FpgaImageStateCode) MarshalValue ¶ added in v0.3.0
func (enum FpgaImageStateCode) MarshalValue() (string, error)
func (FpgaImageStateCode) MarshalValueBuf ¶ added in v0.3.0
func (enum FpgaImageStateCode) MarshalValueBuf(b []byte) ([]byte, error)
type GatewayType ¶
type GatewayType string
const (
GatewayTypeIpsec1 GatewayType = "ipsec.1"
)
Enum values for GatewayType
func (GatewayType) MarshalValue ¶ added in v0.3.0
func (enum GatewayType) MarshalValue() (string, error)
func (GatewayType) MarshalValueBuf ¶ added in v0.3.0
func (enum GatewayType) MarshalValueBuf(b []byte) ([]byte, error)
type GetCapacityReservationUsageInput ¶ added in v0.11.0
type GetCapacityReservationUsageInput struct { // The ID of the Capacity Reservation. // // CapacityReservationId is a required field CapacityReservationId *string `type:"string" required:"true"` // 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 maximum number of results to return for the request in a single page. // The remaining results can be seen by sending another request with the returned // nextToken value. // // Valid range: Minimum value of 1. Maximum value of 1000. MaxResults *int64 `min:"1" type:"integer"` // The token to retrieve the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (GetCapacityReservationUsageInput) String ¶ added in v0.11.0
func (s GetCapacityReservationUsageInput) String() string
String returns the string representation
func (*GetCapacityReservationUsageInput) Validate ¶ added in v0.11.0
func (s *GetCapacityReservationUsageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetCapacityReservationUsageOutput ¶ added in v0.11.0
type GetCapacityReservationUsageOutput struct { // The remaining capacity. Indicates the number of instances that can be launched // in the Capacity Reservation. AvailableInstanceCount *int64 `locationName:"availableInstanceCount" type:"integer"` // The ID of the Capacity Reservation. CapacityReservationId *string `locationName:"capacityReservationId" type:"string"` // The type of instance for which the Capacity Reservation reserves capacity. InstanceType *string `locationName:"instanceType" type:"string"` // Information about the Capacity Reservation usage. InstanceUsages []InstanceUsage `locationName:"instanceUsageSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The current state of the Capacity Reservation. A Capacity Reservation can // be in one of the following states: // // * active - The Capacity Reservation is active and the capacity is available // for your use. // // * expired - The Capacity Reservation expired automatically at the date // and time specified in your request. The reserved capacity is no longer // available for your use. // // * cancelled - The Capacity Reservation was manually cancelled. The reserved // capacity is no longer available for your use. // // * pending - The Capacity Reservation request was successful but the capacity // provisioning is still pending. // // * failed - The Capacity Reservation request has failed. A request might // fail due to invalid request parameters, capacity constraints, or instance // limit constraints. Failed requests are retained for 60 minutes. State CapacityReservationState `locationName:"state" type:"string" enum:"true"` // The number of instances for which the Capacity Reservation reserves capacity. TotalInstanceCount *int64 `locationName:"totalInstanceCount" type:"integer"` // contains filtered or unexported fields }
func (GetCapacityReservationUsageOutput) String ¶ added in v0.11.0
func (s GetCapacityReservationUsageOutput) String() string
String returns the string representation
type GetCapacityReservationUsageRequest ¶ added in v0.11.0
type GetCapacityReservationUsageRequest struct { *aws.Request Input *GetCapacityReservationUsageInput Copy func(*GetCapacityReservationUsageInput) GetCapacityReservationUsageRequest }
GetCapacityReservationUsageRequest is the request type for the GetCapacityReservationUsage API operation.
func (GetCapacityReservationUsageRequest) Send ¶ added in v0.11.0
func (r GetCapacityReservationUsageRequest) Send(ctx context.Context) (*GetCapacityReservationUsageResponse, error)
Send marshals and sends the GetCapacityReservationUsage API request.
type GetCapacityReservationUsageResponse ¶ added in v0.11.0
type GetCapacityReservationUsageResponse struct { *GetCapacityReservationUsageOutput // contains filtered or unexported fields }
GetCapacityReservationUsageResponse is the response type for the GetCapacityReservationUsage API operation.
func (*GetCapacityReservationUsageResponse) SDKResponseMetdata ¶ added in v0.11.0
func (r *GetCapacityReservationUsageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetCapacityReservationUsage request.
type GetConsoleOutputInput ¶
type GetConsoleOutputInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the instance. // // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // When enabled, retrieves the latest console output for the instance. // // Default: disabled (false) Latest *bool `type:"boolean"` // contains filtered or unexported fields }
func (GetConsoleOutputInput) String ¶
func (s GetConsoleOutputInput) String() string
String returns the string representation
func (*GetConsoleOutputInput) Validate ¶
func (s *GetConsoleOutputInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetConsoleOutputOutput ¶
type GetConsoleOutputOutput struct { // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // The console output, base64-encoded. If you are using a command line tool, // the tool decodes the output for you. Output *string `locationName:"output" type:"string"` // The time at which the output was last updated. Timestamp *time.Time `locationName:"timestamp" type:"timestamp"` // contains filtered or unexported fields }
func (GetConsoleOutputOutput) String ¶
func (s GetConsoleOutputOutput) String() string
String returns the string representation
type GetConsoleOutputRequest ¶
type GetConsoleOutputRequest struct { *aws.Request Input *GetConsoleOutputInput Copy func(*GetConsoleOutputInput) GetConsoleOutputRequest }
GetConsoleOutputRequest is the request type for the GetConsoleOutput API operation.
func (GetConsoleOutputRequest) Send ¶
func (r GetConsoleOutputRequest) Send(ctx context.Context) (*GetConsoleOutputResponse, error)
Send marshals and sends the GetConsoleOutput API request.
type GetConsoleOutputResponse ¶ added in v0.9.0
type GetConsoleOutputResponse struct { *GetConsoleOutputOutput // contains filtered or unexported fields }
GetConsoleOutputResponse is the response type for the GetConsoleOutput API operation.
func (*GetConsoleOutputResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetConsoleOutputResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetConsoleOutput request.
type GetConsoleScreenshotInput ¶
type GetConsoleScreenshotInput 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 instance. // // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // When set to true, acts as keystroke input and wakes up an instance that's // in standby or "sleep" mode. WakeUp *bool `type:"boolean"` // contains filtered or unexported fields }
func (GetConsoleScreenshotInput) String ¶
func (s GetConsoleScreenshotInput) String() string
String returns the string representation
func (*GetConsoleScreenshotInput) Validate ¶
func (s *GetConsoleScreenshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetConsoleScreenshotOutput ¶
type GetConsoleScreenshotOutput struct { // The data that comprises the image. ImageData *string `locationName:"imageData" type:"string"` // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // contains filtered or unexported fields }
func (GetConsoleScreenshotOutput) String ¶
func (s GetConsoleScreenshotOutput) String() string
String returns the string representation
type GetConsoleScreenshotRequest ¶
type GetConsoleScreenshotRequest struct { *aws.Request Input *GetConsoleScreenshotInput Copy func(*GetConsoleScreenshotInput) GetConsoleScreenshotRequest }
GetConsoleScreenshotRequest is the request type for the GetConsoleScreenshot API operation.
func (GetConsoleScreenshotRequest) Send ¶
func (r GetConsoleScreenshotRequest) Send(ctx context.Context) (*GetConsoleScreenshotResponse, error)
Send marshals and sends the GetConsoleScreenshot API request.
type GetConsoleScreenshotResponse ¶ added in v0.9.0
type GetConsoleScreenshotResponse struct { *GetConsoleScreenshotOutput // contains filtered or unexported fields }
GetConsoleScreenshotResponse is the response type for the GetConsoleScreenshot API operation.
func (*GetConsoleScreenshotResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetConsoleScreenshotResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetConsoleScreenshot request.
type GetEbsDefaultKmsKeyIdInput ¶ added in v0.9.0
type GetEbsDefaultKmsKeyIdInput 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"` // contains filtered or unexported fields }
func (GetEbsDefaultKmsKeyIdInput) String ¶ added in v0.9.0
func (s GetEbsDefaultKmsKeyIdInput) String() string
String returns the string representation
type GetEbsDefaultKmsKeyIdOutput ¶ added in v0.9.0
type GetEbsDefaultKmsKeyIdOutput struct { // The Amazon Resource Name (ARN) of the default CMK for encryption by default. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // contains filtered or unexported fields }
func (GetEbsDefaultKmsKeyIdOutput) String ¶ added in v0.9.0
func (s GetEbsDefaultKmsKeyIdOutput) String() string
String returns the string representation
type GetEbsDefaultKmsKeyIdRequest ¶ added in v0.9.0
type GetEbsDefaultKmsKeyIdRequest struct { *aws.Request Input *GetEbsDefaultKmsKeyIdInput Copy func(*GetEbsDefaultKmsKeyIdInput) GetEbsDefaultKmsKeyIdRequest }
GetEbsDefaultKmsKeyIdRequest is the request type for the GetEbsDefaultKmsKeyId API operation.
func (GetEbsDefaultKmsKeyIdRequest) Send ¶ added in v0.9.0
func (r GetEbsDefaultKmsKeyIdRequest) Send(ctx context.Context) (*GetEbsDefaultKmsKeyIdResponse, error)
Send marshals and sends the GetEbsDefaultKmsKeyId API request.
type GetEbsDefaultKmsKeyIdResponse ¶ added in v0.9.0
type GetEbsDefaultKmsKeyIdResponse struct { *GetEbsDefaultKmsKeyIdOutput // contains filtered or unexported fields }
GetEbsDefaultKmsKeyIdResponse is the response type for the GetEbsDefaultKmsKeyId API operation.
func (*GetEbsDefaultKmsKeyIdResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetEbsDefaultKmsKeyIdResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetEbsDefaultKmsKeyId request.
type GetEbsEncryptionByDefaultInput ¶ added in v0.9.0
type GetEbsEncryptionByDefaultInput 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"` // contains filtered or unexported fields }
func (GetEbsEncryptionByDefaultInput) String ¶ added in v0.9.0
func (s GetEbsEncryptionByDefaultInput) String() string
String returns the string representation
type GetEbsEncryptionByDefaultOutput ¶ added in v0.9.0
type GetEbsEncryptionByDefaultOutput struct { // Indicates whether encryption by default is enabled. EbsEncryptionByDefault *bool `locationName:"ebsEncryptionByDefault" type:"boolean"` // contains filtered or unexported fields }
func (GetEbsEncryptionByDefaultOutput) String ¶ added in v0.9.0
func (s GetEbsEncryptionByDefaultOutput) String() string
String returns the string representation
type GetEbsEncryptionByDefaultRequest ¶ added in v0.9.0
type GetEbsEncryptionByDefaultRequest struct { *aws.Request Input *GetEbsEncryptionByDefaultInput Copy func(*GetEbsEncryptionByDefaultInput) GetEbsEncryptionByDefaultRequest }
GetEbsEncryptionByDefaultRequest is the request type for the GetEbsEncryptionByDefault API operation.
func (GetEbsEncryptionByDefaultRequest) Send ¶ added in v0.9.0
func (r GetEbsEncryptionByDefaultRequest) Send(ctx context.Context) (*GetEbsEncryptionByDefaultResponse, error)
Send marshals and sends the GetEbsEncryptionByDefault API request.
type GetEbsEncryptionByDefaultResponse ¶ added in v0.9.0
type GetEbsEncryptionByDefaultResponse struct { *GetEbsEncryptionByDefaultOutput // contains filtered or unexported fields }
GetEbsEncryptionByDefaultResponse is the response type for the GetEbsEncryptionByDefault API operation.
func (*GetEbsEncryptionByDefaultResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetEbsEncryptionByDefaultResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetEbsEncryptionByDefault request.
type GetHostReservationPurchasePreviewInput ¶
type GetHostReservationPurchasePreviewInput struct { // The IDs of the Dedicated Hosts with which the reservation is associated. // // HostIdSet is a required field HostIdSet []string `locationNameList:"item" type:"list" required:"true"` // The offering ID of the reservation. // // OfferingId is a required field OfferingId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (GetHostReservationPurchasePreviewInput) String ¶
func (s GetHostReservationPurchasePreviewInput) String() string
String returns the string representation
func (*GetHostReservationPurchasePreviewInput) Validate ¶
func (s *GetHostReservationPurchasePreviewInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetHostReservationPurchasePreviewOutput ¶
type GetHostReservationPurchasePreviewOutput struct { // The currency in which the totalUpfrontPrice and totalHourlyPrice amounts // are specified. At this time, the only supported currency is USD. CurrencyCode CurrencyCodeValues `locationName:"currencyCode" type:"string" enum:"true"` // The purchase information of the Dedicated Host reservation and the Dedicated // Hosts associated with it. Purchase []Purchase `locationName:"purchase" locationNameList:"item" type:"list"` // The potential total hourly price of the reservation per hour. TotalHourlyPrice *string `locationName:"totalHourlyPrice" type:"string"` // The potential total upfront price. This is billed immediately. TotalUpfrontPrice *string `locationName:"totalUpfrontPrice" type:"string"` // contains filtered or unexported fields }
func (GetHostReservationPurchasePreviewOutput) String ¶
func (s GetHostReservationPurchasePreviewOutput) String() string
String returns the string representation
type GetHostReservationPurchasePreviewRequest ¶
type GetHostReservationPurchasePreviewRequest struct { *aws.Request Input *GetHostReservationPurchasePreviewInput Copy func(*GetHostReservationPurchasePreviewInput) GetHostReservationPurchasePreviewRequest }
GetHostReservationPurchasePreviewRequest is the request type for the GetHostReservationPurchasePreview API operation.
func (GetHostReservationPurchasePreviewRequest) Send ¶
func (r GetHostReservationPurchasePreviewRequest) Send(ctx context.Context) (*GetHostReservationPurchasePreviewResponse, error)
Send marshals and sends the GetHostReservationPurchasePreview API request.
type GetHostReservationPurchasePreviewResponse ¶ added in v0.9.0
type GetHostReservationPurchasePreviewResponse struct { *GetHostReservationPurchasePreviewOutput // contains filtered or unexported fields }
GetHostReservationPurchasePreviewResponse is the response type for the GetHostReservationPurchasePreview API operation.
func (*GetHostReservationPurchasePreviewResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetHostReservationPurchasePreviewResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetHostReservationPurchasePreview request.
type GetLaunchTemplateDataInput ¶ added in v0.2.0
type GetLaunchTemplateDataInput 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 instance. // // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (GetLaunchTemplateDataInput) String ¶ added in v0.2.0
func (s GetLaunchTemplateDataInput) String() string
String returns the string representation
func (*GetLaunchTemplateDataInput) Validate ¶ added in v0.2.0
func (s *GetLaunchTemplateDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetLaunchTemplateDataOutput ¶ added in v0.2.0
type GetLaunchTemplateDataOutput struct { // The instance data. LaunchTemplateData *ResponseLaunchTemplateData `locationName:"launchTemplateData" type:"structure"` // contains filtered or unexported fields }
func (GetLaunchTemplateDataOutput) String ¶ added in v0.2.0
func (s GetLaunchTemplateDataOutput) String() string
String returns the string representation
type GetLaunchTemplateDataRequest ¶ added in v0.2.0
type GetLaunchTemplateDataRequest struct { *aws.Request Input *GetLaunchTemplateDataInput Copy func(*GetLaunchTemplateDataInput) GetLaunchTemplateDataRequest }
GetLaunchTemplateDataRequest is the request type for the GetLaunchTemplateData API operation.
func (GetLaunchTemplateDataRequest) Send ¶ added in v0.2.0
func (r GetLaunchTemplateDataRequest) Send(ctx context.Context) (*GetLaunchTemplateDataResponse, error)
Send marshals and sends the GetLaunchTemplateData API request.
type GetLaunchTemplateDataResponse ¶ added in v0.9.0
type GetLaunchTemplateDataResponse struct { *GetLaunchTemplateDataOutput // contains filtered or unexported fields }
GetLaunchTemplateDataResponse is the response type for the GetLaunchTemplateData API operation.
func (*GetLaunchTemplateDataResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetLaunchTemplateDataResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetLaunchTemplateData request.
type GetPasswordDataInput ¶
type GetPasswordDataInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the Windows instance. // // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (GetPasswordDataInput) String ¶
func (s GetPasswordDataInput) String() string
String returns the string representation
func (*GetPasswordDataInput) Validate ¶
func (s *GetPasswordDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetPasswordDataOutput ¶
type GetPasswordDataOutput struct { // The ID of the Windows instance. InstanceId *string `locationName:"instanceId" type:"string"` // The password of the instance. Returns an empty string if the password is // not available. PasswordData *string `locationName:"passwordData" type:"string"` // The time the data was last updated. Timestamp *time.Time `locationName:"timestamp" type:"timestamp"` // contains filtered or unexported fields }
func (GetPasswordDataOutput) String ¶
func (s GetPasswordDataOutput) String() string
String returns the string representation
type GetPasswordDataRequest ¶
type GetPasswordDataRequest struct { *aws.Request Input *GetPasswordDataInput Copy func(*GetPasswordDataInput) GetPasswordDataRequest }
GetPasswordDataRequest is the request type for the GetPasswordData API operation.
func (GetPasswordDataRequest) Send ¶
func (r GetPasswordDataRequest) Send(ctx context.Context) (*GetPasswordDataResponse, error)
Send marshals and sends the GetPasswordData API request.
type GetPasswordDataResponse ¶ added in v0.9.0
type GetPasswordDataResponse struct { *GetPasswordDataOutput // contains filtered or unexported fields }
GetPasswordDataResponse is the response type for the GetPasswordData API operation.
func (*GetPasswordDataResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetPasswordDataResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetPasswordData request.
type GetReservedInstancesExchangeQuoteInput ¶
type GetReservedInstancesExchangeQuoteInput 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. // // 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 GetReservedInstanceExchangeQuote.
func (GetReservedInstancesExchangeQuoteInput) String ¶
func (s GetReservedInstancesExchangeQuoteInput) String() string
String returns the string representation
func (*GetReservedInstancesExchangeQuoteInput) Validate ¶
func (s *GetReservedInstancesExchangeQuoteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetReservedInstancesExchangeQuoteOutput ¶
type GetReservedInstancesExchangeQuoteOutput struct { // The currency of the transaction. CurrencyCode *string `locationName:"currencyCode" type:"string"` // If true, the exchange is valid. If false, the exchange cannot be completed. IsValidExchange *bool `locationName:"isValidExchange" type:"boolean"` // The new end date of the reservation term. OutputReservedInstancesWillExpireAt *time.Time `locationName:"outputReservedInstancesWillExpireAt" type:"timestamp"` // The total true upfront charge for the exchange. PaymentDue *string `locationName:"paymentDue" type:"string"` // The cost associated with the Reserved Instance. ReservedInstanceValueRollup *ReservationValue `locationName:"reservedInstanceValueRollup" type:"structure"` // The configuration of your Convertible Reserved Instances. ReservedInstanceValueSet []ReservedInstanceReservationValue `locationName:"reservedInstanceValueSet" locationNameList:"item" type:"list"` // The cost associated with the Reserved Instance. TargetConfigurationValueRollup *ReservationValue `locationName:"targetConfigurationValueRollup" type:"structure"` // The values of the target Convertible Reserved Instances. TargetConfigurationValueSet []TargetReservationValue `locationName:"targetConfigurationValueSet" locationNameList:"item" type:"list"` // Describes the reason why the exchange cannot be completed. ValidationFailureReason *string `locationName:"validationFailureReason" type:"string"` // contains filtered or unexported fields }
Contains the output of GetReservedInstancesExchangeQuote.
func (GetReservedInstancesExchangeQuoteOutput) String ¶
func (s GetReservedInstancesExchangeQuoteOutput) String() string
String returns the string representation
type GetReservedInstancesExchangeQuoteRequest ¶
type GetReservedInstancesExchangeQuoteRequest struct { *aws.Request Input *GetReservedInstancesExchangeQuoteInput Copy func(*GetReservedInstancesExchangeQuoteInput) GetReservedInstancesExchangeQuoteRequest }
GetReservedInstancesExchangeQuoteRequest is the request type for the GetReservedInstancesExchangeQuote API operation.
func (GetReservedInstancesExchangeQuoteRequest) Send ¶
func (r GetReservedInstancesExchangeQuoteRequest) Send(ctx context.Context) (*GetReservedInstancesExchangeQuoteResponse, error)
Send marshals and sends the GetReservedInstancesExchangeQuote API request.
type GetReservedInstancesExchangeQuoteResponse ¶ added in v0.9.0
type GetReservedInstancesExchangeQuoteResponse struct { *GetReservedInstancesExchangeQuoteOutput // contains filtered or unexported fields }
GetReservedInstancesExchangeQuoteResponse is the response type for the GetReservedInstancesExchangeQuote API operation.
func (*GetReservedInstancesExchangeQuoteResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetReservedInstancesExchangeQuoteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetReservedInstancesExchangeQuote request.
type GetTransitGatewayAttachmentPropagationsInput ¶ added in v0.6.0
type GetTransitGatewayAttachmentPropagationsInput 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"` // One or more filters. The possible values are: // // * transit-gateway-route-table-id - The ID of the transit gateway route // table. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // The ID of the attachment. // // TransitGatewayAttachmentId is a required field TransitGatewayAttachmentId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (GetTransitGatewayAttachmentPropagationsInput) String ¶ added in v0.6.0
func (s GetTransitGatewayAttachmentPropagationsInput) String() string
String returns the string representation
func (*GetTransitGatewayAttachmentPropagationsInput) Validate ¶ added in v0.6.0
func (s *GetTransitGatewayAttachmentPropagationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTransitGatewayAttachmentPropagationsOutput ¶ added in v0.6.0
type GetTransitGatewayAttachmentPropagationsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the propagation route tables. TransitGatewayAttachmentPropagations []TransitGatewayAttachmentPropagation `locationName:"transitGatewayAttachmentPropagations" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (GetTransitGatewayAttachmentPropagationsOutput) String ¶ added in v0.6.0
func (s GetTransitGatewayAttachmentPropagationsOutput) String() string
String returns the string representation
type GetTransitGatewayAttachmentPropagationsPaginator ¶ added in v0.9.0
GetTransitGatewayAttachmentPropagationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetTransitGatewayAttachmentPropagationsPaginator ¶ added in v0.9.0
func NewGetTransitGatewayAttachmentPropagationsPaginator(req GetTransitGatewayAttachmentPropagationsRequest) GetTransitGatewayAttachmentPropagationsPaginator
NewGetTransitGatewayAttachmentPropagationsRequestPaginator returns a paginator for GetTransitGatewayAttachmentPropagations. 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.GetTransitGatewayAttachmentPropagationsRequest(input) p := ec2.NewGetTransitGatewayAttachmentPropagationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetTransitGatewayAttachmentPropagationsPaginator) CurrentPage ¶ added in v0.9.0
func (p *GetTransitGatewayAttachmentPropagationsPaginator) CurrentPage() *GetTransitGatewayAttachmentPropagationsOutput
type GetTransitGatewayAttachmentPropagationsRequest ¶ added in v0.6.0
type GetTransitGatewayAttachmentPropagationsRequest struct { *aws.Request Input *GetTransitGatewayAttachmentPropagationsInput Copy func(*GetTransitGatewayAttachmentPropagationsInput) GetTransitGatewayAttachmentPropagationsRequest }
GetTransitGatewayAttachmentPropagationsRequest is the request type for the GetTransitGatewayAttachmentPropagations API operation.
func (GetTransitGatewayAttachmentPropagationsRequest) Send ¶ added in v0.6.0
func (r GetTransitGatewayAttachmentPropagationsRequest) Send(ctx context.Context) (*GetTransitGatewayAttachmentPropagationsResponse, error)
Send marshals and sends the GetTransitGatewayAttachmentPropagations API request.
type GetTransitGatewayAttachmentPropagationsResponse ¶ added in v0.9.0
type GetTransitGatewayAttachmentPropagationsResponse struct { *GetTransitGatewayAttachmentPropagationsOutput // contains filtered or unexported fields }
GetTransitGatewayAttachmentPropagationsResponse is the response type for the GetTransitGatewayAttachmentPropagations API operation.
func (*GetTransitGatewayAttachmentPropagationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetTransitGatewayAttachmentPropagationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetTransitGatewayAttachmentPropagations request.
type GetTransitGatewayRouteTableAssociationsInput ¶ added in v0.6.0
type GetTransitGatewayRouteTableAssociationsInput 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"` // One or more filters. The possible values are: // // * resource-id - The ID of the resource. // // * resource-type - The resource type (vpc | vpn). // // * transit-gateway-attachment-id - The ID of the attachment. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // The ID of the transit gateway route table. // // TransitGatewayRouteTableId is a required field TransitGatewayRouteTableId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (GetTransitGatewayRouteTableAssociationsInput) String ¶ added in v0.6.0
func (s GetTransitGatewayRouteTableAssociationsInput) String() string
String returns the string representation
func (*GetTransitGatewayRouteTableAssociationsInput) Validate ¶ added in v0.6.0
func (s *GetTransitGatewayRouteTableAssociationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTransitGatewayRouteTableAssociationsOutput ¶ added in v0.6.0
type GetTransitGatewayRouteTableAssociationsOutput struct { // Information about the associations. Associations []TransitGatewayRouteTableAssociation `locationName:"associations" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (GetTransitGatewayRouteTableAssociationsOutput) String ¶ added in v0.6.0
func (s GetTransitGatewayRouteTableAssociationsOutput) String() string
String returns the string representation
type GetTransitGatewayRouteTableAssociationsPaginator ¶ added in v0.9.0
GetTransitGatewayRouteTableAssociationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetTransitGatewayRouteTableAssociationsPaginator ¶ added in v0.9.0
func NewGetTransitGatewayRouteTableAssociationsPaginator(req GetTransitGatewayRouteTableAssociationsRequest) GetTransitGatewayRouteTableAssociationsPaginator
NewGetTransitGatewayRouteTableAssociationsRequestPaginator returns a paginator for GetTransitGatewayRouteTableAssociations. 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.GetTransitGatewayRouteTableAssociationsRequest(input) p := ec2.NewGetTransitGatewayRouteTableAssociationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetTransitGatewayRouteTableAssociationsPaginator) CurrentPage ¶ added in v0.9.0
func (p *GetTransitGatewayRouteTableAssociationsPaginator) CurrentPage() *GetTransitGatewayRouteTableAssociationsOutput
type GetTransitGatewayRouteTableAssociationsRequest ¶ added in v0.6.0
type GetTransitGatewayRouteTableAssociationsRequest struct { *aws.Request Input *GetTransitGatewayRouteTableAssociationsInput Copy func(*GetTransitGatewayRouteTableAssociationsInput) GetTransitGatewayRouteTableAssociationsRequest }
GetTransitGatewayRouteTableAssociationsRequest is the request type for the GetTransitGatewayRouteTableAssociations API operation.
func (GetTransitGatewayRouteTableAssociationsRequest) Send ¶ added in v0.6.0
func (r GetTransitGatewayRouteTableAssociationsRequest) Send(ctx context.Context) (*GetTransitGatewayRouteTableAssociationsResponse, error)
Send marshals and sends the GetTransitGatewayRouteTableAssociations API request.
type GetTransitGatewayRouteTableAssociationsResponse ¶ added in v0.9.0
type GetTransitGatewayRouteTableAssociationsResponse struct { *GetTransitGatewayRouteTableAssociationsOutput // contains filtered or unexported fields }
GetTransitGatewayRouteTableAssociationsResponse is the response type for the GetTransitGatewayRouteTableAssociations API operation.
func (*GetTransitGatewayRouteTableAssociationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetTransitGatewayRouteTableAssociationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetTransitGatewayRouteTableAssociations request.
type GetTransitGatewayRouteTablePropagationsInput ¶ added in v0.6.0
type GetTransitGatewayRouteTablePropagationsInput 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"` // One or more filters. The possible values are: // // * resource-id - The ID of the resource. // // * resource-type - The resource type (vpc | vpn). // // * transit-gateway-attachment-id - The ID of the attachment. Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"5" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // The ID of the transit gateway route table. // // TransitGatewayRouteTableId is a required field TransitGatewayRouteTableId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (GetTransitGatewayRouteTablePropagationsInput) String ¶ added in v0.6.0
func (s GetTransitGatewayRouteTablePropagationsInput) String() string
String returns the string representation
func (*GetTransitGatewayRouteTablePropagationsInput) Validate ¶ added in v0.6.0
func (s *GetTransitGatewayRouteTablePropagationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTransitGatewayRouteTablePropagationsOutput ¶ added in v0.6.0
type GetTransitGatewayRouteTablePropagationsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the route table propagations. TransitGatewayRouteTablePropagations []TransitGatewayRouteTablePropagation `locationName:"transitGatewayRouteTablePropagations" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (GetTransitGatewayRouteTablePropagationsOutput) String ¶ added in v0.6.0
func (s GetTransitGatewayRouteTablePropagationsOutput) String() string
String returns the string representation
type GetTransitGatewayRouteTablePropagationsPaginator ¶ added in v0.9.0
GetTransitGatewayRouteTablePropagationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetTransitGatewayRouteTablePropagationsPaginator ¶ added in v0.9.0
func NewGetTransitGatewayRouteTablePropagationsPaginator(req GetTransitGatewayRouteTablePropagationsRequest) GetTransitGatewayRouteTablePropagationsPaginator
NewGetTransitGatewayRouteTablePropagationsRequestPaginator returns a paginator for GetTransitGatewayRouteTablePropagations. 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.GetTransitGatewayRouteTablePropagationsRequest(input) p := ec2.NewGetTransitGatewayRouteTablePropagationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetTransitGatewayRouteTablePropagationsPaginator) CurrentPage ¶ added in v0.9.0
func (p *GetTransitGatewayRouteTablePropagationsPaginator) CurrentPage() *GetTransitGatewayRouteTablePropagationsOutput
type GetTransitGatewayRouteTablePropagationsRequest ¶ added in v0.6.0
type GetTransitGatewayRouteTablePropagationsRequest struct { *aws.Request Input *GetTransitGatewayRouteTablePropagationsInput Copy func(*GetTransitGatewayRouteTablePropagationsInput) GetTransitGatewayRouteTablePropagationsRequest }
GetTransitGatewayRouteTablePropagationsRequest is the request type for the GetTransitGatewayRouteTablePropagations API operation.
func (GetTransitGatewayRouteTablePropagationsRequest) Send ¶ added in v0.6.0
func (r GetTransitGatewayRouteTablePropagationsRequest) Send(ctx context.Context) (*GetTransitGatewayRouteTablePropagationsResponse, error)
Send marshals and sends the GetTransitGatewayRouteTablePropagations API request.
type GetTransitGatewayRouteTablePropagationsResponse ¶ added in v0.9.0
type GetTransitGatewayRouteTablePropagationsResponse struct { *GetTransitGatewayRouteTablePropagationsOutput // contains filtered or unexported fields }
GetTransitGatewayRouteTablePropagationsResponse is the response type for the GetTransitGatewayRouteTablePropagations API operation.
func (*GetTransitGatewayRouteTablePropagationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetTransitGatewayRouteTablePropagationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetTransitGatewayRouteTablePropagations request.
type GroupIdentifier ¶
type GroupIdentifier struct { // The ID of the security group. GroupId *string `locationName:"groupId" type:"string"` // The name of the security group. GroupName *string `locationName:"groupName" type:"string"` // contains filtered or unexported fields }
Describes a security group.
func (GroupIdentifier) String ¶
func (s GroupIdentifier) String() string
String returns the string representation
type HibernationOptions ¶ added in v0.6.0
type HibernationOptions struct { // If this parameter is set to true, your instance is enabled for hibernation; // otherwise, it is not enabled for hibernation. Configured *bool `locationName:"configured" type:"boolean"` // contains filtered or unexported fields }
Indicates whether your instance is configured for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites). Hibernation is currently supported only for Amazon Linux. For more information, see Hibernate Your Instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) in the Amazon Elastic Compute Cloud User Guide.
func (HibernationOptions) String ¶ added in v0.6.0
func (s HibernationOptions) String() string
String returns the string representation
type HibernationOptionsRequest ¶ added in v0.6.0
type HibernationOptionsRequest struct { // If you set this parameter to true, your instance is enabled for hibernation. // // Default: false Configured *bool `type:"boolean"` // contains filtered or unexported fields }
Indicates whether your instance is configured for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites). Hibernation is currently supported only for Amazon Linux. For more information, see Hibernate Your Instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) in the Amazon Elastic Compute Cloud User Guide.
func (HibernationOptionsRequest) String ¶ added in v0.6.0
func (s HibernationOptionsRequest) String() string
String returns the string representation
type HistoryRecord ¶
type HistoryRecord struct { // Information about the event. EventInformation *EventInformation `locationName:"eventInformation" type:"structure"` // The event type. // // * error - An error with the Spot Fleet request. // // * fleetRequestChange - A change in the status or configuration of the // Spot Fleet request. // // * instanceChange - An instance was launched or terminated. // // * Information - An informational event. EventType EventType `locationName:"eventType" type:"string" enum:"true"` // The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). Timestamp *time.Time `locationName:"timestamp" type:"timestamp"` // contains filtered or unexported fields }
Describes an event in the history of the Spot Fleet request.
func (HistoryRecord) String ¶
func (s HistoryRecord) String() string
String returns the string representation
type HistoryRecordEntry ¶ added in v0.4.0
type HistoryRecordEntry struct { // Information about the event. EventInformation *EventInformation `locationName:"eventInformation" type:"structure"` // The event type. EventType FleetEventType `locationName:"eventType" type:"string" enum:"true"` // The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). Timestamp *time.Time `locationName:"timestamp" type:"timestamp"` // contains filtered or unexported fields }
Describes an event in the history of an EC2 Fleet.
func (HistoryRecordEntry) String ¶ added in v0.4.0
func (s HistoryRecordEntry) String() string
String returns the string representation
type Host ¶
type Host struct { // The time that the Dedicated Host was allocated. AllocationTime *time.Time `locationName:"allocationTime" type:"timestamp"` // Whether auto-placement is on or off. AutoPlacement AutoPlacement `locationName:"autoPlacement" type:"string" enum:"true"` // The Availability Zone of the Dedicated Host. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The number of new instances that can be launched onto the Dedicated Host. AvailableCapacity *AvailableCapacity `locationName:"availableCapacity" type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // The ID of the Dedicated Host. HostId *string `locationName:"hostId" type:"string"` // The hardware specifications of the Dedicated Host. HostProperties *HostProperties `locationName:"hostProperties" type:"structure"` // Indicates whether host recovery is enabled or disabled for the Dedicated // Host. HostRecovery HostRecovery `locationName:"hostRecovery" type:"string" enum:"true"` // The reservation ID of the Dedicated Host. This returns a null response if // the Dedicated Host doesn't have an associated reservation. HostReservationId *string `locationName:"hostReservationId" type:"string"` // The IDs and instance type that are currently running on the Dedicated Host. Instances []HostInstance `locationName:"instances" locationNameList:"item" type:"list"` // The time that the Dedicated Host was released. ReleaseTime *time.Time `locationName:"releaseTime" type:"timestamp"` // The Dedicated Host's state. State AllocationState `locationName:"state" type:"string" enum:"true"` // Any tags assigned to the Dedicated Host. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes the properties of the Dedicated Host.
type HostInstance ¶
type HostInstance struct { // the IDs of instances that are running on the Dedicated Host. InstanceId *string `locationName:"instanceId" type:"string"` // The instance type size (for example, m3.medium) of the running instance. InstanceType *string `locationName:"instanceType" type:"string"` // contains filtered or unexported fields }
Describes an instance running on a Dedicated Host.
func (HostInstance) String ¶
func (s HostInstance) String() string
String returns the string representation
type HostOffering ¶
type HostOffering struct { // The currency of the offering. CurrencyCode CurrencyCodeValues `locationName:"currencyCode" type:"string" enum:"true"` // The duration of the offering (in seconds). Duration *int64 `locationName:"duration" type:"integer"` // The hourly price of the offering. HourlyPrice *string `locationName:"hourlyPrice" type:"string"` // The instance family of the offering. InstanceFamily *string `locationName:"instanceFamily" type:"string"` // The ID of the offering. OfferingId *string `locationName:"offeringId" type:"string"` // The available payment option. PaymentOption PaymentOption `locationName:"paymentOption" type:"string" enum:"true"` // The upfront price of the offering. Does not apply to No Upfront offerings. UpfrontPrice *string `locationName:"upfrontPrice" type:"string"` // contains filtered or unexported fields }
Details about the Dedicated Host Reservation offering.
func (HostOffering) String ¶
func (s HostOffering) String() string
String returns the string representation
type HostProperties ¶
type HostProperties struct { // The number of cores on the Dedicated Host. Cores *int64 `locationName:"cores" type:"integer"` // The instance type size that the Dedicated Host supports (for example, m3.medium). InstanceType *string `locationName:"instanceType" type:"string"` // The number of sockets on the Dedicated Host. Sockets *int64 `locationName:"sockets" type:"integer"` // The number of vCPUs on the Dedicated Host. TotalVCpus *int64 `locationName:"totalVCpus" type:"integer"` // contains filtered or unexported fields }
Describes properties of a Dedicated Host.
func (HostProperties) String ¶
func (s HostProperties) String() string
String returns the string representation
type HostRecovery ¶ added in v0.10.0
type HostRecovery string
const ( HostRecoveryOn HostRecovery = "on" HostRecoveryOff HostRecovery = "off" )
Enum values for HostRecovery
func (HostRecovery) MarshalValue ¶ added in v0.10.0
func (enum HostRecovery) MarshalValue() (string, error)
func (HostRecovery) MarshalValueBuf ¶ added in v0.10.0
func (enum HostRecovery) MarshalValueBuf(b []byte) ([]byte, error)
type HostReservation ¶
type HostReservation struct { // The number of Dedicated Hosts the reservation is associated with. Count *int64 `locationName:"count" type:"integer"` // The currency in which the upfrontPrice and hourlyPrice amounts are specified. // At this time, the only supported currency is USD. CurrencyCode CurrencyCodeValues `locationName:"currencyCode" type:"string" enum:"true"` // The length of the reservation's term, specified in seconds. Can be 31536000 // (1 year) | 94608000 (3 years). Duration *int64 `locationName:"duration" type:"integer"` // The date and time that the reservation ends. End *time.Time `locationName:"end" type:"timestamp"` // The IDs of the Dedicated Hosts associated with the reservation. HostIdSet []string `locationName:"hostIdSet" locationNameList:"item" type:"list"` // The ID of the reservation that specifies the associated Dedicated Hosts. HostReservationId *string `locationName:"hostReservationId" type:"string"` // The hourly price of the reservation. HourlyPrice *string `locationName:"hourlyPrice" type:"string"` // The instance family of the Dedicated Host Reservation. The instance family // on the Dedicated Host must be the same in order for it to benefit from the // reservation. InstanceFamily *string `locationName:"instanceFamily" type:"string"` // The ID of the reservation. This remains the same regardless of which Dedicated // Hosts are associated with it. OfferingId *string `locationName:"offeringId" type:"string"` // The payment option selected for this reservation. PaymentOption PaymentOption `locationName:"paymentOption" type:"string" enum:"true"` // The date and time that the reservation started. Start *time.Time `locationName:"start" type:"timestamp"` // The state of the reservation. State ReservationState `locationName:"state" type:"string" enum:"true"` // Any tags assigned to the Dedicated Host Reservation. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The upfront price of the reservation. UpfrontPrice *string `locationName:"upfrontPrice" type:"string"` // contains filtered or unexported fields }
Details about the Dedicated Host Reservation and associated Dedicated Hosts.
func (HostReservation) String ¶
func (s HostReservation) String() string
String returns the string representation
type HostTenancy ¶
type HostTenancy string
const ( HostTenancyDedicated HostTenancy = "dedicated" HostTenancyHost HostTenancy = "host" )
Enum values for HostTenancy
func (HostTenancy) MarshalValue ¶ added in v0.3.0
func (enum HostTenancy) MarshalValue() (string, error)
func (HostTenancy) MarshalValueBuf ¶ added in v0.3.0
func (enum HostTenancy) MarshalValueBuf(b []byte) ([]byte, error)
type HypervisorType ¶
type HypervisorType string
const ( HypervisorTypeOvm HypervisorType = "ovm" HypervisorTypeXen HypervisorType = "xen" )
Enum values for HypervisorType
func (HypervisorType) MarshalValue ¶ added in v0.3.0
func (enum HypervisorType) MarshalValue() (string, error)
func (HypervisorType) MarshalValueBuf ¶ added in v0.3.0
func (enum HypervisorType) MarshalValueBuf(b []byte) ([]byte, error)
type IKEVersionsListValue ¶ added in v0.12.0
type IKEVersionsListValue struct { // The IKE version. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
The internet key exchange (IKE) version permitted for the VPN tunnel.
func (IKEVersionsListValue) String ¶ added in v0.12.0
func (s IKEVersionsListValue) String() string
String returns the string representation
type IKEVersionsRequestListValue ¶ added in v0.12.0
type IKEVersionsRequestListValue struct { // The IKE version. Value *string `type:"string"` // contains filtered or unexported fields }
The IKE version that is permitted for the VPN tunnel.
func (IKEVersionsRequestListValue) String ¶ added in v0.12.0
func (s IKEVersionsRequestListValue) String() string
String returns the string representation
type IamInstanceProfile ¶
type IamInstanceProfile struct { // The Amazon Resource Name (ARN) of the instance profile. Arn *string `locationName:"arn" type:"string"` // The ID of the instance profile. Id *string `locationName:"id" type:"string"` // contains filtered or unexported fields }
Describes an IAM instance profile.
func (IamInstanceProfile) String ¶
func (s IamInstanceProfile) String() string
String returns the string representation
type IamInstanceProfileAssociation ¶
type IamInstanceProfileAssociation struct { // The ID of the association. AssociationId *string `locationName:"associationId" type:"string"` // The IAM instance profile. IamInstanceProfile *IamInstanceProfile `locationName:"iamInstanceProfile" type:"structure"` // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // The state of the association. State IamInstanceProfileAssociationState `locationName:"state" type:"string" enum:"true"` // The time the IAM instance profile was associated with the instance. Timestamp *time.Time `locationName:"timestamp" type:"timestamp"` // contains filtered or unexported fields }
Describes an association between an IAM instance profile and an instance.
func (IamInstanceProfileAssociation) String ¶
func (s IamInstanceProfileAssociation) String() string
String returns the string representation
type IamInstanceProfileAssociationState ¶
type IamInstanceProfileAssociationState string
const ( IamInstanceProfileAssociationStateAssociating IamInstanceProfileAssociationState = "associating" IamInstanceProfileAssociationStateAssociated IamInstanceProfileAssociationState = "associated" IamInstanceProfileAssociationStateDisassociating IamInstanceProfileAssociationState = "disassociating" IamInstanceProfileAssociationStateDisassociated IamInstanceProfileAssociationState = "disassociated" )
Enum values for IamInstanceProfileAssociationState
func (IamInstanceProfileAssociationState) MarshalValue ¶ added in v0.3.0
func (enum IamInstanceProfileAssociationState) MarshalValue() (string, error)
func (IamInstanceProfileAssociationState) MarshalValueBuf ¶ added in v0.3.0
func (enum IamInstanceProfileAssociationState) MarshalValueBuf(b []byte) ([]byte, error)
type IamInstanceProfileSpecification ¶
type IamInstanceProfileSpecification struct { // The Amazon Resource Name (ARN) of the instance profile. Arn *string `locationName:"arn" type:"string"` // The name of the instance profile. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Describes an IAM instance profile.
func (IamInstanceProfileSpecification) String ¶
func (s IamInstanceProfileSpecification) String() string
String returns the string representation
type IcmpTypeCode ¶
type IcmpTypeCode struct { // The ICMP code. A value of -1 means all codes for the specified ICMP type. Code *int64 `locationName:"code" type:"integer"` // The ICMP type. A value of -1 means all types. Type *int64 `locationName:"type" type:"integer"` // contains filtered or unexported fields }
Describes the ICMP type and code.
func (IcmpTypeCode) String ¶
func (s IcmpTypeCode) String() string
String returns the string representation
type IdFormat ¶
type IdFormat struct { // The date in UTC at which you are permanently switched over to using longer // IDs. If a deadline is not yet available for this resource type, this field // is not returned. Deadline *time.Time `locationName:"deadline" type:"timestamp"` // The type of resource. Resource *string `locationName:"resource" type:"string"` // Indicates whether longer IDs (17-character IDs) are enabled for the resource. UseLongIds *bool `locationName:"useLongIds" type:"boolean"` // contains filtered or unexported fields }
Describes the ID format for a resource.
type Image ¶
type Image struct { // The architecture of the image. Architecture ArchitectureValues `locationName:"architecture" type:"string" enum:"true"` // Any block device mapping entries. BlockDeviceMappings []BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` // The date and time the image was created. CreationDate *string `locationName:"creationDate" type:"string"` // The description of the AMI that was provided during image creation. Description *string `locationName:"description" type:"string"` // Specifies whether enhanced networking with ENA is enabled. EnaSupport *bool `locationName:"enaSupport" type:"boolean"` // The hypervisor type of the image. Hypervisor HypervisorType `locationName:"hypervisor" type:"string" enum:"true"` // The ID of the AMI. ImageId *string `locationName:"imageId" type:"string"` // The location of the AMI. ImageLocation *string `locationName:"imageLocation" type:"string"` // The AWS account alias (for example, amazon, self) or the AWS account ID of // the AMI owner. ImageOwnerAlias *string `locationName:"imageOwnerAlias" type:"string"` // The type of image. ImageType ImageTypeValues `locationName:"imageType" type:"string" enum:"true"` // The kernel associated with the image, if any. Only applicable for machine // images. KernelId *string `locationName:"kernelId" type:"string"` // The name of the AMI that was provided during image creation. Name *string `locationName:"name" type:"string"` // The AWS account ID of the image owner. OwnerId *string `locationName:"imageOwnerId" type:"string"` // This value is set to windows for Windows AMIs; otherwise, it is blank. Platform PlatformValues `locationName:"platform" type:"string" enum:"true"` // Any product codes associated with the AMI. ProductCodes []ProductCode `locationName:"productCodes" locationNameList:"item" type:"list"` // Indicates whether the image has public launch permissions. The value is true // if this image has public launch permissions or false if it has only implicit // and explicit launch permissions. Public *bool `locationName:"isPublic" type:"boolean"` // The RAM disk associated with the image, if any. Only applicable for machine // images. RamdiskId *string `locationName:"ramdiskId" type:"string"` // The device name of the root device volume (for example, /dev/sda1). RootDeviceName *string `locationName:"rootDeviceName" type:"string"` // The type of root device used by the AMI. The AMI can use an EBS volume or // an instance store volume. RootDeviceType DeviceType `locationName:"rootDeviceType" type:"string" enum:"true"` // Specifies whether enhanced networking with the Intel 82599 Virtual Function // interface is enabled. SriovNetSupport *string `locationName:"sriovNetSupport" type:"string"` // The current state of the AMI. If the state is available, the image is successfully // registered and can be used to launch an instance. State ImageState `locationName:"imageState" type:"string" enum:"true"` // The reason for the state change. StateReason *StateReason `locationName:"stateReason" type:"structure"` // Any tags assigned to the image. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The type of virtualization of the AMI. VirtualizationType VirtualizationType `locationName:"virtualizationType" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes an image.
type ImageAttributeName ¶
type ImageAttributeName string
const ( ImageAttributeNameDescription ImageAttributeName = "description" ImageAttributeNameKernel ImageAttributeName = "kernel" ImageAttributeNameRamdisk ImageAttributeName = "ramdisk" ImageAttributeNameLaunchPermission ImageAttributeName = "launchPermission" ImageAttributeNameProductCodes ImageAttributeName = "productCodes" ImageAttributeNameBlockDeviceMapping ImageAttributeName = "blockDeviceMapping" ImageAttributeNameSriovNetSupport ImageAttributeName = "sriovNetSupport" )
Enum values for ImageAttributeName
func (ImageAttributeName) MarshalValue ¶ added in v0.3.0
func (enum ImageAttributeName) MarshalValue() (string, error)
func (ImageAttributeName) MarshalValueBuf ¶ added in v0.3.0
func (enum ImageAttributeName) MarshalValueBuf(b []byte) ([]byte, error)
type ImageDiskContainer ¶
type ImageDiskContainer struct { // The description of the disk image. Description *string `type:"string"` // The block device mapping for the disk. DeviceName *string `type:"string"` // The format of the disk image being imported. // // Valid values: VHD | VMDK | OVA Format *string `type:"string"` // The ID of the EBS snapshot to be used for importing the snapshot. SnapshotId *string `type:"string"` // The URL to the Amazon S3-based disk image being imported. The URL can either // be a https URL (https://..) or an Amazon S3 URL (s3://..) Url *string `type:"string"` // The S3 bucket for the disk image. UserBucket *UserBucket `type:"structure"` // contains filtered or unexported fields }
Describes the disk container object for an import image task.
func (ImageDiskContainer) String ¶
func (s ImageDiskContainer) String() string
String returns the string representation
type ImageState ¶
type ImageState string
const ( ImageStatePending ImageState = "pending" ImageStateAvailable ImageState = "available" ImageStateInvalid ImageState = "invalid" ImageStateDeregistered ImageState = "deregistered" ImageStateTransient ImageState = "transient" ImageStateFailed ImageState = "failed" ImageStateError ImageState = "error" )
Enum values for ImageState
func (ImageState) MarshalValue ¶ added in v0.3.0
func (enum ImageState) MarshalValue() (string, error)
func (ImageState) MarshalValueBuf ¶ added in v0.3.0
func (enum ImageState) MarshalValueBuf(b []byte) ([]byte, error)
type ImageTypeValues ¶
type ImageTypeValues string
const ( ImageTypeValuesMachine ImageTypeValues = "machine" ImageTypeValuesKernel ImageTypeValues = "kernel" ImageTypeValuesRamdisk ImageTypeValues = "ramdisk" )
Enum values for ImageTypeValues
func (ImageTypeValues) MarshalValue ¶ added in v0.3.0
func (enum ImageTypeValues) MarshalValue() (string, error)
func (ImageTypeValues) MarshalValueBuf ¶ added in v0.3.0
func (enum ImageTypeValues) MarshalValueBuf(b []byte) ([]byte, error)
type ImportClientVpnClientCertificateRevocationListInput ¶ added in v0.7.0
type ImportClientVpnClientCertificateRevocationListInput struct { // The client certificate revocation list file. For more information, see Generate // a Client Certificate Revocation List (https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/cvpn-working-certificates.html#cvpn-working-certificates-generate) // in the AWS Client VPN Administrator Guide. // // CertificateRevocationList is a required field CertificateRevocationList *string `type:"string" required:"true"` // The ID of the Client VPN endpoint to which the client certificate revocation // list applies. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // 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"` // contains filtered or unexported fields }
func (ImportClientVpnClientCertificateRevocationListInput) String ¶ added in v0.7.0
func (s ImportClientVpnClientCertificateRevocationListInput) String() string
String returns the string representation
func (*ImportClientVpnClientCertificateRevocationListInput) Validate ¶ added in v0.7.0
func (s *ImportClientVpnClientCertificateRevocationListInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImportClientVpnClientCertificateRevocationListOutput ¶ added in v0.7.0
type ImportClientVpnClientCertificateRevocationListOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (ImportClientVpnClientCertificateRevocationListOutput) String ¶ added in v0.7.0
func (s ImportClientVpnClientCertificateRevocationListOutput) String() string
String returns the string representation
type ImportClientVpnClientCertificateRevocationListRequest ¶ added in v0.7.0
type ImportClientVpnClientCertificateRevocationListRequest struct { *aws.Request Input *ImportClientVpnClientCertificateRevocationListInput Copy func(*ImportClientVpnClientCertificateRevocationListInput) ImportClientVpnClientCertificateRevocationListRequest }
ImportClientVpnClientCertificateRevocationListRequest is the request type for the ImportClientVpnClientCertificateRevocationList API operation.
func (ImportClientVpnClientCertificateRevocationListRequest) Send ¶ added in v0.7.0
func (r ImportClientVpnClientCertificateRevocationListRequest) Send(ctx context.Context) (*ImportClientVpnClientCertificateRevocationListResponse, error)
Send marshals and sends the ImportClientVpnClientCertificateRevocationList API request.
type ImportClientVpnClientCertificateRevocationListResponse ¶ added in v0.9.0
type ImportClientVpnClientCertificateRevocationListResponse struct { *ImportClientVpnClientCertificateRevocationListOutput // contains filtered or unexported fields }
ImportClientVpnClientCertificateRevocationListResponse is the response type for the ImportClientVpnClientCertificateRevocationList API operation.
func (*ImportClientVpnClientCertificateRevocationListResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ImportClientVpnClientCertificateRevocationListResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ImportClientVpnClientCertificateRevocationList request.
type ImportImageInput ¶
type ImportImageInput struct { // The architecture of the virtual machine. // // Valid values: i386 | x86_64 | arm64 Architecture *string `type:"string"` // The client-specific data. ClientData *Data `type:"structure"` // The token to enable idempotency for VM import requests. ClientToken *string `type:"string"` // A description string for the import image task. Description *string `type:"string"` // Information about the disk containers. DiskContainers []ImageDiskContainer `locationName:"DiskContainer" locationNameList:"item" type:"list"` // 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"` // Specifies whether the destination AMI of the imported image should be encrypted. // The default CMK for EBS is used unless you specify a non-default AWS Key // Management Service (AWS KMS) CMK using KmsKeyId. For more information, see // Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) // in the Amazon Elastic Compute Cloud User Guide. Encrypted *bool `type:"boolean"` // The target hypervisor platform. // // Valid values: xen Hypervisor *string `type:"string"` // An identifier for the AWS Key Management Service (AWS KMS) customer master // key (CMK) to use when creating the encrypted AMI. This parameter is only // required if you want to use a non-default CMK; if this parameter is not specified, // the default CMK for EBS is used. If a KmsKeyId is specified, the Encrypted // flag must also be set. // // The CMK identifier may be provided in any of the following formats: // // * Key ID // // * Key alias. The alias ARN contains the arn:aws:kms namespace, followed // by the Region of the CMK, the AWS account ID of the CMK owner, the alias // namespace, and then the CMK alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. // // * ARN using key ID. The ID ARN contains the arn:aws:kms namespace, followed // by the Region of the CMK, the AWS account ID of the CMK owner, the key // namespace, and then the CMK ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. // // * ARN using key alias. The alias ARN contains the arn:aws:kms namespace, // followed by the Region of the CMK, the AWS account ID of the CMK owner, // the alias namespace, and then the CMK alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. // // AWS parses KmsKeyId asynchronously, meaning that the action you call may // appear to complete even though you provided an invalid identifier. This action // will eventually report failure. // // The specified CMK must exist in the Region that the AMI is being copied to. KmsKeyId *string `type:"string"` // The license type to be used for the Amazon Machine Image (AMI) after importing. // // By default, we detect the source-system operating system (OS) and apply the // appropriate license. Specify AWS to replace the source-system license with // an AWS license, if appropriate. Specify BYOL to retain the source-system // license, if appropriate. // // To use BYOL, you must have existing licenses with rights to use these licenses // in a third party cloud, such as AWS. For more information, see Prerequisites // (https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#prerequisites-image) // in the VM Import/Export User Guide. LicenseType *string `type:"string"` // The operating system of the virtual machine. // // Valid values: Windows | Linux Platform *string `type:"string"` // The name of the role to use when not using the default role, 'vmimport'. RoleName *string `type:"string"` // contains filtered or unexported fields }
func (ImportImageInput) String ¶
func (s ImportImageInput) String() string
String returns the string representation
type ImportImageOutput ¶
type ImportImageOutput struct { // The architecture of the virtual machine. Architecture *string `locationName:"architecture" type:"string"` // A description of the import task. Description *string `locationName:"description" type:"string"` // Indicates whether the AMI is encypted. Encrypted *bool `locationName:"encrypted" type:"boolean"` // The target hypervisor of the import task. Hypervisor *string `locationName:"hypervisor" type:"string"` // The ID of the Amazon Machine Image (AMI) created by the import task. ImageId *string `locationName:"imageId" type:"string"` // The task ID of the import image task. ImportTaskId *string `locationName:"importTaskId" type:"string"` // The identifier for the AWS Key Management Service (AWS KMS) customer master // key (CMK) that was used to create the encrypted AMI. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The license type of the virtual machine. LicenseType *string `locationName:"licenseType" type:"string"` // The operating system of the virtual machine. Platform *string `locationName:"platform" type:"string"` // The progress of the task. Progress *string `locationName:"progress" type:"string"` // Information about the snapshots. SnapshotDetails []SnapshotDetail `locationName:"snapshotDetailSet" locationNameList:"item" type:"list"` // A brief status of the task. Status *string `locationName:"status" type:"string"` // A detailed status message of the import task. StatusMessage *string `locationName:"statusMessage" type:"string"` // contains filtered or unexported fields }
func (ImportImageOutput) String ¶
func (s ImportImageOutput) String() string
String returns the string representation
type ImportImageRequest ¶
type ImportImageRequest struct { *aws.Request Input *ImportImageInput Copy func(*ImportImageInput) ImportImageRequest }
ImportImageRequest is the request type for the ImportImage API operation.
func (ImportImageRequest) Send ¶
func (r ImportImageRequest) Send(ctx context.Context) (*ImportImageResponse, error)
Send marshals and sends the ImportImage API request.
type ImportImageResponse ¶ added in v0.9.0
type ImportImageResponse struct { *ImportImageOutput // contains filtered or unexported fields }
ImportImageResponse is the response type for the ImportImage API operation.
func (*ImportImageResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ImportImageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ImportImage request.
type ImportImageTask ¶
type ImportImageTask struct { // The architecture of the virtual machine. // // Valid values: i386 | x86_64 | arm64 Architecture *string `locationName:"architecture" type:"string"` // A description of the import task. Description *string `locationName:"description" type:"string"` // Indicates whether the image is encrypted. Encrypted *bool `locationName:"encrypted" type:"boolean"` // The target hypervisor for the import task. // // Valid values: xen Hypervisor *string `locationName:"hypervisor" type:"string"` // The ID of the Amazon Machine Image (AMI) of the imported virtual machine. ImageId *string `locationName:"imageId" type:"string"` // The ID of the import image task. ImportTaskId *string `locationName:"importTaskId" type:"string"` // The identifier for the AWS Key Management Service (AWS KMS) customer master // key (CMK) that was used to create the encrypted image. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The license type of the virtual machine. LicenseType *string `locationName:"licenseType" type:"string"` // The description string for the import image task. Platform *string `locationName:"platform" type:"string"` // The percentage of progress of the import image task. Progress *string `locationName:"progress" type:"string"` // Information about the snapshots. SnapshotDetails []SnapshotDetail `locationName:"snapshotDetailSet" locationNameList:"item" type:"list"` // A brief status for the import image task. Status *string `locationName:"status" type:"string"` // A descriptive status message for the import image task. StatusMessage *string `locationName:"statusMessage" type:"string"` // contains filtered or unexported fields }
Describes an import image task.
func (ImportImageTask) String ¶
func (s ImportImageTask) String() string
String returns the string representation
type ImportInstanceInput ¶
type ImportInstanceInput struct { // A description for the instance being imported. Description *string `locationName:"description" type:"string"` // The disk image. DiskImages []DiskImage `locationName:"diskImage" type:"list"` // 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 `locationName:"dryRun" type:"boolean"` // The launch specification. LaunchSpecification *ImportInstanceLaunchSpecification `locationName:"launchSpecification" type:"structure"` // The instance operating system. // // Platform is a required field Platform PlatformValues `locationName:"platform" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
func (ImportInstanceInput) String ¶
func (s ImportInstanceInput) String() string
String returns the string representation
func (*ImportInstanceInput) Validate ¶
func (s *ImportInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImportInstanceLaunchSpecification ¶
type ImportInstanceLaunchSpecification struct { // Reserved. AdditionalInfo *string `locationName:"additionalInfo" type:"string"` // The architecture of the instance. Architecture ArchitectureValues `locationName:"architecture" type:"string" enum:"true"` // The security group IDs. GroupIds []string `locationName:"GroupId" locationNameList:"SecurityGroupId" type:"list"` // The security group names. GroupNames []string `locationName:"GroupName" locationNameList:"SecurityGroup" type:"list"` // Indicates whether an instance stops or terminates when you initiate shutdown // from the instance (using the operating system command for system shutdown). InstanceInitiatedShutdownBehavior ShutdownBehavior `locationName:"instanceInitiatedShutdownBehavior" type:"string" enum:"true"` // The instance type. For more information about the instance types that you // can import, see Instance Types (https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-instance-types) // in the VM Import/Export User Guide. InstanceType InstanceType `locationName:"instanceType" type:"string" enum:"true"` // Indicates whether monitoring is enabled. Monitoring *bool `locationName:"monitoring" type:"boolean"` // The placement information for the instance. Placement *Placement `locationName:"placement" type:"structure"` // [EC2-VPC] An available IP address from the IP address range of the subnet. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // [EC2-VPC] The ID of the subnet in which to launch the instance. SubnetId *string `locationName:"subnetId" type:"string"` // The Base64-encoded user data to make available to the instance. UserData *UserData `locationName:"userData" type:"structure"` // contains filtered or unexported fields }
Describes the launch specification for VM import.
func (ImportInstanceLaunchSpecification) String ¶
func (s ImportInstanceLaunchSpecification) String() string
String returns the string representation
type ImportInstanceOutput ¶
type ImportInstanceOutput struct { // Information about the conversion task. ConversionTask *ConversionTask `locationName:"conversionTask" type:"structure"` // contains filtered or unexported fields }
func (ImportInstanceOutput) String ¶
func (s ImportInstanceOutput) String() string
String returns the string representation
type ImportInstanceRequest ¶
type ImportInstanceRequest struct { *aws.Request Input *ImportInstanceInput Copy func(*ImportInstanceInput) ImportInstanceRequest }
ImportInstanceRequest is the request type for the ImportInstance API operation.
func (ImportInstanceRequest) Send ¶
func (r ImportInstanceRequest) Send(ctx context.Context) (*ImportInstanceResponse, error)
Send marshals and sends the ImportInstance API request.
type ImportInstanceResponse ¶ added in v0.9.0
type ImportInstanceResponse struct { *ImportInstanceOutput // contains filtered or unexported fields }
ImportInstanceResponse is the response type for the ImportInstance API operation.
func (*ImportInstanceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ImportInstanceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ImportInstance request.
type ImportInstanceTaskDetails ¶
type ImportInstanceTaskDetails struct { // A description of the task. Description *string `locationName:"description" type:"string"` // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // The instance operating system. Platform PlatformValues `locationName:"platform" type:"string" enum:"true"` // The volumes. Volumes []ImportInstanceVolumeDetailItem `locationName:"volumes" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes an import instance task.
func (ImportInstanceTaskDetails) String ¶
func (s ImportInstanceTaskDetails) String() string
String returns the string representation
type ImportInstanceVolumeDetailItem ¶
type ImportInstanceVolumeDetailItem struct { // The Availability Zone where the resulting instance will reside. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The number of bytes converted so far. BytesConverted *int64 `locationName:"bytesConverted" type:"long"` // A description of the task. Description *string `locationName:"description" type:"string"` // The image. Image *DiskImageDescription `locationName:"image" type:"structure"` // The status of the import of this particular disk image. Status *string `locationName:"status" type:"string"` // The status information or errors related to the disk image. StatusMessage *string `locationName:"statusMessage" type:"string"` // The volume. Volume *DiskImageVolumeDescription `locationName:"volume" type:"structure"` // contains filtered or unexported fields }
Describes an import volume task.
func (ImportInstanceVolumeDetailItem) String ¶
func (s ImportInstanceVolumeDetailItem) String() string
String returns the string representation
type ImportKeyPairInput ¶
type ImportKeyPairInput 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 `locationName:"dryRun" type:"boolean"` // A unique name for the key pair. // // KeyName is a required field KeyName *string `locationName:"keyName" type:"string" required:"true"` // The public key. For API calls, the text must be base64-encoded. For command // line tools, base64 encoding is performed for you. // // PublicKeyMaterial is automatically base64 encoded/decoded by the SDK. // // PublicKeyMaterial is a required field PublicKeyMaterial []byte `locationName:"publicKeyMaterial" type:"blob" required:"true"` // contains filtered or unexported fields }
func (ImportKeyPairInput) String ¶
func (s ImportKeyPairInput) String() string
String returns the string representation
func (*ImportKeyPairInput) Validate ¶
func (s *ImportKeyPairInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImportKeyPairOutput ¶
type ImportKeyPairOutput struct { // The MD5 public key fingerprint as specified in section 4 of RFC 4716. KeyFingerprint *string `locationName:"keyFingerprint" type:"string"` // The key pair name you provided. KeyName *string `locationName:"keyName" type:"string"` // contains filtered or unexported fields }
func (ImportKeyPairOutput) String ¶
func (s ImportKeyPairOutput) String() string
String returns the string representation
type ImportKeyPairRequest ¶
type ImportKeyPairRequest struct { *aws.Request Input *ImportKeyPairInput Copy func(*ImportKeyPairInput) ImportKeyPairRequest }
ImportKeyPairRequest is the request type for the ImportKeyPair API operation.
func (ImportKeyPairRequest) Send ¶
func (r ImportKeyPairRequest) Send(ctx context.Context) (*ImportKeyPairResponse, error)
Send marshals and sends the ImportKeyPair API request.
type ImportKeyPairResponse ¶ added in v0.9.0
type ImportKeyPairResponse struct { *ImportKeyPairOutput // contains filtered or unexported fields }
ImportKeyPairResponse is the response type for the ImportKeyPair API operation.
func (*ImportKeyPairResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ImportKeyPairResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ImportKeyPair request.
type ImportSnapshotInput ¶
type ImportSnapshotInput struct { // The client-specific data. ClientData *Data `type:"structure"` // Token to enable idempotency for VM import requests. ClientToken *string `type:"string"` // The description string for the import snapshot task. Description *string `type:"string"` // Information about the disk container. DiskContainer *SnapshotDiskContainer `type:"structure"` // 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"` // Specifies whether the destination snapshot of the imported image should be // encrypted. The default CMK for EBS is used unless you specify a non-default // AWS Key Management Service (AWS KMS) CMK using KmsKeyId. For more information, // see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) // in the Amazon Elastic Compute Cloud User Guide. Encrypted *bool `type:"boolean"` // An identifier for the AWS Key Management Service (AWS KMS) customer master // key (CMK) to use when creating the encrypted snapshot. This parameter is // only required if you want to use a non-default CMK; if this parameter is // not specified, the default CMK for EBS is used. If a KmsKeyId is specified, // the Encrypted flag must also be set. // // The CMK identifier may be provided in any of the following formats: // // * Key ID // // * Key alias. The alias ARN contains the arn:aws:kms namespace, followed // by the Region of the CMK, the AWS account ID of the CMK owner, the alias // namespace, and then the CMK alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. // // * ARN using key ID. The ID ARN contains the arn:aws:kms namespace, followed // by the Region of the CMK, the AWS account ID of the CMK owner, the key // namespace, and then the CMK ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. // // * ARN using key alias. The alias ARN contains the arn:aws:kms namespace, // followed by the Region of the CMK, the AWS account ID of the CMK owner, // the alias namespace, and then the CMK alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. // // AWS parses KmsKeyId asynchronously, meaning that the action you call may // appear to complete even though you provided an invalid identifier. This action // will eventually report failure. // // The specified CMK must exist in the Region that the snapshot is being copied // to. KmsKeyId *string `type:"string"` // The name of the role to use when not using the default role, 'vmimport'. RoleName *string `type:"string"` // contains filtered or unexported fields }
func (ImportSnapshotInput) String ¶
func (s ImportSnapshotInput) String() string
String returns the string representation
type ImportSnapshotOutput ¶
type ImportSnapshotOutput struct { // A description of the import snapshot task. Description *string `locationName:"description" type:"string"` // The ID of the import snapshot task. ImportTaskId *string `locationName:"importTaskId" type:"string"` // Information about the import snapshot task. SnapshotTaskDetail *SnapshotTaskDetail `locationName:"snapshotTaskDetail" type:"structure"` // contains filtered or unexported fields }
func (ImportSnapshotOutput) String ¶
func (s ImportSnapshotOutput) String() string
String returns the string representation
type ImportSnapshotRequest ¶
type ImportSnapshotRequest struct { *aws.Request Input *ImportSnapshotInput Copy func(*ImportSnapshotInput) ImportSnapshotRequest }
ImportSnapshotRequest is the request type for the ImportSnapshot API operation.
func (ImportSnapshotRequest) Send ¶
func (r ImportSnapshotRequest) Send(ctx context.Context) (*ImportSnapshotResponse, error)
Send marshals and sends the ImportSnapshot API request.
type ImportSnapshotResponse ¶ added in v0.9.0
type ImportSnapshotResponse struct { *ImportSnapshotOutput // contains filtered or unexported fields }
ImportSnapshotResponse is the response type for the ImportSnapshot API operation.
func (*ImportSnapshotResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ImportSnapshotResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ImportSnapshot request.
type ImportSnapshotTask ¶
type ImportSnapshotTask struct { // A description of the import snapshot task. Description *string `locationName:"description" type:"string"` // The ID of the import snapshot task. ImportTaskId *string `locationName:"importTaskId" type:"string"` // Describes an import snapshot task. SnapshotTaskDetail *SnapshotTaskDetail `locationName:"snapshotTaskDetail" type:"structure"` // contains filtered or unexported fields }
Describes an import snapshot task.
func (ImportSnapshotTask) String ¶
func (s ImportSnapshotTask) String() string
String returns the string representation
type ImportVolumeInput ¶
type ImportVolumeInput struct { // The Availability Zone for the resulting EBS volume. // // AvailabilityZone is a required field AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` // A description of the volume. Description *string `locationName:"description" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // The disk image. // // Image is a required field Image *DiskImageDetail `locationName:"image" type:"structure" required:"true"` // The volume size. // // Volume is a required field Volume *VolumeDetail `locationName:"volume" type:"structure" required:"true"` // contains filtered or unexported fields }
func (ImportVolumeInput) String ¶
func (s ImportVolumeInput) String() string
String returns the string representation
func (*ImportVolumeInput) Validate ¶
func (s *ImportVolumeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImportVolumeOutput ¶
type ImportVolumeOutput struct { // Information about the conversion task. ConversionTask *ConversionTask `locationName:"conversionTask" type:"structure"` // contains filtered or unexported fields }
func (ImportVolumeOutput) String ¶
func (s ImportVolumeOutput) String() string
String returns the string representation
type ImportVolumeRequest ¶
type ImportVolumeRequest struct { *aws.Request Input *ImportVolumeInput Copy func(*ImportVolumeInput) ImportVolumeRequest }
ImportVolumeRequest is the request type for the ImportVolume API operation.
func (ImportVolumeRequest) Send ¶
func (r ImportVolumeRequest) Send(ctx context.Context) (*ImportVolumeResponse, error)
Send marshals and sends the ImportVolume API request.
type ImportVolumeResponse ¶ added in v0.9.0
type ImportVolumeResponse struct { *ImportVolumeOutput // contains filtered or unexported fields }
ImportVolumeResponse is the response type for the ImportVolume API operation.
func (*ImportVolumeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ImportVolumeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ImportVolume request.
type ImportVolumeTaskDetails ¶
type ImportVolumeTaskDetails struct { // The Availability Zone where the resulting volume will reside. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The number of bytes converted so far. BytesConverted *int64 `locationName:"bytesConverted" type:"long"` // The description you provided when starting the import volume task. Description *string `locationName:"description" type:"string"` // The image. Image *DiskImageDescription `locationName:"image" type:"structure"` // The volume. Volume *DiskImageVolumeDescription `locationName:"volume" type:"structure"` // contains filtered or unexported fields }
Describes an import volume task.
func (ImportVolumeTaskDetails) String ¶
func (s ImportVolumeTaskDetails) String() string
String returns the string representation
type Instance ¶
type Instance struct { // The AMI launch index, which can be used to find this instance in the launch // group. AmiLaunchIndex *int64 `locationName:"amiLaunchIndex" type:"integer"` // The architecture of the image. Architecture ArchitectureValues `locationName:"architecture" type:"string" enum:"true"` // Any block device mapping entries for the instance. BlockDeviceMappings []InstanceBlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` // The ID of the Capacity Reservation. CapacityReservationId *string `locationName:"capacityReservationId" type:"string"` // Information about the Capacity Reservation targeting option. CapacityReservationSpecification *CapacityReservationSpecificationResponse `locationName:"capacityReservationSpecification" type:"structure"` // The idempotency token you provided when you launched the instance, if applicable. ClientToken *string `locationName:"clientToken" type:"string"` // The CPU options for the instance. CpuOptions *CpuOptions `locationName:"cpuOptions" type:"structure"` // Indicates whether the instance is optimized for Amazon EBS I/O. This optimization // provides dedicated throughput to Amazon EBS and an optimized configuration // stack to provide optimal I/O performance. This optimization isn't available // with all instance types. Additional usage charges apply when using an EBS // Optimized instance. EbsOptimized *bool `locationName:"ebsOptimized" type:"boolean"` // The Elastic GPU associated with the instance. ElasticGpuAssociations []ElasticGpuAssociation `locationName:"elasticGpuAssociationSet" locationNameList:"item" type:"list"` // The elastic inference accelerator associated with the instance. ElasticInferenceAcceleratorAssociations []ElasticInferenceAcceleratorAssociation `locationName:"elasticInferenceAcceleratorAssociationSet" locationNameList:"item" type:"list"` // Specifies whether enhanced networking with ENA is enabled. EnaSupport *bool `locationName:"enaSupport" type:"boolean"` // Indicates whether the instance is enabled for hibernation. HibernationOptions *HibernationOptions `locationName:"hibernationOptions" type:"structure"` // The hypervisor type of the instance. Hypervisor HypervisorType `locationName:"hypervisor" type:"string" enum:"true"` // The IAM instance profile associated with the instance, if applicable. IamInstanceProfile *IamInstanceProfile `locationName:"iamInstanceProfile" type:"structure"` // The ID of the AMI used to launch the instance. ImageId *string `locationName:"imageId" type:"string"` // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // Indicates whether this is a Spot Instance or a Scheduled Instance. InstanceLifecycle InstanceLifecycleType `locationName:"instanceLifecycle" type:"string" enum:"true"` // The instance type. InstanceType InstanceType `locationName:"instanceType" type:"string" enum:"true"` // The kernel associated with this instance, if applicable. KernelId *string `locationName:"kernelId" type:"string"` // The name of the key pair, if this instance was launched with an associated // key pair. KeyName *string `locationName:"keyName" type:"string"` // The time the instance was launched. LaunchTime *time.Time `locationName:"launchTime" type:"timestamp"` // The license configurations. Licenses []LicenseConfiguration `locationName:"licenseSet" locationNameList:"item" type:"list"` // The monitoring for the instance. Monitoring *Monitoring `locationName:"monitoring" type:"structure"` // [EC2-VPC] The network interfaces for the instance. NetworkInterfaces []InstanceNetworkInterface `locationName:"networkInterfaceSet" locationNameList:"item" type:"list"` // The location where the instance launched, if applicable. Placement *Placement `locationName:"placement" type:"structure"` // The value is Windows for Windows instances; otherwise blank. Platform PlatformValues `locationName:"platform" type:"string" enum:"true"` // (IPv4 only) The private DNS hostname name assigned to the instance. This // DNS hostname can only be used inside the Amazon EC2 network. This name is // not available until the instance enters the running state. // // [EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private // DNS hostnames if you've enabled DNS resolution and DNS hostnames in your // VPC. If you are not using the Amazon-provided DNS server in your VPC, your // custom domain name servers must resolve the hostname as appropriate. PrivateDnsName *string `locationName:"privateDnsName" type:"string"` // The private IPv4 address assigned to the instance. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // The product codes attached to this instance, if applicable. ProductCodes []ProductCode `locationName:"productCodes" locationNameList:"item" type:"list"` // (IPv4 only) The public DNS name assigned to the instance. This name is not // available until the instance enters the running state. For EC2-VPC, this // name is only available if you've enabled DNS hostnames for your VPC. PublicDnsName *string `locationName:"dnsName" type:"string"` // The public IPv4 address assigned to the instance, if applicable. PublicIpAddress *string `locationName:"ipAddress" type:"string"` // The RAM disk associated with this instance, if applicable. RamdiskId *string `locationName:"ramdiskId" type:"string"` // The device name of the root device volume (for example, /dev/sda1). RootDeviceName *string `locationName:"rootDeviceName" type:"string"` // The root device type used by the AMI. The AMI can use an EBS volume or an // instance store volume. RootDeviceType DeviceType `locationName:"rootDeviceType" type:"string" enum:"true"` // The security groups for the instance. SecurityGroups []GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` // Specifies whether to enable an instance launched in a VPC to perform NAT. // This controls whether source/destination checking is enabled on the instance. // A value of true means that checking is enabled, and false means that checking // is disabled. The value must be false for the instance to perform NAT. For // more information, see NAT Instances (https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html) // in the Amazon Virtual Private Cloud User Guide. SourceDestCheck *bool `locationName:"sourceDestCheck" type:"boolean"` // If the request is a Spot Instance request, the ID of the request. SpotInstanceRequestId *string `locationName:"spotInstanceRequestId" type:"string"` // Specifies whether enhanced networking with the Intel 82599 Virtual Function // interface is enabled. SriovNetSupport *string `locationName:"sriovNetSupport" type:"string"` // The current state of the instance. State *InstanceState `locationName:"instanceState" type:"structure"` // The reason for the most recent state transition. StateReason *StateReason `locationName:"stateReason" type:"structure"` // The reason for the most recent state transition. This might be an empty string. StateTransitionReason *string `locationName:"reason" type:"string"` // [EC2-VPC] The ID of the subnet in which the instance is running. SubnetId *string `locationName:"subnetId" type:"string"` // Any tags assigned to the instance. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The virtualization type of the instance. VirtualizationType VirtualizationType `locationName:"virtualizationType" type:"string" enum:"true"` // [EC2-VPC] The ID of the VPC in which the instance is running. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes an instance.
type InstanceAttributeName ¶
type InstanceAttributeName string
const ( InstanceAttributeNameInstanceType InstanceAttributeName = "instanceType" InstanceAttributeNameKernel InstanceAttributeName = "kernel" InstanceAttributeNameRamdisk InstanceAttributeName = "ramdisk" InstanceAttributeNameUserData InstanceAttributeName = "userData" InstanceAttributeNameDisableApiTermination InstanceAttributeName = "disableApiTermination" InstanceAttributeNameInstanceInitiatedShutdownBehavior InstanceAttributeName = "instanceInitiatedShutdownBehavior" InstanceAttributeNameRootDeviceName InstanceAttributeName = "rootDeviceName" InstanceAttributeNameBlockDeviceMapping InstanceAttributeName = "blockDeviceMapping" InstanceAttributeNameProductCodes InstanceAttributeName = "productCodes" InstanceAttributeNameSourceDestCheck InstanceAttributeName = "sourceDestCheck" InstanceAttributeNameGroupSet InstanceAttributeName = "groupSet" InstanceAttributeNameEbsOptimized InstanceAttributeName = "ebsOptimized" InstanceAttributeNameSriovNetSupport InstanceAttributeName = "sriovNetSupport" InstanceAttributeNameEnaSupport InstanceAttributeName = "enaSupport" )
Enum values for InstanceAttributeName
func (InstanceAttributeName) MarshalValue ¶ added in v0.3.0
func (enum InstanceAttributeName) MarshalValue() (string, error)
func (InstanceAttributeName) MarshalValueBuf ¶ added in v0.3.0
func (enum InstanceAttributeName) MarshalValueBuf(b []byte) ([]byte, error)
type InstanceBlockDeviceMapping ¶
type InstanceBlockDeviceMapping struct { // The device name (for example, /dev/sdh or xvdh). DeviceName *string `locationName:"deviceName" type:"string"` // Parameters used to automatically set up EBS volumes when the instance is // launched. Ebs *EbsInstanceBlockDevice `locationName:"ebs" type:"structure"` // contains filtered or unexported fields }
Describes a block device mapping.
func (InstanceBlockDeviceMapping) String ¶
func (s InstanceBlockDeviceMapping) String() string
String returns the string representation
type InstanceBlockDeviceMappingSpecification ¶
type InstanceBlockDeviceMappingSpecification struct { // The device name (for example, /dev/sdh or xvdh). DeviceName *string `locationName:"deviceName" type:"string"` // Parameters used to automatically set up EBS volumes when the instance is // launched. Ebs *EbsInstanceBlockDeviceSpecification `locationName:"ebs" type:"structure"` // suppress the specified device included in the block device mapping. NoDevice *string `locationName:"noDevice" type:"string"` // The virtual device name. VirtualName *string `locationName:"virtualName" type:"string"` // contains filtered or unexported fields }
Describes a block device mapping entry.
func (InstanceBlockDeviceMappingSpecification) String ¶
func (s InstanceBlockDeviceMappingSpecification) String() string
String returns the string representation
type InstanceCapacity ¶
type InstanceCapacity struct { // The number of instances that can still be launched onto the Dedicated Host. AvailableCapacity *int64 `locationName:"availableCapacity" type:"integer"` // The instance type size supported by the Dedicated Host. InstanceType *string `locationName:"instanceType" type:"string"` // The total number of instances that can be launched onto the Dedicated Host. TotalCapacity *int64 `locationName:"totalCapacity" type:"integer"` // contains filtered or unexported fields }
Information about the instance type that the Dedicated Host supports.
func (InstanceCapacity) String ¶
func (s InstanceCapacity) String() string
String returns the string representation
type InstanceCount ¶
type InstanceCount struct { // The number of listed Reserved Instances in the state specified by the state. InstanceCount *int64 `locationName:"instanceCount" type:"integer"` // The states of the listed Reserved Instances. State ListingState `locationName:"state" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a Reserved Instance listing state.
func (InstanceCount) String ¶
func (s InstanceCount) String() string
String returns the string representation
type InstanceCreditSpecification ¶ added in v0.2.0
type InstanceCreditSpecification struct { // The credit option for CPU usage of the instance. Valid values are standard // and unlimited. CpuCredits *string `locationName:"cpuCredits" type:"string"` // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // contains filtered or unexported fields }
Describes the credit option for CPU usage of a T2 or T3 instance.
func (InstanceCreditSpecification) String ¶ added in v0.2.0
func (s InstanceCreditSpecification) String() string
String returns the string representation
type InstanceCreditSpecificationRequest ¶ added in v0.2.0
type InstanceCreditSpecificationRequest struct { // The credit option for CPU usage of the instance. Valid values are standard // and unlimited. CpuCredits *string `type:"string"` // The ID of the instance. InstanceId *string `type:"string"` // contains filtered or unexported fields }
Describes the credit option for CPU usage of a T2 or T3 instance.
func (InstanceCreditSpecificationRequest) String ¶ added in v0.2.0
func (s InstanceCreditSpecificationRequest) String() string
String returns the string representation
type InstanceExportDetails ¶
type InstanceExportDetails struct { // The ID of the resource being exported. InstanceId *string `locationName:"instanceId" type:"string"` // The target virtualization environment. TargetEnvironment ExportEnvironment `locationName:"targetEnvironment" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes an instance to export.
func (InstanceExportDetails) String ¶
func (s InstanceExportDetails) String() string
String returns the string representation
type InstanceHealthStatus ¶
type InstanceHealthStatus string
const ( InstanceHealthStatusHealthy InstanceHealthStatus = "healthy" InstanceHealthStatusUnhealthy InstanceHealthStatus = "unhealthy" )
Enum values for InstanceHealthStatus
func (InstanceHealthStatus) MarshalValue ¶ added in v0.3.0
func (enum InstanceHealthStatus) MarshalValue() (string, error)
func (InstanceHealthStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum InstanceHealthStatus) MarshalValueBuf(b []byte) ([]byte, error)
type InstanceInterruptionBehavior ¶
type InstanceInterruptionBehavior string
const ( InstanceInterruptionBehaviorHibernate InstanceInterruptionBehavior = "hibernate" InstanceInterruptionBehaviorStop InstanceInterruptionBehavior = "stop" InstanceInterruptionBehaviorTerminate InstanceInterruptionBehavior = "terminate" )
Enum values for InstanceInterruptionBehavior
func (InstanceInterruptionBehavior) MarshalValue ¶ added in v0.3.0
func (enum InstanceInterruptionBehavior) MarshalValue() (string, error)
func (InstanceInterruptionBehavior) MarshalValueBuf ¶ added in v0.3.0
func (enum InstanceInterruptionBehavior) MarshalValueBuf(b []byte) ([]byte, error)
type InstanceIpv6Address ¶
type InstanceIpv6Address struct { // The IPv6 address. Ipv6Address *string `locationName:"ipv6Address" type:"string"` // contains filtered or unexported fields }
Describes an IPv6 address.
func (InstanceIpv6Address) String ¶
func (s InstanceIpv6Address) String() string
String returns the string representation
type InstanceIpv6AddressRequest ¶ added in v0.2.0
type InstanceIpv6AddressRequest struct { // The IPv6 address. Ipv6Address *string `type:"string"` // contains filtered or unexported fields }
Describes an IPv6 address.
func (InstanceIpv6AddressRequest) String ¶ added in v0.2.0
func (s InstanceIpv6AddressRequest) String() string
String returns the string representation
type InstanceLifecycle ¶ added in v0.6.0
type InstanceLifecycle string
const ( InstanceLifecycleSpot InstanceLifecycle = "spot" InstanceLifecycleOnDemand InstanceLifecycle = "on-demand" )
Enum values for InstanceLifecycle
func (InstanceLifecycle) MarshalValue ¶ added in v0.6.0
func (enum InstanceLifecycle) MarshalValue() (string, error)
func (InstanceLifecycle) MarshalValueBuf ¶ added in v0.6.0
func (enum InstanceLifecycle) MarshalValueBuf(b []byte) ([]byte, error)
type InstanceLifecycleType ¶
type InstanceLifecycleType string
const ( InstanceLifecycleTypeSpot InstanceLifecycleType = "spot" InstanceLifecycleTypeScheduled InstanceLifecycleType = "scheduled" )
Enum values for InstanceLifecycleType
func (InstanceLifecycleType) MarshalValue ¶ added in v0.3.0
func (enum InstanceLifecycleType) MarshalValue() (string, error)
func (InstanceLifecycleType) MarshalValueBuf ¶ added in v0.3.0
func (enum InstanceLifecycleType) MarshalValueBuf(b []byte) ([]byte, error)
type InstanceMarketOptionsRequest ¶ added in v0.2.0
type InstanceMarketOptionsRequest struct { // The market type. MarketType MarketType `type:"string" enum:"true"` // The options for Spot Instances. SpotOptions *SpotMarketOptions `type:"structure"` // contains filtered or unexported fields }
Describes the market (purchasing) option for the instances.
func (InstanceMarketOptionsRequest) String ¶ added in v0.2.0
func (s InstanceMarketOptionsRequest) String() string
String returns the string representation
type InstanceMatchCriteria ¶ added in v0.6.0
type InstanceMatchCriteria string
const ( InstanceMatchCriteriaOpen InstanceMatchCriteria = "open" InstanceMatchCriteriaTargeted InstanceMatchCriteria = "targeted" )
Enum values for InstanceMatchCriteria
func (InstanceMatchCriteria) MarshalValue ¶ added in v0.6.0
func (enum InstanceMatchCriteria) MarshalValue() (string, error)
func (InstanceMatchCriteria) MarshalValueBuf ¶ added in v0.6.0
func (enum InstanceMatchCriteria) MarshalValueBuf(b []byte) ([]byte, error)
type InstanceMonitoring ¶
type InstanceMonitoring struct { // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // The monitoring for the instance. Monitoring *Monitoring `locationName:"monitoring" type:"structure"` // contains filtered or unexported fields }
Describes the monitoring of an instance.
func (InstanceMonitoring) String ¶
func (s InstanceMonitoring) String() string
String returns the string representation
type InstanceNetworkInterface ¶
type InstanceNetworkInterface struct { // The association information for an Elastic IPv4 associated with the network // interface. Association *InstanceNetworkInterfaceAssociation `locationName:"association" type:"structure"` // The network interface attachment. Attachment *InstanceNetworkInterfaceAttachment `locationName:"attachment" type:"structure"` // The description. Description *string `locationName:"description" type:"string"` // One or more security groups. Groups []GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` // Describes the type of network interface. // // Valid values: interface | efa InterfaceType *string `locationName:"interfaceType" type:"string"` // One or more IPv6 addresses associated with the network interface. Ipv6Addresses []InstanceIpv6Address `locationName:"ipv6AddressesSet" locationNameList:"item" type:"list"` // The MAC address. MacAddress *string `locationName:"macAddress" type:"string"` // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // The ID of the AWS account that created the network interface. OwnerId *string `locationName:"ownerId" type:"string"` // The private DNS name. PrivateDnsName *string `locationName:"privateDnsName" type:"string"` // The IPv4 address of the network interface within the subnet. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // One or more private IPv4 addresses associated with the network interface. PrivateIpAddresses []InstancePrivateIpAddress `locationName:"privateIpAddressesSet" locationNameList:"item" type:"list"` // Indicates whether to validate network traffic to or from this network interface. SourceDestCheck *bool `locationName:"sourceDestCheck" type:"boolean"` // The status of the network interface. Status NetworkInterfaceStatus `locationName:"status" type:"string" enum:"true"` // The ID of the subnet. SubnetId *string `locationName:"subnetId" type:"string"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes a network interface.
func (InstanceNetworkInterface) String ¶
func (s InstanceNetworkInterface) String() string
String returns the string representation
type InstanceNetworkInterfaceAssociation ¶
type InstanceNetworkInterfaceAssociation struct { // The ID of the owner of the Elastic IP address. IpOwnerId *string `locationName:"ipOwnerId" type:"string"` // The public DNS name. PublicDnsName *string `locationName:"publicDnsName" type:"string"` // The public IP address or Elastic IP address bound to the network interface. PublicIp *string `locationName:"publicIp" type:"string"` // contains filtered or unexported fields }
Describes association information for an Elastic IP address (IPv4).
func (InstanceNetworkInterfaceAssociation) String ¶
func (s InstanceNetworkInterfaceAssociation) String() string
String returns the string representation
type InstanceNetworkInterfaceAttachment ¶
type InstanceNetworkInterfaceAttachment struct { // The time stamp when the attachment initiated. AttachTime *time.Time `locationName:"attachTime" type:"timestamp"` // The ID of the network interface attachment. AttachmentId *string `locationName:"attachmentId" type:"string"` // Indicates whether the network interface is deleted when the instance is terminated. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` // The index of the device on the instance for the network interface attachment. DeviceIndex *int64 `locationName:"deviceIndex" type:"integer"` // The attachment state. Status AttachmentStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a network interface attachment.
func (InstanceNetworkInterfaceAttachment) String ¶
func (s InstanceNetworkInterfaceAttachment) String() string
String returns the string representation
type InstanceNetworkInterfaceSpecification ¶
type InstanceNetworkInterfaceSpecification struct { // Indicates whether to assign a public IPv4 address to an instance you launch // in a VPC. The public IP address can only be assigned to a network interface // for eth0, and can only be assigned to a new network interface, not an existing // one. You cannot specify more than one network interface in the request. If // launching into a default subnet, the default value is true. AssociatePublicIpAddress *bool `locationName:"associatePublicIpAddress" type:"boolean"` // If set to true, the interface is deleted when the instance is terminated. // You can specify true only if creating a new network interface when launching // an instance. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` // The description of the network interface. Applies only if creating a network // interface when launching an instance. Description *string `locationName:"description" type:"string"` // The position of the network interface in the attachment order. A primary // network interface has a device index of 0. // // If you specify a network interface when launching an instance, you must specify // the device index. DeviceIndex *int64 `locationName:"deviceIndex" type:"integer"` // The IDs of the security groups for the network interface. Applies only if // creating a network interface when launching an instance. Groups []string `locationName:"SecurityGroupId" locationNameList:"SecurityGroupId" type:"list"` // The type of network interface. To create an Elastic Fabric Adapter (EFA), // specify efa. For more information, see Elastic Fabric Adapter (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html) // in the Amazon Elastic Compute Cloud User Guide. // // If you are not creating an EFA, specify interface or omit this parameter. // // Valid values: interface | efa InterfaceType *string `type:"string"` // A number of IPv6 addresses to assign to the network interface. Amazon EC2 // chooses the IPv6 addresses from the range of the subnet. You cannot specify // this option and the option to assign specific IPv6 addresses in the same // request. You can specify this option if you've specified a minimum number // of instances to launch. Ipv6AddressCount *int64 `locationName:"ipv6AddressCount" type:"integer"` // One or more IPv6 addresses to assign to the network interface. You cannot // specify this option and the option to assign a number of IPv6 addresses in // the same request. You cannot specify this option if you've specified a minimum // number of instances to launch. Ipv6Addresses []InstanceIpv6Address `locationName:"ipv6AddressesSet" queryName:"Ipv6Addresses" locationNameList:"item" type:"list"` // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // The private IPv4 address of the network interface. Applies only if creating // a network interface when launching an instance. You cannot specify this option // if you're launching more than one instance in a RunInstances (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) // request. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // One or more private IPv4 addresses to assign to the network interface. Only // one private IPv4 address can be designated as primary. You cannot specify // this option if you're launching more than one instance in a RunInstances // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) // request. PrivateIpAddresses []PrivateIpAddressSpecification `locationName:"privateIpAddressesSet" queryName:"PrivateIpAddresses" locationNameList:"item" type:"list"` // The number of secondary private IPv4 addresses. You can't specify this option // and specify more than one private IP address using the private IP addresses // option. You cannot specify this option if you're launching more than one // instance in a RunInstances (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) // request. SecondaryPrivateIpAddressCount *int64 `locationName:"secondaryPrivateIpAddressCount" type:"integer"` // The ID of the subnet associated with the network interface. Applies only // if creating a network interface when launching an instance. SubnetId *string `locationName:"subnetId" type:"string"` // contains filtered or unexported fields }
Describes a network interface.
func (InstanceNetworkInterfaceSpecification) String ¶
func (s InstanceNetworkInterfaceSpecification) String() string
String returns the string representation
type InstancePrivateIpAddress ¶
type InstancePrivateIpAddress struct { // The association information for an Elastic IP address for the network interface. Association *InstanceNetworkInterfaceAssociation `locationName:"association" type:"structure"` // Indicates whether this IPv4 address is the primary private IP address of // the network interface. Primary *bool `locationName:"primary" type:"boolean"` // The private IPv4 DNS name. PrivateDnsName *string `locationName:"privateDnsName" type:"string"` // The private IPv4 address of the network interface. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // contains filtered or unexported fields }
Describes a private IPv4 address.
func (InstancePrivateIpAddress) String ¶
func (s InstancePrivateIpAddress) String() string
String returns the string representation
type InstanceSpecification ¶ added in v0.10.0
type InstanceSpecification struct { // Excludes the root volume from being snapshotted. ExcludeBootVolume *bool `type:"boolean"` // The instance to specify which volumes should be snapshotted. InstanceId *string `type:"string"` // contains filtered or unexported fields }
The instance details to specify which volumes should be snapshotted.
func (InstanceSpecification) String ¶ added in v0.10.0
func (s InstanceSpecification) String() string
String returns the string representation
type InstanceState ¶
type InstanceState struct { // The state of the instance as a 16-bit unsigned integer. // // The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal // values between 256 and 65,535. These numerical values are used for internal // purposes and should be ignored. // // The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal // values between 0 and 255. // // The valid values for instance-state-code will all be in the range of the // low byte and they are: // // * 0 : pending // // * 16 : running // // * 32 : shutting-down // // * 48 : terminated // // * 64 : stopping // // * 80 : stopped // // You can ignore the high byte value by zeroing out all of the bits above 2^8 // or 256 in decimal. Code *int64 `locationName:"code" type:"integer"` // The current state of the instance. Name InstanceStateName `locationName:"name" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the current state of an instance.
func (InstanceState) String ¶
func (s InstanceState) String() string
String returns the string representation
type InstanceStateChange ¶
type InstanceStateChange struct { // The current state of the instance. CurrentState *InstanceState `locationName:"currentState" type:"structure"` // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // The previous state of the instance. PreviousState *InstanceState `locationName:"previousState" type:"structure"` // contains filtered or unexported fields }
Describes an instance state change.
func (InstanceStateChange) String ¶
func (s InstanceStateChange) String() string
String returns the string representation
type InstanceStateName ¶
type InstanceStateName string
const ( InstanceStateNamePending InstanceStateName = "pending" InstanceStateNameRunning InstanceStateName = "running" InstanceStateNameShuttingDown InstanceStateName = "shutting-down" InstanceStateNameTerminated InstanceStateName = "terminated" InstanceStateNameStopping InstanceStateName = "stopping" InstanceStateNameStopped InstanceStateName = "stopped" )
Enum values for InstanceStateName
func (InstanceStateName) MarshalValue ¶ added in v0.3.0
func (enum InstanceStateName) MarshalValue() (string, error)
func (InstanceStateName) MarshalValueBuf ¶ added in v0.3.0
func (enum InstanceStateName) MarshalValueBuf(b []byte) ([]byte, error)
type InstanceStatus ¶
type InstanceStatus struct { // The Availability Zone of the instance. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // Any scheduled events associated with the instance. Events []InstanceStatusEvent `locationName:"eventsSet" locationNameList:"item" type:"list"` // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // The intended state of the instance. DescribeInstanceStatus requires that // an instance be in the running state. InstanceState *InstanceState `locationName:"instanceState" type:"structure"` // Reports impaired functionality that stems from issues internal to the instance, // such as impaired reachability. InstanceStatus *InstanceStatusSummary `locationName:"instanceStatus" type:"structure"` // Reports impaired functionality that stems from issues related to the systems // that support an instance, such as hardware failures and network connectivity // problems. SystemStatus *InstanceStatusSummary `locationName:"systemStatus" type:"structure"` // contains filtered or unexported fields }
Describes the status of an instance.
func (InstanceStatus) String ¶
func (s InstanceStatus) String() string
String returns the string representation
type InstanceStatusDetails ¶
type InstanceStatusDetails struct { // The time when a status check failed. For an instance that was launched and // impaired, this is the time when the instance was launched. ImpairedSince *time.Time `locationName:"impairedSince" type:"timestamp"` // The type of instance status. Name StatusName `locationName:"name" type:"string" enum:"true"` // The status. Status StatusType `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the instance status.
func (InstanceStatusDetails) String ¶
func (s InstanceStatusDetails) String() string
String returns the string representation
type InstanceStatusEvent ¶
type InstanceStatusEvent struct { // The event code. Code EventCode `locationName:"code" type:"string" enum:"true"` // A description of the event. // // After a scheduled event is completed, it can still be described for up to // a week. If the event has been completed, this description starts with the // following text: [Completed]. Description *string `locationName:"description" type:"string"` // The ID of the event. InstanceEventId *string `locationName:"instanceEventId" type:"string"` // The latest scheduled end time for the event. NotAfter *time.Time `locationName:"notAfter" type:"timestamp"` // The earliest scheduled start time for the event. NotBefore *time.Time `locationName:"notBefore" type:"timestamp"` // The deadline for starting the event. NotBeforeDeadline *time.Time `locationName:"notBeforeDeadline" type:"timestamp"` // contains filtered or unexported fields }
Describes a scheduled event for an instance.
func (InstanceStatusEvent) String ¶
func (s InstanceStatusEvent) String() string
String returns the string representation
type InstanceStatusSummary ¶
type InstanceStatusSummary struct { // The system instance health or application instance health. Details []InstanceStatusDetails `locationName:"details" locationNameList:"item" type:"list"` // The status. Status SummaryStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the status of an instance.
func (InstanceStatusSummary) String ¶
func (s InstanceStatusSummary) String() string
String returns the string representation
type InstanceType ¶
type InstanceType string
const ( InstanceTypeT1Micro InstanceType = "t1.micro" InstanceTypeT2Nano InstanceType = "t2.nano" InstanceTypeT2Micro InstanceType = "t2.micro" InstanceTypeT2Small InstanceType = "t2.small" InstanceTypeT2Medium InstanceType = "t2.medium" InstanceTypeT2Large InstanceType = "t2.large" InstanceTypeT2Xlarge InstanceType = "t2.xlarge" InstanceTypeT22xlarge InstanceType = "t2.2xlarge" InstanceTypeT3Nano InstanceType = "t3.nano" InstanceTypeT3Micro InstanceType = "t3.micro" InstanceTypeT3Small InstanceType = "t3.small" InstanceTypeT3Medium InstanceType = "t3.medium" InstanceTypeT3Large InstanceType = "t3.large" InstanceTypeT3Xlarge InstanceType = "t3.xlarge" InstanceTypeT32xlarge InstanceType = "t3.2xlarge" InstanceTypeT3aNano InstanceType = "t3a.nano" InstanceTypeT3aMicro InstanceType = "t3a.micro" InstanceTypeT3aSmall InstanceType = "t3a.small" InstanceTypeT3aMedium InstanceType = "t3a.medium" InstanceTypeT3aLarge InstanceType = "t3a.large" InstanceTypeT3aXlarge InstanceType = "t3a.xlarge" InstanceTypeT3a2xlarge InstanceType = "t3a.2xlarge" InstanceTypeM1Small InstanceType = "m1.small" InstanceTypeM1Medium InstanceType = "m1.medium" InstanceTypeM1Large InstanceType = "m1.large" InstanceTypeM1Xlarge InstanceType = "m1.xlarge" InstanceTypeM3Medium InstanceType = "m3.medium" InstanceTypeM3Large InstanceType = "m3.large" InstanceTypeM3Xlarge InstanceType = "m3.xlarge" InstanceTypeM32xlarge InstanceType = "m3.2xlarge" InstanceTypeM4Large InstanceType = "m4.large" InstanceTypeM4Xlarge InstanceType = "m4.xlarge" InstanceTypeM42xlarge InstanceType = "m4.2xlarge" InstanceTypeM44xlarge InstanceType = "m4.4xlarge" InstanceTypeM410xlarge InstanceType = "m4.10xlarge" InstanceTypeM416xlarge InstanceType = "m4.16xlarge" InstanceTypeM2Xlarge InstanceType = "m2.xlarge" InstanceTypeM22xlarge InstanceType = "m2.2xlarge" InstanceTypeM24xlarge InstanceType = "m2.4xlarge" InstanceTypeCr18xlarge InstanceType = "cr1.8xlarge" InstanceTypeR3Large InstanceType = "r3.large" InstanceTypeR3Xlarge InstanceType = "r3.xlarge" InstanceTypeR32xlarge InstanceType = "r3.2xlarge" InstanceTypeR34xlarge InstanceType = "r3.4xlarge" InstanceTypeR38xlarge InstanceType = "r3.8xlarge" InstanceTypeR4Large InstanceType = "r4.large" InstanceTypeR4Xlarge InstanceType = "r4.xlarge" InstanceTypeR42xlarge InstanceType = "r4.2xlarge" InstanceTypeR44xlarge InstanceType = "r4.4xlarge" InstanceTypeR48xlarge InstanceType = "r4.8xlarge" InstanceTypeR416xlarge InstanceType = "r4.16xlarge" InstanceTypeR5Large InstanceType = "r5.large" InstanceTypeR5Xlarge InstanceType = "r5.xlarge" InstanceTypeR52xlarge InstanceType = "r5.2xlarge" InstanceTypeR54xlarge InstanceType = "r5.4xlarge" InstanceTypeR58xlarge InstanceType = "r5.8xlarge" InstanceTypeR512xlarge InstanceType = "r5.12xlarge" InstanceTypeR516xlarge InstanceType = "r5.16xlarge" InstanceTypeR524xlarge InstanceType = "r5.24xlarge" InstanceTypeR5Metal InstanceType = "r5.metal" InstanceTypeR5aLarge InstanceType = "r5a.large" InstanceTypeR5aXlarge InstanceType = "r5a.xlarge" InstanceTypeR5a2xlarge InstanceType = "r5a.2xlarge" InstanceTypeR5a4xlarge InstanceType = "r5a.4xlarge" InstanceTypeR5a8xlarge InstanceType = "r5a.8xlarge" InstanceTypeR5a12xlarge InstanceType = "r5a.12xlarge" InstanceTypeR5a16xlarge InstanceType = "r5a.16xlarge" InstanceTypeR5a24xlarge InstanceType = "r5a.24xlarge" InstanceTypeR5dLarge InstanceType = "r5d.large" InstanceTypeR5dXlarge InstanceType = "r5d.xlarge" InstanceTypeR5d2xlarge InstanceType = "r5d.2xlarge" InstanceTypeR5d4xlarge InstanceType = "r5d.4xlarge" InstanceTypeR5d8xlarge InstanceType = "r5d.8xlarge" InstanceTypeR5d12xlarge InstanceType = "r5d.12xlarge" InstanceTypeR5d16xlarge InstanceType = "r5d.16xlarge" InstanceTypeR5d24xlarge InstanceType = "r5d.24xlarge" InstanceTypeR5dMetal InstanceType = "r5d.metal" InstanceTypeR5adLarge InstanceType = "r5ad.large" InstanceTypeR5adXlarge InstanceType = "r5ad.xlarge" InstanceTypeR5ad2xlarge InstanceType = "r5ad.2xlarge" InstanceTypeR5ad4xlarge InstanceType = "r5ad.4xlarge" InstanceTypeR5ad8xlarge InstanceType = "r5ad.8xlarge" InstanceTypeR5ad12xlarge InstanceType = "r5ad.12xlarge" InstanceTypeR5ad16xlarge InstanceType = "r5ad.16xlarge" InstanceTypeR5ad24xlarge InstanceType = "r5ad.24xlarge" InstanceTypeX116xlarge InstanceType = "x1.16xlarge" InstanceTypeX132xlarge InstanceType = "x1.32xlarge" InstanceTypeX1eXlarge InstanceType = "x1e.xlarge" InstanceTypeX1e2xlarge InstanceType = "x1e.2xlarge" InstanceTypeX1e4xlarge InstanceType = "x1e.4xlarge" InstanceTypeX1e8xlarge InstanceType = "x1e.8xlarge" InstanceTypeX1e16xlarge InstanceType = "x1e.16xlarge" InstanceTypeX1e32xlarge InstanceType = "x1e.32xlarge" InstanceTypeI2Xlarge InstanceType = "i2.xlarge" InstanceTypeI22xlarge InstanceType = "i2.2xlarge" InstanceTypeI24xlarge InstanceType = "i2.4xlarge" InstanceTypeI28xlarge InstanceType = "i2.8xlarge" InstanceTypeI3Large InstanceType = "i3.large" InstanceTypeI3Xlarge InstanceType = "i3.xlarge" InstanceTypeI32xlarge InstanceType = "i3.2xlarge" InstanceTypeI34xlarge InstanceType = "i3.4xlarge" InstanceTypeI38xlarge InstanceType = "i3.8xlarge" InstanceTypeI316xlarge InstanceType = "i3.16xlarge" InstanceTypeI3Metal InstanceType = "i3.metal" InstanceTypeI3enLarge InstanceType = "i3en.large" InstanceTypeI3enXlarge InstanceType = "i3en.xlarge" InstanceTypeI3en2xlarge InstanceType = "i3en.2xlarge" InstanceTypeI3en3xlarge InstanceType = "i3en.3xlarge" InstanceTypeI3en6xlarge InstanceType = "i3en.6xlarge" InstanceTypeI3en12xlarge InstanceType = "i3en.12xlarge" InstanceTypeI3en24xlarge InstanceType = "i3en.24xlarge" InstanceTypeI3enMetal InstanceType = "i3en.metal" InstanceTypeHi14xlarge InstanceType = "hi1.4xlarge" InstanceTypeHs18xlarge InstanceType = "hs1.8xlarge" InstanceTypeC1Medium InstanceType = "c1.medium" InstanceTypeC1Xlarge InstanceType = "c1.xlarge" InstanceTypeC3Large InstanceType = "c3.large" InstanceTypeC3Xlarge InstanceType = "c3.xlarge" InstanceTypeC32xlarge InstanceType = "c3.2xlarge" InstanceTypeC34xlarge InstanceType = "c3.4xlarge" InstanceTypeC38xlarge InstanceType = "c3.8xlarge" InstanceTypeC4Large InstanceType = "c4.large" InstanceTypeC4Xlarge InstanceType = "c4.xlarge" InstanceTypeC42xlarge InstanceType = "c4.2xlarge" InstanceTypeC44xlarge InstanceType = "c4.4xlarge" InstanceTypeC48xlarge InstanceType = "c4.8xlarge" InstanceTypeC5Large InstanceType = "c5.large" InstanceTypeC5Xlarge InstanceType = "c5.xlarge" InstanceTypeC52xlarge InstanceType = "c5.2xlarge" InstanceTypeC54xlarge InstanceType = "c5.4xlarge" InstanceTypeC59xlarge InstanceType = "c5.9xlarge" InstanceTypeC512xlarge InstanceType = "c5.12xlarge" InstanceTypeC518xlarge InstanceType = "c5.18xlarge" InstanceTypeC524xlarge InstanceType = "c5.24xlarge" InstanceTypeC5Metal InstanceType = "c5.metal" InstanceTypeC5dLarge InstanceType = "c5d.large" InstanceTypeC5dXlarge InstanceType = "c5d.xlarge" InstanceTypeC5d2xlarge InstanceType = "c5d.2xlarge" InstanceTypeC5d4xlarge InstanceType = "c5d.4xlarge" InstanceTypeC5d9xlarge InstanceType = "c5d.9xlarge" InstanceTypeC5d18xlarge InstanceType = "c5d.18xlarge" InstanceTypeC5nLarge InstanceType = "c5n.large" InstanceTypeC5nXlarge InstanceType = "c5n.xlarge" InstanceTypeC5n2xlarge InstanceType = "c5n.2xlarge" InstanceTypeC5n4xlarge InstanceType = "c5n.4xlarge" InstanceTypeC5n9xlarge InstanceType = "c5n.9xlarge" InstanceTypeC5n18xlarge InstanceType = "c5n.18xlarge" InstanceTypeCc14xlarge InstanceType = "cc1.4xlarge" InstanceTypeCc28xlarge InstanceType = "cc2.8xlarge" InstanceTypeG22xlarge InstanceType = "g2.2xlarge" InstanceTypeG28xlarge InstanceType = "g2.8xlarge" InstanceTypeG34xlarge InstanceType = "g3.4xlarge" InstanceTypeG38xlarge InstanceType = "g3.8xlarge" InstanceTypeG316xlarge InstanceType = "g3.16xlarge" InstanceTypeG3sXlarge InstanceType = "g3s.xlarge" InstanceTypeG4dnXlarge InstanceType = "g4dn.xlarge" InstanceTypeG4dn2xlarge InstanceType = "g4dn.2xlarge" InstanceTypeG4dn4xlarge InstanceType = "g4dn.4xlarge" InstanceTypeG4dn8xlarge InstanceType = "g4dn.8xlarge" InstanceTypeG4dn12xlarge InstanceType = "g4dn.12xlarge" InstanceTypeG4dn16xlarge InstanceType = "g4dn.16xlarge" InstanceTypeCg14xlarge InstanceType = "cg1.4xlarge" InstanceTypeP2Xlarge InstanceType = "p2.xlarge" InstanceTypeP28xlarge InstanceType = "p2.8xlarge" InstanceTypeP216xlarge InstanceType = "p2.16xlarge" InstanceTypeP32xlarge InstanceType = "p3.2xlarge" InstanceTypeP38xlarge InstanceType = "p3.8xlarge" InstanceTypeP316xlarge InstanceType = "p3.16xlarge" InstanceTypeP3dn24xlarge InstanceType = "p3dn.24xlarge" InstanceTypeD2Xlarge InstanceType = "d2.xlarge" InstanceTypeD22xlarge InstanceType = "d2.2xlarge" InstanceTypeD24xlarge InstanceType = "d2.4xlarge" InstanceTypeD28xlarge InstanceType = "d2.8xlarge" InstanceTypeF12xlarge InstanceType = "f1.2xlarge" InstanceTypeF14xlarge InstanceType = "f1.4xlarge" InstanceTypeF116xlarge InstanceType = "f1.16xlarge" InstanceTypeM5Large InstanceType = "m5.large" InstanceTypeM5Xlarge InstanceType = "m5.xlarge" InstanceTypeM52xlarge InstanceType = "m5.2xlarge" InstanceTypeM54xlarge InstanceType = "m5.4xlarge" InstanceTypeM58xlarge InstanceType = "m5.8xlarge" InstanceTypeM512xlarge InstanceType = "m5.12xlarge" InstanceTypeM516xlarge InstanceType = "m5.16xlarge" InstanceTypeM524xlarge InstanceType = "m5.24xlarge" InstanceTypeM5Metal InstanceType = "m5.metal" InstanceTypeM5aLarge InstanceType = "m5a.large" InstanceTypeM5aXlarge InstanceType = "m5a.xlarge" InstanceTypeM5a2xlarge InstanceType = "m5a.2xlarge" InstanceTypeM5a4xlarge InstanceType = "m5a.4xlarge" InstanceTypeM5a8xlarge InstanceType = "m5a.8xlarge" InstanceTypeM5a12xlarge InstanceType = "m5a.12xlarge" InstanceTypeM5a16xlarge InstanceType = "m5a.16xlarge" InstanceTypeM5a24xlarge InstanceType = "m5a.24xlarge" InstanceTypeM5dLarge InstanceType = "m5d.large" InstanceTypeM5dXlarge InstanceType = "m5d.xlarge" InstanceTypeM5d2xlarge InstanceType = "m5d.2xlarge" InstanceTypeM5d4xlarge InstanceType = "m5d.4xlarge" InstanceTypeM5d8xlarge InstanceType = "m5d.8xlarge" InstanceTypeM5d12xlarge InstanceType = "m5d.12xlarge" InstanceTypeM5d16xlarge InstanceType = "m5d.16xlarge" InstanceTypeM5d24xlarge InstanceType = "m5d.24xlarge" InstanceTypeM5dMetal InstanceType = "m5d.metal" InstanceTypeM5adLarge InstanceType = "m5ad.large" InstanceTypeM5adXlarge InstanceType = "m5ad.xlarge" InstanceTypeM5ad2xlarge InstanceType = "m5ad.2xlarge" InstanceTypeM5ad4xlarge InstanceType = "m5ad.4xlarge" InstanceTypeM5ad8xlarge InstanceType = "m5ad.8xlarge" InstanceTypeM5ad12xlarge InstanceType = "m5ad.12xlarge" InstanceTypeM5ad16xlarge InstanceType = "m5ad.16xlarge" InstanceTypeM5ad24xlarge InstanceType = "m5ad.24xlarge" InstanceTypeH12xlarge InstanceType = "h1.2xlarge" InstanceTypeH14xlarge InstanceType = "h1.4xlarge" InstanceTypeH18xlarge InstanceType = "h1.8xlarge" InstanceTypeH116xlarge InstanceType = "h1.16xlarge" InstanceTypeZ1dLarge InstanceType = "z1d.large" InstanceTypeZ1dXlarge InstanceType = "z1d.xlarge" InstanceTypeZ1d2xlarge InstanceType = "z1d.2xlarge" InstanceTypeZ1d3xlarge InstanceType = "z1d.3xlarge" InstanceTypeZ1d6xlarge InstanceType = "z1d.6xlarge" InstanceTypeZ1d12xlarge InstanceType = "z1d.12xlarge" InstanceTypeZ1dMetal InstanceType = "z1d.metal" InstanceTypeU6tb1Metal InstanceType = "u-6tb1.metal" InstanceTypeU9tb1Metal InstanceType = "u-9tb1.metal" InstanceTypeU12tb1Metal InstanceType = "u-12tb1.metal" InstanceTypeA1Medium InstanceType = "a1.medium" InstanceTypeA1Large InstanceType = "a1.large" InstanceTypeA1Xlarge InstanceType = "a1.xlarge" InstanceTypeA12xlarge InstanceType = "a1.2xlarge" InstanceTypeA14xlarge InstanceType = "a1.4xlarge" )
Enum values for InstanceType
func (InstanceType) MarshalValue ¶ added in v0.3.0
func (enum InstanceType) MarshalValue() (string, error)
func (InstanceType) MarshalValueBuf ¶ added in v0.3.0
func (enum InstanceType) MarshalValueBuf(b []byte) ([]byte, error)
type InstanceUsage ¶ added in v0.11.0
type InstanceUsage struct { // The ID of the AWS account that is making use of the Capacity Reservation. AccountId *string `locationName:"accountId" type:"string"` // The number of instances the AWS account currently has in the Capacity Reservation. UsedInstanceCount *int64 `locationName:"usedInstanceCount" type:"integer"` // contains filtered or unexported fields }
Information about the Capacity Reservation usage.
func (InstanceUsage) String ¶ added in v0.11.0
func (s InstanceUsage) String() string
String returns the string representation
type InterfacePermissionType ¶
type InterfacePermissionType string
const ( InterfacePermissionTypeInstanceAttach InterfacePermissionType = "INSTANCE-ATTACH" InterfacePermissionTypeEipAssociate InterfacePermissionType = "EIP-ASSOCIATE" )
Enum values for InterfacePermissionType
func (InterfacePermissionType) MarshalValue ¶ added in v0.3.0
func (enum InterfacePermissionType) MarshalValue() (string, error)
func (InterfacePermissionType) MarshalValueBuf ¶ added in v0.3.0
func (enum InterfacePermissionType) MarshalValueBuf(b []byte) ([]byte, error)
type InternetGateway ¶
type InternetGateway struct { // Any VPCs attached to the internet gateway. Attachments []InternetGatewayAttachment `locationName:"attachmentSet" locationNameList:"item" type:"list"` // The ID of the internet gateway. InternetGatewayId *string `locationName:"internetGatewayId" type:"string"` // The ID of the AWS account that owns the internet gateway. OwnerId *string `locationName:"ownerId" type:"string"` // Any tags assigned to the internet gateway. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes an internet gateway.
func (InternetGateway) String ¶
func (s InternetGateway) String() string
String returns the string representation
type InternetGatewayAttachment ¶
type InternetGatewayAttachment struct { // The current state of the attachment. For an internet gateway, the state is // available when attached to a VPC; otherwise, this value is not returned. State AttachmentStatus `locationName:"state" type:"string" enum:"true"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes the attachment of a VPC to an internet gateway or an egress-only internet gateway.
func (InternetGatewayAttachment) String ¶
func (s InternetGatewayAttachment) String() string
String returns the string representation
type IpPermission ¶
type IpPermission struct { // The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 // type number. A value of -1 indicates all ICMP/ICMPv6 types. If you specify // all ICMP/ICMPv6 types, you must specify all codes. FromPort *int64 `locationName:"fromPort" type:"integer"` // The IP protocol name (tcp, udp, icmp, icmpv6) or number (see Protocol Numbers // (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). // // [VPC only] Use -1 to specify all protocols. When authorizing security group // rules, specifying -1 or a protocol number other than tcp, udp, icmp, or icmpv6 // allows traffic on all ports, regardless of any port range you specify. For // tcp, udp, and icmp, you must specify a port range. For icmpv6, the port range // is optional; if you omit the port range, traffic for all types and codes // is allowed. IpProtocol *string `locationName:"ipProtocol" type:"string"` // The IPv4 ranges. IpRanges []IpRange `locationName:"ipRanges" locationNameList:"item" type:"list"` // [VPC only] The IPv6 ranges. Ipv6Ranges []Ipv6Range `locationName:"ipv6Ranges" locationNameList:"item" type:"list"` // [VPC only] The prefix list IDs for an AWS service. With outbound rules, this // is the AWS service to access through a VPC endpoint from instances associated // with the security group. PrefixListIds []PrefixListId `locationName:"prefixListIds" locationNameList:"item" type:"list"` // The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. // A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 // types, you must specify all codes. ToPort *int64 `locationName:"toPort" type:"integer"` // The security group and AWS account ID pairs. UserIdGroupPairs []UserIdGroupPair `locationName:"groups" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes a set of permissions for a security group rule.
func (IpPermission) String ¶
func (s IpPermission) String() string
String returns the string representation
type IpRange ¶
type IpRange struct { // The IPv4 CIDR range. You can either specify a CIDR range or a source security // group, not both. To specify a single IPv4 address, use the /32 prefix length. CidrIp *string `locationName:"cidrIp" type:"string"` // A description for the security group rule that references this IPv4 address // range. // // Constraints: Up to 255 characters in length. Allowed characters are a-z, // A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$* Description *string `locationName:"description" type:"string"` // contains filtered or unexported fields }
Describes an IPv4 range.
type Ipv6CidrBlock ¶
type Ipv6CidrBlock struct { // The IPv6 CIDR block. Ipv6CidrBlock *string `locationName:"ipv6CidrBlock" type:"string"` // contains filtered or unexported fields }
Describes an IPv6 CIDR block.
func (Ipv6CidrBlock) String ¶
func (s Ipv6CidrBlock) String() string
String returns the string representation
type Ipv6Range ¶
type Ipv6Range struct { // The IPv6 CIDR range. You can either specify a CIDR range or a source security // group, not both. To specify a single IPv6 address, use the /128 prefix length. CidrIpv6 *string `locationName:"cidrIpv6" type:"string"` // A description for the security group rule that references this IPv6 address // range. // // Constraints: Up to 255 characters in length. Allowed characters are a-z, // A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$* Description *string `locationName:"description" type:"string"` // contains filtered or unexported fields }
[EC2-VPC only] Describes an IPv6 range.
type Ipv6SupportValue ¶ added in v0.6.0
type Ipv6SupportValue string
const ( Ipv6SupportValueEnable Ipv6SupportValue = "enable" Ipv6SupportValueDisable Ipv6SupportValue = "disable" )
Enum values for Ipv6SupportValue
func (Ipv6SupportValue) MarshalValue ¶ added in v0.6.0
func (enum Ipv6SupportValue) MarshalValue() (string, error)
func (Ipv6SupportValue) MarshalValueBuf ¶ added in v0.6.0
func (enum Ipv6SupportValue) MarshalValueBuf(b []byte) ([]byte, error)
type KeyPairInfo ¶
type KeyPairInfo struct { // If you used CreateKeyPair to create the key pair, this is the SHA-1 digest // of the DER encoded private key. If you used ImportKeyPair to provide AWS // the public key, this is the MD5 public key fingerprint as specified in section // 4 of RFC4716. KeyFingerprint *string `locationName:"keyFingerprint" type:"string"` // The name of the key pair. KeyName *string `locationName:"keyName" type:"string"` // contains filtered or unexported fields }
Describes a key pair.
func (KeyPairInfo) String ¶
func (s KeyPairInfo) String() string
String returns the string representation
type LaunchPermission ¶
type LaunchPermission struct { // The name of the group. Group PermissionGroup `locationName:"group" type:"string" enum:"true"` // The AWS account ID. UserId *string `locationName:"userId" type:"string"` // contains filtered or unexported fields }
Describes a launch permission.
func (LaunchPermission) String ¶
func (s LaunchPermission) String() string
String returns the string representation
type LaunchPermissionModifications ¶
type LaunchPermissionModifications struct { // The AWS account ID to add to the list of launch permissions for the AMI. Add []LaunchPermission `locationNameList:"item" type:"list"` // The AWS account ID to remove from the list of launch permissions for the // AMI. Remove []LaunchPermission `locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes a launch permission modification.
func (LaunchPermissionModifications) String ¶
func (s LaunchPermissionModifications) String() string
String returns the string representation
type LaunchSpecification ¶
type LaunchSpecification struct { // Deprecated. AddressingType *string `locationName:"addressingType" type:"string"` // One or more block device mapping entries. BlockDeviceMappings []BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` // Indicates whether the instance is optimized for EBS I/O. This optimization // provides dedicated throughput to Amazon EBS and an optimized configuration // stack to provide optimal EBS I/O performance. This optimization isn't available // with all instance types. Additional usage charges apply when using an EBS // Optimized instance. // // Default: false EbsOptimized *bool `locationName:"ebsOptimized" type:"boolean"` // The IAM instance profile. IamInstanceProfile *IamInstanceProfileSpecification `locationName:"iamInstanceProfile" type:"structure"` // The ID of the AMI. ImageId *string `locationName:"imageId" type:"string"` // The instance type. InstanceType InstanceType `locationName:"instanceType" type:"string" enum:"true"` // The ID of the kernel. KernelId *string `locationName:"kernelId" type:"string"` // The name of the key pair. KeyName *string `locationName:"keyName" type:"string"` // Describes the monitoring of an instance. Monitoring *RunInstancesMonitoringEnabled `locationName:"monitoring" type:"structure"` // One or more network interfaces. If you specify a network interface, you must // specify subnet IDs and security group IDs using the network interface. NetworkInterfaces []InstanceNetworkInterfaceSpecification `locationName:"networkInterfaceSet" locationNameList:"item" type:"list"` // The placement information for the instance. Placement *SpotPlacement `locationName:"placement" type:"structure"` // The ID of the RAM disk. RamdiskId *string `locationName:"ramdiskId" type:"string"` // One or more security groups. When requesting instances in a VPC, you must // specify the IDs of the security groups. When requesting instances in EC2-Classic, // you can specify the names or the IDs of the security groups. SecurityGroups []GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` // The ID of the subnet in which to launch the instance. SubnetId *string `locationName:"subnetId" type:"string"` // The Base64-encoded user data for the instance. UserData *string `locationName:"userData" type:"string"` // contains filtered or unexported fields }
Describes the launch specification for an instance.
func (LaunchSpecification) String ¶
func (s LaunchSpecification) String() string
String returns the string representation
type LaunchTemplate ¶ added in v0.2.0
type LaunchTemplate struct { // The time launch template was created. CreateTime *time.Time `locationName:"createTime" type:"timestamp"` // The principal that created the launch template. CreatedBy *string `locationName:"createdBy" type:"string"` // The version number of the default version of the launch template. DefaultVersionNumber *int64 `locationName:"defaultVersionNumber" type:"long"` // The version number of the latest version of the launch template. LatestVersionNumber *int64 `locationName:"latestVersionNumber" type:"long"` // The ID of the launch template. LaunchTemplateId *string `locationName:"launchTemplateId" type:"string"` // The name of the launch template. LaunchTemplateName *string `locationName:"launchTemplateName" min:"3" type:"string"` // The tags for the launch template. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes a launch template.
func (LaunchTemplate) String ¶ added in v0.2.0
func (s LaunchTemplate) String() string
String returns the string representation
type LaunchTemplateAndOverridesResponse ¶ added in v0.6.0
type LaunchTemplateAndOverridesResponse struct { // The launch template. LaunchTemplateSpecification *FleetLaunchTemplateSpecification `locationName:"launchTemplateSpecification" type:"structure"` // Any parameters that you specify override the same parameters in the launch // template. Overrides *FleetLaunchTemplateOverrides `locationName:"overrides" type:"structure"` // contains filtered or unexported fields }
Describes a launch template and overrides.
func (LaunchTemplateAndOverridesResponse) String ¶ added in v0.6.0
func (s LaunchTemplateAndOverridesResponse) String() string
String returns the string representation
type LaunchTemplateBlockDeviceMapping ¶ added in v0.2.0
type LaunchTemplateBlockDeviceMapping struct { // The device name. DeviceName *string `locationName:"deviceName" type:"string"` // Information about the block device for an EBS volume. Ebs *LaunchTemplateEbsBlockDevice `locationName:"ebs" type:"structure"` // Suppresses the specified device included in the block device mapping of the // AMI. NoDevice *string `locationName:"noDevice" type:"string"` // The virtual device name (ephemeralN). VirtualName *string `locationName:"virtualName" type:"string"` // contains filtered or unexported fields }
Describes a block device mapping.
func (LaunchTemplateBlockDeviceMapping) String ¶ added in v0.2.0
func (s LaunchTemplateBlockDeviceMapping) String() string
String returns the string representation
type LaunchTemplateBlockDeviceMappingRequest ¶ added in v0.2.0
type LaunchTemplateBlockDeviceMappingRequest struct { // The device name (for example, /dev/sdh or xvdh). DeviceName *string `type:"string"` // Parameters used to automatically set up EBS volumes when the instance is // launched. Ebs *LaunchTemplateEbsBlockDeviceRequest `type:"structure"` // Suppresses the specified device included in the block device mapping of the // AMI. NoDevice *string `type:"string"` // The virtual device name (ephemeralN). Instance store volumes are numbered // starting from 0. An instance type with 2 available instance store volumes // can specify mappings for ephemeral0 and ephemeral1. The number of available // instance store volumes depends on the instance type. After you connect to // the instance, you must mount the volume. VirtualName *string `type:"string"` // contains filtered or unexported fields }
Describes a block device mapping.
func (LaunchTemplateBlockDeviceMappingRequest) String ¶ added in v0.2.0
func (s LaunchTemplateBlockDeviceMappingRequest) String() string
String returns the string representation
type LaunchTemplateCapacityReservationSpecificationRequest ¶ added in v0.6.0
type LaunchTemplateCapacityReservationSpecificationRequest struct { // Indicates the instance's Capacity Reservation preferences. Possible preferences // include: // // * open - The instance can run in any open Capacity Reservation that has // matching attributes (instance type, platform, Availability Zone). // // * none - The instance avoids running in a Capacity Reservation even if // one is available. The instance runs in On-Demand capacity. CapacityReservationPreference CapacityReservationPreference `type:"string" enum:"true"` // Information about the target Capacity Reservation. CapacityReservationTarget *CapacityReservationTarget `type:"structure"` // contains filtered or unexported fields }
Describes an instance's Capacity Reservation targeting option. You can specify only one option at a time. Use the CapacityReservationPreference parameter to configure the instance to run in On-Demand capacity or to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). Use the CapacityReservationTarget parameter to explicitly target a specific Capacity Reservation.
func (LaunchTemplateCapacityReservationSpecificationRequest) String ¶ added in v0.6.0
func (s LaunchTemplateCapacityReservationSpecificationRequest) String() string
String returns the string representation
type LaunchTemplateCapacityReservationSpecificationResponse ¶ added in v0.6.0
type LaunchTemplateCapacityReservationSpecificationResponse struct { // Indicates the instance's Capacity Reservation preferences. Possible preferences // include: // // * open - The instance can run in any open Capacity Reservation that has // matching attributes (instance type, platform, Availability Zone). // // * none - The instance avoids running in a Capacity Reservation even if // one is available. The instance runs in On-Demand capacity. CapacityReservationPreference CapacityReservationPreference `locationName:"capacityReservationPreference" type:"string" enum:"true"` // Information about the target Capacity Reservation. CapacityReservationTarget *CapacityReservationTargetResponse `locationName:"capacityReservationTarget" type:"structure"` // contains filtered or unexported fields }
Information about the Capacity Reservation targeting option.
func (LaunchTemplateCapacityReservationSpecificationResponse) String ¶ added in v0.6.0
func (s LaunchTemplateCapacityReservationSpecificationResponse) String() string
String returns the string representation
type LaunchTemplateConfig ¶ added in v0.2.0
type LaunchTemplateConfig struct { // The launch template. LaunchTemplateSpecification *FleetLaunchTemplateSpecification `locationName:"launchTemplateSpecification" type:"structure"` // Any parameters that you specify override the same parameters in the launch // template. Overrides []LaunchTemplateOverrides `locationName:"overrides" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes a launch template and overrides.
func (LaunchTemplateConfig) String ¶ added in v0.2.0
func (s LaunchTemplateConfig) String() string
String returns the string representation
func (*LaunchTemplateConfig) Validate ¶ added in v0.2.0
func (s *LaunchTemplateConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LaunchTemplateCpuOptions ¶ added in v0.5.0
type LaunchTemplateCpuOptions struct { // The number of CPU cores for the instance. CoreCount *int64 `locationName:"coreCount" type:"integer"` // The number of threads per CPU core. ThreadsPerCore *int64 `locationName:"threadsPerCore" type:"integer"` // contains filtered or unexported fields }
The CPU options for the instance.
func (LaunchTemplateCpuOptions) String ¶ added in v0.5.0
func (s LaunchTemplateCpuOptions) String() string
String returns the string representation
type LaunchTemplateCpuOptionsRequest ¶ added in v0.5.0
type LaunchTemplateCpuOptionsRequest struct { // The number of CPU cores for the instance. CoreCount *int64 `type:"integer"` // The number of threads per CPU core. To disable multithreading for the instance, // specify a value of 1. Otherwise, specify the default value of 2. ThreadsPerCore *int64 `type:"integer"` // contains filtered or unexported fields }
The CPU options for the instance. Both the core count and threads per core must be specified in the request.
func (LaunchTemplateCpuOptionsRequest) String ¶ added in v0.5.0
func (s LaunchTemplateCpuOptionsRequest) String() string
String returns the string representation
type LaunchTemplateEbsBlockDevice ¶ added in v0.2.0
type LaunchTemplateEbsBlockDevice struct { // Indicates whether the EBS volume is deleted on instance termination. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` // Indicates whether the EBS volume is encrypted. Encrypted *bool `locationName:"encrypted" type:"boolean"` // The number of I/O operations per second (IOPS) that the volume supports. Iops *int64 `locationName:"iops" type:"integer"` // The ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The ID of the snapshot. SnapshotId *string `locationName:"snapshotId" type:"string"` // The size of the volume, in GiB. VolumeSize *int64 `locationName:"volumeSize" type:"integer"` // The volume type. VolumeType VolumeType `locationName:"volumeType" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a block device for an EBS volume.
func (LaunchTemplateEbsBlockDevice) String ¶ added in v0.2.0
func (s LaunchTemplateEbsBlockDevice) String() string
String returns the string representation
type LaunchTemplateEbsBlockDeviceRequest ¶ added in v0.2.0
type LaunchTemplateEbsBlockDeviceRequest struct { // Indicates whether the EBS volume is deleted on instance termination. DeleteOnTermination *bool `type:"boolean"` // Indicates whether the EBS volume is encrypted. Encrypted volumes can only // be attached to instances that support Amazon EBS encryption. If you are creating // a volume from a snapshot, you can't specify an encryption value. Encrypted *bool `type:"boolean"` // The number of I/O operations per second (IOPS) that the volume supports. // For io1, this represents the number of IOPS that are provisioned for the // volume. For gp2, this represents the baseline performance of the volume and // the rate at which the volume accumulates I/O credits for bursting. For more // information about General Purpose SSD baseline performance, I/O credits, // and bursting, see Amazon EBS Volume Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) // in the Amazon Elastic Compute Cloud User Guide. // // Condition: This parameter is required for requests to create io1 volumes; // it is not used in requests to create gp2, st1, sc1, or standard volumes. Iops *int64 `type:"integer"` // The ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption. KmsKeyId *string `type:"string"` // The ID of the snapshot. SnapshotId *string `type:"string"` // The size of the volume, in GiB. // // Default: If you're creating the volume from a snapshot and don't specify // a volume size, the default is the snapshot size. VolumeSize *int64 `type:"integer"` // The volume type. VolumeType VolumeType `type:"string" enum:"true"` // contains filtered or unexported fields }
The parameters for a block device for an EBS volume.
func (LaunchTemplateEbsBlockDeviceRequest) String ¶ added in v0.2.0
func (s LaunchTemplateEbsBlockDeviceRequest) String() string
String returns the string representation
type LaunchTemplateElasticInferenceAccelerator ¶ added in v0.6.0
type LaunchTemplateElasticInferenceAccelerator struct { // The type of elastic inference accelerator. The possible values are eia1.medium, // eia1.large, and eia1.xlarge. // // Type is a required field Type *string `type:"string" required:"true"` // contains filtered or unexported fields }
Describes an elastic inference accelerator.
func (LaunchTemplateElasticInferenceAccelerator) String ¶ added in v0.6.0
func (s LaunchTemplateElasticInferenceAccelerator) String() string
String returns the string representation
func (*LaunchTemplateElasticInferenceAccelerator) Validate ¶ added in v0.6.0
func (s *LaunchTemplateElasticInferenceAccelerator) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LaunchTemplateElasticInferenceAcceleratorResponse ¶ added in v0.6.0
type LaunchTemplateElasticInferenceAcceleratorResponse struct { // The type of elastic inference accelerator. The possible values are eia1.medium, // eia1.large, and eia1.xlarge. Type *string `locationName:"type" type:"string"` // contains filtered or unexported fields }
Describes an elastic inference accelerator.
func (LaunchTemplateElasticInferenceAcceleratorResponse) String ¶ added in v0.6.0
func (s LaunchTemplateElasticInferenceAcceleratorResponse) String() string
String returns the string representation
type LaunchTemplateErrorCode ¶ added in v0.2.0
type LaunchTemplateErrorCode string
const ( LaunchTemplateErrorCodeLaunchTemplateIdDoesNotExist LaunchTemplateErrorCode = "launchTemplateIdDoesNotExist" LaunchTemplateErrorCodeLaunchTemplateIdMalformed LaunchTemplateErrorCode = "launchTemplateIdMalformed" LaunchTemplateErrorCodeLaunchTemplateNameDoesNotExist LaunchTemplateErrorCode = "launchTemplateNameDoesNotExist" LaunchTemplateErrorCodeLaunchTemplateNameMalformed LaunchTemplateErrorCode = "launchTemplateNameMalformed" LaunchTemplateErrorCodeLaunchTemplateVersionDoesNotExist LaunchTemplateErrorCode = "launchTemplateVersionDoesNotExist" LaunchTemplateErrorCodeUnexpectedError LaunchTemplateErrorCode = "unexpectedError" )
Enum values for LaunchTemplateErrorCode
func (LaunchTemplateErrorCode) MarshalValue ¶ added in v0.3.0
func (enum LaunchTemplateErrorCode) MarshalValue() (string, error)
func (LaunchTemplateErrorCode) MarshalValueBuf ¶ added in v0.3.0
func (enum LaunchTemplateErrorCode) MarshalValueBuf(b []byte) ([]byte, error)
type LaunchTemplateHibernationOptions ¶ added in v0.6.0
type LaunchTemplateHibernationOptions struct { // If this parameter is set to true, the instance is enabled for hibernation; // otherwise, it is not enabled for hibernation. Configured *bool `locationName:"configured" type:"boolean"` // contains filtered or unexported fields }
Indicates whether an instance is configured for hibernation.
func (LaunchTemplateHibernationOptions) String ¶ added in v0.6.0
func (s LaunchTemplateHibernationOptions) String() string
String returns the string representation
type LaunchTemplateHibernationOptionsRequest ¶ added in v0.6.0
type LaunchTemplateHibernationOptionsRequest struct { // If you set this parameter to true, the instance is enabled for hibernation. // // Default: false Configured *bool `type:"boolean"` // contains filtered or unexported fields }
Indicates whether the instance is configured for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites). Hibernation is currently supported only for Amazon Linux.
func (LaunchTemplateHibernationOptionsRequest) String ¶ added in v0.6.0
func (s LaunchTemplateHibernationOptionsRequest) String() string
String returns the string representation
type LaunchTemplateIamInstanceProfileSpecification ¶ added in v0.2.0
type LaunchTemplateIamInstanceProfileSpecification struct { // The Amazon Resource Name (ARN) of the instance profile. Arn *string `locationName:"arn" type:"string"` // The name of the instance profile. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Describes an IAM instance profile.
func (LaunchTemplateIamInstanceProfileSpecification) String ¶ added in v0.2.0
func (s LaunchTemplateIamInstanceProfileSpecification) String() string
String returns the string representation
type LaunchTemplateIamInstanceProfileSpecificationRequest ¶ added in v0.2.0
type LaunchTemplateIamInstanceProfileSpecificationRequest struct { // The Amazon Resource Name (ARN) of the instance profile. Arn *string `type:"string"` // The name of the instance profile. Name *string `type:"string"` // contains filtered or unexported fields }
An IAM instance profile.
func (LaunchTemplateIamInstanceProfileSpecificationRequest) String ¶ added in v0.2.0
func (s LaunchTemplateIamInstanceProfileSpecificationRequest) String() string
String returns the string representation
type LaunchTemplateInstanceMarketOptions ¶ added in v0.2.0
type LaunchTemplateInstanceMarketOptions struct { // The market type. MarketType MarketType `locationName:"marketType" type:"string" enum:"true"` // The options for Spot Instances. SpotOptions *LaunchTemplateSpotMarketOptions `locationName:"spotOptions" type:"structure"` // contains filtered or unexported fields }
The market (purchasing) option for the instances.
func (LaunchTemplateInstanceMarketOptions) String ¶ added in v0.2.0
func (s LaunchTemplateInstanceMarketOptions) String() string
String returns the string representation
type LaunchTemplateInstanceMarketOptionsRequest ¶ added in v0.2.0
type LaunchTemplateInstanceMarketOptionsRequest struct { // The market type. MarketType MarketType `type:"string" enum:"true"` // The options for Spot Instances. SpotOptions *LaunchTemplateSpotMarketOptionsRequest `type:"structure"` // contains filtered or unexported fields }
The market (purchasing) option for the instances.
func (LaunchTemplateInstanceMarketOptionsRequest) String ¶ added in v0.2.0
func (s LaunchTemplateInstanceMarketOptionsRequest) String() string
String returns the string representation
type LaunchTemplateInstanceNetworkInterfaceSpecification ¶ added in v0.2.0
type LaunchTemplateInstanceNetworkInterfaceSpecification struct { // Indicates whether to associate a public IPv4 address with eth0 for a new // network interface. AssociatePublicIpAddress *bool `locationName:"associatePublicIpAddress" type:"boolean"` // Indicates whether the network interface is deleted when the instance is terminated. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` // A description for the network interface. Description *string `locationName:"description" type:"string"` // The device index for the network interface attachment. DeviceIndex *int64 `locationName:"deviceIndex" type:"integer"` // The IDs of one or more security groups. Groups []string `locationName:"groupSet" locationNameList:"groupId" type:"list"` // The type of network interface. InterfaceType *string `locationName:"interfaceType" type:"string"` // The number of IPv6 addresses for the network interface. Ipv6AddressCount *int64 `locationName:"ipv6AddressCount" type:"integer"` // The IPv6 addresses for the network interface. Ipv6Addresses []InstanceIpv6Address `locationName:"ipv6AddressesSet" locationNameList:"item" type:"list"` // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // The primary private IPv4 address of the network interface. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // One or more private IPv4 addresses. PrivateIpAddresses []PrivateIpAddressSpecification `locationName:"privateIpAddressesSet" locationNameList:"item" type:"list"` // The number of secondary private IPv4 addresses for the network interface. SecondaryPrivateIpAddressCount *int64 `locationName:"secondaryPrivateIpAddressCount" type:"integer"` // The ID of the subnet for the network interface. SubnetId *string `locationName:"subnetId" type:"string"` // contains filtered or unexported fields }
Describes a network interface.
func (LaunchTemplateInstanceNetworkInterfaceSpecification) String ¶ added in v0.2.0
func (s LaunchTemplateInstanceNetworkInterfaceSpecification) String() string
String returns the string representation
type LaunchTemplateInstanceNetworkInterfaceSpecificationRequest ¶ added in v0.2.0
type LaunchTemplateInstanceNetworkInterfaceSpecificationRequest struct { // Associates a public IPv4 address with eth0 for a new network interface. AssociatePublicIpAddress *bool `type:"boolean"` // Indicates whether the network interface is deleted when the instance is terminated. DeleteOnTermination *bool `type:"boolean"` // A description for the network interface. Description *string `type:"string"` // The device index for the network interface attachment. DeviceIndex *int64 `type:"integer"` // The IDs of one or more security groups. Groups []string `locationName:"SecurityGroupId" locationNameList:"SecurityGroupId" type:"list"` // The type of network interface. To create an Elastic Fabric Adapter (EFA), // specify efa. For more information, see Elastic Fabric Adapter (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html) // in the Amazon Elastic Compute Cloud User Guide. // // If you are not creating an EFA, specify interface or omit this parameter. // // Valid values: interface | efa InterfaceType *string `type:"string"` // The number of IPv6 addresses to assign to a network interface. Amazon EC2 // automatically selects the IPv6 addresses from the subnet range. You can't // use this option if specifying specific IPv6 addresses. Ipv6AddressCount *int64 `type:"integer"` // One or more specific IPv6 addresses from the IPv6 CIDR block range of your // subnet. You can't use this option if you're specifying a number of IPv6 addresses. Ipv6Addresses []InstanceIpv6AddressRequest `locationNameList:"InstanceIpv6Address" type:"list"` // The ID of the network interface. NetworkInterfaceId *string `type:"string"` // The primary private IPv4 address of the network interface. PrivateIpAddress *string `type:"string"` // One or more private IPv4 addresses. PrivateIpAddresses []PrivateIpAddressSpecification `locationNameList:"item" type:"list"` // The number of secondary private IPv4 addresses to assign to a network interface. SecondaryPrivateIpAddressCount *int64 `type:"integer"` // The ID of the subnet for the network interface. SubnetId *string `type:"string"` // contains filtered or unexported fields }
The parameters for a network interface.
func (LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) String ¶ added in v0.2.0
func (s LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) String() string
String returns the string representation
type LaunchTemplateLicenseConfiguration ¶ added in v0.6.0
type LaunchTemplateLicenseConfiguration struct { // The Amazon Resource Name (ARN) of the license configuration. LicenseConfigurationArn *string `locationName:"licenseConfigurationArn" type:"string"` // contains filtered or unexported fields }
Describes a license configuration.
func (LaunchTemplateLicenseConfiguration) String ¶ added in v0.6.0
func (s LaunchTemplateLicenseConfiguration) String() string
String returns the string representation
type LaunchTemplateLicenseConfigurationRequest ¶ added in v0.6.0
type LaunchTemplateLicenseConfigurationRequest struct { // The Amazon Resource Name (ARN) of the license configuration. LicenseConfigurationArn *string `type:"string"` // contains filtered or unexported fields }
Describes a license configuration.
func (LaunchTemplateLicenseConfigurationRequest) String ¶ added in v0.6.0
func (s LaunchTemplateLicenseConfigurationRequest) String() string
String returns the string representation
type LaunchTemplateOverrides ¶ added in v0.2.0
type LaunchTemplateOverrides struct { // The Availability Zone in which to launch the instances. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The instance type. InstanceType InstanceType `locationName:"instanceType" type:"string" enum:"true"` // The priority for the launch template override. If OnDemandAllocationStrategy // is set to prioritized, Spot Fleet uses priority to determine which launch // template override to use first in fulfilling On-Demand capacity. The highest // priority is launched first. Valid values are whole numbers starting at 0. // The lower the number, the higher the priority. If no number is set, the launch // template override has the lowest priority. Priority *float64 `locationName:"priority" type:"double"` // The maximum price per unit hour that you are willing to pay for a Spot Instance. SpotPrice *string `locationName:"spotPrice" type:"string"` // The ID of the subnet in which to launch the instances. SubnetId *string `locationName:"subnetId" type:"string"` // The number of units provided by the specified instance type. WeightedCapacity *float64 `locationName:"weightedCapacity" type:"double"` // contains filtered or unexported fields }
Describes overrides for a launch template.
func (LaunchTemplateOverrides) String ¶ added in v0.2.0
func (s LaunchTemplateOverrides) String() string
String returns the string representation
type LaunchTemplatePlacement ¶ added in v0.2.0
type LaunchTemplatePlacement struct { // The affinity setting for the instance on the Dedicated Host. Affinity *string `locationName:"affinity" type:"string"` // The Availability Zone of the instance. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The name of the placement group for the instance. GroupName *string `locationName:"groupName" type:"string"` // The ID of the Dedicated Host for the instance. HostId *string `locationName:"hostId" type:"string"` // Reserved for future use. SpreadDomain *string `locationName:"spreadDomain" type:"string"` // The tenancy of the instance (if the instance is running in a VPC). An instance // with a tenancy of dedicated runs on single-tenant hardware. Tenancy Tenancy `locationName:"tenancy" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the placement of an instance.
func (LaunchTemplatePlacement) String ¶ added in v0.2.0
func (s LaunchTemplatePlacement) String() string
String returns the string representation
type LaunchTemplatePlacementRequest ¶ added in v0.2.0
type LaunchTemplatePlacementRequest struct { // The affinity setting for an instance on a Dedicated Host. Affinity *string `type:"string"` // The Availability Zone for the instance. AvailabilityZone *string `type:"string"` // The name of the placement group for the instance. GroupName *string `type:"string"` // The ID of the Dedicated Host for the instance. HostId *string `type:"string"` // Reserved for future use. SpreadDomain *string `type:"string"` // The tenancy of the instance (if the instance is running in a VPC). An instance // with a tenancy of dedicated runs on single-tenant hardware. Tenancy Tenancy `type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the placement of an instance.
func (LaunchTemplatePlacementRequest) String ¶ added in v0.2.0
func (s LaunchTemplatePlacementRequest) String() string
String returns the string representation
type LaunchTemplateSpecification ¶ added in v0.2.0
type LaunchTemplateSpecification struct { // The ID of the launch template. LaunchTemplateId *string `type:"string"` // The name of the launch template. LaunchTemplateName *string `type:"string"` // The version number of the launch template. // // Default: The default version for the launch template. Version *string `type:"string"` // contains filtered or unexported fields }
The launch template to use. You must specify either the launch template ID or launch template name in the request, but not both.
func (LaunchTemplateSpecification) String ¶ added in v0.2.0
func (s LaunchTemplateSpecification) String() string
String returns the string representation
type LaunchTemplateSpotMarketOptions ¶ added in v0.2.0
type LaunchTemplateSpotMarketOptions struct { // The required duration for the Spot Instances (also known as Spot blocks), // in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, // or 360). BlockDurationMinutes *int64 `locationName:"blockDurationMinutes" type:"integer"` // The behavior when a Spot Instance is interrupted. InstanceInterruptionBehavior InstanceInterruptionBehavior `locationName:"instanceInterruptionBehavior" type:"string" enum:"true"` // The maximum hourly price you're willing to pay for the Spot Instances. MaxPrice *string `locationName:"maxPrice" type:"string"` // The Spot Instance request type. SpotInstanceType SpotInstanceType `locationName:"spotInstanceType" type:"string" enum:"true"` // The end date of the request. For a one-time request, the request remains // active until all instances launch, the request is canceled, or this date // is reached. If the request is persistent, it remains active until it is canceled // or this date and time is reached. ValidUntil *time.Time `locationName:"validUntil" type:"timestamp"` // contains filtered or unexported fields }
The options for Spot Instances.
func (LaunchTemplateSpotMarketOptions) String ¶ added in v0.2.0
func (s LaunchTemplateSpotMarketOptions) String() string
String returns the string representation
type LaunchTemplateSpotMarketOptionsRequest ¶ added in v0.2.0
type LaunchTemplateSpotMarketOptionsRequest struct { // The required duration for the Spot Instances (also known as Spot blocks), // in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, // or 360). BlockDurationMinutes *int64 `type:"integer"` // The behavior when a Spot Instance is interrupted. The default is terminate. InstanceInterruptionBehavior InstanceInterruptionBehavior `type:"string" enum:"true"` // The maximum hourly price you're willing to pay for the Spot Instances. MaxPrice *string `type:"string"` // The Spot Instance request type. SpotInstanceType SpotInstanceType `type:"string" enum:"true"` // The end date of the request. For a one-time request, the request remains // active until all instances launch, the request is canceled, or this date // is reached. If the request is persistent, it remains active until it is canceled // or this date and time is reached. The default end date is 7 days from the // current date. ValidUntil *time.Time `type:"timestamp"` // contains filtered or unexported fields }
The options for Spot Instances.
func (LaunchTemplateSpotMarketOptionsRequest) String ¶ added in v0.2.0
func (s LaunchTemplateSpotMarketOptionsRequest) String() string
String returns the string representation
type LaunchTemplateTagSpecification ¶ added in v0.2.0
type LaunchTemplateTagSpecification struct { // The type of resource. ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"` // The tags for the resource. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
The tag specification for the launch template.
func (LaunchTemplateTagSpecification) String ¶ added in v0.2.0
func (s LaunchTemplateTagSpecification) String() string
String returns the string representation
type LaunchTemplateTagSpecificationRequest ¶ added in v0.2.0
type LaunchTemplateTagSpecificationRequest struct { // The type of resource to tag. Currently, the resource types that support tagging // on creation are instance and volume. To tag a resource after it has been // created, see CreateTags (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). ResourceType ResourceType `type:"string" enum:"true"` // The tags to apply to the resource. Tags []Tag `locationName:"Tag" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
The tags specification for the launch template.
func (LaunchTemplateTagSpecificationRequest) String ¶ added in v0.2.0
func (s LaunchTemplateTagSpecificationRequest) String() string
String returns the string representation
type LaunchTemplateVersion ¶ added in v0.2.0
type LaunchTemplateVersion struct { // The time the version was created. CreateTime *time.Time `locationName:"createTime" type:"timestamp"` // The principal that created the version. CreatedBy *string `locationName:"createdBy" type:"string"` // Indicates whether the version is the default version. DefaultVersion *bool `locationName:"defaultVersion" type:"boolean"` // Information about the launch template. LaunchTemplateData *ResponseLaunchTemplateData `locationName:"launchTemplateData" type:"structure"` // The ID of the launch template. LaunchTemplateId *string `locationName:"launchTemplateId" type:"string"` // The name of the launch template. LaunchTemplateName *string `locationName:"launchTemplateName" min:"3" type:"string"` // The description for the version. VersionDescription *string `locationName:"versionDescription" type:"string"` // The version number. VersionNumber *int64 `locationName:"versionNumber" type:"long"` // contains filtered or unexported fields }
Describes a launch template version.
func (LaunchTemplateVersion) String ¶ added in v0.2.0
func (s LaunchTemplateVersion) String() string
String returns the string representation
type LaunchTemplatesMonitoring ¶ added in v0.2.0
type LaunchTemplatesMonitoring struct { // Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring // is enabled. Enabled *bool `locationName:"enabled" type:"boolean"` // contains filtered or unexported fields }
Describes the monitoring for the instance.
func (LaunchTemplatesMonitoring) String ¶ added in v0.2.0
func (s LaunchTemplatesMonitoring) String() string
String returns the string representation
type LaunchTemplatesMonitoringRequest ¶ added in v0.2.0
type LaunchTemplatesMonitoringRequest struct { // Specify true to enable detailed monitoring. Otherwise, basic monitoring is // enabled. Enabled *bool `type:"boolean"` // contains filtered or unexported fields }
Describes the monitoring for the instance.
func (LaunchTemplatesMonitoringRequest) String ¶ added in v0.2.0
func (s LaunchTemplatesMonitoringRequest) String() string
String returns the string representation
type LicenseConfiguration ¶ added in v0.6.0
type LicenseConfiguration struct { // The Amazon Resource Name (ARN) of the license configuration. LicenseConfigurationArn *string `locationName:"licenseConfigurationArn" type:"string"` // contains filtered or unexported fields }
Describes a license configuration.
func (LicenseConfiguration) String ¶ added in v0.6.0
func (s LicenseConfiguration) String() string
String returns the string representation
type LicenseConfigurationRequest ¶ added in v0.6.0
type LicenseConfigurationRequest struct { // The Amazon Resource Name (ARN) of the license configuration. LicenseConfigurationArn *string `type:"string"` // contains filtered or unexported fields }
Describes a license configuration.
func (LicenseConfigurationRequest) String ¶ added in v0.6.0
func (s LicenseConfigurationRequest) String() string
String returns the string representation
type ListingState ¶
type ListingState string
const ( ListingStateAvailable ListingState = "available" ListingStateSold ListingState = "sold" ListingStateCancelled ListingState = "cancelled" ListingStatePending ListingState = "pending" )
Enum values for ListingState
func (ListingState) MarshalValue ¶ added in v0.3.0
func (enum ListingState) MarshalValue() (string, error)
func (ListingState) MarshalValueBuf ¶ added in v0.3.0
func (enum ListingState) MarshalValueBuf(b []byte) ([]byte, error)
type ListingStatus ¶
type ListingStatus string
const ( ListingStatusActive ListingStatus = "active" ListingStatusPending ListingStatus = "pending" ListingStatusCancelled ListingStatus = "cancelled" ListingStatusClosed ListingStatus = "closed" )
Enum values for ListingStatus
func (ListingStatus) MarshalValue ¶ added in v0.3.0
func (enum ListingStatus) MarshalValue() (string, error)
func (ListingStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum ListingStatus) MarshalValueBuf(b []byte) ([]byte, error)
type LoadBalancersConfig ¶ added in v0.2.0
type LoadBalancersConfig struct { // The Classic Load Balancers. ClassicLoadBalancersConfig *ClassicLoadBalancersConfig `locationName:"classicLoadBalancersConfig" type:"structure"` // The target groups. TargetGroupsConfig *TargetGroupsConfig `locationName:"targetGroupsConfig" type:"structure"` // contains filtered or unexported fields }
Describes the Classic Load Balancers and target groups to attach to a Spot Fleet request.
func (LoadBalancersConfig) String ¶ added in v0.2.0
func (s LoadBalancersConfig) String() string
String returns the string representation
func (*LoadBalancersConfig) Validate ¶ added in v0.2.0
func (s *LoadBalancersConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LoadPermission ¶
type LoadPermission struct { // The name of the group. Group PermissionGroup `locationName:"group" type:"string" enum:"true"` // The AWS account ID. UserId *string `locationName:"userId" type:"string"` // contains filtered or unexported fields }
Describes a load permission.
func (LoadPermission) String ¶
func (s LoadPermission) String() string
String returns the string representation
type LoadPermissionModifications ¶
type LoadPermissionModifications struct { // The load permissions to add. Add []LoadPermissionRequest `locationNameList:"item" type:"list"` // The load permissions to remove. Remove []LoadPermissionRequest `locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes modifications to the load permissions of an Amazon FPGA image (AFI).
func (LoadPermissionModifications) String ¶
func (s LoadPermissionModifications) String() string
String returns the string representation
type LoadPermissionRequest ¶
type LoadPermissionRequest struct { // The name of the group. Group PermissionGroup `type:"string" enum:"true"` // The AWS account ID. UserId *string `type:"string"` // contains filtered or unexported fields }
Describes a load permission.
func (LoadPermissionRequest) String ¶
func (s LoadPermissionRequest) String() string
String returns the string representation
type LogDestinationType ¶ added in v0.5.0
type LogDestinationType string
const ( LogDestinationTypeCloudWatchLogs LogDestinationType = "cloud-watch-logs" LogDestinationTypeS3 LogDestinationType = "s3" )
Enum values for LogDestinationType
func (LogDestinationType) MarshalValue ¶ added in v0.5.0
func (enum LogDestinationType) MarshalValue() (string, error)
func (LogDestinationType) MarshalValueBuf ¶ added in v0.5.0
func (enum LogDestinationType) MarshalValueBuf(b []byte) ([]byte, error)
type MarketType ¶ added in v0.2.0
type MarketType string
const (
MarketTypeSpot MarketType = "spot"
)
Enum values for MarketType
func (MarketType) MarshalValue ¶ added in v0.3.0
func (enum MarketType) MarshalValue() (string, error)
func (MarketType) MarshalValueBuf ¶ added in v0.3.0
func (enum MarketType) MarshalValueBuf(b []byte) ([]byte, error)
type ModifyCapacityReservationInput ¶ added in v0.6.0
type ModifyCapacityReservationInput struct { // The ID of the Capacity Reservation. // // CapacityReservationId is a required field CapacityReservationId *string `type:"string" required:"true"` // 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 date and time at which the Capacity Reservation expires. When a Capacity // Reservation expires, the reserved capacity is released and you can no longer // launch instances into it. The Capacity Reservation's state changes to expired // when it reaches its end date and time. // // The Capacity Reservation is cancelled within an hour from the specified time. // For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation // is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019. // // You must provide an EndDate value if EndDateType is limited. Omit EndDate // if EndDateType is unlimited. EndDate *time.Time `type:"timestamp"` // Indicates the way in which the Capacity Reservation ends. A Capacity Reservation // can have one of the following end types: // // * unlimited - The Capacity Reservation remains active until you explicitly // cancel it. Do not provide an EndDate value if EndDateType is unlimited. // // * limited - The Capacity Reservation expires automatically at a specified // date and time. You must provide an EndDate value if EndDateType is limited. EndDateType EndDateType `type:"string" enum:"true"` // The number of instances for which to reserve capacity. InstanceCount *int64 `type:"integer"` // contains filtered or unexported fields }
func (ModifyCapacityReservationInput) String ¶ added in v0.6.0
func (s ModifyCapacityReservationInput) String() string
String returns the string representation
func (*ModifyCapacityReservationInput) Validate ¶ added in v0.6.0
func (s *ModifyCapacityReservationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyCapacityReservationOutput ¶ added in v0.6.0
type ModifyCapacityReservationOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (ModifyCapacityReservationOutput) String ¶ added in v0.6.0
func (s ModifyCapacityReservationOutput) String() string
String returns the string representation
type ModifyCapacityReservationRequest ¶ added in v0.6.0
type ModifyCapacityReservationRequest struct { *aws.Request Input *ModifyCapacityReservationInput Copy func(*ModifyCapacityReservationInput) ModifyCapacityReservationRequest }
ModifyCapacityReservationRequest is the request type for the ModifyCapacityReservation API operation.
func (ModifyCapacityReservationRequest) Send ¶ added in v0.6.0
func (r ModifyCapacityReservationRequest) Send(ctx context.Context) (*ModifyCapacityReservationResponse, error)
Send marshals and sends the ModifyCapacityReservation API request.
type ModifyCapacityReservationResponse ¶ added in v0.9.0
type ModifyCapacityReservationResponse struct { *ModifyCapacityReservationOutput // contains filtered or unexported fields }
ModifyCapacityReservationResponse is the response type for the ModifyCapacityReservation API operation.
func (*ModifyCapacityReservationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyCapacityReservationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyCapacityReservation request.
type ModifyClientVpnEndpointInput ¶ added in v0.7.0
type ModifyClientVpnEndpointInput struct { // The ID of the Client VPN endpoint to modify. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // Information about the client connection logging options. // // If you enable client connection logging, data about client connections is // sent to a Cloudwatch Logs log stream. The following information is logged: // // * Client connection requests // // * Client connection results (successful and unsuccessful) // // * Reasons for unsuccessful client connection requests // // * Client connection termination time ConnectionLogOptions *ConnectionLogOptions `type:"structure"` // A brief description of the Client VPN endpoint. Description *string `type:"string"` // Information about the DNS servers to be used by Client VPN connections. A // Client VPN endpoint can have up to two DNS servers. DnsServers *DnsServersOptionsModifyStructure `type:"structure"` // 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 ARN of the server certificate to be used. The server certificate must // be provisioned in AWS Certificate Manager (ACM). ServerCertificateArn *string `type:"string"` // Indicates whether the VPN is split-tunnel. // // For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client // VPN Endpoint (https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) // in the AWS Client VPN Administrator Guide. SplitTunnel *bool `type:"boolean"` // contains filtered or unexported fields }
func (ModifyClientVpnEndpointInput) String ¶ added in v0.7.0
func (s ModifyClientVpnEndpointInput) String() string
String returns the string representation
func (*ModifyClientVpnEndpointInput) Validate ¶ added in v0.7.0
func (s *ModifyClientVpnEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyClientVpnEndpointOutput ¶ added in v0.7.0
type ModifyClientVpnEndpointOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (ModifyClientVpnEndpointOutput) String ¶ added in v0.7.0
func (s ModifyClientVpnEndpointOutput) String() string
String returns the string representation
type ModifyClientVpnEndpointRequest ¶ added in v0.7.0
type ModifyClientVpnEndpointRequest struct { *aws.Request Input *ModifyClientVpnEndpointInput Copy func(*ModifyClientVpnEndpointInput) ModifyClientVpnEndpointRequest }
ModifyClientVpnEndpointRequest is the request type for the ModifyClientVpnEndpoint API operation.
func (ModifyClientVpnEndpointRequest) Send ¶ added in v0.7.0
func (r ModifyClientVpnEndpointRequest) Send(ctx context.Context) (*ModifyClientVpnEndpointResponse, error)
Send marshals and sends the ModifyClientVpnEndpoint API request.
type ModifyClientVpnEndpointResponse ¶ added in v0.9.0
type ModifyClientVpnEndpointResponse struct { *ModifyClientVpnEndpointOutput // contains filtered or unexported fields }
ModifyClientVpnEndpointResponse is the response type for the ModifyClientVpnEndpoint API operation.
func (*ModifyClientVpnEndpointResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyClientVpnEndpointResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyClientVpnEndpoint request.
type ModifyEbsDefaultKmsKeyIdInput ¶ added in v0.9.0
type ModifyEbsDefaultKmsKeyIdInput 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 identifier of the AWS Key Management Service (AWS KMS) customer master // key (CMK) to use for Amazon EBS encryption. If this parameter is not specified, // your AWS managed CMK for EBS is used. If KmsKeyId is specified, the encrypted // state must be true. // // You can specify the CMK using any of the following: // // * Key ID. For example, key/1234abcd-12ab-34cd-56ef-1234567890ab. // // * Key alias. For example, alias/ExampleAlias. // // * Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. // // * Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. // // AWS authenticates the CMK asynchronously. Therefore, if you specify an ID, // alias, or ARN that is not valid, the action can appear to complete, but eventually // fails. // // KmsKeyId is a required field KmsKeyId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ModifyEbsDefaultKmsKeyIdInput) String ¶ added in v0.9.0
func (s ModifyEbsDefaultKmsKeyIdInput) String() string
String returns the string representation
func (*ModifyEbsDefaultKmsKeyIdInput) Validate ¶ added in v0.9.0
func (s *ModifyEbsDefaultKmsKeyIdInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyEbsDefaultKmsKeyIdOutput ¶ added in v0.9.0
type ModifyEbsDefaultKmsKeyIdOutput struct { // The Amazon Resource Name (ARN) of the default CMK for encryption by default. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // contains filtered or unexported fields }
func (ModifyEbsDefaultKmsKeyIdOutput) String ¶ added in v0.9.0
func (s ModifyEbsDefaultKmsKeyIdOutput) String() string
String returns the string representation
type ModifyEbsDefaultKmsKeyIdRequest ¶ added in v0.9.0
type ModifyEbsDefaultKmsKeyIdRequest struct { *aws.Request Input *ModifyEbsDefaultKmsKeyIdInput Copy func(*ModifyEbsDefaultKmsKeyIdInput) ModifyEbsDefaultKmsKeyIdRequest }
ModifyEbsDefaultKmsKeyIdRequest is the request type for the ModifyEbsDefaultKmsKeyId API operation.
func (ModifyEbsDefaultKmsKeyIdRequest) Send ¶ added in v0.9.0
func (r ModifyEbsDefaultKmsKeyIdRequest) Send(ctx context.Context) (*ModifyEbsDefaultKmsKeyIdResponse, error)
Send marshals and sends the ModifyEbsDefaultKmsKeyId API request.
type ModifyEbsDefaultKmsKeyIdResponse ¶ added in v0.9.0
type ModifyEbsDefaultKmsKeyIdResponse struct { *ModifyEbsDefaultKmsKeyIdOutput // contains filtered or unexported fields }
ModifyEbsDefaultKmsKeyIdResponse is the response type for the ModifyEbsDefaultKmsKeyId API operation.
func (*ModifyEbsDefaultKmsKeyIdResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyEbsDefaultKmsKeyIdResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyEbsDefaultKmsKeyId request.
type ModifyFleetInput ¶ added in v0.4.0
type ModifyFleetInput 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"` // Indicates whether running instances should be terminated if the total target // capacity of the EC2 Fleet is decreased below the current size of the EC2 // Fleet. ExcessCapacityTerminationPolicy FleetExcessCapacityTerminationPolicy `type:"string" enum:"true"` // The ID of the EC2 Fleet. // // FleetId is a required field FleetId *string `type:"string" required:"true"` // The size of the EC2 Fleet. // // TargetCapacitySpecification is a required field TargetCapacitySpecification *TargetCapacitySpecificationRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
func (ModifyFleetInput) String ¶ added in v0.4.0
func (s ModifyFleetInput) String() string
String returns the string representation
func (*ModifyFleetInput) Validate ¶ added in v0.4.0
func (s *ModifyFleetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyFleetOutput ¶ added in v0.4.0
type ModifyFleetOutput struct { // Is true if the request succeeds, and an error otherwise. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (ModifyFleetOutput) String ¶ added in v0.4.0
func (s ModifyFleetOutput) String() string
String returns the string representation
type ModifyFleetRequest ¶ added in v0.4.0
type ModifyFleetRequest struct { *aws.Request Input *ModifyFleetInput Copy func(*ModifyFleetInput) ModifyFleetRequest }
ModifyFleetRequest is the request type for the ModifyFleet API operation.
func (ModifyFleetRequest) Send ¶ added in v0.4.0
func (r ModifyFleetRequest) Send(ctx context.Context) (*ModifyFleetResponse, error)
Send marshals and sends the ModifyFleet API request.
type ModifyFleetResponse ¶ added in v0.9.0
type ModifyFleetResponse struct { *ModifyFleetOutput // contains filtered or unexported fields }
ModifyFleetResponse is the response type for the ModifyFleet API operation.
func (*ModifyFleetResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyFleetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyFleet request.
type ModifyFpgaImageAttributeInput ¶
type ModifyFpgaImageAttributeInput struct { // The name of the attribute. Attribute FpgaImageAttributeName `type:"string" enum:"true"` // A description for the AFI. Description *string `type:"string"` // 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 AFI. // // FpgaImageId is a required field FpgaImageId *string `type:"string" required:"true"` // The load permission for the AFI. LoadPermission *LoadPermissionModifications `type:"structure"` // A name for the AFI. Name *string `type:"string"` // The operation type. OperationType OperationType `type:"string" enum:"true"` // The product codes. After you add a product code to an AFI, it can't be removed. // This parameter is valid only when modifying the productCodes attribute. ProductCodes []string `locationName:"ProductCode" locationNameList:"ProductCode" type:"list"` // The user groups. This parameter is valid only when modifying the loadPermission // attribute. UserGroups []string `locationName:"UserGroup" locationNameList:"UserGroup" type:"list"` // The AWS account IDs. This parameter is valid only when modifying the loadPermission // attribute. UserIds []string `locationName:"UserId" locationNameList:"UserId" type:"list"` // contains filtered or unexported fields }
func (ModifyFpgaImageAttributeInput) String ¶
func (s ModifyFpgaImageAttributeInput) String() string
String returns the string representation
func (*ModifyFpgaImageAttributeInput) Validate ¶
func (s *ModifyFpgaImageAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyFpgaImageAttributeOutput ¶
type ModifyFpgaImageAttributeOutput struct { // Information about the attribute. FpgaImageAttribute *FpgaImageAttribute `locationName:"fpgaImageAttribute" type:"structure"` // contains filtered or unexported fields }
func (ModifyFpgaImageAttributeOutput) String ¶
func (s ModifyFpgaImageAttributeOutput) String() string
String returns the string representation
type ModifyFpgaImageAttributeRequest ¶
type ModifyFpgaImageAttributeRequest struct { *aws.Request Input *ModifyFpgaImageAttributeInput Copy func(*ModifyFpgaImageAttributeInput) ModifyFpgaImageAttributeRequest }
ModifyFpgaImageAttributeRequest is the request type for the ModifyFpgaImageAttribute API operation.
func (ModifyFpgaImageAttributeRequest) Send ¶
func (r ModifyFpgaImageAttributeRequest) Send(ctx context.Context) (*ModifyFpgaImageAttributeResponse, error)
Send marshals and sends the ModifyFpgaImageAttribute API request.
type ModifyFpgaImageAttributeResponse ¶ added in v0.9.0
type ModifyFpgaImageAttributeResponse struct { *ModifyFpgaImageAttributeOutput // contains filtered or unexported fields }
ModifyFpgaImageAttributeResponse is the response type for the ModifyFpgaImageAttribute API operation.
func (*ModifyFpgaImageAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyFpgaImageAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyFpgaImageAttribute request.
type ModifyHostsInput ¶
type ModifyHostsInput struct { // Specify whether to enable or disable auto-placement. AutoPlacement AutoPlacement `locationName:"autoPlacement" type:"string" enum:"true"` // The IDs of the Dedicated Hosts to modify. // // HostIds is a required field HostIds []string `locationName:"hostId" locationNameList:"item" type:"list" required:"true"` // Indicates whether to enable or disable host recovery for the Dedicated Host. // For more information, see Host Recovery (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html) // in the Amazon Elastic Compute Cloud User Guide. HostRecovery HostRecovery `type:"string" enum:"true"` // contains filtered or unexported fields }
func (ModifyHostsInput) String ¶
func (s ModifyHostsInput) String() string
String returns the string representation
func (*ModifyHostsInput) Validate ¶
func (s *ModifyHostsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyHostsOutput ¶
type ModifyHostsOutput struct { // The IDs of the Dedicated Hosts that were successfully modified. Successful []string `locationName:"successful" locationNameList:"item" type:"list"` // The IDs of the Dedicated Hosts that could not be modified. Check whether // the setting you requested can be used. Unsuccessful []UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (ModifyHostsOutput) String ¶
func (s ModifyHostsOutput) String() string
String returns the string representation
type ModifyHostsRequest ¶
type ModifyHostsRequest struct { *aws.Request Input *ModifyHostsInput Copy func(*ModifyHostsInput) ModifyHostsRequest }
ModifyHostsRequest is the request type for the ModifyHosts API operation.
func (ModifyHostsRequest) Send ¶
func (r ModifyHostsRequest) Send(ctx context.Context) (*ModifyHostsResponse, error)
Send marshals and sends the ModifyHosts API request.
type ModifyHostsResponse ¶ added in v0.9.0
type ModifyHostsResponse struct { *ModifyHostsOutput // contains filtered or unexported fields }
ModifyHostsResponse is the response type for the ModifyHosts API operation.
func (*ModifyHostsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyHostsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyHosts request.
type ModifyIdFormatInput ¶
type ModifyIdFormatInput struct { // The type of resource: bundle | conversion-task | customer-gateway | dhcp-options // | elastic-ip-allocation | elastic-ip-association | export-task | flow-log // | image | import-task | internet-gateway | network-acl | network-acl-association // | network-interface | network-interface-attachment | prefix-list | route-table // | route-table-association | security-group | subnet | subnet-cidr-block-association // | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection // | vpn-connection | vpn-gateway. // // Alternatively, use the all-current option to include all resource types that // are currently within their opt-in period for longer IDs. // // Resource is a required field Resource *string `type:"string" required:"true"` // Indicate whether the resource should use longer IDs (17-character IDs). // // UseLongIds is a required field UseLongIds *bool `type:"boolean" required:"true"` // contains filtered or unexported fields }
func (ModifyIdFormatInput) String ¶
func (s ModifyIdFormatInput) String() string
String returns the string representation
func (*ModifyIdFormatInput) Validate ¶
func (s *ModifyIdFormatInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyIdFormatOutput ¶
type ModifyIdFormatOutput struct {
// contains filtered or unexported fields
}
func (ModifyIdFormatOutput) String ¶
func (s ModifyIdFormatOutput) String() string
String returns the string representation
type ModifyIdFormatRequest ¶
type ModifyIdFormatRequest struct { *aws.Request Input *ModifyIdFormatInput Copy func(*ModifyIdFormatInput) ModifyIdFormatRequest }
ModifyIdFormatRequest is the request type for the ModifyIdFormat API operation.
func (ModifyIdFormatRequest) Send ¶
func (r ModifyIdFormatRequest) Send(ctx context.Context) (*ModifyIdFormatResponse, error)
Send marshals and sends the ModifyIdFormat API request.
type ModifyIdFormatResponse ¶ added in v0.9.0
type ModifyIdFormatResponse struct { *ModifyIdFormatOutput // contains filtered or unexported fields }
ModifyIdFormatResponse is the response type for the ModifyIdFormat API operation.
func (*ModifyIdFormatResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyIdFormatResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyIdFormat request.
type ModifyIdentityIdFormatInput ¶
type ModifyIdentityIdFormatInput struct { // The ARN of the principal, which can be an IAM user, IAM role, or the root // user. Specify all to modify the ID format for all IAM users, IAM roles, and // the root user of the account. // // PrincipalArn is a required field PrincipalArn *string `locationName:"principalArn" type:"string" required:"true"` // The type of resource: bundle | conversion-task | customer-gateway | dhcp-options // | elastic-ip-allocation | elastic-ip-association | export-task | flow-log // | image | import-task | internet-gateway | network-acl | network-acl-association // | network-interface | network-interface-attachment | prefix-list | route-table // | route-table-association | security-group | subnet | subnet-cidr-block-association // | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection // | vpn-connection | vpn-gateway. // // Alternatively, use the all-current option to include all resource types that // are currently within their opt-in period for longer IDs. // // Resource is a required field Resource *string `locationName:"resource" type:"string" required:"true"` // Indicates whether the resource should use longer IDs (17-character IDs) // // UseLongIds is a required field UseLongIds *bool `locationName:"useLongIds" type:"boolean" required:"true"` // contains filtered or unexported fields }
func (ModifyIdentityIdFormatInput) String ¶
func (s ModifyIdentityIdFormatInput) String() string
String returns the string representation
func (*ModifyIdentityIdFormatInput) Validate ¶
func (s *ModifyIdentityIdFormatInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyIdentityIdFormatOutput ¶
type ModifyIdentityIdFormatOutput struct {
// contains filtered or unexported fields
}
func (ModifyIdentityIdFormatOutput) String ¶
func (s ModifyIdentityIdFormatOutput) String() string
String returns the string representation
type ModifyIdentityIdFormatRequest ¶
type ModifyIdentityIdFormatRequest struct { *aws.Request Input *ModifyIdentityIdFormatInput Copy func(*ModifyIdentityIdFormatInput) ModifyIdentityIdFormatRequest }
ModifyIdentityIdFormatRequest is the request type for the ModifyIdentityIdFormat API operation.
func (ModifyIdentityIdFormatRequest) Send ¶
func (r ModifyIdentityIdFormatRequest) Send(ctx context.Context) (*ModifyIdentityIdFormatResponse, error)
Send marshals and sends the ModifyIdentityIdFormat API request.
type ModifyIdentityIdFormatResponse ¶ added in v0.9.0
type ModifyIdentityIdFormatResponse struct { *ModifyIdentityIdFormatOutput // contains filtered or unexported fields }
ModifyIdentityIdFormatResponse is the response type for the ModifyIdentityIdFormat API operation.
func (*ModifyIdentityIdFormatResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyIdentityIdFormatResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyIdentityIdFormat request.
type ModifyImageAttributeInput ¶
type ModifyImageAttributeInput struct { // The name of the attribute to modify. The valid values are description, launchPermission, // and productCodes. Attribute *string `type:"string"` // A new description for the AMI. Description *AttributeValue `type:"structure"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the AMI. // // ImageId is a required field ImageId *string `type:"string" required:"true"` // A new launch permission for the AMI. LaunchPermission *LaunchPermissionModifications `type:"structure"` // The operation type. This parameter can be used only when the Attribute parameter // is launchPermission. OperationType OperationType `type:"string" enum:"true"` // The DevPay product codes. After you add a product code to an AMI, it can't // be removed. ProductCodes []string `locationName:"ProductCode" locationNameList:"ProductCode" type:"list"` // The user groups. This parameter can be used only when the Attribute parameter // is launchPermission. UserGroups []string `locationName:"UserGroup" locationNameList:"UserGroup" type:"list"` // The AWS account IDs. This parameter can be used only when the Attribute parameter // is launchPermission. UserIds []string `locationName:"UserId" locationNameList:"UserId" type:"list"` // The value of the attribute being modified. This parameter can be used only // when the Attribute parameter is description or productCodes. Value *string `type:"string"` // contains filtered or unexported fields }
Contains the parameters for ModifyImageAttribute.
func (ModifyImageAttributeInput) String ¶
func (s ModifyImageAttributeInput) String() string
String returns the string representation
func (*ModifyImageAttributeInput) Validate ¶
func (s *ModifyImageAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyImageAttributeOutput ¶
type ModifyImageAttributeOutput struct {
// contains filtered or unexported fields
}
func (ModifyImageAttributeOutput) String ¶
func (s ModifyImageAttributeOutput) String() string
String returns the string representation
type ModifyImageAttributeRequest ¶
type ModifyImageAttributeRequest struct { *aws.Request Input *ModifyImageAttributeInput Copy func(*ModifyImageAttributeInput) ModifyImageAttributeRequest }
ModifyImageAttributeRequest is the request type for the ModifyImageAttribute API operation.
func (ModifyImageAttributeRequest) Send ¶
func (r ModifyImageAttributeRequest) Send(ctx context.Context) (*ModifyImageAttributeResponse, error)
Send marshals and sends the ModifyImageAttribute API request.
type ModifyImageAttributeResponse ¶ added in v0.9.0
type ModifyImageAttributeResponse struct { *ModifyImageAttributeOutput // contains filtered or unexported fields }
ModifyImageAttributeResponse is the response type for the ModifyImageAttribute API operation.
func (*ModifyImageAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyImageAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyImageAttribute request.
type ModifyInstanceAttributeInput ¶
type ModifyInstanceAttributeInput struct { // The name of the attribute. Attribute InstanceAttributeName `locationName:"attribute" type:"string" enum:"true"` // Modifies the DeleteOnTermination attribute for volumes that are currently // attached. The volume must be owned by the caller. If no value is specified // for DeleteOnTermination, the default is true and the volume is deleted when // the instance is terminated. // // To add instance store volumes to an Amazon EBS-backed instance, you must // add them when you launch the instance. For more information, see Updating // the Block Device Mapping when Launching an Instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html#Using_OverridingAMIBDM) // in the Amazon Elastic Compute Cloud User Guide. BlockDeviceMappings []InstanceBlockDeviceMappingSpecification `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` // If the value is true, you can't terminate the instance using the Amazon EC2 // console, CLI, or API; otherwise, you can. You cannot use this parameter for // Spot Instances. DisableApiTermination *AttributeBooleanValue `locationName:"disableApiTermination" type:"structure"` // 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 `locationName:"dryRun" type:"boolean"` // Specifies whether the instance is optimized for Amazon EBS I/O. This optimization // provides dedicated throughput to Amazon EBS and an optimized configuration // stack to provide optimal EBS I/O performance. This optimization isn't available // with all instance types. Additional usage charges apply when using an EBS // Optimized instance. EbsOptimized *AttributeBooleanValue `locationName:"ebsOptimized" type:"structure"` // Set to true to enable enhanced networking with ENA for the instance. // // This option is supported only for HVM instances. Specifying this option with // a PV instance can make it unreachable. EnaSupport *AttributeBooleanValue `locationName:"enaSupport" type:"structure"` // [EC2-VPC] Changes the security groups of the instance. You must specify at // least one security group, even if it's just the default security group for // the VPC. You must specify the security group ID, not the security group name. Groups []string `locationName:"GroupId" locationNameList:"groupId" type:"list"` // The ID of the instance. // // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // Specifies whether an instance stops or terminates when you initiate shutdown // from the instance (using the operating system command for system shutdown). InstanceInitiatedShutdownBehavior *AttributeValue `locationName:"instanceInitiatedShutdownBehavior" type:"structure"` // Changes the instance type to the specified value. For more information, see // Instance Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html). // If the instance type is not valid, the error returned is InvalidInstanceAttributeValue. InstanceType *AttributeValue `locationName:"instanceType" type:"structure"` // Changes the instance's kernel to the specified value. We recommend that you // use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html). Kernel *AttributeValue `locationName:"kernel" type:"structure"` // Changes the instance's RAM disk to the specified value. We recommend that // you use PV-GRUB instead of kernels and RAM disks. For more information, see // PV-GRUB (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html). Ramdisk *AttributeValue `locationName:"ramdisk" type:"structure"` // Specifies whether source/destination checking is enabled. A value of true // means that checking is enabled, and false means that checking is disabled. // This value must be false for a NAT instance to perform NAT. SourceDestCheck *AttributeBooleanValue `type:"structure"` // Set to simple to enable enhanced networking with the Intel 82599 Virtual // Function interface for the instance. // // There is no way to disable enhanced networking with the Intel 82599 Virtual // Function interface at this time. // // This option is supported only for HVM instances. Specifying this option with // a PV instance can make it unreachable. SriovNetSupport *AttributeValue `locationName:"sriovNetSupport" type:"structure"` // Changes the instance's user data to the specified value. If you are using // an AWS SDK or command line tool, base64-encoding is performed for you, and // you can load the text from a file. Otherwise, you must provide base64-encoded // text. UserData *BlobAttributeValue `locationName:"userData" type:"structure"` // A new value for the attribute. Use only with the kernel, ramdisk, userData, // disableApiTermination, or instanceInitiatedShutdownBehavior attribute. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
func (ModifyInstanceAttributeInput) String ¶
func (s ModifyInstanceAttributeInput) String() string
String returns the string representation
func (*ModifyInstanceAttributeInput) Validate ¶
func (s *ModifyInstanceAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyInstanceAttributeOutput ¶
type ModifyInstanceAttributeOutput struct {
// contains filtered or unexported fields
}
func (ModifyInstanceAttributeOutput) String ¶
func (s ModifyInstanceAttributeOutput) String() string
String returns the string representation
type ModifyInstanceAttributeRequest ¶
type ModifyInstanceAttributeRequest struct { *aws.Request Input *ModifyInstanceAttributeInput Copy func(*ModifyInstanceAttributeInput) ModifyInstanceAttributeRequest }
ModifyInstanceAttributeRequest is the request type for the ModifyInstanceAttribute API operation.
func (ModifyInstanceAttributeRequest) Send ¶
func (r ModifyInstanceAttributeRequest) Send(ctx context.Context) (*ModifyInstanceAttributeResponse, error)
Send marshals and sends the ModifyInstanceAttribute API request.
type ModifyInstanceAttributeResponse ¶ added in v0.9.0
type ModifyInstanceAttributeResponse struct { *ModifyInstanceAttributeOutput // contains filtered or unexported fields }
ModifyInstanceAttributeResponse is the response type for the ModifyInstanceAttribute API operation.
func (*ModifyInstanceAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyInstanceAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyInstanceAttribute request.
type ModifyInstanceCapacityReservationAttributesInput ¶ added in v0.6.0
type ModifyInstanceCapacityReservationAttributesInput struct { // Information about the Capacity Reservation targeting option. // // CapacityReservationSpecification is a required field CapacityReservationSpecification *CapacityReservationSpecification `type:"structure" required:"true"` // 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 instance to be modified. // // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ModifyInstanceCapacityReservationAttributesInput) String ¶ added in v0.6.0
func (s ModifyInstanceCapacityReservationAttributesInput) String() string
String returns the string representation
func (*ModifyInstanceCapacityReservationAttributesInput) Validate ¶ added in v0.6.0
func (s *ModifyInstanceCapacityReservationAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyInstanceCapacityReservationAttributesOutput ¶ added in v0.6.0
type ModifyInstanceCapacityReservationAttributesOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (ModifyInstanceCapacityReservationAttributesOutput) String ¶ added in v0.6.0
func (s ModifyInstanceCapacityReservationAttributesOutput) String() string
String returns the string representation
type ModifyInstanceCapacityReservationAttributesRequest ¶ added in v0.6.0
type ModifyInstanceCapacityReservationAttributesRequest struct { *aws.Request Input *ModifyInstanceCapacityReservationAttributesInput Copy func(*ModifyInstanceCapacityReservationAttributesInput) ModifyInstanceCapacityReservationAttributesRequest }
ModifyInstanceCapacityReservationAttributesRequest is the request type for the ModifyInstanceCapacityReservationAttributes API operation.
func (ModifyInstanceCapacityReservationAttributesRequest) Send ¶ added in v0.6.0
func (r ModifyInstanceCapacityReservationAttributesRequest) Send(ctx context.Context) (*ModifyInstanceCapacityReservationAttributesResponse, error)
Send marshals and sends the ModifyInstanceCapacityReservationAttributes API request.
type ModifyInstanceCapacityReservationAttributesResponse ¶ added in v0.9.0
type ModifyInstanceCapacityReservationAttributesResponse struct { *ModifyInstanceCapacityReservationAttributesOutput // contains filtered or unexported fields }
ModifyInstanceCapacityReservationAttributesResponse is the response type for the ModifyInstanceCapacityReservationAttributes API operation.
func (*ModifyInstanceCapacityReservationAttributesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyInstanceCapacityReservationAttributesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyInstanceCapacityReservationAttributes request.
type ModifyInstanceCreditSpecificationInput ¶ added in v0.2.0
type ModifyInstanceCreditSpecificationInput struct { // A unique, case-sensitive token that you provide to ensure idempotency of // your modification request. For more information, see Ensuring Idempotency // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` // 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"` // Information about the credit option for CPU usage. // // InstanceCreditSpecifications is a required field InstanceCreditSpecifications []InstanceCreditSpecificationRequest `locationName:"InstanceCreditSpecification" locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
func (ModifyInstanceCreditSpecificationInput) String ¶ added in v0.2.0
func (s ModifyInstanceCreditSpecificationInput) String() string
String returns the string representation
func (*ModifyInstanceCreditSpecificationInput) Validate ¶ added in v0.2.0
func (s *ModifyInstanceCreditSpecificationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyInstanceCreditSpecificationOutput ¶ added in v0.2.0
type ModifyInstanceCreditSpecificationOutput struct { // Information about the instances whose credit option for CPU usage was successfully // modified. SuccessfulInstanceCreditSpecifications []SuccessfulInstanceCreditSpecificationItem `locationName:"successfulInstanceCreditSpecificationSet" locationNameList:"item" type:"list"` // Information about the instances whose credit option for CPU usage was not // modified. UnsuccessfulInstanceCreditSpecifications []UnsuccessfulInstanceCreditSpecificationItem `locationName:"unsuccessfulInstanceCreditSpecificationSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (ModifyInstanceCreditSpecificationOutput) String ¶ added in v0.2.0
func (s ModifyInstanceCreditSpecificationOutput) String() string
String returns the string representation
type ModifyInstanceCreditSpecificationRequest ¶ added in v0.2.0
type ModifyInstanceCreditSpecificationRequest struct { *aws.Request Input *ModifyInstanceCreditSpecificationInput Copy func(*ModifyInstanceCreditSpecificationInput) ModifyInstanceCreditSpecificationRequest }
ModifyInstanceCreditSpecificationRequest is the request type for the ModifyInstanceCreditSpecification API operation.
func (ModifyInstanceCreditSpecificationRequest) Send ¶ added in v0.2.0
func (r ModifyInstanceCreditSpecificationRequest) Send(ctx context.Context) (*ModifyInstanceCreditSpecificationResponse, error)
Send marshals and sends the ModifyInstanceCreditSpecification API request.
type ModifyInstanceCreditSpecificationResponse ¶ added in v0.9.0
type ModifyInstanceCreditSpecificationResponse struct { *ModifyInstanceCreditSpecificationOutput // contains filtered or unexported fields }
ModifyInstanceCreditSpecificationResponse is the response type for the ModifyInstanceCreditSpecification API operation.
func (*ModifyInstanceCreditSpecificationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyInstanceCreditSpecificationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyInstanceCreditSpecification request.
type ModifyInstanceEventStartTimeInput ¶ added in v0.8.0
type ModifyInstanceEventStartTimeInput 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 event whose date and time you are modifying. // // InstanceEventId is a required field InstanceEventId *string `type:"string" required:"true"` // The ID of the instance with the scheduled event. // // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The new date and time when the event will take place. // // NotBefore is a required field NotBefore *time.Time `type:"timestamp" required:"true"` // contains filtered or unexported fields }
func (ModifyInstanceEventStartTimeInput) String ¶ added in v0.8.0
func (s ModifyInstanceEventStartTimeInput) String() string
String returns the string representation
func (*ModifyInstanceEventStartTimeInput) Validate ¶ added in v0.8.0
func (s *ModifyInstanceEventStartTimeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyInstanceEventStartTimeOutput ¶ added in v0.8.0
type ModifyInstanceEventStartTimeOutput struct { // Describes a scheduled event for an instance. Event *InstanceStatusEvent `locationName:"event" type:"structure"` // contains filtered or unexported fields }
func (ModifyInstanceEventStartTimeOutput) String ¶ added in v0.8.0
func (s ModifyInstanceEventStartTimeOutput) String() string
String returns the string representation
type ModifyInstanceEventStartTimeRequest ¶ added in v0.8.0
type ModifyInstanceEventStartTimeRequest struct { *aws.Request Input *ModifyInstanceEventStartTimeInput Copy func(*ModifyInstanceEventStartTimeInput) ModifyInstanceEventStartTimeRequest }
ModifyInstanceEventStartTimeRequest is the request type for the ModifyInstanceEventStartTime API operation.
func (ModifyInstanceEventStartTimeRequest) Send ¶ added in v0.8.0
func (r ModifyInstanceEventStartTimeRequest) Send(ctx context.Context) (*ModifyInstanceEventStartTimeResponse, error)
Send marshals and sends the ModifyInstanceEventStartTime API request.
type ModifyInstanceEventStartTimeResponse ¶ added in v0.9.0
type ModifyInstanceEventStartTimeResponse struct { *ModifyInstanceEventStartTimeOutput // contains filtered or unexported fields }
ModifyInstanceEventStartTimeResponse is the response type for the ModifyInstanceEventStartTime API operation.
func (*ModifyInstanceEventStartTimeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyInstanceEventStartTimeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyInstanceEventStartTime request.
type ModifyInstancePlacementInput ¶
type ModifyInstancePlacementInput struct { // The affinity setting for the instance. Affinity Affinity `locationName:"affinity" type:"string" enum:"true"` // The name of the placement group in which to place the instance. For spread // placement groups, the instance must have a tenancy of default. For cluster // and partition placement groups, the instance must have a tenancy of default // or dedicated. // // To remove an instance from a placement group, specify an empty string (""). GroupName *string `type:"string"` // The ID of the Dedicated Host with which to associate the instance. HostId *string `locationName:"hostId" type:"string"` // The ID of the instance that you are modifying. // // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // Reserved for future use. PartitionNumber *int64 `type:"integer"` // The tenancy for the instance. Tenancy HostTenancy `locationName:"tenancy" type:"string" enum:"true"` // contains filtered or unexported fields }
func (ModifyInstancePlacementInput) String ¶
func (s ModifyInstancePlacementInput) String() string
String returns the string representation
func (*ModifyInstancePlacementInput) Validate ¶
func (s *ModifyInstancePlacementInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyInstancePlacementOutput ¶
type ModifyInstancePlacementOutput struct { // Is true if the request succeeds, and an error otherwise. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (ModifyInstancePlacementOutput) String ¶
func (s ModifyInstancePlacementOutput) String() string
String returns the string representation
type ModifyInstancePlacementRequest ¶
type ModifyInstancePlacementRequest struct { *aws.Request Input *ModifyInstancePlacementInput Copy func(*ModifyInstancePlacementInput) ModifyInstancePlacementRequest }
ModifyInstancePlacementRequest is the request type for the ModifyInstancePlacement API operation.
func (ModifyInstancePlacementRequest) Send ¶
func (r ModifyInstancePlacementRequest) Send(ctx context.Context) (*ModifyInstancePlacementResponse, error)
Send marshals and sends the ModifyInstancePlacement API request.
type ModifyInstancePlacementResponse ¶ added in v0.9.0
type ModifyInstancePlacementResponse struct { *ModifyInstancePlacementOutput // contains filtered or unexported fields }
ModifyInstancePlacementResponse is the response type for the ModifyInstancePlacement API operation.
func (*ModifyInstancePlacementResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyInstancePlacementResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyInstancePlacement request.
type ModifyLaunchTemplateInput ¶ added in v0.2.0
type ModifyLaunchTemplateInput struct { // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). // // Constraint: Maximum 128 ASCII characters. ClientToken *string `type:"string"` // The version number of the launch template to set as the default version. DefaultVersion *string `locationName:"SetDefaultVersion" type:"string"` // 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 launch template. You must specify either the launch template // ID or launch template name in the request. LaunchTemplateId *string `type:"string"` // The name of the launch template. You must specify either the launch template // ID or launch template name in the request. LaunchTemplateName *string `min:"3" type:"string"` // contains filtered or unexported fields }
func (ModifyLaunchTemplateInput) String ¶ added in v0.2.0
func (s ModifyLaunchTemplateInput) String() string
String returns the string representation
func (*ModifyLaunchTemplateInput) Validate ¶ added in v0.2.0
func (s *ModifyLaunchTemplateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyLaunchTemplateOutput ¶ added in v0.2.0
type ModifyLaunchTemplateOutput struct { // Information about the launch template. LaunchTemplate *LaunchTemplate `locationName:"launchTemplate" type:"structure"` // contains filtered or unexported fields }
func (ModifyLaunchTemplateOutput) String ¶ added in v0.2.0
func (s ModifyLaunchTemplateOutput) String() string
String returns the string representation
type ModifyLaunchTemplateRequest ¶ added in v0.2.0
type ModifyLaunchTemplateRequest struct { *aws.Request Input *ModifyLaunchTemplateInput Copy func(*ModifyLaunchTemplateInput) ModifyLaunchTemplateRequest }
ModifyLaunchTemplateRequest is the request type for the ModifyLaunchTemplate API operation.
func (ModifyLaunchTemplateRequest) Send ¶ added in v0.2.0
func (r ModifyLaunchTemplateRequest) Send(ctx context.Context) (*ModifyLaunchTemplateResponse, error)
Send marshals and sends the ModifyLaunchTemplate API request.
type ModifyLaunchTemplateResponse ¶ added in v0.9.0
type ModifyLaunchTemplateResponse struct { *ModifyLaunchTemplateOutput // contains filtered or unexported fields }
ModifyLaunchTemplateResponse is the response type for the ModifyLaunchTemplate API operation.
func (*ModifyLaunchTemplateResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyLaunchTemplateResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyLaunchTemplate request.
type ModifyNetworkInterfaceAttributeInput ¶
type ModifyNetworkInterfaceAttributeInput struct { // Information about the interface attachment. If modifying the 'delete on termination' // attribute, you must specify the ID of the interface attachment. Attachment *NetworkInterfaceAttachmentChanges `locationName:"attachment" type:"structure"` // A description for the network interface. Description *AttributeValue `locationName:"description" type:"structure"` // 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 `locationName:"dryRun" type:"boolean"` // Changes the security groups for the network interface. The new set of groups // you specify replaces the current set. You must specify at least one group, // even if it's just the default security group in the VPC. You must specify // the ID of the security group, not the name. Groups []string `locationName:"SecurityGroupId" locationNameList:"SecurityGroupId" type:"list"` // The ID of the network interface. // // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` // Indicates whether source/destination checking is enabled. A value of true // means checking is enabled, and false means checking is disabled. This value // must be false for a NAT instance to perform NAT. For more information, see // NAT Instances (https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html) // in the Amazon Virtual Private Cloud User Guide. SourceDestCheck *AttributeBooleanValue `locationName:"sourceDestCheck" type:"structure"` // contains filtered or unexported fields }
Contains the parameters for ModifyNetworkInterfaceAttribute.
func (ModifyNetworkInterfaceAttributeInput) String ¶
func (s ModifyNetworkInterfaceAttributeInput) String() string
String returns the string representation
func (*ModifyNetworkInterfaceAttributeInput) Validate ¶
func (s *ModifyNetworkInterfaceAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyNetworkInterfaceAttributeOutput ¶
type ModifyNetworkInterfaceAttributeOutput struct {
// contains filtered or unexported fields
}
func (ModifyNetworkInterfaceAttributeOutput) String ¶
func (s ModifyNetworkInterfaceAttributeOutput) String() string
String returns the string representation
type ModifyNetworkInterfaceAttributeRequest ¶
type ModifyNetworkInterfaceAttributeRequest struct { *aws.Request Input *ModifyNetworkInterfaceAttributeInput Copy func(*ModifyNetworkInterfaceAttributeInput) ModifyNetworkInterfaceAttributeRequest }
ModifyNetworkInterfaceAttributeRequest is the request type for the ModifyNetworkInterfaceAttribute API operation.
func (ModifyNetworkInterfaceAttributeRequest) Send ¶
func (r ModifyNetworkInterfaceAttributeRequest) Send(ctx context.Context) (*ModifyNetworkInterfaceAttributeResponse, error)
Send marshals and sends the ModifyNetworkInterfaceAttribute API request.
type ModifyNetworkInterfaceAttributeResponse ¶ added in v0.9.0
type ModifyNetworkInterfaceAttributeResponse struct { *ModifyNetworkInterfaceAttributeOutput // contains filtered or unexported fields }
ModifyNetworkInterfaceAttributeResponse is the response type for the ModifyNetworkInterfaceAttribute API operation.
func (*ModifyNetworkInterfaceAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyNetworkInterfaceAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyNetworkInterfaceAttribute request.
type ModifyReservedInstancesInput ¶
type ModifyReservedInstancesInput struct { // A unique, case-sensitive token you provide to ensure idempotency of your // modification request. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // The IDs of the Reserved Instances to modify. // // ReservedInstancesIds is a required field ReservedInstancesIds []string `locationName:"ReservedInstancesId" locationNameList:"ReservedInstancesId" type:"list" required:"true"` // The configuration settings for the Reserved Instances to modify. // // TargetConfigurations is a required field TargetConfigurations []ReservedInstancesConfiguration `locationName:"ReservedInstancesConfigurationSetItemType" locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for ModifyReservedInstances.
func (ModifyReservedInstancesInput) String ¶
func (s ModifyReservedInstancesInput) String() string
String returns the string representation
func (*ModifyReservedInstancesInput) Validate ¶
func (s *ModifyReservedInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyReservedInstancesOutput ¶
type ModifyReservedInstancesOutput struct { // The ID for the modification. ReservedInstancesModificationId *string `locationName:"reservedInstancesModificationId" type:"string"` // contains filtered or unexported fields }
Contains the output of ModifyReservedInstances.
func (ModifyReservedInstancesOutput) String ¶
func (s ModifyReservedInstancesOutput) String() string
String returns the string representation
type ModifyReservedInstancesRequest ¶
type ModifyReservedInstancesRequest struct { *aws.Request Input *ModifyReservedInstancesInput Copy func(*ModifyReservedInstancesInput) ModifyReservedInstancesRequest }
ModifyReservedInstancesRequest is the request type for the ModifyReservedInstances API operation.
func (ModifyReservedInstancesRequest) Send ¶
func (r ModifyReservedInstancesRequest) Send(ctx context.Context) (*ModifyReservedInstancesResponse, error)
Send marshals and sends the ModifyReservedInstances API request.
type ModifyReservedInstancesResponse ¶ added in v0.9.0
type ModifyReservedInstancesResponse struct { *ModifyReservedInstancesOutput // contains filtered or unexported fields }
ModifyReservedInstancesResponse is the response type for the ModifyReservedInstances API operation.
func (*ModifyReservedInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyReservedInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyReservedInstances request.
type ModifySnapshotAttributeInput ¶
type ModifySnapshotAttributeInput struct { // The snapshot attribute to modify. Only volume creation permissions can be // modified. Attribute SnapshotAttributeName `type:"string" enum:"true"` // A JSON representation of the snapshot attribute modification. CreateVolumePermission *CreateVolumePermissionModifications `type:"structure"` // 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 `locationName:"dryRun" type:"boolean"` // The group to modify for the snapshot. GroupNames []string `locationName:"UserGroup" locationNameList:"GroupName" type:"list"` // The type of operation to perform to the attribute. OperationType OperationType `type:"string" enum:"true"` // The ID of the snapshot. // // SnapshotId is a required field SnapshotId *string `type:"string" required:"true"` // The account ID to modify for the snapshot. UserIds []string `locationName:"UserId" locationNameList:"UserId" type:"list"` // contains filtered or unexported fields }
Contains the parameters for ModifySnapshotAttribute.
func (ModifySnapshotAttributeInput) String ¶
func (s ModifySnapshotAttributeInput) String() string
String returns the string representation
func (*ModifySnapshotAttributeInput) Validate ¶
func (s *ModifySnapshotAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifySnapshotAttributeOutput ¶
type ModifySnapshotAttributeOutput struct {
// contains filtered or unexported fields
}
func (ModifySnapshotAttributeOutput) String ¶
func (s ModifySnapshotAttributeOutput) String() string
String returns the string representation
type ModifySnapshotAttributeRequest ¶
type ModifySnapshotAttributeRequest struct { *aws.Request Input *ModifySnapshotAttributeInput Copy func(*ModifySnapshotAttributeInput) ModifySnapshotAttributeRequest }
ModifySnapshotAttributeRequest is the request type for the ModifySnapshotAttribute API operation.
func (ModifySnapshotAttributeRequest) Send ¶
func (r ModifySnapshotAttributeRequest) Send(ctx context.Context) (*ModifySnapshotAttributeResponse, error)
Send marshals and sends the ModifySnapshotAttribute API request.
type ModifySnapshotAttributeResponse ¶ added in v0.9.0
type ModifySnapshotAttributeResponse struct { *ModifySnapshotAttributeOutput // contains filtered or unexported fields }
ModifySnapshotAttributeResponse is the response type for the ModifySnapshotAttribute API operation.
func (*ModifySnapshotAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifySnapshotAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifySnapshotAttribute request.
type ModifySpotFleetRequestInput ¶
type ModifySpotFleetRequestInput struct { // Indicates whether running Spot Instances should be terminated if the target // capacity of the Spot Fleet request is decreased below the current size of // the Spot Fleet. ExcessCapacityTerminationPolicy ExcessCapacityTerminationPolicy `locationName:"excessCapacityTerminationPolicy" type:"string" enum:"true"` // The number of On-Demand Instances in the fleet. OnDemandTargetCapacity *int64 `type:"integer"` // The ID of the Spot Fleet request. // // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` // The size of the fleet. TargetCapacity *int64 `locationName:"targetCapacity" type:"integer"` // contains filtered or unexported fields }
Contains the parameters for ModifySpotFleetRequest.
func (ModifySpotFleetRequestInput) String ¶
func (s ModifySpotFleetRequestInput) String() string
String returns the string representation
func (*ModifySpotFleetRequestInput) Validate ¶
func (s *ModifySpotFleetRequestInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifySpotFleetRequestOutput ¶
type ModifySpotFleetRequestOutput struct { // Is true if the request succeeds, and an error otherwise. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
Contains the output of ModifySpotFleetRequest.
func (ModifySpotFleetRequestOutput) String ¶
func (s ModifySpotFleetRequestOutput) String() string
String returns the string representation
type ModifySpotFleetRequestRequest ¶
type ModifySpotFleetRequestRequest struct { *aws.Request Input *ModifySpotFleetRequestInput Copy func(*ModifySpotFleetRequestInput) ModifySpotFleetRequestRequest }
ModifySpotFleetRequestRequest is the request type for the ModifySpotFleetRequest API operation.
func (ModifySpotFleetRequestRequest) Send ¶
func (r ModifySpotFleetRequestRequest) Send(ctx context.Context) (*ModifySpotFleetRequestResponse, error)
Send marshals and sends the ModifySpotFleetRequest API request.
type ModifySpotFleetRequestResponse ¶ added in v0.9.0
type ModifySpotFleetRequestResponse struct { *ModifySpotFleetRequestOutput // contains filtered or unexported fields }
ModifySpotFleetRequestResponse is the response type for the ModifySpotFleetRequest API operation.
func (*ModifySpotFleetRequestResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifySpotFleetRequestResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifySpotFleetRequest request.
type ModifySubnetAttributeInput ¶
type ModifySubnetAttributeInput struct { // Specify true to indicate that network interfaces created in the specified // subnet should be assigned an IPv6 address. This includes a network interface // that's created when launching an instance into the subnet (the instance therefore // receives an IPv6 address). // // If you enable the IPv6 addressing feature for your subnet, your network interface // or instance only receives an IPv6 address if it's created using version 2016-11-15 // or later of the Amazon EC2 API. AssignIpv6AddressOnCreation *AttributeBooleanValue `type:"structure"` // Specify true to indicate that ENIs attached to instances created in the specified // subnet should be assigned a public IPv4 address. MapPublicIpOnLaunch *AttributeBooleanValue `type:"structure"` // The ID of the subnet. // // SubnetId is a required field SubnetId *string `locationName:"subnetId" type:"string" required:"true"` // contains filtered or unexported fields }
func (ModifySubnetAttributeInput) String ¶
func (s ModifySubnetAttributeInput) String() string
String returns the string representation
func (*ModifySubnetAttributeInput) Validate ¶
func (s *ModifySubnetAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifySubnetAttributeOutput ¶
type ModifySubnetAttributeOutput struct {
// contains filtered or unexported fields
}
func (ModifySubnetAttributeOutput) String ¶
func (s ModifySubnetAttributeOutput) String() string
String returns the string representation
type ModifySubnetAttributeRequest ¶
type ModifySubnetAttributeRequest struct { *aws.Request Input *ModifySubnetAttributeInput Copy func(*ModifySubnetAttributeInput) ModifySubnetAttributeRequest }
ModifySubnetAttributeRequest is the request type for the ModifySubnetAttribute API operation.
func (ModifySubnetAttributeRequest) Send ¶
func (r ModifySubnetAttributeRequest) Send(ctx context.Context) (*ModifySubnetAttributeResponse, error)
Send marshals and sends the ModifySubnetAttribute API request.
type ModifySubnetAttributeResponse ¶ added in v0.9.0
type ModifySubnetAttributeResponse struct { *ModifySubnetAttributeOutput // contains filtered or unexported fields }
ModifySubnetAttributeResponse is the response type for the ModifySubnetAttribute API operation.
func (*ModifySubnetAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifySubnetAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifySubnetAttribute request.
type ModifyTrafficMirrorFilterNetworkServicesInput ¶ added in v0.10.0
type ModifyTrafficMirrorFilterNetworkServicesInput struct { // The network service, for example Amazon DNS, that you want to mirror. AddNetworkServices []TrafficMirrorNetworkService `locationName:"AddNetworkService" locationNameList:"item" type:"list"` // 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 network service, for example Amazon DNS, that you no longer want to mirror. RemoveNetworkServices []TrafficMirrorNetworkService `locationName:"RemoveNetworkService" locationNameList:"item" type:"list"` // The ID of the Traffic Mirror filter. // // TrafficMirrorFilterId is a required field TrafficMirrorFilterId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ModifyTrafficMirrorFilterNetworkServicesInput) String ¶ added in v0.10.0
func (s ModifyTrafficMirrorFilterNetworkServicesInput) String() string
String returns the string representation
func (*ModifyTrafficMirrorFilterNetworkServicesInput) Validate ¶ added in v0.10.0
func (s *ModifyTrafficMirrorFilterNetworkServicesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyTrafficMirrorFilterNetworkServicesOutput ¶ added in v0.10.0
type ModifyTrafficMirrorFilterNetworkServicesOutput struct { // The Traffic Mirror filter that the network service is associated with. TrafficMirrorFilter *TrafficMirrorFilter `locationName:"trafficMirrorFilter" type:"structure"` // contains filtered or unexported fields }
func (ModifyTrafficMirrorFilterNetworkServicesOutput) String ¶ added in v0.10.0
func (s ModifyTrafficMirrorFilterNetworkServicesOutput) String() string
String returns the string representation
type ModifyTrafficMirrorFilterNetworkServicesRequest ¶ added in v0.10.0
type ModifyTrafficMirrorFilterNetworkServicesRequest struct { *aws.Request Input *ModifyTrafficMirrorFilterNetworkServicesInput Copy func(*ModifyTrafficMirrorFilterNetworkServicesInput) ModifyTrafficMirrorFilterNetworkServicesRequest }
ModifyTrafficMirrorFilterNetworkServicesRequest is the request type for the ModifyTrafficMirrorFilterNetworkServices API operation.
func (ModifyTrafficMirrorFilterNetworkServicesRequest) Send ¶ added in v0.10.0
func (r ModifyTrafficMirrorFilterNetworkServicesRequest) Send(ctx context.Context) (*ModifyTrafficMirrorFilterNetworkServicesResponse, error)
Send marshals and sends the ModifyTrafficMirrorFilterNetworkServices API request.
type ModifyTrafficMirrorFilterNetworkServicesResponse ¶ added in v0.10.0
type ModifyTrafficMirrorFilterNetworkServicesResponse struct { *ModifyTrafficMirrorFilterNetworkServicesOutput // contains filtered or unexported fields }
ModifyTrafficMirrorFilterNetworkServicesResponse is the response type for the ModifyTrafficMirrorFilterNetworkServices API operation.
func (*ModifyTrafficMirrorFilterNetworkServicesResponse) SDKResponseMetdata ¶ added in v0.10.0
func (r *ModifyTrafficMirrorFilterNetworkServicesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyTrafficMirrorFilterNetworkServices request.
type ModifyTrafficMirrorFilterRuleInput ¶ added in v0.10.0
type ModifyTrafficMirrorFilterRuleInput struct { // The description to assign to the Traffic Mirror rule. Description *string `type:"string"` // The destination CIDR block to assign to the Traffic Mirror rule. DestinationCidrBlock *string `type:"string"` // The destination ports that are associated with the Traffic Mirror rule. DestinationPortRange *TrafficMirrorPortRangeRequest `type:"structure"` // 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 protocol, for example TCP, to assign to the Traffic Mirror rule. Protocol *int64 `type:"integer"` // The properties that you want to remove from the Traffic Mirror filter rule. // // When you remove a property from a Traffic Mirror filter rule, the property // is set to the default. RemoveFields []TrafficMirrorFilterRuleField `locationName:"RemoveField" type:"list"` // The action to assign to the rule. RuleAction TrafficMirrorRuleAction `type:"string" enum:"true"` // The number of the Traffic Mirror rule. This number must be unique for each // Traffic Mirror rule in a given direction. The rules are processed in ascending // order by rule number. RuleNumber *int64 `type:"integer"` // The source CIDR block to assign to the Traffic Mirror rule. SourceCidrBlock *string `type:"string"` // The port range to assign to the Traffic Mirror rule. SourcePortRange *TrafficMirrorPortRangeRequest `type:"structure"` // The type of traffic (ingress | egress) to assign to the rule. TrafficDirection TrafficDirection `type:"string" enum:"true"` // The ID of the Traffic Mirror rule. // // TrafficMirrorFilterRuleId is a required field TrafficMirrorFilterRuleId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ModifyTrafficMirrorFilterRuleInput) String ¶ added in v0.10.0
func (s ModifyTrafficMirrorFilterRuleInput) String() string
String returns the string representation
func (*ModifyTrafficMirrorFilterRuleInput) Validate ¶ added in v0.10.0
func (s *ModifyTrafficMirrorFilterRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyTrafficMirrorFilterRuleOutput ¶ added in v0.10.0
type ModifyTrafficMirrorFilterRuleOutput struct { // Modifies a Traffic Mirror rule. TrafficMirrorFilterRule *TrafficMirrorFilterRule `locationName:"trafficMirrorFilterRule" type:"structure"` // contains filtered or unexported fields }
func (ModifyTrafficMirrorFilterRuleOutput) String ¶ added in v0.10.0
func (s ModifyTrafficMirrorFilterRuleOutput) String() string
String returns the string representation
type ModifyTrafficMirrorFilterRuleRequest ¶ added in v0.10.0
type ModifyTrafficMirrorFilterRuleRequest struct { *aws.Request Input *ModifyTrafficMirrorFilterRuleInput Copy func(*ModifyTrafficMirrorFilterRuleInput) ModifyTrafficMirrorFilterRuleRequest }
ModifyTrafficMirrorFilterRuleRequest is the request type for the ModifyTrafficMirrorFilterRule API operation.
func (ModifyTrafficMirrorFilterRuleRequest) Send ¶ added in v0.10.0
func (r ModifyTrafficMirrorFilterRuleRequest) Send(ctx context.Context) (*ModifyTrafficMirrorFilterRuleResponse, error)
Send marshals and sends the ModifyTrafficMirrorFilterRule API request.
type ModifyTrafficMirrorFilterRuleResponse ¶ added in v0.10.0
type ModifyTrafficMirrorFilterRuleResponse struct { *ModifyTrafficMirrorFilterRuleOutput // contains filtered or unexported fields }
ModifyTrafficMirrorFilterRuleResponse is the response type for the ModifyTrafficMirrorFilterRule API operation.
func (*ModifyTrafficMirrorFilterRuleResponse) SDKResponseMetdata ¶ added in v0.10.0
func (r *ModifyTrafficMirrorFilterRuleResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyTrafficMirrorFilterRule request.
type ModifyTrafficMirrorSessionInput ¶ added in v0.10.0
type ModifyTrafficMirrorSessionInput struct { // The description to assign to the Traffic Mirror session. Description *string `type:"string"` // 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 number of bytes in each packet to mirror. These are bytes after the VXLAN // header. To mirror a subset, set this to the length (in bytes) to mirror. // For example, if you set this value to 100, then the first 100 bytes that // meet the filter criteria are copied to the target. Do not specify this parameter // when you want to mirror the entire packet. PacketLength *int64 `type:"integer"` // The properties that you want to remove from the Traffic Mirror session. // // When you remove a property from a Traffic Mirror session, the property is // set to the default. RemoveFields []TrafficMirrorSessionField `locationName:"RemoveField" type:"list"` // The session number determines the order in which sessions are evaluated when // an interface is used by multiple sessions. The first session with a matching // filter is the one that mirrors the packets. // // Valid values are 1-32766. SessionNumber *int64 `type:"integer"` // The ID of the Traffic Mirror filter. TrafficMirrorFilterId *string `type:"string"` // The ID of the Traffic Mirror session. // // TrafficMirrorSessionId is a required field TrafficMirrorSessionId *string `type:"string" required:"true"` // The Traffic Mirror target. The target must be in the same VPC as the source, // or have a VPC peering connection with the source. TrafficMirrorTargetId *string `type:"string"` // The virtual network ID of the Traffic Mirror session. VirtualNetworkId *int64 `type:"integer"` // contains filtered or unexported fields }
func (ModifyTrafficMirrorSessionInput) String ¶ added in v0.10.0
func (s ModifyTrafficMirrorSessionInput) String() string
String returns the string representation
func (*ModifyTrafficMirrorSessionInput) Validate ¶ added in v0.10.0
func (s *ModifyTrafficMirrorSessionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyTrafficMirrorSessionOutput ¶ added in v0.10.0
type ModifyTrafficMirrorSessionOutput struct { // Information about the Traffic Mirror session. TrafficMirrorSession *TrafficMirrorSession `locationName:"trafficMirrorSession" type:"structure"` // contains filtered or unexported fields }
func (ModifyTrafficMirrorSessionOutput) String ¶ added in v0.10.0
func (s ModifyTrafficMirrorSessionOutput) String() string
String returns the string representation
type ModifyTrafficMirrorSessionRequest ¶ added in v0.10.0
type ModifyTrafficMirrorSessionRequest struct { *aws.Request Input *ModifyTrafficMirrorSessionInput Copy func(*ModifyTrafficMirrorSessionInput) ModifyTrafficMirrorSessionRequest }
ModifyTrafficMirrorSessionRequest is the request type for the ModifyTrafficMirrorSession API operation.
func (ModifyTrafficMirrorSessionRequest) Send ¶ added in v0.10.0
func (r ModifyTrafficMirrorSessionRequest) Send(ctx context.Context) (*ModifyTrafficMirrorSessionResponse, error)
Send marshals and sends the ModifyTrafficMirrorSession API request.
type ModifyTrafficMirrorSessionResponse ¶ added in v0.10.0
type ModifyTrafficMirrorSessionResponse struct { *ModifyTrafficMirrorSessionOutput // contains filtered or unexported fields }
ModifyTrafficMirrorSessionResponse is the response type for the ModifyTrafficMirrorSession API operation.
func (*ModifyTrafficMirrorSessionResponse) SDKResponseMetdata ¶ added in v0.10.0
func (r *ModifyTrafficMirrorSessionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyTrafficMirrorSession request.
type ModifyTransitGatewayVpcAttachmentInput ¶ added in v0.6.0
type ModifyTransitGatewayVpcAttachmentInput struct { // The IDs of one or more subnets to add. You can specify at most one subnet // per Availability Zone. AddSubnetIds []string `locationNameList:"item" type:"list"` // 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 new VPC attachment options. Options *ModifyTransitGatewayVpcAttachmentRequestOptions `type:"structure"` // The IDs of one or more subnets to remove. RemoveSubnetIds []string `locationNameList:"item" type:"list"` // The ID of the attachment. // // TransitGatewayAttachmentId is a required field TransitGatewayAttachmentId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ModifyTransitGatewayVpcAttachmentInput) String ¶ added in v0.6.0
func (s ModifyTransitGatewayVpcAttachmentInput) String() string
String returns the string representation
func (*ModifyTransitGatewayVpcAttachmentInput) Validate ¶ added in v0.6.0
func (s *ModifyTransitGatewayVpcAttachmentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyTransitGatewayVpcAttachmentOutput ¶ added in v0.6.0
type ModifyTransitGatewayVpcAttachmentOutput struct { // Information about the modified attachment. TransitGatewayVpcAttachment *TransitGatewayVpcAttachment `locationName:"transitGatewayVpcAttachment" type:"structure"` // contains filtered or unexported fields }
func (ModifyTransitGatewayVpcAttachmentOutput) String ¶ added in v0.6.0
func (s ModifyTransitGatewayVpcAttachmentOutput) String() string
String returns the string representation
type ModifyTransitGatewayVpcAttachmentRequest ¶ added in v0.6.0
type ModifyTransitGatewayVpcAttachmentRequest struct { *aws.Request Input *ModifyTransitGatewayVpcAttachmentInput Copy func(*ModifyTransitGatewayVpcAttachmentInput) ModifyTransitGatewayVpcAttachmentRequest }
ModifyTransitGatewayVpcAttachmentRequest is the request type for the ModifyTransitGatewayVpcAttachment API operation.
func (ModifyTransitGatewayVpcAttachmentRequest) Send ¶ added in v0.6.0
func (r ModifyTransitGatewayVpcAttachmentRequest) Send(ctx context.Context) (*ModifyTransitGatewayVpcAttachmentResponse, error)
Send marshals and sends the ModifyTransitGatewayVpcAttachment API request.
type ModifyTransitGatewayVpcAttachmentRequestOptions ¶ added in v0.6.0
type ModifyTransitGatewayVpcAttachmentRequestOptions struct { // Enable or disable DNS support. The default is enable. DnsSupport DnsSupportValue `type:"string" enum:"true"` // Enable or disable IPv6 support. The default is enable. Ipv6Support Ipv6SupportValue `type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the options for a VPC attachment.
func (ModifyTransitGatewayVpcAttachmentRequestOptions) String ¶ added in v0.6.0
func (s ModifyTransitGatewayVpcAttachmentRequestOptions) String() string
String returns the string representation
type ModifyTransitGatewayVpcAttachmentResponse ¶ added in v0.9.0
type ModifyTransitGatewayVpcAttachmentResponse struct { *ModifyTransitGatewayVpcAttachmentOutput // contains filtered or unexported fields }
ModifyTransitGatewayVpcAttachmentResponse is the response type for the ModifyTransitGatewayVpcAttachment API operation.
func (*ModifyTransitGatewayVpcAttachmentResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyTransitGatewayVpcAttachmentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyTransitGatewayVpcAttachment request.
type ModifyVolumeAttributeInput ¶
type ModifyVolumeAttributeInput struct { // Indicates whether the volume should be auto-enabled for I/O operations. AutoEnableIO *AttributeBooleanValue `type:"structure"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the volume. // // VolumeId is a required field VolumeId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for ModifyVolumeAttribute.
func (ModifyVolumeAttributeInput) String ¶
func (s ModifyVolumeAttributeInput) String() string
String returns the string representation
func (*ModifyVolumeAttributeInput) Validate ¶
func (s *ModifyVolumeAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyVolumeAttributeOutput ¶
type ModifyVolumeAttributeOutput struct {
// contains filtered or unexported fields
}
func (ModifyVolumeAttributeOutput) String ¶
func (s ModifyVolumeAttributeOutput) String() string
String returns the string representation
type ModifyVolumeAttributeRequest ¶
type ModifyVolumeAttributeRequest struct { *aws.Request Input *ModifyVolumeAttributeInput Copy func(*ModifyVolumeAttributeInput) ModifyVolumeAttributeRequest }
ModifyVolumeAttributeRequest is the request type for the ModifyVolumeAttribute API operation.
func (ModifyVolumeAttributeRequest) Send ¶
func (r ModifyVolumeAttributeRequest) Send(ctx context.Context) (*ModifyVolumeAttributeResponse, error)
Send marshals and sends the ModifyVolumeAttribute API request.
type ModifyVolumeAttributeResponse ¶ added in v0.9.0
type ModifyVolumeAttributeResponse struct { *ModifyVolumeAttributeOutput // contains filtered or unexported fields }
ModifyVolumeAttributeResponse is the response type for the ModifyVolumeAttribute API operation.
func (*ModifyVolumeAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyVolumeAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyVolumeAttribute request.
type ModifyVolumeInput ¶
type ModifyVolumeInput 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 target IOPS rate of the volume. // // This is only valid for Provisioned IOPS SSD (io1) volumes. For more information, // see Provisioned IOPS SSD (io1) Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html#EBSVolumeTypes_piops). // // Default: If no IOPS value is specified, the existing value is retained. Iops *int64 `type:"integer"` // The target size of the volume, in GiB. The target volume size must be greater // than or equal to than the existing size of the volume. For information about // available EBS volume sizes, see Amazon EBS Volume Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html). // // Default: If no size is specified, the existing size is retained. Size *int64 `type:"integer"` // The ID of the volume. // // VolumeId is a required field VolumeId *string `type:"string" required:"true"` // The target EBS volume type of the volume. // // Default: If no type is specified, the existing type is retained. VolumeType VolumeType `type:"string" enum:"true"` // contains filtered or unexported fields }
func (ModifyVolumeInput) String ¶
func (s ModifyVolumeInput) String() string
String returns the string representation
func (*ModifyVolumeInput) Validate ¶
func (s *ModifyVolumeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyVolumeOutput ¶
type ModifyVolumeOutput struct { // Information about the volume modification. VolumeModification *VolumeModification `locationName:"volumeModification" type:"structure"` // contains filtered or unexported fields }
func (ModifyVolumeOutput) String ¶
func (s ModifyVolumeOutput) String() string
String returns the string representation
type ModifyVolumeRequest ¶
type ModifyVolumeRequest struct { *aws.Request Input *ModifyVolumeInput Copy func(*ModifyVolumeInput) ModifyVolumeRequest }
ModifyVolumeRequest is the request type for the ModifyVolume API operation.
func (ModifyVolumeRequest) Send ¶
func (r ModifyVolumeRequest) Send(ctx context.Context) (*ModifyVolumeResponse, error)
Send marshals and sends the ModifyVolume API request.
type ModifyVolumeResponse ¶ added in v0.9.0
type ModifyVolumeResponse struct { *ModifyVolumeOutput // contains filtered or unexported fields }
ModifyVolumeResponse is the response type for the ModifyVolume API operation.
func (*ModifyVolumeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyVolumeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyVolume request.
type ModifyVpcAttributeInput ¶
type ModifyVpcAttributeInput struct { // Indicates whether the instances launched in the VPC get DNS hostnames. If // enabled, instances in the VPC get DNS hostnames; otherwise, they do not. // // You cannot modify the DNS resolution and DNS hostnames attributes in the // same request. Use separate requests for each attribute. You can only enable // DNS hostnames if you've enabled DNS support. EnableDnsHostnames *AttributeBooleanValue `type:"structure"` // Indicates whether the DNS resolution is supported for the VPC. If enabled, // queries to the Amazon provided DNS server at the 169.254.169.253 IP address, // or the reserved IP address at the base of the VPC network range "plus two" // succeed. If disabled, the Amazon provided DNS service in the VPC that resolves // public DNS hostnames to IP addresses is not enabled. // // You cannot modify the DNS resolution and DNS hostnames attributes in the // same request. Use separate requests for each attribute. EnableDnsSupport *AttributeBooleanValue `type:"structure"` // The ID of the VPC. // // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` // contains filtered or unexported fields }
func (ModifyVpcAttributeInput) String ¶
func (s ModifyVpcAttributeInput) String() string
String returns the string representation
func (*ModifyVpcAttributeInput) Validate ¶
func (s *ModifyVpcAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyVpcAttributeOutput ¶
type ModifyVpcAttributeOutput struct {
// contains filtered or unexported fields
}
func (ModifyVpcAttributeOutput) String ¶
func (s ModifyVpcAttributeOutput) String() string
String returns the string representation
type ModifyVpcAttributeRequest ¶
type ModifyVpcAttributeRequest struct { *aws.Request Input *ModifyVpcAttributeInput Copy func(*ModifyVpcAttributeInput) ModifyVpcAttributeRequest }
ModifyVpcAttributeRequest is the request type for the ModifyVpcAttribute API operation.
func (ModifyVpcAttributeRequest) Send ¶
func (r ModifyVpcAttributeRequest) Send(ctx context.Context) (*ModifyVpcAttributeResponse, error)
Send marshals and sends the ModifyVpcAttribute API request.
type ModifyVpcAttributeResponse ¶ added in v0.9.0
type ModifyVpcAttributeResponse struct { *ModifyVpcAttributeOutput // contains filtered or unexported fields }
ModifyVpcAttributeResponse is the response type for the ModifyVpcAttribute API operation.
func (*ModifyVpcAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyVpcAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyVpcAttribute request.
type ModifyVpcEndpointConnectionNotificationInput ¶ added in v0.2.0
type ModifyVpcEndpointConnectionNotificationInput struct { // One or more events for the endpoint. Valid values are Accept, Connect, Delete, // and Reject. ConnectionEvents []string `locationNameList:"item" type:"list"` // The ARN for the SNS topic for the notification. ConnectionNotificationArn *string `type:"string"` // The ID of the notification. // // ConnectionNotificationId is a required field ConnectionNotificationId *string `type:"string" required:"true"` // 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"` // contains filtered or unexported fields }
func (ModifyVpcEndpointConnectionNotificationInput) String ¶ added in v0.2.0
func (s ModifyVpcEndpointConnectionNotificationInput) String() string
String returns the string representation
func (*ModifyVpcEndpointConnectionNotificationInput) Validate ¶ added in v0.2.0
func (s *ModifyVpcEndpointConnectionNotificationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyVpcEndpointConnectionNotificationOutput ¶ added in v0.2.0
type ModifyVpcEndpointConnectionNotificationOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. ReturnValue *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (ModifyVpcEndpointConnectionNotificationOutput) String ¶ added in v0.2.0
func (s ModifyVpcEndpointConnectionNotificationOutput) String() string
String returns the string representation
type ModifyVpcEndpointConnectionNotificationRequest ¶ added in v0.2.0
type ModifyVpcEndpointConnectionNotificationRequest struct { *aws.Request Input *ModifyVpcEndpointConnectionNotificationInput Copy func(*ModifyVpcEndpointConnectionNotificationInput) ModifyVpcEndpointConnectionNotificationRequest }
ModifyVpcEndpointConnectionNotificationRequest is the request type for the ModifyVpcEndpointConnectionNotification API operation.
func (ModifyVpcEndpointConnectionNotificationRequest) Send ¶ added in v0.2.0
func (r ModifyVpcEndpointConnectionNotificationRequest) Send(ctx context.Context) (*ModifyVpcEndpointConnectionNotificationResponse, error)
Send marshals and sends the ModifyVpcEndpointConnectionNotification API request.
type ModifyVpcEndpointConnectionNotificationResponse ¶ added in v0.9.0
type ModifyVpcEndpointConnectionNotificationResponse struct { *ModifyVpcEndpointConnectionNotificationOutput // contains filtered or unexported fields }
ModifyVpcEndpointConnectionNotificationResponse is the response type for the ModifyVpcEndpointConnectionNotification API operation.
func (*ModifyVpcEndpointConnectionNotificationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyVpcEndpointConnectionNotificationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyVpcEndpointConnectionNotification request.
type ModifyVpcEndpointInput ¶
type ModifyVpcEndpointInput struct { // (Gateway endpoint) One or more route tables IDs to associate with the endpoint. AddRouteTableIds []string `locationName:"AddRouteTableId" locationNameList:"item" type:"list"` // (Interface endpoint) One or more security group IDs to associate with the // network interface. AddSecurityGroupIds []string `locationName:"AddSecurityGroupId" locationNameList:"item" type:"list"` // (Interface endpoint) One or more subnet IDs in which to serve the endpoint. AddSubnetIds []string `locationName:"AddSubnetId" locationNameList:"item" type:"list"` // 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"` // A policy to attach to the endpoint that controls access to the service. The // policy must be in valid JSON format. PolicyDocument *string `type:"string"` // (Interface endpoint) Indicate whether a private hosted zone is associated // with the VPC. PrivateDnsEnabled *bool `type:"boolean"` // (Gateway endpoint) One or more route table IDs to disassociate from the endpoint. RemoveRouteTableIds []string `locationName:"RemoveRouteTableId" locationNameList:"item" type:"list"` // (Interface endpoint) One or more security group IDs to disassociate from // the network interface. RemoveSecurityGroupIds []string `locationName:"RemoveSecurityGroupId" locationNameList:"item" type:"list"` // (Interface endpoint) One or more subnets IDs in which to remove the endpoint. RemoveSubnetIds []string `locationName:"RemoveSubnetId" locationNameList:"item" type:"list"` // (Gateway endpoint) Specify true to reset the policy document to the default // policy. The default policy allows full access to the service. ResetPolicy *bool `type:"boolean"` // The ID of the endpoint. // // VpcEndpointId is a required field VpcEndpointId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for ModifyVpcEndpoint.
func (ModifyVpcEndpointInput) String ¶
func (s ModifyVpcEndpointInput) String() string
String returns the string representation
func (*ModifyVpcEndpointInput) Validate ¶
func (s *ModifyVpcEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyVpcEndpointOutput ¶
type ModifyVpcEndpointOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (ModifyVpcEndpointOutput) String ¶
func (s ModifyVpcEndpointOutput) String() string
String returns the string representation
type ModifyVpcEndpointRequest ¶
type ModifyVpcEndpointRequest struct { *aws.Request Input *ModifyVpcEndpointInput Copy func(*ModifyVpcEndpointInput) ModifyVpcEndpointRequest }
ModifyVpcEndpointRequest is the request type for the ModifyVpcEndpoint API operation.
func (ModifyVpcEndpointRequest) Send ¶
func (r ModifyVpcEndpointRequest) Send(ctx context.Context) (*ModifyVpcEndpointResponse, error)
Send marshals and sends the ModifyVpcEndpoint API request.
type ModifyVpcEndpointResponse ¶ added in v0.9.0
type ModifyVpcEndpointResponse struct { *ModifyVpcEndpointOutput // contains filtered or unexported fields }
ModifyVpcEndpointResponse is the response type for the ModifyVpcEndpoint API operation.
func (*ModifyVpcEndpointResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyVpcEndpointResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyVpcEndpoint request.
type ModifyVpcEndpointServiceConfigurationInput ¶ added in v0.2.0
type ModifyVpcEndpointServiceConfigurationInput struct { // Indicate whether requests to create an endpoint to your service must be accepted. AcceptanceRequired *bool `type:"boolean"` // The Amazon Resource Names (ARNs) of Network Load Balancers to add to your // service configuration. AddNetworkLoadBalancerArns []string `locationName:"AddNetworkLoadBalancerArn" locationNameList:"item" type:"list"` // 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 Amazon Resource Names (ARNs) of Network Load Balancers to remove from // your service configuration. RemoveNetworkLoadBalancerArns []string `locationName:"RemoveNetworkLoadBalancerArn" locationNameList:"item" type:"list"` // The ID of the service. // // ServiceId is a required field ServiceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ModifyVpcEndpointServiceConfigurationInput) String ¶ added in v0.2.0
func (s ModifyVpcEndpointServiceConfigurationInput) String() string
String returns the string representation
func (*ModifyVpcEndpointServiceConfigurationInput) Validate ¶ added in v0.2.0
func (s *ModifyVpcEndpointServiceConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyVpcEndpointServiceConfigurationOutput ¶ added in v0.2.0
type ModifyVpcEndpointServiceConfigurationOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (ModifyVpcEndpointServiceConfigurationOutput) String ¶ added in v0.2.0
func (s ModifyVpcEndpointServiceConfigurationOutput) String() string
String returns the string representation
type ModifyVpcEndpointServiceConfigurationRequest ¶ added in v0.2.0
type ModifyVpcEndpointServiceConfigurationRequest struct { *aws.Request Input *ModifyVpcEndpointServiceConfigurationInput Copy func(*ModifyVpcEndpointServiceConfigurationInput) ModifyVpcEndpointServiceConfigurationRequest }
ModifyVpcEndpointServiceConfigurationRequest is the request type for the ModifyVpcEndpointServiceConfiguration API operation.
func (ModifyVpcEndpointServiceConfigurationRequest) Send ¶ added in v0.2.0
func (r ModifyVpcEndpointServiceConfigurationRequest) Send(ctx context.Context) (*ModifyVpcEndpointServiceConfigurationResponse, error)
Send marshals and sends the ModifyVpcEndpointServiceConfiguration API request.
type ModifyVpcEndpointServiceConfigurationResponse ¶ added in v0.9.0
type ModifyVpcEndpointServiceConfigurationResponse struct { *ModifyVpcEndpointServiceConfigurationOutput // contains filtered or unexported fields }
ModifyVpcEndpointServiceConfigurationResponse is the response type for the ModifyVpcEndpointServiceConfiguration API operation.
func (*ModifyVpcEndpointServiceConfigurationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyVpcEndpointServiceConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyVpcEndpointServiceConfiguration request.
type ModifyVpcEndpointServicePermissionsInput ¶ added in v0.2.0
type ModifyVpcEndpointServicePermissionsInput struct { // The Amazon Resource Names (ARN) of one or more principals. Permissions are // granted to the principals in this list. To grant permissions to all principals, // specify an asterisk (*). AddAllowedPrincipals []string `locationNameList:"item" type:"list"` // 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 Amazon Resource Names (ARN) of one or more principals. Permissions are // revoked for principals in this list. RemoveAllowedPrincipals []string `locationNameList:"item" type:"list"` // The ID of the service. // // ServiceId is a required field ServiceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ModifyVpcEndpointServicePermissionsInput) String ¶ added in v0.2.0
func (s ModifyVpcEndpointServicePermissionsInput) String() string
String returns the string representation
func (*ModifyVpcEndpointServicePermissionsInput) Validate ¶ added in v0.2.0
func (s *ModifyVpcEndpointServicePermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyVpcEndpointServicePermissionsOutput ¶ added in v0.2.0
type ModifyVpcEndpointServicePermissionsOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. ReturnValue *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (ModifyVpcEndpointServicePermissionsOutput) String ¶ added in v0.2.0
func (s ModifyVpcEndpointServicePermissionsOutput) String() string
String returns the string representation
type ModifyVpcEndpointServicePermissionsRequest ¶ added in v0.2.0
type ModifyVpcEndpointServicePermissionsRequest struct { *aws.Request Input *ModifyVpcEndpointServicePermissionsInput Copy func(*ModifyVpcEndpointServicePermissionsInput) ModifyVpcEndpointServicePermissionsRequest }
ModifyVpcEndpointServicePermissionsRequest is the request type for the ModifyVpcEndpointServicePermissions API operation.
func (ModifyVpcEndpointServicePermissionsRequest) Send ¶ added in v0.2.0
func (r ModifyVpcEndpointServicePermissionsRequest) Send(ctx context.Context) (*ModifyVpcEndpointServicePermissionsResponse, error)
Send marshals and sends the ModifyVpcEndpointServicePermissions API request.
type ModifyVpcEndpointServicePermissionsResponse ¶ added in v0.9.0
type ModifyVpcEndpointServicePermissionsResponse struct { *ModifyVpcEndpointServicePermissionsOutput // contains filtered or unexported fields }
ModifyVpcEndpointServicePermissionsResponse is the response type for the ModifyVpcEndpointServicePermissions API operation.
func (*ModifyVpcEndpointServicePermissionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyVpcEndpointServicePermissionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyVpcEndpointServicePermissions request.
type ModifyVpcPeeringConnectionOptionsInput ¶
type ModifyVpcPeeringConnectionOptionsInput struct { // The VPC peering connection options for the accepter VPC. AccepterPeeringConnectionOptions *PeeringConnectionOptionsRequest `type:"structure"` // 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 VPC peering connection options for the requester VPC. RequesterPeeringConnectionOptions *PeeringConnectionOptionsRequest `type:"structure"` // The ID of the VPC peering connection. // // VpcPeeringConnectionId is a required field VpcPeeringConnectionId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ModifyVpcPeeringConnectionOptionsInput) String ¶
func (s ModifyVpcPeeringConnectionOptionsInput) String() string
String returns the string representation
func (*ModifyVpcPeeringConnectionOptionsInput) Validate ¶
func (s *ModifyVpcPeeringConnectionOptionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyVpcPeeringConnectionOptionsOutput ¶
type ModifyVpcPeeringConnectionOptionsOutput struct { // Information about the VPC peering connection options for the accepter VPC. AccepterPeeringConnectionOptions *PeeringConnectionOptions `locationName:"accepterPeeringConnectionOptions" type:"structure"` // Information about the VPC peering connection options for the requester VPC. RequesterPeeringConnectionOptions *PeeringConnectionOptions `locationName:"requesterPeeringConnectionOptions" type:"structure"` // contains filtered or unexported fields }
func (ModifyVpcPeeringConnectionOptionsOutput) String ¶
func (s ModifyVpcPeeringConnectionOptionsOutput) String() string
String returns the string representation
type ModifyVpcPeeringConnectionOptionsRequest ¶
type ModifyVpcPeeringConnectionOptionsRequest struct { *aws.Request Input *ModifyVpcPeeringConnectionOptionsInput Copy func(*ModifyVpcPeeringConnectionOptionsInput) ModifyVpcPeeringConnectionOptionsRequest }
ModifyVpcPeeringConnectionOptionsRequest is the request type for the ModifyVpcPeeringConnectionOptions API operation.
func (ModifyVpcPeeringConnectionOptionsRequest) Send ¶
func (r ModifyVpcPeeringConnectionOptionsRequest) Send(ctx context.Context) (*ModifyVpcPeeringConnectionOptionsResponse, error)
Send marshals and sends the ModifyVpcPeeringConnectionOptions API request.
type ModifyVpcPeeringConnectionOptionsResponse ¶ added in v0.9.0
type ModifyVpcPeeringConnectionOptionsResponse struct { *ModifyVpcPeeringConnectionOptionsOutput // contains filtered or unexported fields }
ModifyVpcPeeringConnectionOptionsResponse is the response type for the ModifyVpcPeeringConnectionOptions API operation.
func (*ModifyVpcPeeringConnectionOptionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyVpcPeeringConnectionOptionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyVpcPeeringConnectionOptions request.
type ModifyVpcTenancyInput ¶ added in v0.2.0
type ModifyVpcTenancyInput 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 instance tenancy attribute for the VPC. // // InstanceTenancy is a required field InstanceTenancy VpcTenancy `type:"string" required:"true" enum:"true"` // The ID of the VPC. // // VpcId is a required field VpcId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ModifyVpcTenancyInput) String ¶ added in v0.2.0
func (s ModifyVpcTenancyInput) String() string
String returns the string representation
func (*ModifyVpcTenancyInput) Validate ¶ added in v0.2.0
func (s *ModifyVpcTenancyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyVpcTenancyOutput ¶ added in v0.2.0
type ModifyVpcTenancyOutput struct { // Returns true if the request succeeds; otherwise, returns an error. ReturnValue *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (ModifyVpcTenancyOutput) String ¶ added in v0.2.0
func (s ModifyVpcTenancyOutput) String() string
String returns the string representation
type ModifyVpcTenancyRequest ¶ added in v0.2.0
type ModifyVpcTenancyRequest struct { *aws.Request Input *ModifyVpcTenancyInput Copy func(*ModifyVpcTenancyInput) ModifyVpcTenancyRequest }
ModifyVpcTenancyRequest is the request type for the ModifyVpcTenancy API operation.
func (ModifyVpcTenancyRequest) Send ¶ added in v0.2.0
func (r ModifyVpcTenancyRequest) Send(ctx context.Context) (*ModifyVpcTenancyResponse, error)
Send marshals and sends the ModifyVpcTenancy API request.
type ModifyVpcTenancyResponse ¶ added in v0.9.0
type ModifyVpcTenancyResponse struct { *ModifyVpcTenancyOutput // contains filtered or unexported fields }
ModifyVpcTenancyResponse is the response type for the ModifyVpcTenancy API operation.
func (*ModifyVpcTenancyResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyVpcTenancyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyVpcTenancy request.
type ModifyVpnConnectionInput ¶ added in v0.9.0
type ModifyVpnConnectionInput struct { // The ID of the customer gateway at your end of the VPN connection. CustomerGatewayId *string `type:"string"` // 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. TransitGatewayId *string `type:"string"` // The ID of the VPN connection. // // VpnConnectionId is a required field VpnConnectionId *string `type:"string" required:"true"` // The ID of the virtual private gateway at the AWS side of the VPN connection. VpnGatewayId *string `type:"string"` // contains filtered or unexported fields }
func (ModifyVpnConnectionInput) String ¶ added in v0.9.0
func (s ModifyVpnConnectionInput) String() string
String returns the string representation
func (*ModifyVpnConnectionInput) Validate ¶ added in v0.9.0
func (s *ModifyVpnConnectionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyVpnConnectionOutput ¶ added in v0.9.0
type ModifyVpnConnectionOutput struct { // Describes a VPN connection. VpnConnection *VpnConnection `locationName:"vpnConnection" type:"structure"` // contains filtered or unexported fields }
func (ModifyVpnConnectionOutput) String ¶ added in v0.9.0
func (s ModifyVpnConnectionOutput) String() string
String returns the string representation
type ModifyVpnConnectionRequest ¶ added in v0.9.0
type ModifyVpnConnectionRequest struct { *aws.Request Input *ModifyVpnConnectionInput Copy func(*ModifyVpnConnectionInput) ModifyVpnConnectionRequest }
ModifyVpnConnectionRequest is the request type for the ModifyVpnConnection API operation.
func (ModifyVpnConnectionRequest) Send ¶ added in v0.9.0
func (r ModifyVpnConnectionRequest) Send(ctx context.Context) (*ModifyVpnConnectionResponse, error)
Send marshals and sends the ModifyVpnConnection API request.
type ModifyVpnConnectionResponse ¶ added in v0.9.0
type ModifyVpnConnectionResponse struct { *ModifyVpnConnectionOutput // contains filtered or unexported fields }
ModifyVpnConnectionResponse is the response type for the ModifyVpnConnection API operation.
func (*ModifyVpnConnectionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ModifyVpnConnectionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyVpnConnection request.
type ModifyVpnTunnelCertificateInput ¶ added in v0.11.0
type ModifyVpnTunnelCertificateInput 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 AWS Site-to-Site VPN connection. // // VpnConnectionId is a required field VpnConnectionId *string `type:"string" required:"true"` // The external IP address of the VPN tunnel. // // VpnTunnelOutsideIpAddress is a required field VpnTunnelOutsideIpAddress *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ModifyVpnTunnelCertificateInput) String ¶ added in v0.11.0
func (s ModifyVpnTunnelCertificateInput) String() string
String returns the string representation
func (*ModifyVpnTunnelCertificateInput) Validate ¶ added in v0.11.0
func (s *ModifyVpnTunnelCertificateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyVpnTunnelCertificateOutput ¶ added in v0.11.0
type ModifyVpnTunnelCertificateOutput struct { // Describes a VPN connection. VpnConnection *VpnConnection `locationName:"vpnConnection" type:"structure"` // contains filtered or unexported fields }
func (ModifyVpnTunnelCertificateOutput) String ¶ added in v0.11.0
func (s ModifyVpnTunnelCertificateOutput) String() string
String returns the string representation
type ModifyVpnTunnelCertificateRequest ¶ added in v0.11.0
type ModifyVpnTunnelCertificateRequest struct { *aws.Request Input *ModifyVpnTunnelCertificateInput Copy func(*ModifyVpnTunnelCertificateInput) ModifyVpnTunnelCertificateRequest }
ModifyVpnTunnelCertificateRequest is the request type for the ModifyVpnTunnelCertificate API operation.
func (ModifyVpnTunnelCertificateRequest) Send ¶ added in v0.11.0
func (r ModifyVpnTunnelCertificateRequest) Send(ctx context.Context) (*ModifyVpnTunnelCertificateResponse, error)
Send marshals and sends the ModifyVpnTunnelCertificate API request.
type ModifyVpnTunnelCertificateResponse ¶ added in v0.11.0
type ModifyVpnTunnelCertificateResponse struct { *ModifyVpnTunnelCertificateOutput // contains filtered or unexported fields }
ModifyVpnTunnelCertificateResponse is the response type for the ModifyVpnTunnelCertificate API operation.
func (*ModifyVpnTunnelCertificateResponse) SDKResponseMetdata ¶ added in v0.11.0
func (r *ModifyVpnTunnelCertificateResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyVpnTunnelCertificate request.
type ModifyVpnTunnelOptionsInput ¶ added in v0.12.0
type ModifyVpnTunnelOptionsInput 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 tunnel options to modify. // // TunnelOptions is a required field TunnelOptions *ModifyVpnTunnelOptionsSpecification `type:"structure" required:"true"` // The ID of the AWS Site-to-Site VPN connection. // // VpnConnectionId is a required field VpnConnectionId *string `type:"string" required:"true"` // The external IP address of the VPN tunnel. // // VpnTunnelOutsideIpAddress is a required field VpnTunnelOutsideIpAddress *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ModifyVpnTunnelOptionsInput) String ¶ added in v0.12.0
func (s ModifyVpnTunnelOptionsInput) String() string
String returns the string representation
func (*ModifyVpnTunnelOptionsInput) Validate ¶ added in v0.12.0
func (s *ModifyVpnTunnelOptionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyVpnTunnelOptionsOutput ¶ added in v0.12.0
type ModifyVpnTunnelOptionsOutput struct { // Describes a VPN connection. VpnConnection *VpnConnection `locationName:"vpnConnection" type:"structure"` // contains filtered or unexported fields }
func (ModifyVpnTunnelOptionsOutput) String ¶ added in v0.12.0
func (s ModifyVpnTunnelOptionsOutput) String() string
String returns the string representation
type ModifyVpnTunnelOptionsRequest ¶ added in v0.12.0
type ModifyVpnTunnelOptionsRequest struct { *aws.Request Input *ModifyVpnTunnelOptionsInput Copy func(*ModifyVpnTunnelOptionsInput) ModifyVpnTunnelOptionsRequest }
ModifyVpnTunnelOptionsRequest is the request type for the ModifyVpnTunnelOptions API operation.
func (ModifyVpnTunnelOptionsRequest) Send ¶ added in v0.12.0
func (r ModifyVpnTunnelOptionsRequest) Send(ctx context.Context) (*ModifyVpnTunnelOptionsResponse, error)
Send marshals and sends the ModifyVpnTunnelOptions API request.
type ModifyVpnTunnelOptionsResponse ¶ added in v0.12.0
type ModifyVpnTunnelOptionsResponse struct { *ModifyVpnTunnelOptionsOutput // contains filtered or unexported fields }
ModifyVpnTunnelOptionsResponse is the response type for the ModifyVpnTunnelOptions API operation.
func (*ModifyVpnTunnelOptionsResponse) SDKResponseMetdata ¶ added in v0.12.0
func (r *ModifyVpnTunnelOptionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ModifyVpnTunnelOptions request.
type ModifyVpnTunnelOptionsSpecification ¶ added in v0.12.0
type ModifyVpnTunnelOptionsSpecification struct { // The number of seconds after which a DPD timeout occurs. // // Constraints: A value between 0 and 30. // // Default: 30 DPDTimeoutSeconds *int64 `type:"integer"` // The IKE versions that are permitted for the VPN tunnel. // // Valid values: ikev1 | ikev2 IKEVersions []IKEVersionsRequestListValue `locationName:"IKEVersion" locationNameList:"item" type:"list"` // One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel // for phase 1 IKE negotiations. // // Valid values: 2 | 14 | 15 | 16 | 17 | 18 | 22 | 23 | 24 Phase1DHGroupNumbers []Phase1DHGroupNumbersRequestListValue `locationName:"Phase1DHGroupNumber" locationNameList:"item" type:"list"` // One or more encryption algorithms that are permitted for the VPN tunnel for // phase 1 IKE negotiations. // // Valid values: AES128 | AES256 Phase1EncryptionAlgorithms []Phase1EncryptionAlgorithmsRequestListValue `locationName:"Phase1EncryptionAlgorithm" locationNameList:"item" type:"list"` // One or more integrity algorithms that are permitted for the VPN tunnel for // phase 1 IKE negotiations. // // Valid values: SHA1 | SHA2-256 Phase1IntegrityAlgorithms []Phase1IntegrityAlgorithmsRequestListValue `locationName:"Phase1IntegrityAlgorithm" locationNameList:"item" type:"list"` // The lifetime for phase 1 of the IKE negotiation, in seconds. // // Constraints: A value between 900 and 28,800. // // Default: 28800 Phase1LifetimeSeconds *int64 `type:"integer"` // One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel // for phase 2 IKE negotiations. // // Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 22 | 23 | 24 Phase2DHGroupNumbers []Phase2DHGroupNumbersRequestListValue `locationName:"Phase2DHGroupNumber" locationNameList:"item" type:"list"` // One or more encryption algorithms that are permitted for the VPN tunnel for // phase 2 IKE negotiations. // // Valid values: AES128 | AES256 Phase2EncryptionAlgorithms []Phase2EncryptionAlgorithmsRequestListValue `locationName:"Phase2EncryptionAlgorithm" locationNameList:"item" type:"list"` // One or more integrity algorithms that are permitted for the VPN tunnel for // phase 2 IKE negotiations. // // Valid values: SHA1 | SHA2-256 Phase2IntegrityAlgorithms []Phase2IntegrityAlgorithmsRequestListValue `locationName:"Phase2IntegrityAlgorithm" locationNameList:"item" type:"list"` // The lifetime for phase 2 of the IKE negotiation, in seconds. // // Constraints: A value between 900 and 3,600. The value must be less than the // value for Phase1LifetimeSeconds. // // Default: 3600 Phase2LifetimeSeconds *int64 `type:"integer"` // virtual private gateway and the customer gateway. // // Constraints: Allowed characters are alphanumeric characters, periods (.), // and underscores (_). Must be between 8 and 64 characters in length and cannot // start with zero (0). PreSharedKey *string `type:"string"` // The percentage of the rekey window (determined by RekeyMarginTimeSeconds) // during which the rekey time is randomly selected. // // Constraints: A value between 0 and 100. // // Default: 100 RekeyFuzzPercentage *int64 `type:"integer"` // The margin time, in seconds, before the phase 2 lifetime expires, during // which the AWS side of the VPN connection performs an IKE rekey. The exact // time of the rekey is randomly selected based on the value for RekeyFuzzPercentage. // // Constraints: A value between 60 and half of Phase2LifetimeSeconds. // // Default: 540 RekeyMarginTimeSeconds *int64 `type:"integer"` // The number of packets in an IKE replay window. // // Constraints: A value between 64 and 2048. // // Default: 1024 ReplayWindowSize *int64 `type:"integer"` // The range of inside IP addresses for the tunnel. Any specified CIDR blocks // must be unique across all VPN connections that use the same virtual private // gateway. // // Constraints: A size /30 CIDR block from the 169.254.0.0/16 range. The following // CIDR blocks are reserved and cannot be used: // // * 169.254.0.0/30 // // * 169.254.1.0/30 // // * 169.254.2.0/30 // // * 169.254.3.0/30 // // * 169.254.4.0/30 // // * 169.254.5.0/30 // // * 169.254.169.252/30 TunnelInsideCidr *string `type:"string"` // contains filtered or unexported fields }
The AWS Site-to-Site VPN tunnel options to modify.
func (ModifyVpnTunnelOptionsSpecification) String ¶ added in v0.12.0
func (s ModifyVpnTunnelOptionsSpecification) String() string
String returns the string representation
type MonitorInstancesInput ¶
type MonitorInstancesInput 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 `locationName:"dryRun" type:"boolean"` // The IDs of the instances. // // InstanceIds is a required field InstanceIds []string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` // contains filtered or unexported fields }
func (MonitorInstancesInput) String ¶
func (s MonitorInstancesInput) String() string
String returns the string representation
func (*MonitorInstancesInput) Validate ¶
func (s *MonitorInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MonitorInstancesOutput ¶
type MonitorInstancesOutput struct { // The monitoring information. InstanceMonitorings []InstanceMonitoring `locationName:"instancesSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (MonitorInstancesOutput) String ¶
func (s MonitorInstancesOutput) String() string
String returns the string representation
type MonitorInstancesRequest ¶
type MonitorInstancesRequest struct { *aws.Request Input *MonitorInstancesInput Copy func(*MonitorInstancesInput) MonitorInstancesRequest }
MonitorInstancesRequest is the request type for the MonitorInstances API operation.
func (MonitorInstancesRequest) Send ¶
func (r MonitorInstancesRequest) Send(ctx context.Context) (*MonitorInstancesResponse, error)
Send marshals and sends the MonitorInstances API request.
type MonitorInstancesResponse ¶ added in v0.9.0
type MonitorInstancesResponse struct { *MonitorInstancesOutput // contains filtered or unexported fields }
MonitorInstancesResponse is the response type for the MonitorInstances API operation.
func (*MonitorInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *MonitorInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the MonitorInstances request.
type Monitoring ¶
type Monitoring struct { // Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring // is enabled. State MonitoringState `locationName:"state" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the monitoring of an instance.
func (Monitoring) String ¶
func (s Monitoring) String() string
String returns the string representation
type MonitoringState ¶
type MonitoringState string
const ( MonitoringStateDisabled MonitoringState = "disabled" MonitoringStateDisabling MonitoringState = "disabling" MonitoringStateEnabled MonitoringState = "enabled" MonitoringStatePending MonitoringState = "pending" )
Enum values for MonitoringState
func (MonitoringState) MarshalValue ¶ added in v0.3.0
func (enum MonitoringState) MarshalValue() (string, error)
func (MonitoringState) MarshalValueBuf ¶ added in v0.3.0
func (enum MonitoringState) MarshalValueBuf(b []byte) ([]byte, error)
type MoveAddressToVpcInput ¶
type MoveAddressToVpcInput 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 `locationName:"dryRun" type:"boolean"` // The Elastic IP address. // // PublicIp is a required field PublicIp *string `locationName:"publicIp" type:"string" required:"true"` // contains filtered or unexported fields }
func (MoveAddressToVpcInput) String ¶
func (s MoveAddressToVpcInput) String() string
String returns the string representation
func (*MoveAddressToVpcInput) Validate ¶
func (s *MoveAddressToVpcInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MoveAddressToVpcOutput ¶
type MoveAddressToVpcOutput struct { // The allocation ID for the Elastic IP address. AllocationId *string `locationName:"allocationId" type:"string"` // The status of the move of the IP address. Status Status `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
func (MoveAddressToVpcOutput) String ¶
func (s MoveAddressToVpcOutput) String() string
String returns the string representation
type MoveAddressToVpcRequest ¶
type MoveAddressToVpcRequest struct { *aws.Request Input *MoveAddressToVpcInput Copy func(*MoveAddressToVpcInput) MoveAddressToVpcRequest }
MoveAddressToVpcRequest is the request type for the MoveAddressToVpc API operation.
func (MoveAddressToVpcRequest) Send ¶
func (r MoveAddressToVpcRequest) Send(ctx context.Context) (*MoveAddressToVpcResponse, error)
Send marshals and sends the MoveAddressToVpc API request.
type MoveAddressToVpcResponse ¶ added in v0.9.0
type MoveAddressToVpcResponse struct { *MoveAddressToVpcOutput // contains filtered or unexported fields }
MoveAddressToVpcResponse is the response type for the MoveAddressToVpc API operation.
func (*MoveAddressToVpcResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *MoveAddressToVpcResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the MoveAddressToVpc request.
type MoveStatus ¶
type MoveStatus string
const ( MoveStatusMovingToVpc MoveStatus = "movingToVpc" MoveStatusRestoringToClassic MoveStatus = "restoringToClassic" )
Enum values for MoveStatus
func (MoveStatus) MarshalValue ¶ added in v0.3.0
func (enum MoveStatus) MarshalValue() (string, error)
func (MoveStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum MoveStatus) MarshalValueBuf(b []byte) ([]byte, error)
type MovingAddressStatus ¶
type MovingAddressStatus struct { // The status of the Elastic IP address that's being moved to the EC2-VPC platform, // or restored to the EC2-Classic platform. MoveStatus MoveStatus `locationName:"moveStatus" type:"string" enum:"true"` // The Elastic IP address. PublicIp *string `locationName:"publicIp" type:"string"` // contains filtered or unexported fields }
Describes the status of a moving Elastic IP address.
func (MovingAddressStatus) String ¶
func (s MovingAddressStatus) String() string
String returns the string representation
type NatGateway ¶
type NatGateway struct { // The date and time the NAT gateway was created. CreateTime *time.Time `locationName:"createTime" type:"timestamp"` // The date and time the NAT gateway was deleted, if applicable. DeleteTime *time.Time `locationName:"deleteTime" type:"timestamp"` // If the NAT gateway could not be created, specifies the error code for the // failure. (InsufficientFreeAddressesInSubnet | Gateway.NotAttached | InvalidAllocationID.NotFound // | Resource.AlreadyAssociated | InternalError | InvalidSubnetID.NotFound) FailureCode *string `locationName:"failureCode" type:"string"` // If the NAT gateway could not be created, specifies the error message for // the failure, that corresponds to the error code. // // * For InsufficientFreeAddressesInSubnet: "Subnet has insufficient free // addresses to create this NAT gateway" // // * For Gateway.NotAttached: "Network vpc-xxxxxxxx has no Internet gateway // attached" // // * For InvalidAllocationID.NotFound: "Elastic IP address eipalloc-xxxxxxxx // could not be associated with this NAT gateway" // // * For Resource.AlreadyAssociated: "Elastic IP address eipalloc-xxxxxxxx // is already associated" // // * For InternalError: "Network interface eni-xxxxxxxx, created and used // internally by this NAT gateway is in an invalid state. Please try again." // // * For InvalidSubnetID.NotFound: "The specified subnet subnet-xxxxxxxx // does not exist or could not be found." FailureMessage *string `locationName:"failureMessage" type:"string"` // Information about the IP addresses and network interface associated with // the NAT gateway. NatGatewayAddresses []NatGatewayAddress `locationName:"natGatewayAddressSet" locationNameList:"item" type:"list"` // The ID of the NAT gateway. NatGatewayId *string `locationName:"natGatewayId" type:"string"` // Reserved. If you need to sustain traffic greater than the documented limits // (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html), // contact us through the Support Center (https://console.aws.amazon.com/support/home?). ProvisionedBandwidth *ProvisionedBandwidth `locationName:"provisionedBandwidth" type:"structure"` // The state of the NAT gateway. // // * pending: The NAT gateway is being created and is not ready to process // traffic. // // * failed: The NAT gateway could not be created. Check the failureCode // and failureMessage fields for the reason. // // * available: The NAT gateway is able to process traffic. This status remains // until you delete the NAT gateway, and does not indicate the health of // the NAT gateway. // // * deleting: The NAT gateway is in the process of being terminated and // may still be processing traffic. // // * deleted: The NAT gateway has been terminated and is no longer processing // traffic. State NatGatewayState `locationName:"state" type:"string" enum:"true"` // The ID of the subnet in which the NAT gateway is located. SubnetId *string `locationName:"subnetId" type:"string"` // The tags for the NAT gateway. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the VPC in which the NAT gateway is located. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes a NAT gateway.
func (NatGateway) String ¶
func (s NatGateway) String() string
String returns the string representation
type NatGatewayAddress ¶
type NatGatewayAddress struct { // The allocation ID of the Elastic IP address that's associated with the NAT // gateway. AllocationId *string `locationName:"allocationId" type:"string"` // The ID of the network interface associated with the NAT gateway. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // The private IP address associated with the Elastic IP address. PrivateIp *string `locationName:"privateIp" type:"string"` // The Elastic IP address associated with the NAT gateway. PublicIp *string `locationName:"publicIp" type:"string"` // contains filtered or unexported fields }
Describes the IP addresses and network interface associated with a NAT gateway.
func (NatGatewayAddress) String ¶
func (s NatGatewayAddress) String() string
String returns the string representation
type NatGatewayState ¶
type NatGatewayState string
const ( NatGatewayStatePending NatGatewayState = "pending" NatGatewayStateFailed NatGatewayState = "failed" NatGatewayStateAvailable NatGatewayState = "available" NatGatewayStateDeleting NatGatewayState = "deleting" NatGatewayStateDeleted NatGatewayState = "deleted" )
Enum values for NatGatewayState
func (NatGatewayState) MarshalValue ¶ added in v0.3.0
func (enum NatGatewayState) MarshalValue() (string, error)
func (NatGatewayState) MarshalValueBuf ¶ added in v0.3.0
func (enum NatGatewayState) MarshalValueBuf(b []byte) ([]byte, error)
type NetworkAcl ¶
type NetworkAcl struct { // Any associations between the network ACL and one or more subnets Associations []NetworkAclAssociation `locationName:"associationSet" locationNameList:"item" type:"list"` // One or more entries (rules) in the network ACL. Entries []NetworkAclEntry `locationName:"entrySet" locationNameList:"item" type:"list"` // Indicates whether this is the default network ACL for the VPC. IsDefault *bool `locationName:"default" type:"boolean"` // The ID of the network ACL. NetworkAclId *string `locationName:"networkAclId" type:"string"` // The ID of the AWS account that owns the network ACL. OwnerId *string `locationName:"ownerId" type:"string"` // Any tags assigned to the network ACL. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the VPC for the network ACL. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes a network ACL.
func (NetworkAcl) String ¶
func (s NetworkAcl) String() string
String returns the string representation
type NetworkAclAssociation ¶
type NetworkAclAssociation struct { // The ID of the association between a network ACL and a subnet. NetworkAclAssociationId *string `locationName:"networkAclAssociationId" type:"string"` // The ID of the network ACL. NetworkAclId *string `locationName:"networkAclId" type:"string"` // The ID of the subnet. SubnetId *string `locationName:"subnetId" type:"string"` // contains filtered or unexported fields }
Describes an association between a network ACL and a subnet.
func (NetworkAclAssociation) String ¶
func (s NetworkAclAssociation) String() string
String returns the string representation
type NetworkAclEntry ¶
type NetworkAclEntry struct { // The IPv4 network range to allow or deny, in CIDR notation. CidrBlock *string `locationName:"cidrBlock" type:"string"` // Indicates whether the rule is an egress rule (applied to traffic leaving // the subnet). Egress *bool `locationName:"egress" type:"boolean"` // ICMP protocol: The ICMP type and code. IcmpTypeCode *IcmpTypeCode `locationName:"icmpTypeCode" type:"structure"` // The IPv6 network range to allow or deny, in CIDR notation. Ipv6CidrBlock *string `locationName:"ipv6CidrBlock" type:"string"` // TCP or UDP protocols: The range of ports the rule applies to. PortRange *PortRange `locationName:"portRange" type:"structure"` // The protocol number. A value of "-1" means all protocols. Protocol *string `locationName:"protocol" type:"string"` // Indicates whether to allow or deny the traffic that matches the rule. RuleAction RuleAction `locationName:"ruleAction" type:"string" enum:"true"` // The rule number for the entry. ACL entries are processed in ascending order // by rule number. RuleNumber *int64 `locationName:"ruleNumber" type:"integer"` // contains filtered or unexported fields }
Describes an entry in a network ACL.
func (NetworkAclEntry) String ¶
func (s NetworkAclEntry) String() string
String returns the string representation
type NetworkInterface ¶
type NetworkInterface struct { // The association information for an Elastic IP address (IPv4) associated with // the network interface. Association *NetworkInterfaceAssociation `locationName:"association" type:"structure"` // The network interface attachment. Attachment *NetworkInterfaceAttachment `locationName:"attachment" type:"structure"` // The Availability Zone. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // A description. Description *string `locationName:"description" type:"string"` // Any security groups for the network interface. Groups []GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` // The type of network interface. InterfaceType NetworkInterfaceType `locationName:"interfaceType" type:"string" enum:"true"` // The IPv6 addresses associated with the network interface. Ipv6Addresses []NetworkInterfaceIpv6Address `locationName:"ipv6AddressesSet" locationNameList:"item" type:"list"` // The MAC address. MacAddress *string `locationName:"macAddress" type:"string"` // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // The AWS account ID of the owner of the network interface. OwnerId *string `locationName:"ownerId" type:"string"` // The private DNS name. PrivateDnsName *string `locationName:"privateDnsName" type:"string"` // The IPv4 address of the network interface within the subnet. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // The private IPv4 addresses associated with the network interface. PrivateIpAddresses []NetworkInterfacePrivateIpAddress `locationName:"privateIpAddressesSet" locationNameList:"item" type:"list"` // The ID of the entity that launched the instance on your behalf (for example, // AWS Management Console or Auto Scaling). RequesterId *string `locationName:"requesterId" type:"string"` // Indicates whether the network interface is being managed by AWS. RequesterManaged *bool `locationName:"requesterManaged" type:"boolean"` // Indicates whether traffic to or from the instance is validated. SourceDestCheck *bool `locationName:"sourceDestCheck" type:"boolean"` // The status of the network interface. Status NetworkInterfaceStatus `locationName:"status" type:"string" enum:"true"` // The ID of the subnet. SubnetId *string `locationName:"subnetId" type:"string"` // Any tags assigned to the network interface. TagSet []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes a network interface.
func (NetworkInterface) String ¶
func (s NetworkInterface) String() string
String returns the string representation
type NetworkInterfaceAssociation ¶
type NetworkInterfaceAssociation struct { // The allocation ID. AllocationId *string `locationName:"allocationId" type:"string"` // The association ID. AssociationId *string `locationName:"associationId" type:"string"` // The ID of the Elastic IP address owner. IpOwnerId *string `locationName:"ipOwnerId" type:"string"` // The public DNS name. PublicDnsName *string `locationName:"publicDnsName" type:"string"` // The address of the Elastic IP address bound to the network interface. PublicIp *string `locationName:"publicIp" type:"string"` // contains filtered or unexported fields }
Describes association information for an Elastic IP address (IPv4 only).
func (NetworkInterfaceAssociation) String ¶
func (s NetworkInterfaceAssociation) String() string
String returns the string representation
type NetworkInterfaceAttachment ¶
type NetworkInterfaceAttachment struct { // The timestamp indicating when the attachment initiated. AttachTime *time.Time `locationName:"attachTime" type:"timestamp"` // The ID of the network interface attachment. AttachmentId *string `locationName:"attachmentId" type:"string"` // Indicates whether the network interface is deleted when the instance is terminated. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` // The device index of the network interface attachment on the instance. DeviceIndex *int64 `locationName:"deviceIndex" type:"integer"` // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // The AWS account ID of the owner of the instance. InstanceOwnerId *string `locationName:"instanceOwnerId" type:"string"` // The attachment state. Status AttachmentStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a network interface attachment.
func (NetworkInterfaceAttachment) String ¶
func (s NetworkInterfaceAttachment) String() string
String returns the string representation
type NetworkInterfaceAttachmentChanges ¶
type NetworkInterfaceAttachmentChanges struct { // The ID of the network interface attachment. AttachmentId *string `locationName:"attachmentId" type:"string"` // Indicates whether the network interface is deleted when the instance is terminated. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` // contains filtered or unexported fields }
Describes an attachment change.
func (NetworkInterfaceAttachmentChanges) String ¶
func (s NetworkInterfaceAttachmentChanges) String() string
String returns the string representation
type NetworkInterfaceAttribute ¶
type NetworkInterfaceAttribute string
const ( NetworkInterfaceAttributeDescription NetworkInterfaceAttribute = "description" NetworkInterfaceAttributeGroupSet NetworkInterfaceAttribute = "groupSet" NetworkInterfaceAttributeSourceDestCheck NetworkInterfaceAttribute = "sourceDestCheck" NetworkInterfaceAttributeAttachment NetworkInterfaceAttribute = "attachment" )
Enum values for NetworkInterfaceAttribute
func (NetworkInterfaceAttribute) MarshalValue ¶ added in v0.3.0
func (enum NetworkInterfaceAttribute) MarshalValue() (string, error)
func (NetworkInterfaceAttribute) MarshalValueBuf ¶ added in v0.3.0
func (enum NetworkInterfaceAttribute) MarshalValueBuf(b []byte) ([]byte, error)
type NetworkInterfaceCreationType ¶ added in v0.9.0
type NetworkInterfaceCreationType string
const (
NetworkInterfaceCreationTypeEfa NetworkInterfaceCreationType = "efa"
)
Enum values for NetworkInterfaceCreationType
func (NetworkInterfaceCreationType) MarshalValue ¶ added in v0.9.0
func (enum NetworkInterfaceCreationType) MarshalValue() (string, error)
func (NetworkInterfaceCreationType) MarshalValueBuf ¶ added in v0.9.0
func (enum NetworkInterfaceCreationType) MarshalValueBuf(b []byte) ([]byte, error)
type NetworkInterfaceIpv6Address ¶
type NetworkInterfaceIpv6Address struct { // The IPv6 address. Ipv6Address *string `locationName:"ipv6Address" type:"string"` // contains filtered or unexported fields }
Describes an IPv6 address associated with a network interface.
func (NetworkInterfaceIpv6Address) String ¶
func (s NetworkInterfaceIpv6Address) String() string
String returns the string representation
type NetworkInterfacePermission ¶
type NetworkInterfacePermission struct { // The AWS account ID. AwsAccountId *string `locationName:"awsAccountId" type:"string"` // The AWS service. AwsService *string `locationName:"awsService" type:"string"` // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // The ID of the network interface permission. NetworkInterfacePermissionId *string `locationName:"networkInterfacePermissionId" type:"string"` // The type of permission. Permission InterfacePermissionType `locationName:"permission" type:"string" enum:"true"` // Information about the state of the permission. PermissionState *NetworkInterfacePermissionState `locationName:"permissionState" type:"structure"` // contains filtered or unexported fields }
Describes a permission for a network interface.
func (NetworkInterfacePermission) String ¶
func (s NetworkInterfacePermission) String() string
String returns the string representation
type NetworkInterfacePermissionState ¶
type NetworkInterfacePermissionState struct { // The state of the permission. State NetworkInterfacePermissionStateCode `locationName:"state" type:"string" enum:"true"` // A status message, if applicable. StatusMessage *string `locationName:"statusMessage" type:"string"` // contains filtered or unexported fields }
Describes the state of a network interface permission.
func (NetworkInterfacePermissionState) String ¶
func (s NetworkInterfacePermissionState) String() string
String returns the string representation
type NetworkInterfacePermissionStateCode ¶
type NetworkInterfacePermissionStateCode string
const ( NetworkInterfacePermissionStateCodePending NetworkInterfacePermissionStateCode = "pending" NetworkInterfacePermissionStateCodeGranted NetworkInterfacePermissionStateCode = "granted" NetworkInterfacePermissionStateCodeRevoking NetworkInterfacePermissionStateCode = "revoking" NetworkInterfacePermissionStateCodeRevoked NetworkInterfacePermissionStateCode = "revoked" )
Enum values for NetworkInterfacePermissionStateCode
func (NetworkInterfacePermissionStateCode) MarshalValue ¶ added in v0.3.0
func (enum NetworkInterfacePermissionStateCode) MarshalValue() (string, error)
func (NetworkInterfacePermissionStateCode) MarshalValueBuf ¶ added in v0.3.0
func (enum NetworkInterfacePermissionStateCode) MarshalValueBuf(b []byte) ([]byte, error)
type NetworkInterfacePrivateIpAddress ¶
type NetworkInterfacePrivateIpAddress struct { // The association information for an Elastic IP address (IPv4) associated with // the network interface. Association *NetworkInterfaceAssociation `locationName:"association" type:"structure"` // Indicates whether this IPv4 address is the primary private IPv4 address of // the network interface. Primary *bool `locationName:"primary" type:"boolean"` // The private DNS name. PrivateDnsName *string `locationName:"privateDnsName" type:"string"` // The private IPv4 address. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // contains filtered or unexported fields }
Describes the private IPv4 address of a network interface.
func (NetworkInterfacePrivateIpAddress) String ¶
func (s NetworkInterfacePrivateIpAddress) String() string
String returns the string representation
type NetworkInterfaceStatus ¶
type NetworkInterfaceStatus string
const ( NetworkInterfaceStatusAvailable NetworkInterfaceStatus = "available" NetworkInterfaceStatusAssociated NetworkInterfaceStatus = "associated" NetworkInterfaceStatusAttaching NetworkInterfaceStatus = "attaching" NetworkInterfaceStatusInUse NetworkInterfaceStatus = "in-use" NetworkInterfaceStatusDetaching NetworkInterfaceStatus = "detaching" )
Enum values for NetworkInterfaceStatus
func (NetworkInterfaceStatus) MarshalValue ¶ added in v0.3.0
func (enum NetworkInterfaceStatus) MarshalValue() (string, error)
func (NetworkInterfaceStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum NetworkInterfaceStatus) MarshalValueBuf(b []byte) ([]byte, error)
type NetworkInterfaceType ¶
type NetworkInterfaceType string
const ( NetworkInterfaceTypeInterface NetworkInterfaceType = "interface" NetworkInterfaceTypeNatGateway NetworkInterfaceType = "natGateway" NetworkInterfaceTypeEfa NetworkInterfaceType = "efa" )
Enum values for NetworkInterfaceType
func (NetworkInterfaceType) MarshalValue ¶ added in v0.3.0
func (enum NetworkInterfaceType) MarshalValue() (string, error)
func (NetworkInterfaceType) MarshalValueBuf ¶ added in v0.3.0
func (enum NetworkInterfaceType) MarshalValueBuf(b []byte) ([]byte, error)
type NewDhcpConfiguration ¶
type NewDhcpConfiguration struct { Key *string `locationName:"key" type:"string"` Values []string `locationName:"Value" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (NewDhcpConfiguration) String ¶
func (s NewDhcpConfiguration) String() string
String returns the string representation
type OfferingClassType ¶
type OfferingClassType string
const ( OfferingClassTypeStandard OfferingClassType = "standard" OfferingClassTypeConvertible OfferingClassType = "convertible" )
Enum values for OfferingClassType
func (OfferingClassType) MarshalValue ¶ added in v0.3.0
func (enum OfferingClassType) MarshalValue() (string, error)
func (OfferingClassType) MarshalValueBuf ¶ added in v0.3.0
func (enum OfferingClassType) MarshalValueBuf(b []byte) ([]byte, error)
type OfferingTypeValues ¶
type OfferingTypeValues string
const ( OfferingTypeValuesHeavyUtilization OfferingTypeValues = "Heavy Utilization" OfferingTypeValuesMediumUtilization OfferingTypeValues = "Medium Utilization" OfferingTypeValuesLightUtilization OfferingTypeValues = "Light Utilization" OfferingTypeValuesNoUpfront OfferingTypeValues = "No Upfront" OfferingTypeValuesPartialUpfront OfferingTypeValues = "Partial Upfront" OfferingTypeValuesAllUpfront OfferingTypeValues = "All Upfront" )
Enum values for OfferingTypeValues
func (OfferingTypeValues) MarshalValue ¶ added in v0.3.0
func (enum OfferingTypeValues) MarshalValue() (string, error)
func (OfferingTypeValues) MarshalValueBuf ¶ added in v0.3.0
func (enum OfferingTypeValues) MarshalValueBuf(b []byte) ([]byte, error)
type OnDemandAllocationStrategy ¶ added in v0.5.0
type OnDemandAllocationStrategy string
const ( OnDemandAllocationStrategyLowestPrice OnDemandAllocationStrategy = "lowestPrice" OnDemandAllocationStrategyPrioritized OnDemandAllocationStrategy = "prioritized" )
Enum values for OnDemandAllocationStrategy
func (OnDemandAllocationStrategy) MarshalValue ¶ added in v0.5.0
func (enum OnDemandAllocationStrategy) MarshalValue() (string, error)
func (OnDemandAllocationStrategy) MarshalValueBuf ¶ added in v0.5.0
func (enum OnDemandAllocationStrategy) MarshalValueBuf(b []byte) ([]byte, error)
type OnDemandOptions ¶ added in v0.5.0
type OnDemandOptions struct { // The order of the launch template overrides to use in fulfilling On-Demand // capacity. If you specify lowest-price, EC2 Fleet uses price to determine // the order, launching the lowest price first. If you specify prioritized, // EC2 Fleet uses the priority that you assigned to each launch template override, // launching the highest priority first. If you do not specify a value, EC2 // Fleet defaults to lowest-price. AllocationStrategy FleetOnDemandAllocationStrategy `locationName:"allocationStrategy" type:"string" enum:"true"` // The maximum amount per hour for On-Demand Instances that you're willing to // pay. MaxTotalPrice *string `locationName:"maxTotalPrice" type:"string"` // The minimum target capacity for On-Demand Instances in the fleet. If the // minimum target capacity is not reached, the fleet launches no instances. MinTargetCapacity *int64 `locationName:"minTargetCapacity" type:"integer"` // Indicates that the fleet launches all On-Demand Instances into a single Availability // Zone. SingleAvailabilityZone *bool `locationName:"singleAvailabilityZone" type:"boolean"` // Indicates that the fleet uses a single instance type to launch all On-Demand // Instances in the fleet. SingleInstanceType *bool `locationName:"singleInstanceType" type:"boolean"` // contains filtered or unexported fields }
Describes the configuration of On-Demand Instances in an EC2 Fleet.
func (OnDemandOptions) String ¶ added in v0.5.0
func (s OnDemandOptions) String() string
String returns the string representation
type OnDemandOptionsRequest ¶ added in v0.5.0
type OnDemandOptionsRequest struct { // The order of the launch template overrides to use in fulfilling On-Demand // capacity. If you specify lowest-price, EC2 Fleet uses price to determine // the order, launching the lowest price first. If you specify prioritized, // EC2 Fleet uses the priority that you assigned to each launch template override, // launching the highest priority first. If you do not specify a value, EC2 // Fleet defaults to lowest-price. AllocationStrategy FleetOnDemandAllocationStrategy `type:"string" enum:"true"` // The maximum amount per hour for On-Demand Instances that you're willing to // pay. MaxTotalPrice *string `type:"string"` // The minimum target capacity for On-Demand Instances in the fleet. If the // minimum target capacity is not reached, the fleet launches no instances. MinTargetCapacity *int64 `type:"integer"` // Indicates that the fleet launches all On-Demand Instances into a single Availability // Zone. SingleAvailabilityZone *bool `type:"boolean"` // Indicates that the fleet uses a single instance type to launch all On-Demand // Instances in the fleet. SingleInstanceType *bool `type:"boolean"` // contains filtered or unexported fields }
Describes the configuration of On-Demand Instances in an EC2 Fleet.
func (OnDemandOptionsRequest) String ¶ added in v0.5.0
func (s OnDemandOptionsRequest) String() string
String returns the string representation
type OperationType ¶
type OperationType string
const ( OperationTypeAdd OperationType = "add" OperationTypeRemove OperationType = "remove" )
Enum values for OperationType
func (OperationType) MarshalValue ¶ added in v0.3.0
func (enum OperationType) MarshalValue() (string, error)
func (OperationType) MarshalValueBuf ¶ added in v0.3.0
func (enum OperationType) MarshalValueBuf(b []byte) ([]byte, error)
type PaymentOption ¶
type PaymentOption string
const ( PaymentOptionAllUpfront PaymentOption = "AllUpfront" PaymentOptionPartialUpfront PaymentOption = "PartialUpfront" PaymentOptionNoUpfront PaymentOption = "NoUpfront" )
Enum values for PaymentOption
func (PaymentOption) MarshalValue ¶ added in v0.3.0
func (enum PaymentOption) MarshalValue() (string, error)
func (PaymentOption) MarshalValueBuf ¶ added in v0.3.0
func (enum PaymentOption) MarshalValueBuf(b []byte) ([]byte, error)
type PciId ¶
type PciId struct { // The ID of the device. DeviceId *string `type:"string"` // The ID of the subsystem. SubsystemId *string `type:"string"` // The ID of the vendor for the subsystem. SubsystemVendorId *string `type:"string"` // The ID of the vendor. VendorId *string `type:"string"` // contains filtered or unexported fields }
Describes the data that identifies an Amazon FPGA image (AFI) on the PCI bus.
type PeeringConnectionOptions ¶
type PeeringConnectionOptions struct { // If true, the public DNS hostnames of instances in the specified VPC resolve // to private IP addresses when queried from instances in the peer VPC. AllowDnsResolutionFromRemoteVpc *bool `locationName:"allowDnsResolutionFromRemoteVpc" type:"boolean"` // If true, enables outbound communication from an EC2-Classic instance that's // linked to a local VPC using ClassicLink to instances in a peer VPC. AllowEgressFromLocalClassicLinkToRemoteVpc *bool `locationName:"allowEgressFromLocalClassicLinkToRemoteVpc" type:"boolean"` // If true, enables outbound communication from instances in a local VPC to // an EC2-Classic instance that's linked to a peer VPC using ClassicLink. AllowEgressFromLocalVpcToRemoteClassicLink *bool `locationName:"allowEgressFromLocalVpcToRemoteClassicLink" type:"boolean"` // contains filtered or unexported fields }
Describes the VPC peering connection options.
func (PeeringConnectionOptions) String ¶
func (s PeeringConnectionOptions) String() string
String returns the string representation
type PeeringConnectionOptionsRequest ¶
type PeeringConnectionOptionsRequest struct { // If true, enables a local VPC to resolve public DNS hostnames to private IP // addresses when queried from instances in the peer VPC. AllowDnsResolutionFromRemoteVpc *bool `type:"boolean"` // If true, enables outbound communication from an EC2-Classic instance that's // linked to a local VPC using ClassicLink to instances in a peer VPC. AllowEgressFromLocalClassicLinkToRemoteVpc *bool `type:"boolean"` // If true, enables outbound communication from instances in a local VPC to // an EC2-Classic instance that's linked to a peer VPC using ClassicLink. AllowEgressFromLocalVpcToRemoteClassicLink *bool `type:"boolean"` // contains filtered or unexported fields }
The VPC peering connection options.
func (PeeringConnectionOptionsRequest) String ¶
func (s PeeringConnectionOptionsRequest) String() string
String returns the string representation
type PermissionGroup ¶
type PermissionGroup string
const (
PermissionGroupAll PermissionGroup = "all"
)
Enum values for PermissionGroup
func (PermissionGroup) MarshalValue ¶ added in v0.3.0
func (enum PermissionGroup) MarshalValue() (string, error)
func (PermissionGroup) MarshalValueBuf ¶ added in v0.3.0
func (enum PermissionGroup) MarshalValueBuf(b []byte) ([]byte, error)
type Phase1DHGroupNumbersListValue ¶ added in v0.12.0
type Phase1DHGroupNumbersListValue struct { // The Diffie-Hellmann group number. Value *int64 `locationName:"value" type:"integer"` // contains filtered or unexported fields }
The Diffie-Hellmann group number for phase 1 IKE negotiations.
func (Phase1DHGroupNumbersListValue) String ¶ added in v0.12.0
func (s Phase1DHGroupNumbersListValue) String() string
String returns the string representation
type Phase1DHGroupNumbersRequestListValue ¶ added in v0.12.0
type Phase1DHGroupNumbersRequestListValue struct { // The Diffie-Hellmann group number. Value *int64 `type:"integer"` // contains filtered or unexported fields }
Specifies a Diffie-Hellman group number for the VPN tunnel for phase 1 IKE negotiations.
func (Phase1DHGroupNumbersRequestListValue) String ¶ added in v0.12.0
func (s Phase1DHGroupNumbersRequestListValue) String() string
String returns the string representation
type Phase1EncryptionAlgorithmsListValue ¶ added in v0.12.0
type Phase1EncryptionAlgorithmsListValue struct { // The value for the encryption algorithm. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
The encryption algorithm for phase 1 IKE negotiations.
func (Phase1EncryptionAlgorithmsListValue) String ¶ added in v0.12.0
func (s Phase1EncryptionAlgorithmsListValue) String() string
String returns the string representation
type Phase1EncryptionAlgorithmsRequestListValue ¶ added in v0.12.0
type Phase1EncryptionAlgorithmsRequestListValue struct { // The value for the encryption algorithm. Value *string `type:"string"` // contains filtered or unexported fields }
Specifies the encryption algorithm for the VPN tunnel for phase 1 IKE negotiations.
func (Phase1EncryptionAlgorithmsRequestListValue) String ¶ added in v0.12.0
func (s Phase1EncryptionAlgorithmsRequestListValue) String() string
String returns the string representation
type Phase1IntegrityAlgorithmsListValue ¶ added in v0.12.0
type Phase1IntegrityAlgorithmsListValue struct { // The value for the integrity algorithm. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
The integrity algorithm for phase 1 IKE negotiations.
func (Phase1IntegrityAlgorithmsListValue) String ¶ added in v0.12.0
func (s Phase1IntegrityAlgorithmsListValue) String() string
String returns the string representation
type Phase1IntegrityAlgorithmsRequestListValue ¶ added in v0.12.0
type Phase1IntegrityAlgorithmsRequestListValue struct { // The value for the integrity algorithm. Value *string `type:"string"` // contains filtered or unexported fields }
Specifies the integrity algorithm for the VPN tunnel for phase 1 IKE negotiations.
func (Phase1IntegrityAlgorithmsRequestListValue) String ¶ added in v0.12.0
func (s Phase1IntegrityAlgorithmsRequestListValue) String() string
String returns the string representation
type Phase2DHGroupNumbersListValue ¶ added in v0.12.0
type Phase2DHGroupNumbersListValue struct { // The Diffie-Hellmann group number. Value *int64 `locationName:"value" type:"integer"` // contains filtered or unexported fields }
The Diffie-Hellmann group number for phase 2 IKE negotiations.
func (Phase2DHGroupNumbersListValue) String ¶ added in v0.12.0
func (s Phase2DHGroupNumbersListValue) String() string
String returns the string representation
type Phase2DHGroupNumbersRequestListValue ¶ added in v0.12.0
type Phase2DHGroupNumbersRequestListValue struct { // The Diffie-Hellmann group number. Value *int64 `type:"integer"` // contains filtered or unexported fields }
Specifies a Diffie-Hellman group number for the VPN tunnel for phase 2 IKE negotiations.
func (Phase2DHGroupNumbersRequestListValue) String ¶ added in v0.12.0
func (s Phase2DHGroupNumbersRequestListValue) String() string
String returns the string representation
type Phase2EncryptionAlgorithmsListValue ¶ added in v0.12.0
type Phase2EncryptionAlgorithmsListValue struct { // The encryption algorithm. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
The encryption algorithm for phase 2 IKE negotiations.
func (Phase2EncryptionAlgorithmsListValue) String ¶ added in v0.12.0
func (s Phase2EncryptionAlgorithmsListValue) String() string
String returns the string representation
type Phase2EncryptionAlgorithmsRequestListValue ¶ added in v0.12.0
type Phase2EncryptionAlgorithmsRequestListValue struct { // The encryption algorithm. Value *string `type:"string"` // contains filtered or unexported fields }
Specifies the encryption algorithm for the VPN tunnel for phase 2 IKE negotiations.
func (Phase2EncryptionAlgorithmsRequestListValue) String ¶ added in v0.12.0
func (s Phase2EncryptionAlgorithmsRequestListValue) String() string
String returns the string representation
type Phase2IntegrityAlgorithmsListValue ¶ added in v0.12.0
type Phase2IntegrityAlgorithmsListValue struct { // The integrity algorithm. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
The integrity algorithm for phase 2 IKE negotiations.
func (Phase2IntegrityAlgorithmsListValue) String ¶ added in v0.12.0
func (s Phase2IntegrityAlgorithmsListValue) String() string
String returns the string representation
type Phase2IntegrityAlgorithmsRequestListValue ¶ added in v0.12.0
type Phase2IntegrityAlgorithmsRequestListValue struct { // The integrity algorithm. Value *string `type:"string"` // contains filtered or unexported fields }
Specifies the integrity algorithm for the VPN tunnel for phase 2 IKE negotiations.
func (Phase2IntegrityAlgorithmsRequestListValue) String ¶ added in v0.12.0
func (s Phase2IntegrityAlgorithmsRequestListValue) String() string
String returns the string representation
type Placement ¶
type Placement struct { // The affinity setting for the instance on the Dedicated Host. This parameter // is not supported for the ImportInstance command. Affinity *string `locationName:"affinity" type:"string"` // The Availability Zone of the instance. // // If not specified, an Availability Zone will be automatically chosen for you // based on the load balancing criteria for the Region. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The name of the placement group the instance is in. GroupName *string `locationName:"groupName" type:"string"` // The ID of the Dedicated Host on which the instance resides. This parameter // is not supported for the ImportInstance command. HostId *string `locationName:"hostId" type:"string"` // The number of the partition the instance is in. Valid only if the placement // group strategy is set to partition. PartitionNumber *int64 `locationName:"partitionNumber" type:"integer"` // Reserved for future use. SpreadDomain *string `locationName:"spreadDomain" type:"string"` // The tenancy of the instance (if the instance is running in a VPC). An instance // with a tenancy of dedicated runs on single-tenant hardware. The host tenancy // is not supported for the ImportInstance command. Tenancy Tenancy `locationName:"tenancy" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the placement of an instance.
type PlacementGroup ¶
type PlacementGroup struct { // The name of the placement group. GroupName *string `locationName:"groupName" type:"string"` // The number of partitions. Valid only if strategy is set to partition. PartitionCount *int64 `locationName:"partitionCount" type:"integer"` // The state of the placement group. State PlacementGroupState `locationName:"state" type:"string" enum:"true"` // The placement strategy. Strategy PlacementStrategy `locationName:"strategy" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a placement group.
func (PlacementGroup) String ¶
func (s PlacementGroup) String() string
String returns the string representation
type PlacementGroupState ¶
type PlacementGroupState string
const ( PlacementGroupStatePending PlacementGroupState = "pending" PlacementGroupStateAvailable PlacementGroupState = "available" PlacementGroupStateDeleting PlacementGroupState = "deleting" PlacementGroupStateDeleted PlacementGroupState = "deleted" )
Enum values for PlacementGroupState
func (PlacementGroupState) MarshalValue ¶ added in v0.3.0
func (enum PlacementGroupState) MarshalValue() (string, error)
func (PlacementGroupState) MarshalValueBuf ¶ added in v0.3.0
func (enum PlacementGroupState) MarshalValueBuf(b []byte) ([]byte, error)
type PlacementResponse ¶ added in v0.6.0
type PlacementResponse struct { // The name of the placement group the instance is in. GroupName *string `locationName:"groupName" type:"string"` // contains filtered or unexported fields }
Describes the placement of an instance.
func (PlacementResponse) String ¶ added in v0.6.0
func (s PlacementResponse) String() string
String returns the string representation
type PlacementStrategy ¶
type PlacementStrategy string
const ( PlacementStrategyCluster PlacementStrategy = "cluster" PlacementStrategySpread PlacementStrategy = "spread" PlacementStrategyPartition PlacementStrategy = "partition" )
Enum values for PlacementStrategy
func (PlacementStrategy) MarshalValue ¶ added in v0.3.0
func (enum PlacementStrategy) MarshalValue() (string, error)
func (PlacementStrategy) MarshalValueBuf ¶ added in v0.3.0
func (enum PlacementStrategy) MarshalValueBuf(b []byte) ([]byte, error)
type PlatformValues ¶
type PlatformValues string
const (
PlatformValuesWindows PlatformValues = "Windows"
)
Enum values for PlatformValues
func (PlatformValues) MarshalValue ¶ added in v0.3.0
func (enum PlatformValues) MarshalValue() (string, error)
func (PlatformValues) MarshalValueBuf ¶ added in v0.3.0
func (enum PlatformValues) MarshalValueBuf(b []byte) ([]byte, error)
type PortRange ¶
type PortRange struct { // The first port in the range. From *int64 `locationName:"from" type:"integer"` // The last port in the range. To *int64 `locationName:"to" type:"integer"` // contains filtered or unexported fields }
Describes a range of ports.
type PrefixList ¶
type PrefixList struct { // The IP address range of the AWS service. Cidrs []string `locationName:"cidrSet" locationNameList:"item" type:"list"` // The ID of the prefix. PrefixListId *string `locationName:"prefixListId" type:"string"` // The name of the prefix. PrefixListName *string `locationName:"prefixListName" type:"string"` // contains filtered or unexported fields }
Describes prefixes for AWS services.
func (PrefixList) String ¶
func (s PrefixList) String() string
String returns the string representation
type PrefixListId ¶
type PrefixListId struct { // A description for the security group rule that references this prefix list // ID. // // Constraints: Up to 255 characters in length. Allowed characters are a-z, // A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$* Description *string `locationName:"description" type:"string"` // The ID of the prefix. PrefixListId *string `locationName:"prefixListId" type:"string"` // contains filtered or unexported fields }
Describes a prefix list ID.
func (PrefixListId) String ¶
func (s PrefixListId) String() string
String returns the string representation
type PriceSchedule ¶
type PriceSchedule struct { // The current price schedule, as determined by the term remaining for the Reserved // Instance in the listing. // // A specific price schedule is always in effect, but only one price schedule // can be active at any time. Take, for example, a Reserved Instance listing // that has five months remaining in its term. When you specify price schedules // for five months and two months, this means that schedule 1, covering the // first three months of the remaining term, will be active during months 5, // 4, and 3. Then schedule 2, covering the last two months of the term, will // be active for months 2 and 1. Active *bool `locationName:"active" type:"boolean"` // The currency for transacting the Reserved Instance resale. At this time, // the only supported currency is USD. CurrencyCode CurrencyCodeValues `locationName:"currencyCode" type:"string" enum:"true"` // The fixed price for the term. Price *float64 `locationName:"price" type:"double"` // The number of months remaining in the reservation. For example, 2 is the // second to the last month before the capacity reservation expires. Term *int64 `locationName:"term" type:"long"` // contains filtered or unexported fields }
Describes the price for a Reserved Instance.
func (PriceSchedule) String ¶
func (s PriceSchedule) String() string
String returns the string representation
type PriceScheduleSpecification ¶
type PriceScheduleSpecification struct { // The currency for transacting the Reserved Instance resale. At this time, // the only supported currency is USD. CurrencyCode CurrencyCodeValues `locationName:"currencyCode" type:"string" enum:"true"` // The fixed price for the term. Price *float64 `locationName:"price" type:"double"` // The number of months remaining in the reservation. For example, 2 is the // second to the last month before the capacity reservation expires. Term *int64 `locationName:"term" type:"long"` // contains filtered or unexported fields }
Describes the price for a Reserved Instance.
func (PriceScheduleSpecification) String ¶
func (s PriceScheduleSpecification) String() string
String returns the string representation
type PricingDetail ¶
type PricingDetail struct { // The number of reservations available for the price. Count *int64 `locationName:"count" type:"integer"` // The price per instance. Price *float64 `locationName:"price" type:"double"` // contains filtered or unexported fields }
Describes a Reserved Instance offering.
func (PricingDetail) String ¶
func (s PricingDetail) String() string
String returns the string representation
type PrincipalIdFormat ¶ added in v0.3.0
type PrincipalIdFormat struct { // PrincipalIdFormatARN description Arn *string `locationName:"arn" type:"string"` // PrincipalIdFormatStatuses description Statuses []IdFormat `locationName:"statusSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
PrincipalIdFormat description
func (PrincipalIdFormat) String ¶ added in v0.3.0
func (s PrincipalIdFormat) String() string
String returns the string representation
type PrincipalType ¶ added in v0.2.0
type PrincipalType string
const ( PrincipalTypeAll PrincipalType = "All" PrincipalTypeService PrincipalType = "Service" PrincipalTypeOrganizationUnit PrincipalType = "OrganizationUnit" PrincipalTypeAccount PrincipalType = "Account" PrincipalTypeUser PrincipalType = "User" PrincipalTypeRole PrincipalType = "Role" )
Enum values for PrincipalType
func (PrincipalType) MarshalValue ¶ added in v0.3.0
func (enum PrincipalType) MarshalValue() (string, error)
func (PrincipalType) MarshalValueBuf ¶ added in v0.3.0
func (enum PrincipalType) MarshalValueBuf(b []byte) ([]byte, error)
type PrivateIpAddressSpecification ¶
type PrivateIpAddressSpecification struct { // Indicates whether the private IPv4 address is the primary private IPv4 address. // Only one IPv4 address can be designated as primary. Primary *bool `locationName:"primary" type:"boolean"` // The private IPv4 addresses. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // contains filtered or unexported fields }
Describes a secondary private IPv4 address for a network interface.
func (PrivateIpAddressSpecification) String ¶
func (s PrivateIpAddressSpecification) String() string
String returns the string representation
type ProductCode ¶
type ProductCode struct { // The product code. ProductCodeId *string `locationName:"productCode" type:"string"` // The type of product code. ProductCodeType ProductCodeValues `locationName:"type" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a product code.
func (ProductCode) String ¶
func (s ProductCode) String() string
String returns the string representation
type ProductCodeValues ¶
type ProductCodeValues string
const ( ProductCodeValuesDevpay ProductCodeValues = "devpay" ProductCodeValuesMarketplace ProductCodeValues = "marketplace" )
Enum values for ProductCodeValues
func (ProductCodeValues) MarshalValue ¶ added in v0.3.0
func (enum ProductCodeValues) MarshalValue() (string, error)
func (ProductCodeValues) MarshalValueBuf ¶ added in v0.3.0
func (enum ProductCodeValues) MarshalValueBuf(b []byte) ([]byte, error)
type PropagatingVgw ¶
type PropagatingVgw struct { // The ID of the virtual private gateway. GatewayId *string `locationName:"gatewayId" type:"string"` // contains filtered or unexported fields }
Describes a virtual private gateway propagating route.
func (PropagatingVgw) String ¶
func (s PropagatingVgw) String() string
String returns the string representation
type ProvisionByoipCidrInput ¶ added in v0.6.0
type ProvisionByoipCidrInput struct { // The public IPv4 address range, in CIDR notation. The most specific prefix // that you can specify is /24. The address range cannot overlap with another // address range that you've brought to this or another Region. // // Cidr is a required field Cidr *string `type:"string" required:"true"` // A signed document that proves that you are authorized to bring the specified // IP address range to Amazon using BYOIP. CidrAuthorizationContext *CidrAuthorizationContext `type:"structure"` // A description for the address range and the address pool. Description *string `type:"string"` // 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"` // contains filtered or unexported fields }
func (ProvisionByoipCidrInput) String ¶ added in v0.6.0
func (s ProvisionByoipCidrInput) String() string
String returns the string representation
func (*ProvisionByoipCidrInput) Validate ¶ added in v0.6.0
func (s *ProvisionByoipCidrInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ProvisionByoipCidrOutput ¶ added in v0.6.0
type ProvisionByoipCidrOutput struct { // Information about the address pool. ByoipCidr *ByoipCidr `locationName:"byoipCidr" type:"structure"` // contains filtered or unexported fields }
func (ProvisionByoipCidrOutput) String ¶ added in v0.6.0
func (s ProvisionByoipCidrOutput) String() string
String returns the string representation
type ProvisionByoipCidrRequest ¶ added in v0.6.0
type ProvisionByoipCidrRequest struct { *aws.Request Input *ProvisionByoipCidrInput Copy func(*ProvisionByoipCidrInput) ProvisionByoipCidrRequest }
ProvisionByoipCidrRequest is the request type for the ProvisionByoipCidr API operation.
func (ProvisionByoipCidrRequest) Send ¶ added in v0.6.0
func (r ProvisionByoipCidrRequest) Send(ctx context.Context) (*ProvisionByoipCidrResponse, error)
Send marshals and sends the ProvisionByoipCidr API request.
type ProvisionByoipCidrResponse ¶ added in v0.9.0
type ProvisionByoipCidrResponse struct { *ProvisionByoipCidrOutput // contains filtered or unexported fields }
ProvisionByoipCidrResponse is the response type for the ProvisionByoipCidr API operation.
func (*ProvisionByoipCidrResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ProvisionByoipCidrResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ProvisionByoipCidr request.
type ProvisionedBandwidth ¶
type ProvisionedBandwidth struct { // Reserved. If you need to sustain traffic greater than the documented limits // (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html), // contact us through the Support Center (https://console.aws.amazon.com/support/home?). ProvisionTime *time.Time `locationName:"provisionTime" type:"timestamp"` // Reserved. If you need to sustain traffic greater than the documented limits // (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html), // contact us through the Support Center (https://console.aws.amazon.com/support/home?). Provisioned *string `locationName:"provisioned" type:"string"` // Reserved. If you need to sustain traffic greater than the documented limits // (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html), // contact us through the Support Center (https://console.aws.amazon.com/support/home?). RequestTime *time.Time `locationName:"requestTime" type:"timestamp"` // Reserved. If you need to sustain traffic greater than the documented limits // (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html), // contact us through the Support Center (https://console.aws.amazon.com/support/home?). Requested *string `locationName:"requested" type:"string"` // Reserved. If you need to sustain traffic greater than the documented limits // (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html), // contact us through the Support Center (https://console.aws.amazon.com/support/home?). Status *string `locationName:"status" type:"string"` // contains filtered or unexported fields }
Reserved. If you need to sustain traffic greater than the documented limits (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html), contact us through the Support Center (https://console.aws.amazon.com/support/home?).
func (ProvisionedBandwidth) String ¶
func (s ProvisionedBandwidth) String() string
String returns the string representation
type PublicIpv4Pool ¶ added in v0.6.0
type PublicIpv4Pool struct { // A description of the address pool. Description *string `locationName:"description" type:"string"` // The address ranges. PoolAddressRanges []PublicIpv4PoolRange `locationName:"poolAddressRangeSet" locationNameList:"item" type:"list"` // The ID of the IPv4 address pool. PoolId *string `locationName:"poolId" type:"string"` // The total number of addresses. TotalAddressCount *int64 `locationName:"totalAddressCount" type:"integer"` // The total number of available addresses. TotalAvailableAddressCount *int64 `locationName:"totalAvailableAddressCount" type:"integer"` // contains filtered or unexported fields }
Describes an address pool.
func (PublicIpv4Pool) String ¶ added in v0.6.0
func (s PublicIpv4Pool) String() string
String returns the string representation
type PublicIpv4PoolRange ¶ added in v0.6.0
type PublicIpv4PoolRange struct { // The number of addresses in the range. AddressCount *int64 `locationName:"addressCount" type:"integer"` // The number of available addresses in the range. AvailableAddressCount *int64 `locationName:"availableAddressCount" type:"integer"` // The first IP address in the range. FirstAddress *string `locationName:"firstAddress" type:"string"` // The last IP address in the range. LastAddress *string `locationName:"lastAddress" type:"string"` // contains filtered or unexported fields }
Describes an address range of an IPv4 address pool.
func (PublicIpv4PoolRange) String ¶ added in v0.6.0
func (s PublicIpv4PoolRange) String() string
String returns the string representation
type Purchase ¶
type Purchase struct { // The currency in which the UpfrontPrice and HourlyPrice amounts are specified. // At this time, the only supported currency is USD. CurrencyCode CurrencyCodeValues `locationName:"currencyCode" type:"string" enum:"true"` // The duration of the reservation's term in seconds. Duration *int64 `locationName:"duration" type:"integer"` // The IDs of the Dedicated Hosts associated with the reservation. HostIdSet []string `locationName:"hostIdSet" locationNameList:"item" type:"list"` // The ID of the reservation. HostReservationId *string `locationName:"hostReservationId" type:"string"` // The hourly price of the reservation per hour. HourlyPrice *string `locationName:"hourlyPrice" type:"string"` // The instance family on the Dedicated Host that the reservation can be associated // with. InstanceFamily *string `locationName:"instanceFamily" type:"string"` // The payment option for the reservation. PaymentOption PaymentOption `locationName:"paymentOption" type:"string" enum:"true"` // The upfront price of the reservation. UpfrontPrice *string `locationName:"upfrontPrice" type:"string"` // contains filtered or unexported fields }
Describes the result of the purchase.
type PurchaseHostReservationInput ¶
type PurchaseHostReservationInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` // The currency in which the totalUpfrontPrice, LimitPrice, and totalHourlyPrice // amounts are specified. At this time, the only supported currency is USD. CurrencyCode CurrencyCodeValues `type:"string" enum:"true"` // The IDs of the Dedicated Hosts with which the reservation will be associated. // // HostIdSet is a required field HostIdSet []string `locationNameList:"item" type:"list" required:"true"` // The specified limit is checked against the total upfront cost of the reservation // (calculated as the offering's upfront cost multiplied by the host count). // If the total upfront cost is greater than the specified price limit, the // request fails. This is used to ensure that the purchase does not exceed the // expected upfront cost of the purchase. At this time, the only supported currency // is USD. For example, to indicate a limit price of USD 100, specify 100.00. LimitPrice *string `type:"string"` // The ID of the offering. // // OfferingId is a required field OfferingId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (PurchaseHostReservationInput) String ¶
func (s PurchaseHostReservationInput) String() string
String returns the string representation
func (*PurchaseHostReservationInput) Validate ¶
func (s *PurchaseHostReservationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PurchaseHostReservationOutput ¶
type PurchaseHostReservationOutput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // The currency in which the totalUpfrontPrice and totalHourlyPrice amounts // are specified. At this time, the only supported currency is USD. CurrencyCode CurrencyCodeValues `locationName:"currencyCode" type:"string" enum:"true"` // Describes the details of the purchase. Purchase []Purchase `locationName:"purchase" locationNameList:"item" type:"list"` // The total hourly price of the reservation calculated per hour. TotalHourlyPrice *string `locationName:"totalHourlyPrice" type:"string"` // The total amount charged to your account when you purchase the reservation. TotalUpfrontPrice *string `locationName:"totalUpfrontPrice" type:"string"` // contains filtered or unexported fields }
func (PurchaseHostReservationOutput) String ¶
func (s PurchaseHostReservationOutput) String() string
String returns the string representation
type PurchaseHostReservationRequest ¶
type PurchaseHostReservationRequest struct { *aws.Request Input *PurchaseHostReservationInput Copy func(*PurchaseHostReservationInput) PurchaseHostReservationRequest }
PurchaseHostReservationRequest is the request type for the PurchaseHostReservation API operation.
func (PurchaseHostReservationRequest) Send ¶
func (r PurchaseHostReservationRequest) Send(ctx context.Context) (*PurchaseHostReservationResponse, error)
Send marshals and sends the PurchaseHostReservation API request.
type PurchaseHostReservationResponse ¶ added in v0.9.0
type PurchaseHostReservationResponse struct { *PurchaseHostReservationOutput // contains filtered or unexported fields }
PurchaseHostReservationResponse is the response type for the PurchaseHostReservation API operation.
func (*PurchaseHostReservationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *PurchaseHostReservationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the PurchaseHostReservation request.
type PurchaseRequest ¶
type PurchaseRequest struct { // The number of instances. // // InstanceCount is a required field InstanceCount *int64 `type:"integer" required:"true"` // The purchase token. // // PurchaseToken is a required field PurchaseToken *string `type:"string" required:"true"` // contains filtered or unexported fields }
Describes a request to purchase Scheduled Instances.
func (PurchaseRequest) String ¶
func (s PurchaseRequest) String() string
String returns the string representation
func (*PurchaseRequest) Validate ¶
func (s *PurchaseRequest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PurchaseReservedInstancesOfferingInput ¶
type PurchaseReservedInstancesOfferingInput 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 `locationName:"dryRun" type:"boolean"` // The number of Reserved Instances to purchase. // // InstanceCount is a required field InstanceCount *int64 `type:"integer" required:"true"` // Specified for Reserved Instance Marketplace offerings to limit the total // order and ensure that the Reserved Instances are not purchased at unexpected // prices. LimitPrice *ReservedInstanceLimitPrice `locationName:"limitPrice" type:"structure"` // The time at which to purchase the Reserved Instance. PurchaseTime *time.Time `type:"timestamp"` // The ID of the Reserved Instance offering to purchase. // // ReservedInstancesOfferingId is a required field ReservedInstancesOfferingId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for PurchaseReservedInstancesOffering.
func (PurchaseReservedInstancesOfferingInput) String ¶
func (s PurchaseReservedInstancesOfferingInput) String() string
String returns the string representation
func (*PurchaseReservedInstancesOfferingInput) Validate ¶
func (s *PurchaseReservedInstancesOfferingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PurchaseReservedInstancesOfferingOutput ¶
type PurchaseReservedInstancesOfferingOutput struct { // The IDs of the purchased Reserved Instances. ReservedInstancesId *string `locationName:"reservedInstancesId" type:"string"` // contains filtered or unexported fields }
Contains the output of PurchaseReservedInstancesOffering.
func (PurchaseReservedInstancesOfferingOutput) String ¶
func (s PurchaseReservedInstancesOfferingOutput) String() string
String returns the string representation
type PurchaseReservedInstancesOfferingRequest ¶
type PurchaseReservedInstancesOfferingRequest struct { *aws.Request Input *PurchaseReservedInstancesOfferingInput Copy func(*PurchaseReservedInstancesOfferingInput) PurchaseReservedInstancesOfferingRequest }
PurchaseReservedInstancesOfferingRequest is the request type for the PurchaseReservedInstancesOffering API operation.
func (PurchaseReservedInstancesOfferingRequest) Send ¶
func (r PurchaseReservedInstancesOfferingRequest) Send(ctx context.Context) (*PurchaseReservedInstancesOfferingResponse, error)
Send marshals and sends the PurchaseReservedInstancesOffering API request.
type PurchaseReservedInstancesOfferingResponse ¶ added in v0.9.0
type PurchaseReservedInstancesOfferingResponse struct { *PurchaseReservedInstancesOfferingOutput // contains filtered or unexported fields }
PurchaseReservedInstancesOfferingResponse is the response type for the PurchaseReservedInstancesOffering API operation.
func (*PurchaseReservedInstancesOfferingResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *PurchaseReservedInstancesOfferingResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the PurchaseReservedInstancesOffering request.
type PurchaseScheduledInstancesInput ¶
type PurchaseScheduledInstancesInput struct { // Unique, case-sensitive identifier that ensures the idempotency of the request. // For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // 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 purchase requests. // // PurchaseRequests is a required field PurchaseRequests []PurchaseRequest `locationName:"PurchaseRequest" locationNameList:"PurchaseRequest" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for PurchaseScheduledInstances.
func (PurchaseScheduledInstancesInput) String ¶
func (s PurchaseScheduledInstancesInput) String() string
String returns the string representation
func (*PurchaseScheduledInstancesInput) Validate ¶
func (s *PurchaseScheduledInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PurchaseScheduledInstancesOutput ¶
type PurchaseScheduledInstancesOutput struct { // Information about the Scheduled Instances. ScheduledInstanceSet []ScheduledInstance `locationName:"scheduledInstanceSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of PurchaseScheduledInstances.
func (PurchaseScheduledInstancesOutput) String ¶
func (s PurchaseScheduledInstancesOutput) String() string
String returns the string representation
type PurchaseScheduledInstancesRequest ¶
type PurchaseScheduledInstancesRequest struct { *aws.Request Input *PurchaseScheduledInstancesInput Copy func(*PurchaseScheduledInstancesInput) PurchaseScheduledInstancesRequest }
PurchaseScheduledInstancesRequest is the request type for the PurchaseScheduledInstances API operation.
func (PurchaseScheduledInstancesRequest) Send ¶
func (r PurchaseScheduledInstancesRequest) Send(ctx context.Context) (*PurchaseScheduledInstancesResponse, error)
Send marshals and sends the PurchaseScheduledInstances API request.
type PurchaseScheduledInstancesResponse ¶ added in v0.9.0
type PurchaseScheduledInstancesResponse struct { *PurchaseScheduledInstancesOutput // contains filtered or unexported fields }
PurchaseScheduledInstancesResponse is the response type for the PurchaseScheduledInstances API operation.
func (*PurchaseScheduledInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *PurchaseScheduledInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the PurchaseScheduledInstances request.
type RIProductDescription ¶
type RIProductDescription string
const ( RIProductDescriptionLinuxUnix RIProductDescription = "Linux/UNIX" RIProductDescriptionLinuxUnixamazonVpc RIProductDescription = "Linux/UNIX (Amazon VPC)" RIProductDescriptionWindows RIProductDescription = "Windows" RIProductDescriptionWindowsAmazonVpc RIProductDescription = "Windows (Amazon VPC)" )
Enum values for RIProductDescription
func (RIProductDescription) MarshalValue ¶ added in v0.3.0
func (enum RIProductDescription) MarshalValue() (string, error)
func (RIProductDescription) MarshalValueBuf ¶ added in v0.3.0
func (enum RIProductDescription) MarshalValueBuf(b []byte) ([]byte, error)
type RebootInstancesInput ¶
type RebootInstancesInput 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 `locationName:"dryRun" type:"boolean"` // The instance IDs. // // InstanceIds is a required field InstanceIds []string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` // contains filtered or unexported fields }
func (RebootInstancesInput) String ¶
func (s RebootInstancesInput) String() string
String returns the string representation
func (*RebootInstancesInput) Validate ¶
func (s *RebootInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RebootInstancesOutput ¶
type RebootInstancesOutput struct {
// contains filtered or unexported fields
}
func (RebootInstancesOutput) String ¶
func (s RebootInstancesOutput) String() string
String returns the string representation
type RebootInstancesRequest ¶
type RebootInstancesRequest struct { *aws.Request Input *RebootInstancesInput Copy func(*RebootInstancesInput) RebootInstancesRequest }
RebootInstancesRequest is the request type for the RebootInstances API operation.
func (RebootInstancesRequest) Send ¶
func (r RebootInstancesRequest) Send(ctx context.Context) (*RebootInstancesResponse, error)
Send marshals and sends the RebootInstances API request.
type RebootInstancesResponse ¶ added in v0.9.0
type RebootInstancesResponse struct { *RebootInstancesOutput // contains filtered or unexported fields }
RebootInstancesResponse is the response type for the RebootInstances API operation.
func (*RebootInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RebootInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RebootInstances request.
type RecurringCharge ¶
type RecurringCharge struct { // The amount of the recurring charge. Amount *float64 `locationName:"amount" type:"double"` // The frequency of the recurring charge. Frequency RecurringChargeFrequency `locationName:"frequency" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a recurring charge.
func (RecurringCharge) String ¶
func (s RecurringCharge) String() string
String returns the string representation
type RecurringChargeFrequency ¶
type RecurringChargeFrequency string
const (
RecurringChargeFrequencyHourly RecurringChargeFrequency = "Hourly"
)
Enum values for RecurringChargeFrequency
func (RecurringChargeFrequency) MarshalValue ¶ added in v0.3.0
func (enum RecurringChargeFrequency) MarshalValue() (string, error)
func (RecurringChargeFrequency) MarshalValueBuf ¶ added in v0.3.0
func (enum RecurringChargeFrequency) MarshalValueBuf(b []byte) ([]byte, error)
type Region ¶
type Region struct { // The Region service endpoint. Endpoint *string `locationName:"regionEndpoint" type:"string"` // The Region opt-in status. The possible values are opt-in-not-required, opted-in, // and not-opted-in. OptInStatus *string `locationName:"optInStatus" type:"string"` // The name of the Region. RegionName *string `locationName:"regionName" type:"string"` // contains filtered or unexported fields }
Describes a Region.
type RegisterImageInput ¶
type RegisterImageInput struct { // The architecture of the AMI. // // Default: For Amazon EBS-backed AMIs, i386. For instance store-backed AMIs, // the architecture specified in the manifest file. Architecture ArchitectureValues `locationName:"architecture" type:"string" enum:"true"` // The billing product codes. Your account must be authorized to specify billing // product codes. Otherwise, you can use the AWS Marketplace to bill for the // use of an AMI. BillingProducts []string `locationName:"BillingProduct" locationNameList:"item" type:"list"` // The block device mapping entries. BlockDeviceMappings []BlockDeviceMapping `locationName:"BlockDeviceMapping" locationNameList:"BlockDeviceMapping" type:"list"` // A description for your AMI. Description *string `locationName:"description" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // Set to true to enable enhanced networking with ENA for the AMI and any instances // that you launch from the AMI. // // This option is supported only for HVM AMIs. Specifying this option with a // PV AMI can make instances launched from the AMI unreachable. EnaSupport *bool `locationName:"enaSupport" type:"boolean"` // The full path to your AMI manifest in Amazon S3 storage. The specified bucket // must have the aws-exec-read canned access control list (ACL) to ensure that // it can be accessed by Amazon EC2. For more information, see Canned ACLs (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) // in the Amazon S3 Service Developer Guide. ImageLocation *string `type:"string"` // The ID of the kernel. KernelId *string `locationName:"kernelId" type:"string"` // A name for your AMI. // // Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets // ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), // at-signs (@), or underscores(_) // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The ID of the RAM disk. RamdiskId *string `locationName:"ramdiskId" type:"string"` // The device name of the root device volume (for example, /dev/sda1). RootDeviceName *string `locationName:"rootDeviceName" type:"string"` // Set to simple to enable enhanced networking with the Intel 82599 Virtual // Function interface for the AMI and any instances that you launch from the // AMI. // // There is no way to disable sriovNetSupport at this time. // // This option is supported only for HVM AMIs. Specifying this option with a // PV AMI can make instances launched from the AMI unreachable. SriovNetSupport *string `locationName:"sriovNetSupport" type:"string"` // The type of virtualization (hvm | paravirtual). // // Default: paravirtual VirtualizationType *string `locationName:"virtualizationType" type:"string"` // contains filtered or unexported fields }
Contains the parameters for RegisterImage.
func (RegisterImageInput) String ¶
func (s RegisterImageInput) String() string
String returns the string representation
func (*RegisterImageInput) Validate ¶
func (s *RegisterImageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterImageOutput ¶
type RegisterImageOutput struct { // The ID of the newly registered AMI. ImageId *string `locationName:"imageId" type:"string"` // contains filtered or unexported fields }
Contains the output of RegisterImage.
func (RegisterImageOutput) String ¶
func (s RegisterImageOutput) String() string
String returns the string representation
type RegisterImageRequest ¶
type RegisterImageRequest struct { *aws.Request Input *RegisterImageInput Copy func(*RegisterImageInput) RegisterImageRequest }
RegisterImageRequest is the request type for the RegisterImage API operation.
func (RegisterImageRequest) Send ¶
func (r RegisterImageRequest) Send(ctx context.Context) (*RegisterImageResponse, error)
Send marshals and sends the RegisterImage API request.
type RegisterImageResponse ¶ added in v0.9.0
type RegisterImageResponse struct { *RegisterImageOutput // contains filtered or unexported fields }
RegisterImageResponse is the response type for the RegisterImage API operation.
func (*RegisterImageResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RegisterImageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RegisterImage request.
type RejectTransitGatewayVpcAttachmentInput ¶ added in v0.6.0
type RejectTransitGatewayVpcAttachmentInput 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 (RejectTransitGatewayVpcAttachmentInput) String ¶ added in v0.6.0
func (s RejectTransitGatewayVpcAttachmentInput) String() string
String returns the string representation
func (*RejectTransitGatewayVpcAttachmentInput) Validate ¶ added in v0.6.0
func (s *RejectTransitGatewayVpcAttachmentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RejectTransitGatewayVpcAttachmentOutput ¶ added in v0.6.0
type RejectTransitGatewayVpcAttachmentOutput struct { // Information about the attachment. TransitGatewayVpcAttachment *TransitGatewayVpcAttachment `locationName:"transitGatewayVpcAttachment" type:"structure"` // contains filtered or unexported fields }
func (RejectTransitGatewayVpcAttachmentOutput) String ¶ added in v0.6.0
func (s RejectTransitGatewayVpcAttachmentOutput) String() string
String returns the string representation
type RejectTransitGatewayVpcAttachmentRequest ¶ added in v0.6.0
type RejectTransitGatewayVpcAttachmentRequest struct { *aws.Request Input *RejectTransitGatewayVpcAttachmentInput Copy func(*RejectTransitGatewayVpcAttachmentInput) RejectTransitGatewayVpcAttachmentRequest }
RejectTransitGatewayVpcAttachmentRequest is the request type for the RejectTransitGatewayVpcAttachment API operation.
func (RejectTransitGatewayVpcAttachmentRequest) Send ¶ added in v0.6.0
func (r RejectTransitGatewayVpcAttachmentRequest) Send(ctx context.Context) (*RejectTransitGatewayVpcAttachmentResponse, error)
Send marshals and sends the RejectTransitGatewayVpcAttachment API request.
type RejectTransitGatewayVpcAttachmentResponse ¶ added in v0.9.0
type RejectTransitGatewayVpcAttachmentResponse struct { *RejectTransitGatewayVpcAttachmentOutput // contains filtered or unexported fields }
RejectTransitGatewayVpcAttachmentResponse is the response type for the RejectTransitGatewayVpcAttachment API operation.
func (*RejectTransitGatewayVpcAttachmentResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RejectTransitGatewayVpcAttachmentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RejectTransitGatewayVpcAttachment request.
type RejectVpcEndpointConnectionsInput ¶ added in v0.2.0
type RejectVpcEndpointConnectionsInput 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 service. // // ServiceId is a required field ServiceId *string `type:"string" required:"true"` // The IDs of one or more VPC endpoints. // // VpcEndpointIds is a required field VpcEndpointIds []string `locationName:"VpcEndpointId" locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
func (RejectVpcEndpointConnectionsInput) String ¶ added in v0.2.0
func (s RejectVpcEndpointConnectionsInput) String() string
String returns the string representation
func (*RejectVpcEndpointConnectionsInput) Validate ¶ added in v0.2.0
func (s *RejectVpcEndpointConnectionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RejectVpcEndpointConnectionsOutput ¶ added in v0.2.0
type RejectVpcEndpointConnectionsOutput struct { // Information about the endpoints that were not rejected, if applicable. Unsuccessful []UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (RejectVpcEndpointConnectionsOutput) String ¶ added in v0.2.0
func (s RejectVpcEndpointConnectionsOutput) String() string
String returns the string representation
type RejectVpcEndpointConnectionsRequest ¶ added in v0.2.0
type RejectVpcEndpointConnectionsRequest struct { *aws.Request Input *RejectVpcEndpointConnectionsInput Copy func(*RejectVpcEndpointConnectionsInput) RejectVpcEndpointConnectionsRequest }
RejectVpcEndpointConnectionsRequest is the request type for the RejectVpcEndpointConnections API operation.
func (RejectVpcEndpointConnectionsRequest) Send ¶ added in v0.2.0
func (r RejectVpcEndpointConnectionsRequest) Send(ctx context.Context) (*RejectVpcEndpointConnectionsResponse, error)
Send marshals and sends the RejectVpcEndpointConnections API request.
type RejectVpcEndpointConnectionsResponse ¶ added in v0.9.0
type RejectVpcEndpointConnectionsResponse struct { *RejectVpcEndpointConnectionsOutput // contains filtered or unexported fields }
RejectVpcEndpointConnectionsResponse is the response type for the RejectVpcEndpointConnections API operation.
func (*RejectVpcEndpointConnectionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RejectVpcEndpointConnectionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RejectVpcEndpointConnections request.
type RejectVpcPeeringConnectionInput ¶
type RejectVpcPeeringConnectionInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the VPC peering connection. // // VpcPeeringConnectionId is a required field VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string" required:"true"` // contains filtered or unexported fields }
func (RejectVpcPeeringConnectionInput) String ¶
func (s RejectVpcPeeringConnectionInput) String() string
String returns the string representation
func (*RejectVpcPeeringConnectionInput) Validate ¶
func (s *RejectVpcPeeringConnectionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RejectVpcPeeringConnectionOutput ¶
type RejectVpcPeeringConnectionOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (RejectVpcPeeringConnectionOutput) String ¶
func (s RejectVpcPeeringConnectionOutput) String() string
String returns the string representation
type RejectVpcPeeringConnectionRequest ¶
type RejectVpcPeeringConnectionRequest struct { *aws.Request Input *RejectVpcPeeringConnectionInput Copy func(*RejectVpcPeeringConnectionInput) RejectVpcPeeringConnectionRequest }
RejectVpcPeeringConnectionRequest is the request type for the RejectVpcPeeringConnection API operation.
func (RejectVpcPeeringConnectionRequest) Send ¶
func (r RejectVpcPeeringConnectionRequest) Send(ctx context.Context) (*RejectVpcPeeringConnectionResponse, error)
Send marshals and sends the RejectVpcPeeringConnection API request.
type RejectVpcPeeringConnectionResponse ¶ added in v0.9.0
type RejectVpcPeeringConnectionResponse struct { *RejectVpcPeeringConnectionOutput // contains filtered or unexported fields }
RejectVpcPeeringConnectionResponse is the response type for the RejectVpcPeeringConnection API operation.
func (*RejectVpcPeeringConnectionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RejectVpcPeeringConnectionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RejectVpcPeeringConnection request.
type ReleaseAddressInput ¶
type ReleaseAddressInput struct { // [EC2-VPC] The allocation ID. Required for EC2-VPC. AllocationId *string `type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // [EC2-Classic] The Elastic IP address. Required for EC2-Classic. PublicIp *string `type:"string"` // contains filtered or unexported fields }
func (ReleaseAddressInput) String ¶
func (s ReleaseAddressInput) String() string
String returns the string representation
type ReleaseAddressOutput ¶
type ReleaseAddressOutput struct {
// contains filtered or unexported fields
}
func (ReleaseAddressOutput) String ¶
func (s ReleaseAddressOutput) String() string
String returns the string representation
type ReleaseAddressRequest ¶
type ReleaseAddressRequest struct { *aws.Request Input *ReleaseAddressInput Copy func(*ReleaseAddressInput) ReleaseAddressRequest }
ReleaseAddressRequest is the request type for the ReleaseAddress API operation.
func (ReleaseAddressRequest) Send ¶
func (r ReleaseAddressRequest) Send(ctx context.Context) (*ReleaseAddressResponse, error)
Send marshals and sends the ReleaseAddress API request.
type ReleaseAddressResponse ¶ added in v0.9.0
type ReleaseAddressResponse struct { *ReleaseAddressOutput // contains filtered or unexported fields }
ReleaseAddressResponse is the response type for the ReleaseAddress API operation.
func (*ReleaseAddressResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ReleaseAddressResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ReleaseAddress request.
type ReleaseHostsInput ¶
type ReleaseHostsInput struct { // The IDs of the Dedicated Hosts to release. // // HostIds is a required field HostIds []string `locationName:"hostId" locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
func (ReleaseHostsInput) String ¶
func (s ReleaseHostsInput) String() string
String returns the string representation
func (*ReleaseHostsInput) Validate ¶
func (s *ReleaseHostsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReleaseHostsOutput ¶
type ReleaseHostsOutput struct { // The IDs of the Dedicated Hosts that were successfully released. Successful []string `locationName:"successful" locationNameList:"item" type:"list"` // The IDs of the Dedicated Hosts that could not be released, including an error // message. Unsuccessful []UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (ReleaseHostsOutput) String ¶
func (s ReleaseHostsOutput) String() string
String returns the string representation
type ReleaseHostsRequest ¶
type ReleaseHostsRequest struct { *aws.Request Input *ReleaseHostsInput Copy func(*ReleaseHostsInput) ReleaseHostsRequest }
ReleaseHostsRequest is the request type for the ReleaseHosts API operation.
func (ReleaseHostsRequest) Send ¶
func (r ReleaseHostsRequest) Send(ctx context.Context) (*ReleaseHostsResponse, error)
Send marshals and sends the ReleaseHosts API request.
type ReleaseHostsResponse ¶ added in v0.9.0
type ReleaseHostsResponse struct { *ReleaseHostsOutput // contains filtered or unexported fields }
ReleaseHostsResponse is the response type for the ReleaseHosts API operation.
func (*ReleaseHostsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ReleaseHostsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ReleaseHosts request.
type ReplaceIamInstanceProfileAssociationInput ¶
type ReplaceIamInstanceProfileAssociationInput struct { // The ID of the existing IAM instance profile association. // // AssociationId is a required field AssociationId *string `type:"string" required:"true"` // The IAM instance profile. // // IamInstanceProfile is a required field IamInstanceProfile *IamInstanceProfileSpecification `type:"structure" required:"true"` // contains filtered or unexported fields }
func (ReplaceIamInstanceProfileAssociationInput) String ¶
func (s ReplaceIamInstanceProfileAssociationInput) String() string
String returns the string representation
func (*ReplaceIamInstanceProfileAssociationInput) Validate ¶
func (s *ReplaceIamInstanceProfileAssociationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReplaceIamInstanceProfileAssociationOutput ¶
type ReplaceIamInstanceProfileAssociationOutput struct { // Information about the IAM instance profile association. IamInstanceProfileAssociation *IamInstanceProfileAssociation `locationName:"iamInstanceProfileAssociation" type:"structure"` // contains filtered or unexported fields }
func (ReplaceIamInstanceProfileAssociationOutput) String ¶
func (s ReplaceIamInstanceProfileAssociationOutput) String() string
String returns the string representation
type ReplaceIamInstanceProfileAssociationRequest ¶
type ReplaceIamInstanceProfileAssociationRequest struct { *aws.Request Input *ReplaceIamInstanceProfileAssociationInput Copy func(*ReplaceIamInstanceProfileAssociationInput) ReplaceIamInstanceProfileAssociationRequest }
ReplaceIamInstanceProfileAssociationRequest is the request type for the ReplaceIamInstanceProfileAssociation API operation.
func (ReplaceIamInstanceProfileAssociationRequest) Send ¶
func (r ReplaceIamInstanceProfileAssociationRequest) Send(ctx context.Context) (*ReplaceIamInstanceProfileAssociationResponse, error)
Send marshals and sends the ReplaceIamInstanceProfileAssociation API request.
type ReplaceIamInstanceProfileAssociationResponse ¶ added in v0.9.0
type ReplaceIamInstanceProfileAssociationResponse struct { *ReplaceIamInstanceProfileAssociationOutput // contains filtered or unexported fields }
ReplaceIamInstanceProfileAssociationResponse is the response type for the ReplaceIamInstanceProfileAssociation API operation.
func (*ReplaceIamInstanceProfileAssociationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ReplaceIamInstanceProfileAssociationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ReplaceIamInstanceProfileAssociation request.
type ReplaceNetworkAclAssociationInput ¶
type ReplaceNetworkAclAssociationInput struct { // The ID of the current association between the original network ACL and the // subnet. // // AssociationId is a required field AssociationId *string `locationName:"associationId" type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the new network ACL to associate with the subnet. // // NetworkAclId is a required field NetworkAclId *string `locationName:"networkAclId" type:"string" required:"true"` // contains filtered or unexported fields }
func (ReplaceNetworkAclAssociationInput) String ¶
func (s ReplaceNetworkAclAssociationInput) String() string
String returns the string representation
func (*ReplaceNetworkAclAssociationInput) Validate ¶
func (s *ReplaceNetworkAclAssociationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReplaceNetworkAclAssociationOutput ¶
type ReplaceNetworkAclAssociationOutput struct { // The ID of the new association. NewAssociationId *string `locationName:"newAssociationId" type:"string"` // contains filtered or unexported fields }
func (ReplaceNetworkAclAssociationOutput) String ¶
func (s ReplaceNetworkAclAssociationOutput) String() string
String returns the string representation
type ReplaceNetworkAclAssociationRequest ¶
type ReplaceNetworkAclAssociationRequest struct { *aws.Request Input *ReplaceNetworkAclAssociationInput Copy func(*ReplaceNetworkAclAssociationInput) ReplaceNetworkAclAssociationRequest }
ReplaceNetworkAclAssociationRequest is the request type for the ReplaceNetworkAclAssociation API operation.
func (ReplaceNetworkAclAssociationRequest) Send ¶
func (r ReplaceNetworkAclAssociationRequest) Send(ctx context.Context) (*ReplaceNetworkAclAssociationResponse, error)
Send marshals and sends the ReplaceNetworkAclAssociation API request.
type ReplaceNetworkAclAssociationResponse ¶ added in v0.9.0
type ReplaceNetworkAclAssociationResponse struct { *ReplaceNetworkAclAssociationOutput // contains filtered or unexported fields }
ReplaceNetworkAclAssociationResponse is the response type for the ReplaceNetworkAclAssociation API operation.
func (*ReplaceNetworkAclAssociationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ReplaceNetworkAclAssociationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ReplaceNetworkAclAssociation request.
type ReplaceNetworkAclEntryInput ¶
type ReplaceNetworkAclEntryInput struct { // The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24). CidrBlock *string `locationName:"cidrBlock" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // Indicates whether to replace the egress rule. // // Default: If no value is specified, we replace the ingress rule. // // Egress is a required field Egress *bool `locationName:"egress" type:"boolean" required:"true"` // ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol // 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block. IcmpTypeCode *IcmpTypeCode `locationName:"Icmp" type:"structure"` // The IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64). Ipv6CidrBlock *string `locationName:"ipv6CidrBlock" type:"string"` // The ID of the ACL. // // NetworkAclId is a required field NetworkAclId *string `locationName:"networkAclId" type:"string" required:"true"` // TCP or UDP protocols: The range of ports the rule applies to. Required if // specifying protocol 6 (TCP) or 17 (UDP). PortRange *PortRange `locationName:"portRange" type:"structure"` // The protocol number. A value of "-1" means all protocols. If you specify // "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), // traffic on all ports is allowed, regardless of any ports or ICMP types or // codes that you specify. If you specify protocol "58" (ICMPv6) and specify // an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless // of any that you specify. If you specify protocol "58" (ICMPv6) and specify // an IPv6 CIDR block, you must specify an ICMP type and code. // // Protocol is a required field Protocol *string `locationName:"protocol" type:"string" required:"true"` // Indicates whether to allow or deny the traffic that matches the rule. // // RuleAction is a required field RuleAction RuleAction `locationName:"ruleAction" type:"string" required:"true" enum:"true"` // The rule number of the entry to replace. // // RuleNumber is a required field RuleNumber *int64 `locationName:"ruleNumber" type:"integer" required:"true"` // contains filtered or unexported fields }
func (ReplaceNetworkAclEntryInput) String ¶
func (s ReplaceNetworkAclEntryInput) String() string
String returns the string representation
func (*ReplaceNetworkAclEntryInput) Validate ¶
func (s *ReplaceNetworkAclEntryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReplaceNetworkAclEntryOutput ¶
type ReplaceNetworkAclEntryOutput struct {
// contains filtered or unexported fields
}
func (ReplaceNetworkAclEntryOutput) String ¶
func (s ReplaceNetworkAclEntryOutput) String() string
String returns the string representation
type ReplaceNetworkAclEntryRequest ¶
type ReplaceNetworkAclEntryRequest struct { *aws.Request Input *ReplaceNetworkAclEntryInput Copy func(*ReplaceNetworkAclEntryInput) ReplaceNetworkAclEntryRequest }
ReplaceNetworkAclEntryRequest is the request type for the ReplaceNetworkAclEntry API operation.
func (ReplaceNetworkAclEntryRequest) Send ¶
func (r ReplaceNetworkAclEntryRequest) Send(ctx context.Context) (*ReplaceNetworkAclEntryResponse, error)
Send marshals and sends the ReplaceNetworkAclEntry API request.
type ReplaceNetworkAclEntryResponse ¶ added in v0.9.0
type ReplaceNetworkAclEntryResponse struct { *ReplaceNetworkAclEntryOutput // contains filtered or unexported fields }
ReplaceNetworkAclEntryResponse is the response type for the ReplaceNetworkAclEntry API operation.
func (*ReplaceNetworkAclEntryResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ReplaceNetworkAclEntryResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ReplaceNetworkAclEntry request.
type ReplaceRouteInput ¶
type ReplaceRouteInput struct { // The IPv4 CIDR address block used for the destination match. The value that // you provide must match the CIDR of an existing route in the table. DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string"` // The IPv6 CIDR address block used for the destination match. The value that // you provide must match the CIDR of an existing route in the table. DestinationIpv6CidrBlock *string `locationName:"destinationIpv6CidrBlock" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // [IPv6 traffic only] The ID of an egress-only internet gateway. EgressOnlyInternetGatewayId *string `locationName:"egressOnlyInternetGatewayId" type:"string"` // The ID of an internet gateway or virtual private gateway. GatewayId *string `locationName:"gatewayId" type:"string"` // The ID of a NAT instance in your VPC. InstanceId *string `locationName:"instanceId" type:"string"` // [IPv4 traffic only] The ID of a NAT gateway. NatGatewayId *string `locationName:"natGatewayId" type:"string"` // The ID of a network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // The ID of the route table. // // RouteTableId is a required field RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` // The ID of a transit gateway. TransitGatewayId *string `type:"string"` // The ID of a VPC peering connection. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"` // contains filtered or unexported fields }
func (ReplaceRouteInput) String ¶
func (s ReplaceRouteInput) String() string
String returns the string representation
func (*ReplaceRouteInput) Validate ¶
func (s *ReplaceRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReplaceRouteOutput ¶
type ReplaceRouteOutput struct {
// contains filtered or unexported fields
}
func (ReplaceRouteOutput) String ¶
func (s ReplaceRouteOutput) String() string
String returns the string representation
type ReplaceRouteRequest ¶
type ReplaceRouteRequest struct { *aws.Request Input *ReplaceRouteInput Copy func(*ReplaceRouteInput) ReplaceRouteRequest }
ReplaceRouteRequest is the request type for the ReplaceRoute API operation.
func (ReplaceRouteRequest) Send ¶
func (r ReplaceRouteRequest) Send(ctx context.Context) (*ReplaceRouteResponse, error)
Send marshals and sends the ReplaceRoute API request.
type ReplaceRouteResponse ¶ added in v0.9.0
type ReplaceRouteResponse struct { *ReplaceRouteOutput // contains filtered or unexported fields }
ReplaceRouteResponse is the response type for the ReplaceRoute API operation.
func (*ReplaceRouteResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ReplaceRouteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ReplaceRoute request.
type ReplaceRouteTableAssociationInput ¶
type ReplaceRouteTableAssociationInput struct { // The association ID. // // AssociationId is a required field AssociationId *string `locationName:"associationId" type:"string" required:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the new route table to associate with the subnet. // // RouteTableId is a required field RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` // contains filtered or unexported fields }
func (ReplaceRouteTableAssociationInput) String ¶
func (s ReplaceRouteTableAssociationInput) String() string
String returns the string representation
func (*ReplaceRouteTableAssociationInput) Validate ¶
func (s *ReplaceRouteTableAssociationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReplaceRouteTableAssociationOutput ¶
type ReplaceRouteTableAssociationOutput struct { // The ID of the new association. NewAssociationId *string `locationName:"newAssociationId" type:"string"` // contains filtered or unexported fields }
func (ReplaceRouteTableAssociationOutput) String ¶
func (s ReplaceRouteTableAssociationOutput) String() string
String returns the string representation
type ReplaceRouteTableAssociationRequest ¶
type ReplaceRouteTableAssociationRequest struct { *aws.Request Input *ReplaceRouteTableAssociationInput Copy func(*ReplaceRouteTableAssociationInput) ReplaceRouteTableAssociationRequest }
ReplaceRouteTableAssociationRequest is the request type for the ReplaceRouteTableAssociation API operation.
func (ReplaceRouteTableAssociationRequest) Send ¶
func (r ReplaceRouteTableAssociationRequest) Send(ctx context.Context) (*ReplaceRouteTableAssociationResponse, error)
Send marshals and sends the ReplaceRouteTableAssociation API request.
type ReplaceRouteTableAssociationResponse ¶ added in v0.9.0
type ReplaceRouteTableAssociationResponse struct { *ReplaceRouteTableAssociationOutput // contains filtered or unexported fields }
ReplaceRouteTableAssociationResponse is the response type for the ReplaceRouteTableAssociation API operation.
func (*ReplaceRouteTableAssociationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ReplaceRouteTableAssociationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ReplaceRouteTableAssociation request.
type ReplaceTransitGatewayRouteInput ¶ added in v0.6.0
type ReplaceTransitGatewayRouteInput struct { // Indicates whether traffic matching this route is to be dropped. Blackhole *bool `type:"boolean"` // The CIDR range used for the destination match. Routing decisions are based // on the most specific match. // // DestinationCidrBlock is a required field DestinationCidrBlock *string `type:"string" required:"true"` // 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 *string `type:"string"` // The ID of the route table. // // TransitGatewayRouteTableId is a required field TransitGatewayRouteTableId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ReplaceTransitGatewayRouteInput) String ¶ added in v0.6.0
func (s ReplaceTransitGatewayRouteInput) String() string
String returns the string representation
func (*ReplaceTransitGatewayRouteInput) Validate ¶ added in v0.6.0
func (s *ReplaceTransitGatewayRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReplaceTransitGatewayRouteOutput ¶ added in v0.6.0
type ReplaceTransitGatewayRouteOutput struct { // Information about the modified route. Route *TransitGatewayRoute `locationName:"route" type:"structure"` // contains filtered or unexported fields }
func (ReplaceTransitGatewayRouteOutput) String ¶ added in v0.6.0
func (s ReplaceTransitGatewayRouteOutput) String() string
String returns the string representation
type ReplaceTransitGatewayRouteRequest ¶ added in v0.6.0
type ReplaceTransitGatewayRouteRequest struct { *aws.Request Input *ReplaceTransitGatewayRouteInput Copy func(*ReplaceTransitGatewayRouteInput) ReplaceTransitGatewayRouteRequest }
ReplaceTransitGatewayRouteRequest is the request type for the ReplaceTransitGatewayRoute API operation.
func (ReplaceTransitGatewayRouteRequest) Send ¶ added in v0.6.0
func (r ReplaceTransitGatewayRouteRequest) Send(ctx context.Context) (*ReplaceTransitGatewayRouteResponse, error)
Send marshals and sends the ReplaceTransitGatewayRoute API request.
type ReplaceTransitGatewayRouteResponse ¶ added in v0.9.0
type ReplaceTransitGatewayRouteResponse struct { *ReplaceTransitGatewayRouteOutput // contains filtered or unexported fields }
ReplaceTransitGatewayRouteResponse is the response type for the ReplaceTransitGatewayRoute API operation.
func (*ReplaceTransitGatewayRouteResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ReplaceTransitGatewayRouteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ReplaceTransitGatewayRoute request.
type ReportInstanceReasonCodes ¶
type ReportInstanceReasonCodes string
const ( ReportInstanceReasonCodesInstanceStuckInState ReportInstanceReasonCodes = "instance-stuck-in-state" ReportInstanceReasonCodesUnresponsive ReportInstanceReasonCodes = "unresponsive" ReportInstanceReasonCodesNotAcceptingCredentials ReportInstanceReasonCodes = "not-accepting-credentials" ReportInstanceReasonCodesPasswordNotAvailable ReportInstanceReasonCodes = "password-not-available" ReportInstanceReasonCodesPerformanceNetwork ReportInstanceReasonCodes = "performance-network" ReportInstanceReasonCodesPerformanceInstanceStore ReportInstanceReasonCodes = "performance-instance-store" ReportInstanceReasonCodesPerformanceEbsVolume ReportInstanceReasonCodes = "performance-ebs-volume" ReportInstanceReasonCodesPerformanceOther ReportInstanceReasonCodes = "performance-other" ReportInstanceReasonCodesOther ReportInstanceReasonCodes = "other" )
Enum values for ReportInstanceReasonCodes
func (ReportInstanceReasonCodes) MarshalValue ¶ added in v0.3.0
func (enum ReportInstanceReasonCodes) MarshalValue() (string, error)
func (ReportInstanceReasonCodes) MarshalValueBuf ¶ added in v0.3.0
func (enum ReportInstanceReasonCodes) MarshalValueBuf(b []byte) ([]byte, error)
type ReportInstanceStatusInput ¶
type ReportInstanceStatusInput struct { // Descriptive text about the health state of your instance. Description *string `locationName:"description" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // The time at which the reported instance health state ended. EndTime *time.Time `locationName:"endTime" type:"timestamp"` // The instances. // // Instances is a required field Instances []string `locationName:"instanceId" locationNameList:"InstanceId" type:"list" required:"true"` // The reason codes that describe the health state of your instance. // // * instance-stuck-in-state: My instance is stuck in a state. // // * unresponsive: My instance is unresponsive. // // * not-accepting-credentials: My instance is not accepting my credentials. // // * password-not-available: A password is not available for my instance. // // * performance-network: My instance is experiencing performance problems // that I believe are network related. // // * performance-instance-store: My instance is experiencing performance // problems that I believe are related to the instance stores. // // * performance-ebs-volume: My instance is experiencing performance problems // that I believe are related to an EBS volume. // // * performance-other: My instance is experiencing performance problems. // // * other: [explain using the description parameter] // // ReasonCodes is a required field ReasonCodes []ReportInstanceReasonCodes `locationName:"reasonCode" locationNameList:"item" type:"list" required:"true"` // The time at which the reported instance health state began. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // The status of all instances listed. // // Status is a required field Status ReportStatusType `locationName:"status" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
func (ReportInstanceStatusInput) String ¶
func (s ReportInstanceStatusInput) String() string
String returns the string representation
func (*ReportInstanceStatusInput) Validate ¶
func (s *ReportInstanceStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReportInstanceStatusOutput ¶
type ReportInstanceStatusOutput struct {
// contains filtered or unexported fields
}
func (ReportInstanceStatusOutput) String ¶
func (s ReportInstanceStatusOutput) String() string
String returns the string representation
type ReportInstanceStatusRequest ¶
type ReportInstanceStatusRequest struct { *aws.Request Input *ReportInstanceStatusInput Copy func(*ReportInstanceStatusInput) ReportInstanceStatusRequest }
ReportInstanceStatusRequest is the request type for the ReportInstanceStatus API operation.
func (ReportInstanceStatusRequest) Send ¶
func (r ReportInstanceStatusRequest) Send(ctx context.Context) (*ReportInstanceStatusResponse, error)
Send marshals and sends the ReportInstanceStatus API request.
type ReportInstanceStatusResponse ¶ added in v0.9.0
type ReportInstanceStatusResponse struct { *ReportInstanceStatusOutput // contains filtered or unexported fields }
ReportInstanceStatusResponse is the response type for the ReportInstanceStatus API operation.
func (*ReportInstanceStatusResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ReportInstanceStatusResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ReportInstanceStatus request.
type ReportStatusType ¶
type ReportStatusType string
const ( ReportStatusTypeOk ReportStatusType = "ok" ReportStatusTypeImpaired ReportStatusType = "impaired" )
Enum values for ReportStatusType
func (ReportStatusType) MarshalValue ¶ added in v0.3.0
func (enum ReportStatusType) MarshalValue() (string, error)
func (ReportStatusType) MarshalValueBuf ¶ added in v0.3.0
func (enum ReportStatusType) MarshalValueBuf(b []byte) ([]byte, error)
type RequestLaunchTemplateData ¶ added in v0.2.0
type RequestLaunchTemplateData struct { // The block device mapping. // // Supplying both a snapshot ID and an encryption value as arguments for block-device // mapping results in an error. This is because only blank volumes can be encrypted // on start, and these are not created from a snapshot. If a snapshot is the // basis for the volume, it contains data by definition and its encryption status // cannot be changed using this action. BlockDeviceMappings []LaunchTemplateBlockDeviceMappingRequest `locationName:"BlockDeviceMapping" locationNameList:"BlockDeviceMapping" type:"list"` // The Capacity Reservation targeting option. If you do not specify this parameter, // the instance's Capacity Reservation preference defaults to open, which enables // it to run in any open Capacity Reservation that has matching attributes (instance // type, platform, Availability Zone). CapacityReservationSpecification *LaunchTemplateCapacityReservationSpecificationRequest `type:"structure"` // The CPU options for the instance. For more information, see Optimizing CPU // Options (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) // in the Amazon Elastic Compute Cloud User Guide. CpuOptions *LaunchTemplateCpuOptionsRequest `type:"structure"` // The credit option for CPU usage of the instance. Valid for T2 or T3 instances // only. CreditSpecification *CreditSpecificationRequest `type:"structure"` // If you set this parameter to true, you can't terminate the instance using // the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute // after launch, use ModifyInstanceAttribute (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html). // Alternatively, if you set InstanceInitiatedShutdownBehavior to terminate, // you can terminate the instance by running the shutdown command from the instance. DisableApiTermination *bool `type:"boolean"` // Indicates whether the instance is optimized for Amazon EBS I/O. This optimization // provides dedicated throughput to Amazon EBS and an optimized configuration // stack to provide optimal Amazon EBS I/O performance. This optimization isn't // available with all instance types. Additional usage charges apply when using // an EBS-optimized instance. EbsOptimized *bool `type:"boolean"` // An elastic GPU to associate with the instance. ElasticGpuSpecifications []ElasticGpuSpecification `locationName:"ElasticGpuSpecification" locationNameList:"ElasticGpuSpecification" type:"list"` // The elastic inference accelerator for the instance. ElasticInferenceAccelerators []LaunchTemplateElasticInferenceAccelerator `locationName:"ElasticInferenceAccelerator" locationNameList:"item" type:"list"` // Indicates whether an instance is enabled for hibernation. This parameter // is valid only if the instance meets the hibernation prerequisites (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites). // Hibernation is currently supported only for Amazon Linux. For more information, // see Hibernate Your Instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) // in the Amazon Elastic Compute Cloud User Guide. HibernationOptions *LaunchTemplateHibernationOptionsRequest `type:"structure"` // The IAM instance profile. IamInstanceProfile *LaunchTemplateIamInstanceProfileSpecificationRequest `type:"structure"` // The ID of the AMI. ImageId *string `type:"string"` // Indicates whether an instance stops or terminates when you initiate shutdown // from the instance (using the operating system command for system shutdown). // // Default: stop InstanceInitiatedShutdownBehavior ShutdownBehavior `type:"string" enum:"true"` // The market (purchasing) option for the instances. InstanceMarketOptions *LaunchTemplateInstanceMarketOptionsRequest `type:"structure"` // The instance type. For more information, see Instance Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) // in the Amazon Elastic Compute Cloud User Guide. InstanceType InstanceType `type:"string" enum:"true"` // The ID of the kernel. // // We recommend that you use PV-GRUB instead of kernels and RAM disks. For more // information, see User Provided Kernels (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) // in the Amazon Elastic Compute Cloud User Guide. KernelId *string `type:"string"` // The name of the key pair. You can create a key pair using CreateKeyPair (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html) // or ImportKeyPair (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html). // // If you do not specify a key pair, you can't connect to the instance unless // you choose an AMI that is configured to allow users another way to log in. KeyName *string `type:"string"` // The license configurations. LicenseSpecifications []LaunchTemplateLicenseConfigurationRequest `locationName:"LicenseSpecification" locationNameList:"item" type:"list"` // The monitoring for the instance. Monitoring *LaunchTemplatesMonitoringRequest `type:"structure"` // One or more network interfaces. If you specify a network interface, you must // specify any security groups and subnets as part of the network interface. NetworkInterfaces []LaunchTemplateInstanceNetworkInterfaceSpecificationRequest `locationName:"NetworkInterface" locationNameList:"InstanceNetworkInterfaceSpecification" type:"list"` // The placement for the instance. Placement *LaunchTemplatePlacementRequest `type:"structure"` // The ID of the RAM disk. // // We recommend that you use PV-GRUB instead of kernels and RAM disks. For more // information, see User Provided Kernels (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) // in the Amazon Elastic Compute Cloud User Guide. RamDiskId *string `type:"string"` // One or more security group IDs. You can create a security group using CreateSecurityGroup // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html). // You cannot specify both a security group ID and security name in the same // request. SecurityGroupIds []string `locationName:"SecurityGroupId" locationNameList:"SecurityGroupId" type:"list"` // [EC2-Classic, default VPC] One or more security group names. For a nondefault // VPC, you must use security group IDs instead. You cannot specify both a security // group ID and security name in the same request. SecurityGroups []string `locationName:"SecurityGroup" locationNameList:"SecurityGroup" type:"list"` // The tags to apply to the resources during launch. You can only tag instances // and volumes on launch. The specified tags are applied to all instances or // volumes that are created during launch. To tag a resource after it has been // created, see CreateTags (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). TagSpecifications []LaunchTemplateTagSpecificationRequest `locationName:"TagSpecification" locationNameList:"LaunchTemplateTagSpecificationRequest" type:"list"` // The Base64-encoded user data to make available to the instance. For more // information, see Running Commands on Your Linux Instance at Launch (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html) // (Linux) and Adding User Data (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html#instancedata-add-user-data) // (Windows). UserData *string `type:"string"` // contains filtered or unexported fields }
The information to include in the launch template.
func (RequestLaunchTemplateData) String ¶ added in v0.2.0
func (s RequestLaunchTemplateData) String() string
String returns the string representation
func (*RequestLaunchTemplateData) Validate ¶ added in v0.2.0
func (s *RequestLaunchTemplateData) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RequestSpotFleetInput ¶
type RequestSpotFleetInput 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 `locationName:"dryRun" type:"boolean"` // The configuration for the Spot Fleet request. // // SpotFleetRequestConfig is a required field SpotFleetRequestConfig *SpotFleetRequestConfigData `locationName:"spotFleetRequestConfig" type:"structure" required:"true"` // contains filtered or unexported fields }
Contains the parameters for RequestSpotFleet.
func (RequestSpotFleetInput) String ¶
func (s RequestSpotFleetInput) String() string
String returns the string representation
func (*RequestSpotFleetInput) Validate ¶
func (s *RequestSpotFleetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RequestSpotFleetOutput ¶
type RequestSpotFleetOutput struct { // The ID of the Spot Fleet request. SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string"` // contains filtered or unexported fields }
Contains the output of RequestSpotFleet.
func (RequestSpotFleetOutput) String ¶
func (s RequestSpotFleetOutput) String() string
String returns the string representation
type RequestSpotFleetRequest ¶
type RequestSpotFleetRequest struct { *aws.Request Input *RequestSpotFleetInput Copy func(*RequestSpotFleetInput) RequestSpotFleetRequest }
RequestSpotFleetRequest is the request type for the RequestSpotFleet API operation.
func (RequestSpotFleetRequest) Send ¶
func (r RequestSpotFleetRequest) Send(ctx context.Context) (*RequestSpotFleetResponse, error)
Send marshals and sends the RequestSpotFleet API request.
type RequestSpotFleetResponse ¶ added in v0.9.0
type RequestSpotFleetResponse struct { *RequestSpotFleetOutput // contains filtered or unexported fields }
RequestSpotFleetResponse is the response type for the RequestSpotFleet API operation.
func (*RequestSpotFleetResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RequestSpotFleetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RequestSpotFleet request.
type RequestSpotInstancesInput ¶
type RequestSpotInstancesInput struct { // The user-specified name for a logical grouping of requests. // // When you specify an Availability Zone group in a Spot Instance request, all // Spot Instances in the request are launched in the same Availability Zone. // Instance proximity is maintained with this parameter, but the choice of Availability // Zone is not. The group applies only to requests for Spot Instances of the // same instance type. Any additional Spot Instance requests that are specified // with the same Availability Zone group name are launched in that same Availability // Zone, as long as at least one instance from the group is still active. // // If there is no active instance running in the Availability Zone group that // you specify for a new Spot Instance request (all instances are terminated, // the request is expired, or the maximum price you specified falls below current // Spot price), then Amazon EC2 launches the instance in any Availability Zone // where the constraint can be met. Consequently, the subsequent set of Spot // Instances could be placed in a different zone from the original request, // even if you specified the same Availability Zone group. // // Default: Instances are launched in any available Availability Zone. AvailabilityZoneGroup *string `locationName:"availabilityZoneGroup" type:"string"` // The required duration for the Spot Instances (also known as Spot blocks), // in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, // or 360). // // The duration period starts as soon as your Spot Instance receives its instance // ID. At the end of the duration period, Amazon EC2 marks the Spot Instance // for termination and provides a Spot Instance termination notice, which gives // the instance a two-minute warning before it terminates. // // You can't specify an Availability Zone group or a launch group if you specify // a duration. BlockDurationMinutes *int64 `locationName:"blockDurationMinutes" type:"integer"` // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html) // in the Amazon EC2 User Guide for Linux Instances. ClientToken *string `locationName:"clientToken" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // The maximum number of Spot Instances to launch. // // Default: 1 InstanceCount *int64 `locationName:"instanceCount" type:"integer"` // The behavior when a Spot Instance is interrupted. The default is terminate. InstanceInterruptionBehavior InstanceInterruptionBehavior `type:"string" enum:"true"` // The instance launch group. Launch groups are Spot Instances that launch together // and terminate together. // // Default: Instances are launched and terminated individually LaunchGroup *string `locationName:"launchGroup" type:"string"` // The launch specification. LaunchSpecification *RequestSpotLaunchSpecification `type:"structure"` // The maximum price per hour that you are willing to pay for a Spot Instance. // The default is the On-Demand price. SpotPrice *string `locationName:"spotPrice" type:"string"` // The Spot Instance request type. // // Default: one-time Type SpotInstanceType `locationName:"type" type:"string" enum:"true"` // The start date of the request. If this is a one-time request, the request // becomes active at this date and time and remains active until all instances // launch, the request expires, or the request is canceled. If the request is // persistent, the request becomes active at this date and time and remains // active until it expires or is canceled. // // The specified start date and time cannot be equal to the current date and // time. You must specify a start date and time that occurs after the current // date and time. ValidFrom *time.Time `locationName:"validFrom" type:"timestamp"` // The end date of the request. If this is a one-time request, the request remains // active until all instances launch, the request is canceled, or this date // is reached. If the request is persistent, it remains active until it is canceled // or this date is reached. The default end date is 7 days from the current // date. ValidUntil *time.Time `locationName:"validUntil" type:"timestamp"` // contains filtered or unexported fields }
Contains the parameters for RequestSpotInstances.
func (RequestSpotInstancesInput) String ¶
func (s RequestSpotInstancesInput) String() string
String returns the string representation
func (*RequestSpotInstancesInput) Validate ¶
func (s *RequestSpotInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RequestSpotInstancesOutput ¶
type RequestSpotInstancesOutput struct { // One or more Spot Instance requests. SpotInstanceRequests []SpotInstanceRequest `locationName:"spotInstanceRequestSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of RequestSpotInstances.
func (RequestSpotInstancesOutput) String ¶
func (s RequestSpotInstancesOutput) String() string
String returns the string representation
type RequestSpotInstancesRequest ¶
type RequestSpotInstancesRequest struct { *aws.Request Input *RequestSpotInstancesInput Copy func(*RequestSpotInstancesInput) RequestSpotInstancesRequest }
RequestSpotInstancesRequest is the request type for the RequestSpotInstances API operation.
func (RequestSpotInstancesRequest) Send ¶
func (r RequestSpotInstancesRequest) Send(ctx context.Context) (*RequestSpotInstancesResponse, error)
Send marshals and sends the RequestSpotInstances API request.
type RequestSpotInstancesResponse ¶ added in v0.9.0
type RequestSpotInstancesResponse struct { *RequestSpotInstancesOutput // contains filtered or unexported fields }
RequestSpotInstancesResponse is the response type for the RequestSpotInstances API operation.
func (*RequestSpotInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RequestSpotInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RequestSpotInstances request.
type RequestSpotLaunchSpecification ¶
type RequestSpotLaunchSpecification struct { // Deprecated. AddressingType *string `locationName:"addressingType" type:"string"` // One or more block device mapping entries. You can't specify both a snapshot // ID and an encryption value. This is because only blank volumes can be encrypted // on creation. If a snapshot is the basis for a volume, it is not blank and // its encryption status is used for the volume encryption status. BlockDeviceMappings []BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` // Indicates whether the instance is optimized for EBS I/O. This optimization // provides dedicated throughput to Amazon EBS and an optimized configuration // stack to provide optimal EBS I/O performance. This optimization isn't available // with all instance types. Additional usage charges apply when using an EBS // Optimized instance. // // Default: false EbsOptimized *bool `locationName:"ebsOptimized" type:"boolean"` // The IAM instance profile. IamInstanceProfile *IamInstanceProfileSpecification `locationName:"iamInstanceProfile" type:"structure"` // The ID of the AMI. ImageId *string `locationName:"imageId" type:"string"` // The instance type. InstanceType InstanceType `locationName:"instanceType" type:"string" enum:"true"` // The ID of the kernel. KernelId *string `locationName:"kernelId" type:"string"` // The name of the key pair. KeyName *string `locationName:"keyName" type:"string"` // Indicates whether basic or detailed monitoring is enabled for the instance. // // Default: Disabled Monitoring *RunInstancesMonitoringEnabled `locationName:"monitoring" type:"structure"` // One or more network interfaces. If you specify a network interface, you must // specify subnet IDs and security group IDs using the network interface. NetworkInterfaces []InstanceNetworkInterfaceSpecification `locationName:"NetworkInterface" locationNameList:"item" type:"list"` // The placement information for the instance. Placement *SpotPlacement `locationName:"placement" type:"structure"` // The ID of the RAM disk. RamdiskId *string `locationName:"ramdiskId" type:"string"` // One or more security group IDs. SecurityGroupIds []string `locationName:"SecurityGroupId" locationNameList:"item" type:"list"` // One or more security groups. When requesting instances in a VPC, you must // specify the IDs of the security groups. When requesting instances in EC2-Classic, // you can specify the names or the IDs of the security groups. SecurityGroups []string `locationName:"SecurityGroup" locationNameList:"item" type:"list"` // The IDs of the subnets in which to launch the instance. To specify multiple // subnets, separate them using commas; for example, "subnet-1234abcdeexample1, // subnet-0987cdef6example2". SubnetId *string `locationName:"subnetId" type:"string"` // The Base64-encoded user data for the instance. User data is limited to 16 // KB. UserData *string `locationName:"userData" type:"string"` // contains filtered or unexported fields }
Describes the launch specification for an instance.
func (RequestSpotLaunchSpecification) String ¶
func (s RequestSpotLaunchSpecification) String() string
String returns the string representation
func (*RequestSpotLaunchSpecification) Validate ¶
func (s *RequestSpotLaunchSpecification) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Reservation ¶ added in v0.9.0
type Reservation struct { // [EC2-Classic only] The security groups. Groups []GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` // The instances. Instances []Instance `locationName:"instancesSet" locationNameList:"item" type:"list"` // The ID of the AWS account that owns the reservation. OwnerId *string `locationName:"ownerId" type:"string"` // The ID of the requester that launched the instances on your behalf (for example, // AWS Management Console or Auto Scaling). RequesterId *string `locationName:"requesterId" type:"string"` // The ID of the reservation. ReservationId *string `locationName:"reservationId" type:"string"` // contains filtered or unexported fields }
Describes a reservation.
func (Reservation) String ¶ added in v0.9.0
func (s Reservation) String() string
String returns the string representation
type ReservationState ¶
type ReservationState string
const ( ReservationStatePaymentPending ReservationState = "payment-pending" ReservationStatePaymentFailed ReservationState = "payment-failed" ReservationStateActive ReservationState = "active" ReservationStateRetired ReservationState = "retired" )
Enum values for ReservationState
func (ReservationState) MarshalValue ¶ added in v0.3.0
func (enum ReservationState) MarshalValue() (string, error)
func (ReservationState) MarshalValueBuf ¶ added in v0.3.0
func (enum ReservationState) MarshalValueBuf(b []byte) ([]byte, error)
type ReservationValue ¶
type ReservationValue struct { // The hourly rate of the reservation. HourlyPrice *string `locationName:"hourlyPrice" type:"string"` // The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice // * number of hours remaining). RemainingTotalValue *string `locationName:"remainingTotalValue" type:"string"` // The remaining upfront cost of the reservation. RemainingUpfrontValue *string `locationName:"remainingUpfrontValue" type:"string"` // contains filtered or unexported fields }
The cost associated with the Reserved Instance.
func (ReservationValue) String ¶
func (s ReservationValue) String() string
String returns the string representation
type ReservedInstanceLimitPrice ¶
type ReservedInstanceLimitPrice struct { // Used for Reserved Instance Marketplace offerings. Specifies the limit price // on the total order (instanceCount * price). Amount *float64 `locationName:"amount" type:"double"` // The currency in which the limitPrice amount is specified. At this time, the // only supported currency is USD. CurrencyCode CurrencyCodeValues `locationName:"currencyCode" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the limit price of a Reserved Instance offering.
func (ReservedInstanceLimitPrice) String ¶
func (s ReservedInstanceLimitPrice) String() string
String returns the string representation
type ReservedInstanceReservationValue ¶
type ReservedInstanceReservationValue struct { // The total value of the Convertible Reserved Instance that you are exchanging. ReservationValue *ReservationValue `locationName:"reservationValue" type:"structure"` // The ID of the Convertible Reserved Instance that you are exchanging. ReservedInstanceId *string `locationName:"reservedInstanceId" type:"string"` // contains filtered or unexported fields }
The total value of the Convertible Reserved Instance.
func (ReservedInstanceReservationValue) String ¶
func (s ReservedInstanceReservationValue) String() string
String returns the string representation
type ReservedInstanceState ¶
type ReservedInstanceState string
const ( ReservedInstanceStatePaymentPending ReservedInstanceState = "payment-pending" ReservedInstanceStateActive ReservedInstanceState = "active" ReservedInstanceStatePaymentFailed ReservedInstanceState = "payment-failed" ReservedInstanceStateRetired ReservedInstanceState = "retired" ReservedInstanceStateQueued ReservedInstanceState = "queued" ReservedInstanceStateQueuedDeleted ReservedInstanceState = "queued-deleted" )
Enum values for ReservedInstanceState
func (ReservedInstanceState) MarshalValue ¶ added in v0.3.0
func (enum ReservedInstanceState) MarshalValue() (string, error)
func (ReservedInstanceState) MarshalValueBuf ¶ added in v0.3.0
func (enum ReservedInstanceState) MarshalValueBuf(b []byte) ([]byte, error)
type ReservedInstances ¶
type ReservedInstances struct { // The Availability Zone in which the Reserved Instance can be used. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The currency of the Reserved Instance. It's specified using ISO 4217 standard // currency codes. At this time, the only supported currency is USD. CurrencyCode CurrencyCodeValues `locationName:"currencyCode" type:"string" enum:"true"` // The duration of the Reserved Instance, in seconds. Duration *int64 `locationName:"duration" type:"long"` // The time when the Reserved Instance expires. End *time.Time `locationName:"end" type:"timestamp"` // The purchase price of the Reserved Instance. FixedPrice *float64 `locationName:"fixedPrice" type:"float"` // The number of reservations purchased. InstanceCount *int64 `locationName:"instanceCount" type:"integer"` // The tenancy of the instance. InstanceTenancy Tenancy `locationName:"instanceTenancy" type:"string" enum:"true"` // The instance type on which the Reserved Instance can be used. InstanceType InstanceType `locationName:"instanceType" type:"string" enum:"true"` // The offering class of the Reserved Instance. OfferingClass OfferingClassType `locationName:"offeringClass" type:"string" enum:"true"` // The Reserved Instance offering type. OfferingType OfferingTypeValues `locationName:"offeringType" type:"string" enum:"true"` // The Reserved Instance product platform description. ProductDescription RIProductDescription `locationName:"productDescription" type:"string" enum:"true"` // The recurring charge tag assigned to the resource. RecurringCharges []RecurringCharge `locationName:"recurringCharges" locationNameList:"item" type:"list"` // The ID of the Reserved Instance. ReservedInstancesId *string `locationName:"reservedInstancesId" type:"string"` // The scope of the Reserved Instance. Scope Scope `locationName:"scope" type:"string" enum:"true"` // The date and time the Reserved Instance started. Start *time.Time `locationName:"start" type:"timestamp"` // The state of the Reserved Instance purchase. State ReservedInstanceState `locationName:"state" type:"string" enum:"true"` // Any tags assigned to the resource. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The usage price of the Reserved Instance, per hour. UsagePrice *float64 `locationName:"usagePrice" type:"float"` // contains filtered or unexported fields }
Describes a Reserved Instance.
func (ReservedInstances) String ¶
func (s ReservedInstances) String() string
String returns the string representation
type ReservedInstancesConfiguration ¶
type ReservedInstancesConfiguration struct { // The Availability Zone for the modified Reserved Instances. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The number of modified Reserved Instances. // // This is a required field for a request. InstanceCount *int64 `locationName:"instanceCount" type:"integer"` // The instance type for the modified Reserved Instances. InstanceType InstanceType `locationName:"instanceType" type:"string" enum:"true"` // The network platform of the modified Reserved Instances, which is either // EC2-Classic or EC2-VPC. Platform *string `locationName:"platform" type:"string"` // Whether the Reserved Instance is applied to instances in a Region or instances // in a specific Availability Zone. Scope Scope `locationName:"scope" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the configuration settings for the modified Reserved Instances.
func (ReservedInstancesConfiguration) String ¶
func (s ReservedInstancesConfiguration) String() string
String returns the string representation
type ReservedInstancesId ¶
type ReservedInstancesId struct { // The ID of the Reserved Instance. ReservedInstancesId *string `locationName:"reservedInstancesId" type:"string"` // contains filtered or unexported fields }
Describes the ID of a Reserved Instance.
func (ReservedInstancesId) String ¶
func (s ReservedInstancesId) String() string
String returns the string representation
type ReservedInstancesListing ¶
type ReservedInstancesListing struct { // A unique, case-sensitive key supplied by the client to ensure that the request // is idempotent. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // The time the listing was created. CreateDate *time.Time `locationName:"createDate" type:"timestamp"` // The number of instances in this state. InstanceCounts []InstanceCount `locationName:"instanceCounts" locationNameList:"item" type:"list"` // The price of the Reserved Instance listing. PriceSchedules []PriceSchedule `locationName:"priceSchedules" locationNameList:"item" type:"list"` // The ID of the Reserved Instance. ReservedInstancesId *string `locationName:"reservedInstancesId" type:"string"` // The ID of the Reserved Instance listing. ReservedInstancesListingId *string `locationName:"reservedInstancesListingId" type:"string"` // The status of the Reserved Instance listing. Status ListingStatus `locationName:"status" type:"string" enum:"true"` // The reason for the current status of the Reserved Instance listing. The response // can be blank. StatusMessage *string `locationName:"statusMessage" type:"string"` // Any tags assigned to the resource. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The last modified timestamp of the listing. UpdateDate *time.Time `locationName:"updateDate" type:"timestamp"` // contains filtered or unexported fields }
Describes a Reserved Instance listing.
func (ReservedInstancesListing) String ¶
func (s ReservedInstancesListing) String() string
String returns the string representation
type ReservedInstancesModification ¶
type ReservedInstancesModification struct { // A unique, case-sensitive key supplied by the client to ensure that the request // is idempotent. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // The time when the modification request was created. CreateDate *time.Time `locationName:"createDate" type:"timestamp"` // The time for the modification to become effective. EffectiveDate *time.Time `locationName:"effectiveDate" type:"timestamp"` // Contains target configurations along with their corresponding new Reserved // Instance IDs. ModificationResults []ReservedInstancesModificationResult `locationName:"modificationResultSet" locationNameList:"item" type:"list"` // The IDs of one or more Reserved Instances. ReservedInstancesIds []ReservedInstancesId `locationName:"reservedInstancesSet" locationNameList:"item" type:"list"` // A unique ID for the Reserved Instance modification. ReservedInstancesModificationId *string `locationName:"reservedInstancesModificationId" type:"string"` // The status of the Reserved Instances modification request. Status *string `locationName:"status" type:"string"` // The reason for the status. StatusMessage *string `locationName:"statusMessage" type:"string"` // The time when the modification request was last updated. UpdateDate *time.Time `locationName:"updateDate" type:"timestamp"` // contains filtered or unexported fields }
Describes a Reserved Instance modification.
func (ReservedInstancesModification) String ¶
func (s ReservedInstancesModification) String() string
String returns the string representation
type ReservedInstancesModificationResult ¶
type ReservedInstancesModificationResult struct { // The ID for the Reserved Instances that were created as part of the modification // request. This field is only available when the modification is fulfilled. ReservedInstancesId *string `locationName:"reservedInstancesId" type:"string"` // The target Reserved Instances configurations supplied as part of the modification // request. TargetConfiguration *ReservedInstancesConfiguration `locationName:"targetConfiguration" type:"structure"` // contains filtered or unexported fields }
Describes the modification request/s.
func (ReservedInstancesModificationResult) String ¶
func (s ReservedInstancesModificationResult) String() string
String returns the string representation
type ReservedInstancesOffering ¶
type ReservedInstancesOffering struct { // The Availability Zone in which the Reserved Instance can be used. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The currency of the Reserved Instance offering you are purchasing. It's specified // using ISO 4217 standard currency codes. At this time, the only supported // currency is USD. CurrencyCode CurrencyCodeValues `locationName:"currencyCode" type:"string" enum:"true"` // The duration of the Reserved Instance, in seconds. Duration *int64 `locationName:"duration" type:"long"` // The purchase price of the Reserved Instance. FixedPrice *float64 `locationName:"fixedPrice" type:"float"` // The tenancy of the instance. InstanceTenancy Tenancy `locationName:"instanceTenancy" type:"string" enum:"true"` // The instance type on which the Reserved Instance can be used. InstanceType InstanceType `locationName:"instanceType" type:"string" enum:"true"` // Indicates whether the offering is available through the Reserved Instance // Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, // this is true. Marketplace *bool `locationName:"marketplace" type:"boolean"` // If convertible it can be exchanged for Reserved Instances of the same or // higher monetary value, with different configurations. If standard, it is // not possible to perform an exchange. OfferingClass OfferingClassType `locationName:"offeringClass" type:"string" enum:"true"` // The Reserved Instance offering type. OfferingType OfferingTypeValues `locationName:"offeringType" type:"string" enum:"true"` // The pricing details of the Reserved Instance offering. PricingDetails []PricingDetail `locationName:"pricingDetailsSet" locationNameList:"item" type:"list"` // The Reserved Instance product platform description. ProductDescription RIProductDescription `locationName:"productDescription" type:"string" enum:"true"` // The recurring charge tag assigned to the resource. RecurringCharges []RecurringCharge `locationName:"recurringCharges" locationNameList:"item" type:"list"` // The ID of the Reserved Instance offering. This is the offering ID used in // GetReservedInstancesExchangeQuote to confirm that an exchange can be made. ReservedInstancesOfferingId *string `locationName:"reservedInstancesOfferingId" type:"string"` // Whether the Reserved Instance is applied to instances in a Region or an Availability // Zone. Scope Scope `locationName:"scope" type:"string" enum:"true"` // The usage price of the Reserved Instance, per hour. UsagePrice *float64 `locationName:"usagePrice" type:"float"` // contains filtered or unexported fields }
Describes a Reserved Instance offering.
func (ReservedInstancesOffering) String ¶
func (s ReservedInstancesOffering) String() string
String returns the string representation
type ResetEbsDefaultKmsKeyIdInput ¶ added in v0.9.0
type ResetEbsDefaultKmsKeyIdInput 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"` // contains filtered or unexported fields }
func (ResetEbsDefaultKmsKeyIdInput) String ¶ added in v0.9.0
func (s ResetEbsDefaultKmsKeyIdInput) String() string
String returns the string representation
type ResetEbsDefaultKmsKeyIdOutput ¶ added in v0.9.0
type ResetEbsDefaultKmsKeyIdOutput struct { // The Amazon Resource Name (ARN) of the default CMK for EBS encryption by default. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // contains filtered or unexported fields }
func (ResetEbsDefaultKmsKeyIdOutput) String ¶ added in v0.9.0
func (s ResetEbsDefaultKmsKeyIdOutput) String() string
String returns the string representation
type ResetEbsDefaultKmsKeyIdRequest ¶ added in v0.9.0
type ResetEbsDefaultKmsKeyIdRequest struct { *aws.Request Input *ResetEbsDefaultKmsKeyIdInput Copy func(*ResetEbsDefaultKmsKeyIdInput) ResetEbsDefaultKmsKeyIdRequest }
ResetEbsDefaultKmsKeyIdRequest is the request type for the ResetEbsDefaultKmsKeyId API operation.
func (ResetEbsDefaultKmsKeyIdRequest) Send ¶ added in v0.9.0
func (r ResetEbsDefaultKmsKeyIdRequest) Send(ctx context.Context) (*ResetEbsDefaultKmsKeyIdResponse, error)
Send marshals and sends the ResetEbsDefaultKmsKeyId API request.
type ResetEbsDefaultKmsKeyIdResponse ¶ added in v0.9.0
type ResetEbsDefaultKmsKeyIdResponse struct { *ResetEbsDefaultKmsKeyIdOutput // contains filtered or unexported fields }
ResetEbsDefaultKmsKeyIdResponse is the response type for the ResetEbsDefaultKmsKeyId API operation.
func (*ResetEbsDefaultKmsKeyIdResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ResetEbsDefaultKmsKeyIdResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ResetEbsDefaultKmsKeyId request.
type ResetFpgaImageAttributeInput ¶
type ResetFpgaImageAttributeInput struct { // The attribute. Attribute ResetFpgaImageAttributeName `type:"string" enum:"true"` // 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 AFI. // // FpgaImageId is a required field FpgaImageId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ResetFpgaImageAttributeInput) String ¶
func (s ResetFpgaImageAttributeInput) String() string
String returns the string representation
func (*ResetFpgaImageAttributeInput) Validate ¶
func (s *ResetFpgaImageAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResetFpgaImageAttributeName ¶
type ResetFpgaImageAttributeName string
const (
ResetFpgaImageAttributeNameLoadPermission ResetFpgaImageAttributeName = "loadPermission"
)
Enum values for ResetFpgaImageAttributeName
func (ResetFpgaImageAttributeName) MarshalValue ¶ added in v0.3.0
func (enum ResetFpgaImageAttributeName) MarshalValue() (string, error)
func (ResetFpgaImageAttributeName) MarshalValueBuf ¶ added in v0.3.0
func (enum ResetFpgaImageAttributeName) MarshalValueBuf(b []byte) ([]byte, error)
type ResetFpgaImageAttributeOutput ¶
type ResetFpgaImageAttributeOutput struct { // Is true if the request succeeds, and an error otherwise. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (ResetFpgaImageAttributeOutput) String ¶
func (s ResetFpgaImageAttributeOutput) String() string
String returns the string representation
type ResetFpgaImageAttributeRequest ¶
type ResetFpgaImageAttributeRequest struct { *aws.Request Input *ResetFpgaImageAttributeInput Copy func(*ResetFpgaImageAttributeInput) ResetFpgaImageAttributeRequest }
ResetFpgaImageAttributeRequest is the request type for the ResetFpgaImageAttribute API operation.
func (ResetFpgaImageAttributeRequest) Send ¶
func (r ResetFpgaImageAttributeRequest) Send(ctx context.Context) (*ResetFpgaImageAttributeResponse, error)
Send marshals and sends the ResetFpgaImageAttribute API request.
type ResetFpgaImageAttributeResponse ¶ added in v0.9.0
type ResetFpgaImageAttributeResponse struct { *ResetFpgaImageAttributeOutput // contains filtered or unexported fields }
ResetFpgaImageAttributeResponse is the response type for the ResetFpgaImageAttribute API operation.
func (*ResetFpgaImageAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ResetFpgaImageAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ResetFpgaImageAttribute request.
type ResetImageAttributeInput ¶
type ResetImageAttributeInput struct { // The attribute to reset (currently you can only reset the launch permission // attribute). // // Attribute is a required field Attribute ResetImageAttributeName `type:"string" required:"true" enum:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the AMI. // // ImageId is a required field ImageId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for ResetImageAttribute.
func (ResetImageAttributeInput) String ¶
func (s ResetImageAttributeInput) String() string
String returns the string representation
func (*ResetImageAttributeInput) Validate ¶
func (s *ResetImageAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResetImageAttributeName ¶
type ResetImageAttributeName string
const (
ResetImageAttributeNameLaunchPermission ResetImageAttributeName = "launchPermission"
)
Enum values for ResetImageAttributeName
func (ResetImageAttributeName) MarshalValue ¶ added in v0.3.0
func (enum ResetImageAttributeName) MarshalValue() (string, error)
func (ResetImageAttributeName) MarshalValueBuf ¶ added in v0.3.0
func (enum ResetImageAttributeName) MarshalValueBuf(b []byte) ([]byte, error)
type ResetImageAttributeOutput ¶
type ResetImageAttributeOutput struct {
// contains filtered or unexported fields
}
func (ResetImageAttributeOutput) String ¶
func (s ResetImageAttributeOutput) String() string
String returns the string representation
type ResetImageAttributeRequest ¶
type ResetImageAttributeRequest struct { *aws.Request Input *ResetImageAttributeInput Copy func(*ResetImageAttributeInput) ResetImageAttributeRequest }
ResetImageAttributeRequest is the request type for the ResetImageAttribute API operation.
func (ResetImageAttributeRequest) Send ¶
func (r ResetImageAttributeRequest) Send(ctx context.Context) (*ResetImageAttributeResponse, error)
Send marshals and sends the ResetImageAttribute API request.
type ResetImageAttributeResponse ¶ added in v0.9.0
type ResetImageAttributeResponse struct { *ResetImageAttributeOutput // contains filtered or unexported fields }
ResetImageAttributeResponse is the response type for the ResetImageAttribute API operation.
func (*ResetImageAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ResetImageAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ResetImageAttribute request.
type ResetInstanceAttributeInput ¶
type ResetInstanceAttributeInput struct { // The attribute to reset. // // You can only reset the following attributes: kernel | ramdisk | sourceDestCheck. // To change an instance attribute, use ModifyInstanceAttribute. // // Attribute is a required field Attribute InstanceAttributeName `locationName:"attribute" type:"string" required:"true" enum:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the instance. // // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // contains filtered or unexported fields }
func (ResetInstanceAttributeInput) String ¶
func (s ResetInstanceAttributeInput) String() string
String returns the string representation
func (*ResetInstanceAttributeInput) Validate ¶
func (s *ResetInstanceAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResetInstanceAttributeOutput ¶
type ResetInstanceAttributeOutput struct {
// contains filtered or unexported fields
}
func (ResetInstanceAttributeOutput) String ¶
func (s ResetInstanceAttributeOutput) String() string
String returns the string representation
type ResetInstanceAttributeRequest ¶
type ResetInstanceAttributeRequest struct { *aws.Request Input *ResetInstanceAttributeInput Copy func(*ResetInstanceAttributeInput) ResetInstanceAttributeRequest }
ResetInstanceAttributeRequest is the request type for the ResetInstanceAttribute API operation.
func (ResetInstanceAttributeRequest) Send ¶
func (r ResetInstanceAttributeRequest) Send(ctx context.Context) (*ResetInstanceAttributeResponse, error)
Send marshals and sends the ResetInstanceAttribute API request.
type ResetInstanceAttributeResponse ¶ added in v0.9.0
type ResetInstanceAttributeResponse struct { *ResetInstanceAttributeOutput // contains filtered or unexported fields }
ResetInstanceAttributeResponse is the response type for the ResetInstanceAttribute API operation.
func (*ResetInstanceAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ResetInstanceAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ResetInstanceAttribute request.
type ResetNetworkInterfaceAttributeInput ¶
type ResetNetworkInterfaceAttributeInput 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 `locationName:"dryRun" type:"boolean"` // The ID of the network interface. // // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` // The source/destination checking attribute. Resets the value to true. SourceDestCheck *string `locationName:"sourceDestCheck" type:"string"` // contains filtered or unexported fields }
Contains the parameters for ResetNetworkInterfaceAttribute.
func (ResetNetworkInterfaceAttributeInput) String ¶
func (s ResetNetworkInterfaceAttributeInput) String() string
String returns the string representation
func (*ResetNetworkInterfaceAttributeInput) Validate ¶
func (s *ResetNetworkInterfaceAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResetNetworkInterfaceAttributeOutput ¶
type ResetNetworkInterfaceAttributeOutput struct {
// contains filtered or unexported fields
}
func (ResetNetworkInterfaceAttributeOutput) String ¶
func (s ResetNetworkInterfaceAttributeOutput) String() string
String returns the string representation
type ResetNetworkInterfaceAttributeRequest ¶
type ResetNetworkInterfaceAttributeRequest struct { *aws.Request Input *ResetNetworkInterfaceAttributeInput Copy func(*ResetNetworkInterfaceAttributeInput) ResetNetworkInterfaceAttributeRequest }
ResetNetworkInterfaceAttributeRequest is the request type for the ResetNetworkInterfaceAttribute API operation.
func (ResetNetworkInterfaceAttributeRequest) Send ¶
func (r ResetNetworkInterfaceAttributeRequest) Send(ctx context.Context) (*ResetNetworkInterfaceAttributeResponse, error)
Send marshals and sends the ResetNetworkInterfaceAttribute API request.
type ResetNetworkInterfaceAttributeResponse ¶ added in v0.9.0
type ResetNetworkInterfaceAttributeResponse struct { *ResetNetworkInterfaceAttributeOutput // contains filtered or unexported fields }
ResetNetworkInterfaceAttributeResponse is the response type for the ResetNetworkInterfaceAttribute API operation.
func (*ResetNetworkInterfaceAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ResetNetworkInterfaceAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ResetNetworkInterfaceAttribute request.
type ResetSnapshotAttributeInput ¶
type ResetSnapshotAttributeInput struct { // The attribute to reset. Currently, only the attribute for permission to create // volumes can be reset. // // Attribute is a required field Attribute SnapshotAttributeName `type:"string" required:"true" enum:"true"` // 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 `locationName:"dryRun" type:"boolean"` // The ID of the snapshot. // // SnapshotId is a required field SnapshotId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for ResetSnapshotAttribute.
func (ResetSnapshotAttributeInput) String ¶
func (s ResetSnapshotAttributeInput) String() string
String returns the string representation
func (*ResetSnapshotAttributeInput) Validate ¶
func (s *ResetSnapshotAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResetSnapshotAttributeOutput ¶
type ResetSnapshotAttributeOutput struct {
// contains filtered or unexported fields
}
func (ResetSnapshotAttributeOutput) String ¶
func (s ResetSnapshotAttributeOutput) String() string
String returns the string representation
type ResetSnapshotAttributeRequest ¶
type ResetSnapshotAttributeRequest struct { *aws.Request Input *ResetSnapshotAttributeInput Copy func(*ResetSnapshotAttributeInput) ResetSnapshotAttributeRequest }
ResetSnapshotAttributeRequest is the request type for the ResetSnapshotAttribute API operation.
func (ResetSnapshotAttributeRequest) Send ¶
func (r ResetSnapshotAttributeRequest) Send(ctx context.Context) (*ResetSnapshotAttributeResponse, error)
Send marshals and sends the ResetSnapshotAttribute API request.
type ResetSnapshotAttributeResponse ¶ added in v0.9.0
type ResetSnapshotAttributeResponse struct { *ResetSnapshotAttributeOutput // contains filtered or unexported fields }
ResetSnapshotAttributeResponse is the response type for the ResetSnapshotAttribute API operation.
func (*ResetSnapshotAttributeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ResetSnapshotAttributeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ResetSnapshotAttribute request.
type ResourceType ¶
type ResourceType string
const ( ResourceTypeClientVpnEndpoint ResourceType = "client-vpn-endpoint" ResourceTypeCustomerGateway ResourceType = "customer-gateway" ResourceTypeDedicatedHost ResourceType = "dedicated-host" ResourceTypeDhcpOptions ResourceType = "dhcp-options" ResourceTypeElasticIp ResourceType = "elastic-ip" ResourceTypeFleet ResourceType = "fleet" ResourceTypeFpgaImage ResourceType = "fpga-image" ResourceTypeHostReservation ResourceType = "host-reservation" ResourceTypeImage ResourceType = "image" ResourceTypeInstance ResourceType = "instance" ResourceTypeInternetGateway ResourceType = "internet-gateway" ResourceTypeLaunchTemplate ResourceType = "launch-template" ResourceTypeNatgateway ResourceType = "natgateway" ResourceTypeNetworkAcl ResourceType = "network-acl" ResourceTypeNetworkInterface ResourceType = "network-interface" ResourceTypeReservedInstances ResourceType = "reserved-instances" ResourceTypeRouteTable ResourceType = "route-table" ResourceTypeSecurityGroup ResourceType = "security-group" ResourceTypeSnapshot ResourceType = "snapshot" ResourceTypeSpotInstancesRequest ResourceType = "spot-instances-request" ResourceTypeSubnet ResourceType = "subnet" ResourceTypeTrafficMirrorFilter ResourceType = "traffic-mirror-filter" ResourceTypeTrafficMirrorSession ResourceType = "traffic-mirror-session" ResourceTypeTrafficMirrorTarget ResourceType = "traffic-mirror-target" ResourceTypeTransitGateway ResourceType = "transit-gateway" ResourceTypeTransitGatewayAttachment ResourceType = "transit-gateway-attachment" ResourceTypeTransitGatewayRouteTable ResourceType = "transit-gateway-route-table" ResourceTypeVolume ResourceType = "volume" ResourceTypeVpc ResourceType = "vpc" ResourceTypeVpcPeeringConnection ResourceType = "vpc-peering-connection" ResourceTypeVpnConnection ResourceType = "vpn-connection" ResourceTypeVpnGateway ResourceType = "vpn-gateway" )
Enum values for ResourceType
func (ResourceType) MarshalValue ¶ added in v0.3.0
func (enum ResourceType) MarshalValue() (string, error)
func (ResourceType) MarshalValueBuf ¶ added in v0.3.0
func (enum ResourceType) MarshalValueBuf(b []byte) ([]byte, error)
type ResponseError ¶ added in v0.2.0
type ResponseError struct { // The error code. Code LaunchTemplateErrorCode `locationName:"code" type:"string" enum:"true"` // The error message, if applicable. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes the error that's returned when you cannot delete a launch template version.
func (ResponseError) String ¶ added in v0.2.0
func (s ResponseError) String() string
String returns the string representation
type ResponseLaunchTemplateData ¶ added in v0.2.0
type ResponseLaunchTemplateData struct { // The block device mappings. BlockDeviceMappings []LaunchTemplateBlockDeviceMapping `locationName:"blockDeviceMappingSet" locationNameList:"item" type:"list"` // Information about the Capacity Reservation targeting option. CapacityReservationSpecification *LaunchTemplateCapacityReservationSpecificationResponse `locationName:"capacityReservationSpecification" type:"structure"` // The CPU options for the instance. For more information, see Optimizing CPU // Options (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) // in the Amazon Elastic Compute Cloud User Guide. CpuOptions *LaunchTemplateCpuOptions `locationName:"cpuOptions" type:"structure"` // The credit option for CPU usage of the instance. CreditSpecification *CreditSpecification `locationName:"creditSpecification" type:"structure"` // If set to true, indicates that the instance cannot be terminated using the // Amazon EC2 console, command line tool, or API. DisableApiTermination *bool `locationName:"disableApiTermination" type:"boolean"` // Indicates whether the instance is optimized for Amazon EBS I/O. EbsOptimized *bool `locationName:"ebsOptimized" type:"boolean"` // The elastic GPU specification. ElasticGpuSpecifications []ElasticGpuSpecificationResponse `locationName:"elasticGpuSpecificationSet" locationNameList:"item" type:"list"` // The elastic inference accelerator for the instance. ElasticInferenceAccelerators []LaunchTemplateElasticInferenceAcceleratorResponse `locationName:"elasticInferenceAcceleratorSet" locationNameList:"item" type:"list"` // Indicates whether an instance is configured for hibernation. For more information, // see Hibernate Your Instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) // in the Amazon Elastic Compute Cloud User Guide. HibernationOptions *LaunchTemplateHibernationOptions `locationName:"hibernationOptions" type:"structure"` // The IAM instance profile. IamInstanceProfile *LaunchTemplateIamInstanceProfileSpecification `locationName:"iamInstanceProfile" type:"structure"` // The ID of the AMI that was used to launch the instance. ImageId *string `locationName:"imageId" type:"string"` // Indicates whether an instance stops or terminates when you initiate shutdown // from the instance (using the operating system command for system shutdown). InstanceInitiatedShutdownBehavior ShutdownBehavior `locationName:"instanceInitiatedShutdownBehavior" type:"string" enum:"true"` // The market (purchasing) option for the instances. InstanceMarketOptions *LaunchTemplateInstanceMarketOptions `locationName:"instanceMarketOptions" type:"structure"` // The instance type. InstanceType InstanceType `locationName:"instanceType" type:"string" enum:"true"` // The ID of the kernel, if applicable. KernelId *string `locationName:"kernelId" type:"string"` // The name of the key pair. KeyName *string `locationName:"keyName" type:"string"` // The license configurations. LicenseSpecifications []LaunchTemplateLicenseConfiguration `locationName:"licenseSet" locationNameList:"item" type:"list"` // The monitoring for the instance. Monitoring *LaunchTemplatesMonitoring `locationName:"monitoring" type:"structure"` // The network interfaces. NetworkInterfaces []LaunchTemplateInstanceNetworkInterfaceSpecification `locationName:"networkInterfaceSet" locationNameList:"item" type:"list"` // The placement of the instance. Placement *LaunchTemplatePlacement `locationName:"placement" type:"structure"` // The ID of the RAM disk, if applicable. RamDiskId *string `locationName:"ramDiskId" type:"string"` // The security group IDs. SecurityGroupIds []string `locationName:"securityGroupIdSet" locationNameList:"item" type:"list"` // The security group names. SecurityGroups []string `locationName:"securityGroupSet" locationNameList:"item" type:"list"` // The tags. TagSpecifications []LaunchTemplateTagSpecification `locationName:"tagSpecificationSet" locationNameList:"item" type:"list"` // The user data for the instance. UserData *string `locationName:"userData" type:"string"` // contains filtered or unexported fields }
The information for a launch template.
func (ResponseLaunchTemplateData) String ¶ added in v0.2.0
func (s ResponseLaunchTemplateData) String() string
String returns the string representation
type RestoreAddressToClassicInput ¶
type RestoreAddressToClassicInput 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 `locationName:"dryRun" type:"boolean"` // The Elastic IP address. // // PublicIp is a required field PublicIp *string `locationName:"publicIp" type:"string" required:"true"` // contains filtered or unexported fields }
func (RestoreAddressToClassicInput) String ¶
func (s RestoreAddressToClassicInput) String() string
String returns the string representation
func (*RestoreAddressToClassicInput) Validate ¶
func (s *RestoreAddressToClassicInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RestoreAddressToClassicOutput ¶
type RestoreAddressToClassicOutput struct { // The Elastic IP address. PublicIp *string `locationName:"publicIp" type:"string"` // The move status for the IP address. Status Status `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
func (RestoreAddressToClassicOutput) String ¶
func (s RestoreAddressToClassicOutput) String() string
String returns the string representation
type RestoreAddressToClassicRequest ¶
type RestoreAddressToClassicRequest struct { *aws.Request Input *RestoreAddressToClassicInput Copy func(*RestoreAddressToClassicInput) RestoreAddressToClassicRequest }
RestoreAddressToClassicRequest is the request type for the RestoreAddressToClassic API operation.
func (RestoreAddressToClassicRequest) Send ¶
func (r RestoreAddressToClassicRequest) Send(ctx context.Context) (*RestoreAddressToClassicResponse, error)
Send marshals and sends the RestoreAddressToClassic API request.
type RestoreAddressToClassicResponse ¶ added in v0.9.0
type RestoreAddressToClassicResponse struct { *RestoreAddressToClassicOutput // contains filtered or unexported fields }
RestoreAddressToClassicResponse is the response type for the RestoreAddressToClassic API operation.
func (*RestoreAddressToClassicResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RestoreAddressToClassicResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RestoreAddressToClassic request.
type RevokeClientVpnIngressInput ¶ added in v0.7.0
type RevokeClientVpnIngressInput struct { // The ID of the Active Directory group for which to revoke access. AccessGroupId *string `type:"string"` // The ID of the Client VPN endpoint with which the authorization rule is associated. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // 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"` // Indicates whether access should be revoked for all clients. RevokeAllGroups *bool `type:"boolean"` // The IPv4 address range, in CIDR notation, of the network for which access // is being removed. // // TargetNetworkCidr is a required field TargetNetworkCidr *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (RevokeClientVpnIngressInput) String ¶ added in v0.7.0
func (s RevokeClientVpnIngressInput) String() string
String returns the string representation
func (*RevokeClientVpnIngressInput) Validate ¶ added in v0.7.0
func (s *RevokeClientVpnIngressInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RevokeClientVpnIngressOutput ¶ added in v0.7.0
type RevokeClientVpnIngressOutput struct { // The current state of the authorization rule. Status *VpnAuthorizationRuleStatus `locationName:"status" type:"structure"` // contains filtered or unexported fields }
func (RevokeClientVpnIngressOutput) String ¶ added in v0.7.0
func (s RevokeClientVpnIngressOutput) String() string
String returns the string representation
type RevokeClientVpnIngressRequest ¶ added in v0.7.0
type RevokeClientVpnIngressRequest struct { *aws.Request Input *RevokeClientVpnIngressInput Copy func(*RevokeClientVpnIngressInput) RevokeClientVpnIngressRequest }
RevokeClientVpnIngressRequest is the request type for the RevokeClientVpnIngress API operation.
func (RevokeClientVpnIngressRequest) Send ¶ added in v0.7.0
func (r RevokeClientVpnIngressRequest) Send(ctx context.Context) (*RevokeClientVpnIngressResponse, error)
Send marshals and sends the RevokeClientVpnIngress API request.
type RevokeClientVpnIngressResponse ¶ added in v0.9.0
type RevokeClientVpnIngressResponse struct { *RevokeClientVpnIngressOutput // contains filtered or unexported fields }
RevokeClientVpnIngressResponse is the response type for the RevokeClientVpnIngress API operation.
func (*RevokeClientVpnIngressResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RevokeClientVpnIngressResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RevokeClientVpnIngress request.
type RevokeSecurityGroupEgressInput ¶
type RevokeSecurityGroupEgressInput struct { // Not supported. Use a set of IP permissions to specify the CIDR. CidrIp *string `locationName:"cidrIp" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // Not supported. Use a set of IP permissions to specify the port. FromPort *int64 `locationName:"fromPort" type:"integer"` // The ID of the security group. // // GroupId is a required field GroupId *string `locationName:"groupId" type:"string" required:"true"` // The sets of IP permissions. You can't specify a destination security group // and a CIDR IP address range in the same set of permissions. IpPermissions []IpPermission `locationName:"ipPermissions" locationNameList:"item" type:"list"` // Not supported. Use a set of IP permissions to specify the protocol name or // number. IpProtocol *string `locationName:"ipProtocol" type:"string"` // Not supported. Use a set of IP permissions to specify a destination security // group. SourceSecurityGroupName *string `locationName:"sourceSecurityGroupName" type:"string"` // Not supported. Use a set of IP permissions to specify a destination security // group. SourceSecurityGroupOwnerId *string `locationName:"sourceSecurityGroupOwnerId" type:"string"` // Not supported. Use a set of IP permissions to specify the port. ToPort *int64 `locationName:"toPort" type:"integer"` // contains filtered or unexported fields }
func (RevokeSecurityGroupEgressInput) String ¶
func (s RevokeSecurityGroupEgressInput) String() string
String returns the string representation
func (*RevokeSecurityGroupEgressInput) Validate ¶
func (s *RevokeSecurityGroupEgressInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RevokeSecurityGroupEgressOutput ¶
type RevokeSecurityGroupEgressOutput struct {
// contains filtered or unexported fields
}
func (RevokeSecurityGroupEgressOutput) String ¶
func (s RevokeSecurityGroupEgressOutput) String() string
String returns the string representation
type RevokeSecurityGroupEgressRequest ¶
type RevokeSecurityGroupEgressRequest struct { *aws.Request Input *RevokeSecurityGroupEgressInput Copy func(*RevokeSecurityGroupEgressInput) RevokeSecurityGroupEgressRequest }
RevokeSecurityGroupEgressRequest is the request type for the RevokeSecurityGroupEgress API operation.
func (RevokeSecurityGroupEgressRequest) Send ¶
func (r RevokeSecurityGroupEgressRequest) Send(ctx context.Context) (*RevokeSecurityGroupEgressResponse, error)
Send marshals and sends the RevokeSecurityGroupEgress API request.
type RevokeSecurityGroupEgressResponse ¶ added in v0.9.0
type RevokeSecurityGroupEgressResponse struct { *RevokeSecurityGroupEgressOutput // contains filtered or unexported fields }
RevokeSecurityGroupEgressResponse is the response type for the RevokeSecurityGroupEgress API operation.
func (*RevokeSecurityGroupEgressResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RevokeSecurityGroupEgressResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RevokeSecurityGroupEgress request.
type RevokeSecurityGroupIngressInput ¶
type RevokeSecurityGroupIngressInput struct { // The CIDR IP address range. You can't specify this parameter when specifying // a source security group. CidrIp *string `type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // The start of port range for the TCP and UDP protocols, or an ICMP type number. // For the ICMP type number, use -1 to specify all ICMP types. FromPort *int64 `type:"integer"` // The ID of the security group. You must specify either the security group // ID or the security group name in the request. For security groups in a nondefault // VPC, you must specify the security group ID. GroupId *string `type:"string"` // [EC2-Classic, default VPC] The name of the security group. You must specify // either the security group ID or the security group name in the request. GroupName *string `type:"string"` // The sets of IP permissions. You can't specify a source security group and // a CIDR IP address range in the same set of permissions. IpPermissions []IpPermission `locationNameList:"item" type:"list"` // The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). // Use -1 to specify all. IpProtocol *string `type:"string"` // [EC2-Classic, default VPC] The name of the source security group. You can't // specify this parameter in combination with the following parameters: the // CIDR IP address range, the start of the port range, the IP protocol, and // the end of the port range. For EC2-VPC, the source security group must be // in the same VPC. To revoke a specific rule for an IP protocol and port range, // use a set of IP permissions instead. SourceSecurityGroupName *string `type:"string"` // [EC2-Classic] The AWS account ID of the source security group, if the source // security group is in a different account. You can't specify this parameter // in combination with the following parameters: the CIDR IP address range, // the IP protocol, the start of the port range, and the end of the port range. // To revoke a specific rule for an IP protocol and port range, use a set of // IP permissions instead. SourceSecurityGroupOwnerId *string `type:"string"` // The end of port range for the TCP and UDP protocols, or an ICMP code number. // For the ICMP code number, use -1 to specify all ICMP codes for the ICMP type. ToPort *int64 `type:"integer"` // contains filtered or unexported fields }
func (RevokeSecurityGroupIngressInput) String ¶
func (s RevokeSecurityGroupIngressInput) String() string
String returns the string representation
type RevokeSecurityGroupIngressOutput ¶
type RevokeSecurityGroupIngressOutput struct {
// contains filtered or unexported fields
}
func (RevokeSecurityGroupIngressOutput) String ¶
func (s RevokeSecurityGroupIngressOutput) String() string
String returns the string representation
type RevokeSecurityGroupIngressRequest ¶
type RevokeSecurityGroupIngressRequest struct { *aws.Request Input *RevokeSecurityGroupIngressInput Copy func(*RevokeSecurityGroupIngressInput) RevokeSecurityGroupIngressRequest }
RevokeSecurityGroupIngressRequest is the request type for the RevokeSecurityGroupIngress API operation.
func (RevokeSecurityGroupIngressRequest) Send ¶
func (r RevokeSecurityGroupIngressRequest) Send(ctx context.Context) (*RevokeSecurityGroupIngressResponse, error)
Send marshals and sends the RevokeSecurityGroupIngress API request.
type RevokeSecurityGroupIngressResponse ¶ added in v0.9.0
type RevokeSecurityGroupIngressResponse struct { *RevokeSecurityGroupIngressOutput // contains filtered or unexported fields }
RevokeSecurityGroupIngressResponse is the response type for the RevokeSecurityGroupIngress API operation.
func (*RevokeSecurityGroupIngressResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RevokeSecurityGroupIngressResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RevokeSecurityGroupIngress request.
type Route ¶
type Route struct { // The IPv4 CIDR block used for the destination match. DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string"` // The IPv6 CIDR block used for the destination match. DestinationIpv6CidrBlock *string `locationName:"destinationIpv6CidrBlock" type:"string"` // The prefix of the AWS service. DestinationPrefixListId *string `locationName:"destinationPrefixListId" type:"string"` // The ID of the egress-only internet gateway. EgressOnlyInternetGatewayId *string `locationName:"egressOnlyInternetGatewayId" type:"string"` // The ID of a gateway attached to your VPC. GatewayId *string `locationName:"gatewayId" type:"string"` // The ID of a NAT instance in your VPC. InstanceId *string `locationName:"instanceId" type:"string"` // The AWS account ID of the owner of the instance. InstanceOwnerId *string `locationName:"instanceOwnerId" type:"string"` // The ID of a NAT gateway. NatGatewayId *string `locationName:"natGatewayId" type:"string"` // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // Describes how the route was created. // // * CreateRouteTable - The route was automatically created when the route // table was created. // // * CreateRoute - The route was manually added to the route table. // // * EnableVgwRoutePropagation - The route was propagated by route propagation. Origin RouteOrigin `locationName:"origin" type:"string" enum:"true"` // The state of the route. The blackhole state indicates that the route's target // isn't available (for example, the specified gateway isn't attached to the // VPC, or the specified NAT instance has been terminated). State RouteState `locationName:"state" type:"string" enum:"true"` // The ID of a transit gateway. TransitGatewayId *string `locationName:"transitGatewayId" type:"string"` // The ID of a VPC peering connection. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"` // contains filtered or unexported fields }
Describes a route in a route table.
type RouteOrigin ¶
type RouteOrigin string
const ( RouteOriginCreateRouteTable RouteOrigin = "CreateRouteTable" RouteOriginCreateRoute RouteOrigin = "CreateRoute" RouteOriginEnableVgwRoutePropagation RouteOrigin = "EnableVgwRoutePropagation" )
Enum values for RouteOrigin
func (RouteOrigin) MarshalValue ¶ added in v0.3.0
func (enum RouteOrigin) MarshalValue() (string, error)
func (RouteOrigin) MarshalValueBuf ¶ added in v0.3.0
func (enum RouteOrigin) MarshalValueBuf(b []byte) ([]byte, error)
type RouteState ¶
type RouteState string
const ( RouteStateActive RouteState = "active" RouteStateBlackhole RouteState = "blackhole" )
Enum values for RouteState
func (RouteState) MarshalValue ¶ added in v0.3.0
func (enum RouteState) MarshalValue() (string, error)
func (RouteState) MarshalValueBuf ¶ added in v0.3.0
func (enum RouteState) MarshalValueBuf(b []byte) ([]byte, error)
type RouteTable ¶
type RouteTable struct { // The associations between the route table and one or more subnets. Associations []RouteTableAssociation `locationName:"associationSet" locationNameList:"item" type:"list"` // The ID of the AWS account that owns the route table. OwnerId *string `locationName:"ownerId" type:"string"` // Any virtual private gateway (VGW) propagating routes. PropagatingVgws []PropagatingVgw `locationName:"propagatingVgwSet" locationNameList:"item" type:"list"` // The ID of the route table. RouteTableId *string `locationName:"routeTableId" type:"string"` // The routes in the route table. Routes []Route `locationName:"routeSet" locationNameList:"item" type:"list"` // Any tags assigned to the route table. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes a route table.
func (RouteTable) String ¶
func (s RouteTable) String() string
String returns the string representation
type RouteTableAssociation ¶
type RouteTableAssociation struct { // Indicates whether this is the main route table. Main *bool `locationName:"main" type:"boolean"` // The ID of the association between a route table and a subnet. RouteTableAssociationId *string `locationName:"routeTableAssociationId" type:"string"` // The ID of the route table. RouteTableId *string `locationName:"routeTableId" type:"string"` // The ID of the subnet. A subnet ID is not returned for an implicit association. SubnetId *string `locationName:"subnetId" type:"string"` // contains filtered or unexported fields }
Describes an association between a route table and a subnet.
func (RouteTableAssociation) String ¶
func (s RouteTableAssociation) String() string
String returns the string representation
type RuleAction ¶
type RuleAction string
const ( RuleActionAllow RuleAction = "allow" RuleActionDeny RuleAction = "deny" )
Enum values for RuleAction
func (RuleAction) MarshalValue ¶ added in v0.3.0
func (enum RuleAction) MarshalValue() (string, error)
func (RuleAction) MarshalValueBuf ¶ added in v0.3.0
func (enum RuleAction) MarshalValueBuf(b []byte) ([]byte, error)
type RunInstancesInput ¶
type RunInstancesInput struct { // Reserved. AdditionalInfo *string `locationName:"additionalInfo" type:"string"` // The block device mapping entries. BlockDeviceMappings []BlockDeviceMapping `locationName:"BlockDeviceMapping" locationNameList:"BlockDeviceMapping" type:"list"` // Information about the Capacity Reservation targeting option. If you do not // specify this parameter, the instance's Capacity Reservation preference defaults // to open, which enables it to run in any open Capacity Reservation that has // matching attributes (instance type, platform, Availability Zone). CapacityReservationSpecification *CapacityReservationSpecification `type:"structure"` // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). // // Constraints: Maximum 64 ASCII characters ClientToken *string `locationName:"clientToken" type:"string"` // The CPU options for the instance. For more information, see Optimizing CPU // Options (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) // in the Amazon Elastic Compute Cloud User Guide. CpuOptions *CpuOptionsRequest `type:"structure"` // The credit option for CPU usage of the T2 or T3 instance. Valid values are // standard and unlimited. To change this attribute after launch, use ModifyInstanceCreditSpecification // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceCreditSpecification.html). // For more information, see Burstable Performance Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html) // in the Amazon Elastic Compute Cloud User Guide. // // Default: standard (T2 instances) or unlimited (T3 instances) CreditSpecification *CreditSpecificationRequest `type:"structure"` // If you set this parameter to true, you can't terminate the instance using // the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute // after launch, use ModifyInstanceAttribute (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html). // Alternatively, if you set InstanceInitiatedShutdownBehavior to terminate, // you can terminate the instance by running the shutdown command from the instance. // // Default: false DisableApiTermination *bool `locationName:"disableApiTermination" type:"boolean"` // 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 `locationName:"dryRun" type:"boolean"` // Indicates whether the instance is optimized for Amazon EBS I/O. This optimization // provides dedicated throughput to Amazon EBS and an optimized configuration // stack to provide optimal Amazon EBS I/O performance. This optimization isn't // available with all instance types. Additional usage charges apply when using // an EBS-optimized instance. // // Default: false EbsOptimized *bool `locationName:"ebsOptimized" type:"boolean"` // An elastic GPU to associate with the instance. An Elastic GPU is a GPU resource // that you can attach to your Windows instance to accelerate the graphics performance // of your applications. For more information, see Amazon EC2 Elastic GPUs (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html) // in the Amazon Elastic Compute Cloud User Guide. ElasticGpuSpecification []ElasticGpuSpecification `locationNameList:"item" type:"list"` // An elastic inference accelerator to associate with the instance. Elastic // inference accelerators are a resource you can attach to your Amazon EC2 instances // to accelerate your Deep Learning (DL) inference workloads. ElasticInferenceAccelerators []ElasticInferenceAccelerator `locationName:"ElasticInferenceAccelerator" locationNameList:"item" type:"list"` // Indicates whether an instance is enabled for hibernation. For more information, // see Hibernate Your Instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) // in the Amazon Elastic Compute Cloud User Guide. HibernationOptions *HibernationOptionsRequest `type:"structure"` // The IAM instance profile. IamInstanceProfile *IamInstanceProfileSpecification `locationName:"iamInstanceProfile" type:"structure"` // The ID of the AMI. An AMI ID is required to launch an instance and must be // specified here or in a launch template. ImageId *string `type:"string"` // Indicates whether an instance stops or terminates when you initiate shutdown // from the instance (using the operating system command for system shutdown). // // Default: stop InstanceInitiatedShutdownBehavior ShutdownBehavior `locationName:"instanceInitiatedShutdownBehavior" type:"string" enum:"true"` // The market (purchasing) option for the instances. // // For RunInstances, persistent Spot Instance requests are only supported when // InstanceInterruptionBehavior is set to either hibernate or stop. InstanceMarketOptions *InstanceMarketOptionsRequest `type:"structure"` // The instance type. For more information, see Instance Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) // in the Amazon Elastic Compute Cloud User Guide. // // Default: m1.small InstanceType InstanceType `type:"string" enum:"true"` // [EC2-VPC] The number of IPv6 addresses to associate with the primary network // interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. // You cannot specify this option and the option to assign specific IPv6 addresses // in the same request. You can specify this option if you've specified a minimum // number of instances to launch. // // You cannot specify this option and the network interfaces option in the same // request. Ipv6AddressCount *int64 `type:"integer"` // [EC2-VPC] The IPv6 addresses from the range of the subnet to associate with // the primary network interface. You cannot specify this option and the option // to assign a number of IPv6 addresses in the same request. You cannot specify // this option if you've specified a minimum number of instances to launch. // // You cannot specify this option and the network interfaces option in the same // request. Ipv6Addresses []InstanceIpv6Address `locationName:"Ipv6Address" locationNameList:"item" type:"list"` // The ID of the kernel. // // We recommend that you use PV-GRUB instead of kernels and RAM disks. For more // information, see PV-GRUB (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) // in the Amazon Elastic Compute Cloud User Guide. KernelId *string `type:"string"` // The name of the key pair. You can create a key pair using CreateKeyPair (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html) // or ImportKeyPair (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html). // // If you do not specify a key pair, you can't connect to the instance unless // you choose an AMI that is configured to allow users another way to log in. KeyName *string `type:"string"` // The launch template to use to launch the instances. Any parameters that you // specify in RunInstances override the same parameters in the launch template. // You can specify either the name or ID of a launch template, but not both. LaunchTemplate *LaunchTemplateSpecification `type:"structure"` // The license configurations. LicenseSpecifications []LicenseConfigurationRequest `locationName:"LicenseSpecification" locationNameList:"item" type:"list"` // The maximum number of instances to launch. If you specify more instances // than Amazon EC2 can launch in the target Availability Zone, Amazon EC2 launches // the largest possible number of instances above MinCount. // // Constraints: Between 1 and the maximum number you're allowed for the specified // instance type. For more information about the default limits, and how to // request an increase, see How many instances can I run in Amazon EC2 (http://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2) // in the Amazon EC2 FAQ. // // MaxCount is a required field MaxCount *int64 `type:"integer" required:"true"` // The minimum number of instances to launch. If you specify a minimum that // is more instances than Amazon EC2 can launch in the target Availability Zone, // Amazon EC2 launches no instances. // // Constraints: Between 1 and the maximum number you're allowed for the specified // instance type. For more information about the default limits, and how to // request an increase, see How many instances can I run in Amazon EC2 (http://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2) // in the Amazon EC2 General FAQ. // // MinCount is a required field MinCount *int64 `type:"integer" required:"true"` // Specifies whether detailed monitoring is enabled for the instance. Monitoring *RunInstancesMonitoringEnabled `type:"structure"` // The network interfaces to associate with the instance. If you specify a network // interface, you must specify any security groups and subnets as part of the // network interface. NetworkInterfaces []InstanceNetworkInterfaceSpecification `locationName:"networkInterface" locationNameList:"item" type:"list"` // The placement for the instance. Placement *Placement `type:"structure"` // [EC2-VPC] The primary IPv4 address. You must specify a value from the IPv4 // address range of the subnet. // // Only one private IP address can be designated as primary. You can't specify // this option if you've specified the option to designate a private IP address // as the primary IP address in a network interface specification. You cannot // specify this option if you're launching more than one instance in the request. // // You cannot specify this option and the network interfaces option in the same // request. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // The ID of the RAM disk to select. Some kernels require additional drivers // at launch. Check the kernel requirements for information about whether you // need to specify a RAM disk. To find kernel requirements, go to the AWS Resource // Center and search for the kernel ID. // // We recommend that you use PV-GRUB instead of kernels and RAM disks. For more // information, see PV-GRUB (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) // in the Amazon Elastic Compute Cloud User Guide. RamdiskId *string `type:"string"` // The IDs of the security groups. You can create a security group using CreateSecurityGroup // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html). // // If you specify a network interface, you must specify any security groups // as part of the network interface. SecurityGroupIds []string `locationName:"SecurityGroupId" locationNameList:"SecurityGroupId" type:"list"` // [EC2-Classic, default VPC] The names of the security groups. For a nondefault // VPC, you must use security group IDs instead. // // If you specify a network interface, you must specify any security groups // as part of the network interface. // // Default: Amazon EC2 uses the default security group. SecurityGroups []string `locationName:"SecurityGroup" locationNameList:"SecurityGroup" type:"list"` // [EC2-VPC] The ID of the subnet to launch the instance into. // // If you specify a network interface, you must specify any subnets as part // of the network interface. SubnetId *string `type:"string"` // The tags to apply to the resources during launch. You can only tag instances // and volumes on launch. The specified tags are applied to all instances or // volumes that are created during launch. To tag a resource after it has been // created, see CreateTags (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). TagSpecifications []TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` // The user data to make available to the instance. For more information, see // Running Commands on Your Linux Instance at Launch (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html) // (Linux) and Adding User Data (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html#instancedata-add-user-data) // (Windows). If you are using a command line tool, base64-encoding is performed // for you, and you can load the text from a file. Otherwise, you must provide // base64-encoded text. User data is limited to 16 KB. UserData *string `type:"string"` // contains filtered or unexported fields }
func (RunInstancesInput) String ¶
func (s RunInstancesInput) String() string
String returns the string representation
func (*RunInstancesInput) Validate ¶
func (s *RunInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RunInstancesMonitoringEnabled ¶
type RunInstancesMonitoringEnabled struct { // Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring // is enabled. // // Enabled is a required field Enabled *bool `locationName:"enabled" type:"boolean" required:"true"` // contains filtered or unexported fields }
Describes the monitoring of an instance.
func (RunInstancesMonitoringEnabled) String ¶
func (s RunInstancesMonitoringEnabled) String() string
String returns the string representation
func (*RunInstancesMonitoringEnabled) Validate ¶
func (s *RunInstancesMonitoringEnabled) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RunInstancesOutput ¶
type RunInstancesOutput struct { // [EC2-Classic only] The security groups. Groups []GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` // The instances. Instances []Instance `locationName:"instancesSet" locationNameList:"item" type:"list"` // The ID of the AWS account that owns the reservation. OwnerId *string `locationName:"ownerId" type:"string"` // The ID of the requester that launched the instances on your behalf (for example, // AWS Management Console or Auto Scaling). RequesterId *string `locationName:"requesterId" type:"string"` // The ID of the reservation. ReservationId *string `locationName:"reservationId" type:"string"` // contains filtered or unexported fields }
Describes a reservation.
func (RunInstancesOutput) String ¶
func (s RunInstancesOutput) String() string
String returns the string representation
type RunInstancesRequest ¶
type RunInstancesRequest struct { *aws.Request Input *RunInstancesInput Copy func(*RunInstancesInput) RunInstancesRequest }
RunInstancesRequest is the request type for the RunInstances API operation.
func (RunInstancesRequest) Send ¶
func (r RunInstancesRequest) Send(ctx context.Context) (*RunInstancesResponse, error)
Send marshals and sends the RunInstances API request.
type RunInstancesResponse ¶ added in v0.9.0
type RunInstancesResponse struct { *RunInstancesOutput // contains filtered or unexported fields }
RunInstancesResponse is the response type for the RunInstances API operation.
func (*RunInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RunInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RunInstances request.
type RunScheduledInstancesInput ¶
type RunScheduledInstancesInput struct { // Unique, case-sensitive identifier that ensures the idempotency of the request. // For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // 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 number of instances. // // Default: 1 InstanceCount *int64 `type:"integer"` // The launch specification. You must match the instance type, Availability // Zone, network, and platform of the schedule that you purchased. // // LaunchSpecification is a required field LaunchSpecification *ScheduledInstancesLaunchSpecification `type:"structure" required:"true"` // The Scheduled Instance ID. // // ScheduledInstanceId is a required field ScheduledInstanceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for RunScheduledInstances.
func (RunScheduledInstancesInput) String ¶
func (s RunScheduledInstancesInput) String() string
String returns the string representation
func (*RunScheduledInstancesInput) Validate ¶
func (s *RunScheduledInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RunScheduledInstancesOutput ¶
type RunScheduledInstancesOutput struct { // The IDs of the newly launched instances. InstanceIdSet []string `locationName:"instanceIdSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Contains the output of RunScheduledInstances.
func (RunScheduledInstancesOutput) String ¶
func (s RunScheduledInstancesOutput) String() string
String returns the string representation
type RunScheduledInstancesRequest ¶
type RunScheduledInstancesRequest struct { *aws.Request Input *RunScheduledInstancesInput Copy func(*RunScheduledInstancesInput) RunScheduledInstancesRequest }
RunScheduledInstancesRequest is the request type for the RunScheduledInstances API operation.
func (RunScheduledInstancesRequest) Send ¶
func (r RunScheduledInstancesRequest) Send(ctx context.Context) (*RunScheduledInstancesResponse, error)
Send marshals and sends the RunScheduledInstances API request.
type RunScheduledInstancesResponse ¶ added in v0.9.0
type RunScheduledInstancesResponse struct { *RunScheduledInstancesOutput // contains filtered or unexported fields }
RunScheduledInstancesResponse is the response type for the RunScheduledInstances API operation.
func (*RunScheduledInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RunScheduledInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RunScheduledInstances request.
type S3Storage ¶
type S3Storage struct { // The access key ID of the owner of the bucket. Before you specify a value // for your access key ID, review and follow the guidance in Best Practices // for Managing AWS Access Keys (https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html). AWSAccessKeyId *string `type:"string"` // The bucket in which to store the AMI. You can specify a bucket that you already // own or a new bucket that Amazon EC2 creates on your behalf. If you specify // a bucket that belongs to someone else, Amazon EC2 returns an error. Bucket *string `locationName:"bucket" type:"string"` // The beginning of the file name of the AMI. Prefix *string `locationName:"prefix" type:"string"` // An Amazon S3 upload policy that gives Amazon EC2 permission to upload items // into Amazon S3 on your behalf. // // UploadPolicy is automatically base64 encoded/decoded by the SDK. UploadPolicy []byte `locationName:"uploadPolicy" type:"blob"` // The signature of the JSON document. UploadPolicySignature *string `locationName:"uploadPolicySignature" type:"string"` // contains filtered or unexported fields }
Describes the storage parameters for S3 and S3 buckets for an instance store-backed AMI.
type ScheduledInstance ¶
type ScheduledInstance struct { // The Availability Zone. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The date when the Scheduled Instance was purchased. CreateDate *time.Time `locationName:"createDate" type:"timestamp"` // The hourly price for a single instance. HourlyPrice *string `locationName:"hourlyPrice" type:"string"` // The number of instances. InstanceCount *int64 `locationName:"instanceCount" type:"integer"` // The instance type. InstanceType *string `locationName:"instanceType" type:"string"` // The network platform (EC2-Classic or EC2-VPC). NetworkPlatform *string `locationName:"networkPlatform" type:"string"` // The time for the next schedule to start. NextSlotStartTime *time.Time `locationName:"nextSlotStartTime" type:"timestamp"` // The platform (Linux/UNIX or Windows). Platform *string `locationName:"platform" type:"string"` // The time that the previous schedule ended or will end. PreviousSlotEndTime *time.Time `locationName:"previousSlotEndTime" type:"timestamp"` // The schedule recurrence. Recurrence *ScheduledInstanceRecurrence `locationName:"recurrence" type:"structure"` // The Scheduled Instance ID. ScheduledInstanceId *string `locationName:"scheduledInstanceId" type:"string"` // The number of hours in the schedule. SlotDurationInHours *int64 `locationName:"slotDurationInHours" type:"integer"` // The end date for the Scheduled Instance. TermEndDate *time.Time `locationName:"termEndDate" type:"timestamp"` // The start date for the Scheduled Instance. TermStartDate *time.Time `locationName:"termStartDate" type:"timestamp"` // The total number of hours for a single instance for the entire term. TotalScheduledInstanceHours *int64 `locationName:"totalScheduledInstanceHours" type:"integer"` // contains filtered or unexported fields }
Describes a Scheduled Instance.
func (ScheduledInstance) String ¶
func (s ScheduledInstance) String() string
String returns the string representation
type ScheduledInstanceAvailability ¶
type ScheduledInstanceAvailability struct { // The Availability Zone. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The number of available instances. AvailableInstanceCount *int64 `locationName:"availableInstanceCount" type:"integer"` // The time period for the first schedule to start. FirstSlotStartTime *time.Time `locationName:"firstSlotStartTime" type:"timestamp"` // The hourly price for a single instance. HourlyPrice *string `locationName:"hourlyPrice" type:"string"` // The instance type. You can specify one of the C3, C4, M4, or R3 instance // types. InstanceType *string `locationName:"instanceType" type:"string"` // The maximum term. The only possible value is 365 days. MaxTermDurationInDays *int64 `locationName:"maxTermDurationInDays" type:"integer"` // The minimum term. The only possible value is 365 days. MinTermDurationInDays *int64 `locationName:"minTermDurationInDays" type:"integer"` // The network platform (EC2-Classic or EC2-VPC). NetworkPlatform *string `locationName:"networkPlatform" type:"string"` // The platform (Linux/UNIX or Windows). Platform *string `locationName:"platform" type:"string"` // The purchase token. This token expires in two hours. PurchaseToken *string `locationName:"purchaseToken" type:"string"` // The schedule recurrence. Recurrence *ScheduledInstanceRecurrence `locationName:"recurrence" type:"structure"` // The number of hours in the schedule. SlotDurationInHours *int64 `locationName:"slotDurationInHours" type:"integer"` // The total number of hours for a single instance for the entire term. TotalScheduledInstanceHours *int64 `locationName:"totalScheduledInstanceHours" type:"integer"` // contains filtered or unexported fields }
Describes a schedule that is available for your Scheduled Instances.
func (ScheduledInstanceAvailability) String ¶
func (s ScheduledInstanceAvailability) String() string
String returns the string representation
type ScheduledInstanceRecurrence ¶
type ScheduledInstanceRecurrence struct { // The frequency (Daily, Weekly, or Monthly). Frequency *string `locationName:"frequency" type:"string"` // The interval quantity. The interval unit depends on the value of frequency. // For example, every 2 weeks or every 2 months. Interval *int64 `locationName:"interval" type:"integer"` // The days. For a monthly schedule, this is one or more days of the month (1-31). // For a weekly schedule, this is one or more days of the week (1-7, where 1 // is Sunday). OccurrenceDaySet []int64 `locationName:"occurrenceDaySet" locationNameList:"item" type:"list"` // Indicates whether the occurrence is relative to the end of the specified // week or month. OccurrenceRelativeToEnd *bool `locationName:"occurrenceRelativeToEnd" type:"boolean"` // The unit for occurrenceDaySet (DayOfWeek or DayOfMonth). OccurrenceUnit *string `locationName:"occurrenceUnit" type:"string"` // contains filtered or unexported fields }
Describes the recurring schedule for a Scheduled Instance.
func (ScheduledInstanceRecurrence) String ¶
func (s ScheduledInstanceRecurrence) String() string
String returns the string representation
type ScheduledInstanceRecurrenceRequest ¶
type ScheduledInstanceRecurrenceRequest struct { // The frequency (Daily, Weekly, or Monthly). Frequency *string `type:"string"` // The interval quantity. The interval unit depends on the value of Frequency. // For example, every 2 weeks or every 2 months. Interval *int64 `type:"integer"` // The days. For a monthly schedule, this is one or more days of the month (1-31). // For a weekly schedule, this is one or more days of the week (1-7, where 1 // is Sunday). You can't specify this value with a daily schedule. If the occurrence // is relative to the end of the month, you can specify only a single day. OccurrenceDays []int64 `locationName:"OccurrenceDay" locationNameList:"OccurenceDay" type:"list"` // Indicates whether the occurrence is relative to the end of the specified // week or month. You can't specify this value with a daily schedule. OccurrenceRelativeToEnd *bool `type:"boolean"` // The unit for OccurrenceDays (DayOfWeek or DayOfMonth). This value is required // for a monthly schedule. You can't specify DayOfWeek with a weekly schedule. // You can't specify this value with a daily schedule. OccurrenceUnit *string `type:"string"` // contains filtered or unexported fields }
Describes the recurring schedule for a Scheduled Instance.
func (ScheduledInstanceRecurrenceRequest) String ¶
func (s ScheduledInstanceRecurrenceRequest) String() string
String returns the string representation
type ScheduledInstancesBlockDeviceMapping ¶
type ScheduledInstancesBlockDeviceMapping struct { // The device name (for example, /dev/sdh or xvdh). DeviceName *string `type:"string"` // Parameters used to set up EBS volumes automatically when the instance is // launched. Ebs *ScheduledInstancesEbs `type:"structure"` // Suppresses the specified device included in the block device mapping of the // AMI. NoDevice *string `type:"string"` // The virtual device name (ephemeralN). Instance store volumes are numbered // starting from 0. An instance type with two available instance store volumes // can specify mappings for ephemeral0 and ephemeral1. The number of available // instance store volumes depends on the instance type. After you connect to // the instance, you must mount the volume. // // Constraints: For M3 instances, you must specify instance store volumes in // the block device mapping for the instance. When you launch an M3 instance, // we ignore any instance store volumes specified in the block device mapping // for the AMI. VirtualName *string `type:"string"` // contains filtered or unexported fields }
Describes a block device mapping for a Scheduled Instance.
func (ScheduledInstancesBlockDeviceMapping) String ¶
func (s ScheduledInstancesBlockDeviceMapping) String() string
String returns the string representation
type ScheduledInstancesEbs ¶
type ScheduledInstancesEbs struct { // Indicates whether the volume is deleted on instance termination. DeleteOnTermination *bool `type:"boolean"` // Indicates whether the volume is encrypted. You can attached encrypted volumes // only to instances that support them. Encrypted *bool `type:"boolean"` // The number of I/O operations per second (IOPS) that the volume supports. // For io1 volumes, this represents the number of IOPS that are provisioned // for the volume. For gp2 volumes, this represents the baseline performance // of the volume and the rate at which the volume accumulates I/O credits for // bursting. For more information about gp2 baseline performance, I/O credits, // and bursting, see Amazon EBS Volume Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) // in the Amazon Elastic Compute Cloud User Guide. // // Constraint: Range is 100-20000 IOPS for io1 volumes and 100-10000 IOPS for // gp2 volumes. // // Condition: This parameter is required for requests to create io1volumes; // it is not used in requests to create gp2, st1, sc1, or standard volumes. Iops *int64 `type:"integer"` // The ID of the snapshot. SnapshotId *string `type:"string"` // The size of the volume, in GiB. // // Default: If you're creating the volume from a snapshot and don't specify // a volume size, the default is the snapshot size. VolumeSize *int64 `type:"integer"` // The volume type. gp2 for General Purpose SSD, io1 for Provisioned IOPS SSD, // Throughput Optimized HDD for st1, Cold HDD for sc1, or standard for Magnetic. // // Default: gp2 VolumeType *string `type:"string"` // contains filtered or unexported fields }
Describes an EBS volume for a Scheduled Instance.
func (ScheduledInstancesEbs) String ¶
func (s ScheduledInstancesEbs) String() string
String returns the string representation
type ScheduledInstancesIamInstanceProfile ¶
type ScheduledInstancesIamInstanceProfile struct { // The Amazon Resource Name (ARN). Arn *string `type:"string"` // The name. Name *string `type:"string"` // contains filtered or unexported fields }
Describes an IAM instance profile for a Scheduled Instance.
func (ScheduledInstancesIamInstanceProfile) String ¶
func (s ScheduledInstancesIamInstanceProfile) String() string
String returns the string representation
type ScheduledInstancesIpv6Address ¶
type ScheduledInstancesIpv6Address struct { // The IPv6 address. Ipv6Address *string `type:"string"` // contains filtered or unexported fields }
Describes an IPv6 address.
func (ScheduledInstancesIpv6Address) String ¶
func (s ScheduledInstancesIpv6Address) String() string
String returns the string representation
type ScheduledInstancesLaunchSpecification ¶
type ScheduledInstancesLaunchSpecification struct { // The block device mapping entries. BlockDeviceMappings []ScheduledInstancesBlockDeviceMapping `locationName:"BlockDeviceMapping" locationNameList:"BlockDeviceMapping" type:"list"` // Indicates whether the instances are optimized for EBS I/O. This optimization // provides dedicated throughput to Amazon EBS and an optimized configuration // stack to provide optimal EBS I/O performance. This optimization isn't available // with all instance types. Additional usage charges apply when using an EBS-optimized // instance. // // Default: false EbsOptimized *bool `type:"boolean"` // The IAM instance profile. IamInstanceProfile *ScheduledInstancesIamInstanceProfile `type:"structure"` // The ID of the Amazon Machine Image (AMI). // // ImageId is a required field ImageId *string `type:"string" required:"true"` // The instance type. InstanceType *string `type:"string"` // The ID of the kernel. KernelId *string `type:"string"` // The name of the key pair. KeyName *string `type:"string"` // Enable or disable monitoring for the instances. Monitoring *ScheduledInstancesMonitoring `type:"structure"` // The network interfaces. NetworkInterfaces []ScheduledInstancesNetworkInterface `locationName:"NetworkInterface" locationNameList:"NetworkInterface" type:"list"` // The placement information. Placement *ScheduledInstancesPlacement `type:"structure"` // The ID of the RAM disk. RamdiskId *string `type:"string"` // The IDs of the security groups. SecurityGroupIds []string `locationName:"SecurityGroupId" locationNameList:"SecurityGroupId" type:"list"` // The ID of the subnet in which to launch the instances. SubnetId *string `type:"string"` // The base64-encoded MIME user data. UserData *string `type:"string"` // contains filtered or unexported fields }
Describes the launch specification for a Scheduled Instance.
If you are launching the Scheduled Instance in EC2-VPC, you must specify the ID of the subnet. You can specify the subnet using either SubnetId or NetworkInterface.
func (ScheduledInstancesLaunchSpecification) String ¶
func (s ScheduledInstancesLaunchSpecification) String() string
String returns the string representation
func (*ScheduledInstancesLaunchSpecification) Validate ¶
func (s *ScheduledInstancesLaunchSpecification) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ScheduledInstancesMonitoring ¶
type ScheduledInstancesMonitoring struct { // Indicates whether monitoring is enabled. Enabled *bool `type:"boolean"` // contains filtered or unexported fields }
Describes whether monitoring is enabled for a Scheduled Instance.
func (ScheduledInstancesMonitoring) String ¶
func (s ScheduledInstancesMonitoring) String() string
String returns the string representation
type ScheduledInstancesNetworkInterface ¶
type ScheduledInstancesNetworkInterface struct { // Indicates whether to assign a public IPv4 address to instances launched in // a VPC. The public IPv4 address can only be assigned to a network interface // for eth0, and can only be assigned to a new network interface, not an existing // one. You cannot specify more than one network interface in the request. If // launching into a default subnet, the default value is true. AssociatePublicIpAddress *bool `type:"boolean"` // Indicates whether to delete the interface when the instance is terminated. DeleteOnTermination *bool `type:"boolean"` // The description. Description *string `type:"string"` // The index of the device for the network interface attachment. DeviceIndex *int64 `type:"integer"` // The IDs of the security groups. Groups []string `locationName:"Group" locationNameList:"SecurityGroupId" type:"list"` // The number of IPv6 addresses to assign to the network interface. The IPv6 // addresses are automatically selected from the subnet range. Ipv6AddressCount *int64 `type:"integer"` // The specific IPv6 addresses from the subnet range. Ipv6Addresses []ScheduledInstancesIpv6Address `locationName:"Ipv6Address" locationNameList:"Ipv6Address" type:"list"` // The ID of the network interface. NetworkInterfaceId *string `type:"string"` // The IPv4 address of the network interface within the subnet. PrivateIpAddress *string `type:"string"` // The private IPv4 addresses. PrivateIpAddressConfigs []ScheduledInstancesPrivateIpAddressConfig `locationName:"PrivateIpAddressConfig" locationNameList:"PrivateIpAddressConfigSet" type:"list"` // The number of secondary private IPv4 addresses. SecondaryPrivateIpAddressCount *int64 `type:"integer"` // The ID of the subnet. SubnetId *string `type:"string"` // contains filtered or unexported fields }
Describes a network interface for a Scheduled Instance.
func (ScheduledInstancesNetworkInterface) String ¶
func (s ScheduledInstancesNetworkInterface) String() string
String returns the string representation
type ScheduledInstancesPlacement ¶
type ScheduledInstancesPlacement struct { // The Availability Zone. AvailabilityZone *string `type:"string"` // The name of the placement group. GroupName *string `type:"string"` // contains filtered or unexported fields }
Describes the placement for a Scheduled Instance.
func (ScheduledInstancesPlacement) String ¶
func (s ScheduledInstancesPlacement) String() string
String returns the string representation
type ScheduledInstancesPrivateIpAddressConfig ¶
type ScheduledInstancesPrivateIpAddressConfig struct { // Indicates whether this is a primary IPv4 address. Otherwise, this is a secondary // IPv4 address. Primary *bool `type:"boolean"` // The IPv4 address. PrivateIpAddress *string `type:"string"` // contains filtered or unexported fields }
Describes a private IPv4 address for a Scheduled Instance.
func (ScheduledInstancesPrivateIpAddressConfig) String ¶
func (s ScheduledInstancesPrivateIpAddressConfig) String() string
String returns the string representation
type SearchTransitGatewayRoutesInput ¶ added in v0.6.0
type SearchTransitGatewayRoutesInput 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"` // One or more filters. The possible values are: // // * attachment.transit-gateway-attachment-id- The id of the transit gateway // attachment. // // * attachment.resource-id - The resource id of the transit gateway attachment. // // * attachment.resource-type - The attachment resource type (vpc | vpn). // // * route-search.exact-match - The exact match of the specified filter. // // * route-search.longest-prefix-match - The longest prefix that matches // the route. // // * route-search.subnet-of-match - The routes with a subnet that match the // specified CIDR filter. // // * route-search.supernet-of-match - The routes with a CIDR that encompass // the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 // routes in your route table and you specify supernet-of-match as 10.0.1.0/30, // then the result returns 10.0.1.0/29. // // * state - The state of the route (active | blackhole). // // * type - The type of route (propagated | static). // // Filters is a required field Filters []Filter `locationName:"Filter" locationNameList:"Filter" type:"list" required:"true"` // The maximum number of routes to return. MaxResults *int64 `min:"5" type:"integer"` // The ID of the transit gateway route table. // // TransitGatewayRouteTableId is a required field TransitGatewayRouteTableId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (SearchTransitGatewayRoutesInput) String ¶ added in v0.6.0
func (s SearchTransitGatewayRoutesInput) String() string
String returns the string representation
func (*SearchTransitGatewayRoutesInput) Validate ¶ added in v0.6.0
func (s *SearchTransitGatewayRoutesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SearchTransitGatewayRoutesOutput ¶ added in v0.6.0
type SearchTransitGatewayRoutesOutput struct { // Indicates whether there are additional routes available. AdditionalRoutesAvailable *bool `locationName:"additionalRoutesAvailable" type:"boolean"` // Information about the routes. Routes []TransitGatewayRoute `locationName:"routeSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (SearchTransitGatewayRoutesOutput) String ¶ added in v0.6.0
func (s SearchTransitGatewayRoutesOutput) String() string
String returns the string representation
type SearchTransitGatewayRoutesRequest ¶ added in v0.6.0
type SearchTransitGatewayRoutesRequest struct { *aws.Request Input *SearchTransitGatewayRoutesInput Copy func(*SearchTransitGatewayRoutesInput) SearchTransitGatewayRoutesRequest }
SearchTransitGatewayRoutesRequest is the request type for the SearchTransitGatewayRoutes API operation.
func (SearchTransitGatewayRoutesRequest) Send ¶ added in v0.6.0
func (r SearchTransitGatewayRoutesRequest) Send(ctx context.Context) (*SearchTransitGatewayRoutesResponse, error)
Send marshals and sends the SearchTransitGatewayRoutes API request.
type SearchTransitGatewayRoutesResponse ¶ added in v0.9.0
type SearchTransitGatewayRoutesResponse struct { *SearchTransitGatewayRoutesOutput // contains filtered or unexported fields }
SearchTransitGatewayRoutesResponse is the response type for the SearchTransitGatewayRoutes API operation.
func (*SearchTransitGatewayRoutesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *SearchTransitGatewayRoutesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the SearchTransitGatewayRoutes request.
type SecurityGroup ¶
type SecurityGroup struct { // A description of the security group. Description *string `locationName:"groupDescription" type:"string"` // The ID of the security group. GroupId *string `locationName:"groupId" type:"string"` // The name of the security group. GroupName *string `locationName:"groupName" type:"string"` // The inbound rules associated with the security group. IpPermissions []IpPermission `locationName:"ipPermissions" locationNameList:"item" type:"list"` // [VPC only] The outbound rules associated with the security group. IpPermissionsEgress []IpPermission `locationName:"ipPermissionsEgress" locationNameList:"item" type:"list"` // The AWS account ID of the owner of the security group. OwnerId *string `locationName:"ownerId" type:"string"` // Any tags assigned to the security group. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // [VPC only] The ID of the VPC for the security group. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes a security group
func (SecurityGroup) String ¶
func (s SecurityGroup) String() string
String returns the string representation
type SecurityGroupIdentifier ¶ added in v0.2.0
type SecurityGroupIdentifier struct { // The ID of the security group. GroupId *string `locationName:"groupId" type:"string"` // The name of the security group. GroupName *string `locationName:"groupName" type:"string"` // contains filtered or unexported fields }
Describes a security group.
func (SecurityGroupIdentifier) String ¶ added in v0.2.0
func (s SecurityGroupIdentifier) String() string
String returns the string representation
type SecurityGroupReference ¶
type SecurityGroupReference struct { // The ID of your security group. GroupId *string `locationName:"groupId" type:"string"` // The ID of the VPC with the referencing security group. ReferencingVpcId *string `locationName:"referencingVpcId" type:"string"` // The ID of the VPC peering connection. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"` // contains filtered or unexported fields }
Describes a VPC with a security group that references your security group.
func (SecurityGroupReference) String ¶
func (s SecurityGroupReference) String() string
String returns the string representation
type SendDiagnosticInterruptInput ¶ added in v0.11.0
type SendDiagnosticInterruptInput 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 instance. // // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (SendDiagnosticInterruptInput) String ¶ added in v0.11.0
func (s SendDiagnosticInterruptInput) String() string
String returns the string representation
func (*SendDiagnosticInterruptInput) Validate ¶ added in v0.11.0
func (s *SendDiagnosticInterruptInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SendDiagnosticInterruptOutput ¶ added in v0.11.0
type SendDiagnosticInterruptOutput struct {
// contains filtered or unexported fields
}
func (SendDiagnosticInterruptOutput) String ¶ added in v0.11.0
func (s SendDiagnosticInterruptOutput) String() string
String returns the string representation
type SendDiagnosticInterruptRequest ¶ added in v0.11.0
type SendDiagnosticInterruptRequest struct { *aws.Request Input *SendDiagnosticInterruptInput Copy func(*SendDiagnosticInterruptInput) SendDiagnosticInterruptRequest }
SendDiagnosticInterruptRequest is the request type for the SendDiagnosticInterrupt API operation.
func (SendDiagnosticInterruptRequest) Send ¶ added in v0.11.0
func (r SendDiagnosticInterruptRequest) Send(ctx context.Context) (*SendDiagnosticInterruptResponse, error)
Send marshals and sends the SendDiagnosticInterrupt API request.
type SendDiagnosticInterruptResponse ¶ added in v0.11.0
type SendDiagnosticInterruptResponse struct { *SendDiagnosticInterruptOutput // contains filtered or unexported fields }
SendDiagnosticInterruptResponse is the response type for the SendDiagnosticInterrupt API operation.
func (*SendDiagnosticInterruptResponse) SDKResponseMetdata ¶ added in v0.11.0
func (r *SendDiagnosticInterruptResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the SendDiagnosticInterrupt request.
type ServiceConfiguration ¶ added in v0.2.0
type ServiceConfiguration struct { // Indicates whether requests from other AWS accounts to create an endpoint // to the service must first be accepted. AcceptanceRequired *bool `locationName:"acceptanceRequired" type:"boolean"` // In the Availability Zones in which the service is available. AvailabilityZones []string `locationName:"availabilityZoneSet" locationNameList:"item" type:"list"` // The DNS names for the service. BaseEndpointDnsNames []string `locationName:"baseEndpointDnsNameSet" locationNameList:"item" type:"list"` // Indicates whether the service manages it's VPC endpoints. Management of the // service VPC endpoints using the VPC endpoint API is restricted. ManagesVpcEndpoints *bool `locationName:"managesVpcEndpoints" type:"boolean"` // The Amazon Resource Names (ARNs) of the Network Load Balancers for the service. NetworkLoadBalancerArns []string `locationName:"networkLoadBalancerArnSet" locationNameList:"item" type:"list"` // The private DNS name for the service. PrivateDnsName *string `locationName:"privateDnsName" type:"string"` // The ID of the service. ServiceId *string `locationName:"serviceId" type:"string"` // The name of the service. ServiceName *string `locationName:"serviceName" type:"string"` // The service state. ServiceState ServiceState `locationName:"serviceState" type:"string" enum:"true"` // The type of service. ServiceType []ServiceTypeDetail `locationName:"serviceType" locationNameList:"item" type:"list"` // Any tags assigned to the service. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes a service configuration for a VPC endpoint service.
func (ServiceConfiguration) String ¶ added in v0.2.0
func (s ServiceConfiguration) String() string
String returns the string representation
type ServiceDetail ¶ added in v0.2.0
type ServiceDetail struct { // Indicates whether VPC endpoint connection requests to the service must be // accepted by the service owner. AcceptanceRequired *bool `locationName:"acceptanceRequired" type:"boolean"` // The Availability Zones in which the service is available. AvailabilityZones []string `locationName:"availabilityZoneSet" locationNameList:"item" type:"list"` // The DNS names for the service. BaseEndpointDnsNames []string `locationName:"baseEndpointDnsNameSet" locationNameList:"item" type:"list"` // Indicates whether the service manages it's VPC endpoints. Management of the // service VPC endpoints using the VPC endpoint API is restricted. ManagesVpcEndpoints *bool `locationName:"managesVpcEndpoints" type:"boolean"` // The AWS account ID of the service owner. Owner *string `locationName:"owner" type:"string"` // The private DNS name for the service. PrivateDnsName *string `locationName:"privateDnsName" type:"string"` // The ID of the endpoint service. ServiceId *string `locationName:"serviceId" type:"string"` // The Amazon Resource Name (ARN) of the service. ServiceName *string `locationName:"serviceName" type:"string"` // The type of service. ServiceType []ServiceTypeDetail `locationName:"serviceType" locationNameList:"item" type:"list"` // Any tags assigned to the service. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // Indicates whether the service supports endpoint policies. VpcEndpointPolicySupported *bool `locationName:"vpcEndpointPolicySupported" type:"boolean"` // contains filtered or unexported fields }
Describes a VPC endpoint service.
func (ServiceDetail) String ¶ added in v0.2.0
func (s ServiceDetail) String() string
String returns the string representation
type ServiceState ¶ added in v0.2.0
type ServiceState string
const ( ServiceStatePending ServiceState = "Pending" ServiceStateAvailable ServiceState = "Available" ServiceStateDeleting ServiceState = "Deleting" ServiceStateDeleted ServiceState = "Deleted" ServiceStateFailed ServiceState = "Failed" )
Enum values for ServiceState
func (ServiceState) MarshalValue ¶ added in v0.3.0
func (enum ServiceState) MarshalValue() (string, error)
func (ServiceState) MarshalValueBuf ¶ added in v0.3.0
func (enum ServiceState) MarshalValueBuf(b []byte) ([]byte, error)
type ServiceType ¶ added in v0.2.0
type ServiceType string
const ( ServiceTypeInterface ServiceType = "Interface" ServiceTypeGateway ServiceType = "Gateway" )
Enum values for ServiceType
func (ServiceType) MarshalValue ¶ added in v0.3.0
func (enum ServiceType) MarshalValue() (string, error)
func (ServiceType) MarshalValueBuf ¶ added in v0.3.0
func (enum ServiceType) MarshalValueBuf(b []byte) ([]byte, error)
type ServiceTypeDetail ¶ added in v0.2.0
type ServiceTypeDetail struct { // The type of service. ServiceType ServiceType `locationName:"serviceType" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the type of service for a VPC endpoint.
func (ServiceTypeDetail) String ¶ added in v0.2.0
func (s ServiceTypeDetail) String() string
String returns the string representation
type ShutdownBehavior ¶
type ShutdownBehavior string
const ( ShutdownBehaviorStop ShutdownBehavior = "stop" ShutdownBehaviorTerminate ShutdownBehavior = "terminate" )
Enum values for ShutdownBehavior
func (ShutdownBehavior) MarshalValue ¶ added in v0.3.0
func (enum ShutdownBehavior) MarshalValue() (string, error)
func (ShutdownBehavior) MarshalValueBuf ¶ added in v0.3.0
func (enum ShutdownBehavior) MarshalValueBuf(b []byte) ([]byte, error)
type SlotDateTimeRangeRequest ¶
type SlotDateTimeRangeRequest struct { // The earliest date and time, in UTC, for the Scheduled Instance to start. // // EarliestTime is a required field EarliestTime *time.Time `type:"timestamp" required:"true"` // The latest date and time, in UTC, for the Scheduled Instance to start. This // value must be later than or equal to the earliest date and at most three // months in the future. // // LatestTime is a required field LatestTime *time.Time `type:"timestamp" required:"true"` // contains filtered or unexported fields }
Describes the time period for a Scheduled Instance to start its first schedule. The time period must span less than one day.
func (SlotDateTimeRangeRequest) String ¶
func (s SlotDateTimeRangeRequest) String() string
String returns the string representation
func (*SlotDateTimeRangeRequest) Validate ¶
func (s *SlotDateTimeRangeRequest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SlotStartTimeRangeRequest ¶
type SlotStartTimeRangeRequest struct { // The earliest date and time, in UTC, for the Scheduled Instance to start. EarliestTime *time.Time `type:"timestamp"` // The latest date and time, in UTC, for the Scheduled Instance to start. LatestTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
Describes the time period for a Scheduled Instance to start its first schedule.
func (SlotStartTimeRangeRequest) String ¶
func (s SlotStartTimeRangeRequest) String() string
String returns the string representation
type Snapshot ¶ added in v0.9.0
type Snapshot struct { // The data encryption key identifier for the snapshot. This value is a unique // identifier that corresponds to the data encryption key that was used to encrypt // the original volume or snapshot copy. Because data encryption keys are inherited // by volumes created from snapshots, and vice versa, if snapshots share the // same data encryption key identifier, then they belong to the same volume/snapshot // lineage. This parameter is only returned by DescribeSnapshots. DataEncryptionKeyId *string `locationName:"dataEncryptionKeyId" type:"string"` // The description for the snapshot. Description *string `locationName:"description" type:"string"` // Indicates whether the snapshot is encrypted. Encrypted *bool `locationName:"encrypted" type:"boolean"` // The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) // customer master key (CMK) that was used to protect the volume encryption // key for the parent volume. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // Value from an Amazon-maintained list (amazon | self | all | aws-marketplace // | microsoft) of snapshot owners. Not to be confused with the user-configured // AWS account alias, which is set from the IAM console. OwnerAlias *string `locationName:"ownerAlias" type:"string"` // The AWS account ID of the EBS snapshot owner. OwnerId *string `locationName:"ownerId" type:"string"` // The progress of the snapshot, as a percentage. Progress *string `locationName:"progress" type:"string"` // The ID of the snapshot. Each snapshot receives a unique identifier when it // is created. SnapshotId *string `locationName:"snapshotId" type:"string"` // The time stamp when the snapshot was initiated. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // The snapshot state. State SnapshotState `locationName:"status" type:"string" enum:"true"` // Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy // operation fails (for example, if the proper AWS Key Management Service (AWS // KMS) permissions are not obtained) this field displays error state details // to help you diagnose why the error occurred. This parameter is only returned // by DescribeSnapshots. StateMessage *string `locationName:"statusMessage" type:"string"` // Any tags assigned to the snapshot. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the volume that was used to create the snapshot. Snapshots created // by the CopySnapshot action have an arbitrary volume ID that should not be // used for any purpose. VolumeId *string `locationName:"volumeId" type:"string"` // The size of the volume, in GiB. VolumeSize *int64 `locationName:"volumeSize" type:"integer"` // contains filtered or unexported fields }
Describes a snapshot.
type SnapshotAttributeName ¶
type SnapshotAttributeName string
const ( SnapshotAttributeNameProductCodes SnapshotAttributeName = "productCodes" SnapshotAttributeNameCreateVolumePermission SnapshotAttributeName = "createVolumePermission" )
Enum values for SnapshotAttributeName
func (SnapshotAttributeName) MarshalValue ¶ added in v0.3.0
func (enum SnapshotAttributeName) MarshalValue() (string, error)
func (SnapshotAttributeName) MarshalValueBuf ¶ added in v0.3.0
func (enum SnapshotAttributeName) MarshalValueBuf(b []byte) ([]byte, error)
type SnapshotDetail ¶
type SnapshotDetail struct { // A description for the snapshot. Description *string `locationName:"description" type:"string"` // The block device mapping for the snapshot. DeviceName *string `locationName:"deviceName" type:"string"` // The size of the disk in the snapshot, in GiB. DiskImageSize *float64 `locationName:"diskImageSize" type:"double"` // The format of the disk image from which the snapshot is created. Format *string `locationName:"format" type:"string"` // The percentage of progress for the task. Progress *string `locationName:"progress" type:"string"` // The snapshot ID of the disk being imported. SnapshotId *string `locationName:"snapshotId" type:"string"` // A brief status of the snapshot creation. Status *string `locationName:"status" type:"string"` // A detailed status message for the snapshot creation. StatusMessage *string `locationName:"statusMessage" type:"string"` // The URL used to access the disk image. Url *string `locationName:"url" type:"string"` // The S3 bucket for the disk image. UserBucket *UserBucketDetails `locationName:"userBucket" type:"structure"` // contains filtered or unexported fields }
Describes the snapshot created from the imported disk.
func (SnapshotDetail) String ¶
func (s SnapshotDetail) String() string
String returns the string representation
type SnapshotDiskContainer ¶
type SnapshotDiskContainer struct { // The description of the disk image being imported. Description *string `type:"string"` // The format of the disk image being imported. // // Valid values: VHD | VMDK Format *string `type:"string"` // The URL to the Amazon S3-based disk image being imported. It can either be // a https URL (https://..) or an Amazon S3 URL (s3://..). Url *string `type:"string"` // The S3 bucket for the disk image. UserBucket *UserBucket `type:"structure"` // contains filtered or unexported fields }
The disk container object for the import snapshot request.
func (SnapshotDiskContainer) String ¶
func (s SnapshotDiskContainer) String() string
String returns the string representation
type SnapshotInfo ¶ added in v0.10.0
type SnapshotInfo struct { // Description specified by the CreateSnapshotRequest that has been applied // to all snapshots. Description *string `locationName:"description" type:"string"` // Indicates whether the snapshot is encrypted. Encrypted *bool `locationName:"encrypted" type:"boolean"` // Account id used when creating this snapshot. OwnerId *string `locationName:"ownerId" type:"string"` // Progress this snapshot has made towards completing. Progress *string `locationName:"progress" type:"string"` // Snapshot id that can be used to describe this snapshot. SnapshotId *string `locationName:"snapshotId" type:"string"` // Time this snapshot was started. This is the same for all snapshots initiated // by the same request. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // Current state of the snapshot. State SnapshotState `locationName:"state" type:"string" enum:"true"` // Tags associated with this snapshot. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // Source volume from which this snapshot was created. VolumeId *string `locationName:"volumeId" type:"string"` // Size of the volume from which this snapshot was created. VolumeSize *int64 `locationName:"volumeSize" type:"integer"` // contains filtered or unexported fields }
Information about a snapshot.
func (SnapshotInfo) String ¶ added in v0.10.0
func (s SnapshotInfo) String() string
String returns the string representation
type SnapshotState ¶
type SnapshotState string
const ( SnapshotStatePending SnapshotState = "pending" SnapshotStateCompleted SnapshotState = "completed" SnapshotStateError SnapshotState = "error" )
Enum values for SnapshotState
func (SnapshotState) MarshalValue ¶ added in v0.3.0
func (enum SnapshotState) MarshalValue() (string, error)
func (SnapshotState) MarshalValueBuf ¶ added in v0.3.0
func (enum SnapshotState) MarshalValueBuf(b []byte) ([]byte, error)
type SnapshotTaskDetail ¶
type SnapshotTaskDetail struct { // The description of the snapshot. Description *string `locationName:"description" type:"string"` // The size of the disk in the snapshot, in GiB. DiskImageSize *float64 `locationName:"diskImageSize" type:"double"` // Indicates whether the snapshot is encrypted. Encrypted *bool `locationName:"encrypted" type:"boolean"` // The format of the disk image from which the snapshot is created. Format *string `locationName:"format" type:"string"` // The identifier for the AWS Key Management Service (AWS KMS) customer master // key (CMK) that was used to create the encrypted snapshot. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The percentage of completion for the import snapshot task. Progress *string `locationName:"progress" type:"string"` // The snapshot ID of the disk being imported. SnapshotId *string `locationName:"snapshotId" type:"string"` // A brief status for the import snapshot task. Status *string `locationName:"status" type:"string"` // A detailed status message for the import snapshot task. StatusMessage *string `locationName:"statusMessage" type:"string"` // The URL of the disk image from which the snapshot is created. Url *string `locationName:"url" type:"string"` // The S3 bucket for the disk image. UserBucket *UserBucketDetails `locationName:"userBucket" type:"structure"` // contains filtered or unexported fields }
Details about the import snapshot task.
func (SnapshotTaskDetail) String ¶
func (s SnapshotTaskDetail) String() string
String returns the string representation
type SpotAllocationStrategy ¶ added in v0.4.0
type SpotAllocationStrategy string
const ( SpotAllocationStrategyLowestPrice SpotAllocationStrategy = "lowest-price" SpotAllocationStrategyDiversified SpotAllocationStrategy = "diversified" SpotAllocationStrategyCapacityOptimized SpotAllocationStrategy = "capacity-optimized" )
Enum values for SpotAllocationStrategy
func (SpotAllocationStrategy) MarshalValue ¶ added in v0.4.0
func (enum SpotAllocationStrategy) MarshalValue() (string, error)
func (SpotAllocationStrategy) MarshalValueBuf ¶ added in v0.4.0
func (enum SpotAllocationStrategy) MarshalValueBuf(b []byte) ([]byte, error)
type SpotDatafeedSubscription ¶
type SpotDatafeedSubscription struct { // The Amazon S3 bucket where the Spot Instance data feed is located. Bucket *string `locationName:"bucket" type:"string"` // The fault codes for the Spot Instance request, if any. Fault *SpotInstanceStateFault `locationName:"fault" type:"structure"` // The AWS account ID of the account. OwnerId *string `locationName:"ownerId" type:"string"` // The prefix that is prepended to data feed files. Prefix *string `locationName:"prefix" type:"string"` // The state of the Spot Instance data feed subscription. State DatafeedSubscriptionState `locationName:"state" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the data feed for a Spot Instance.
func (SpotDatafeedSubscription) String ¶
func (s SpotDatafeedSubscription) String() string
String returns the string representation
type SpotFleetLaunchSpecification ¶
type SpotFleetLaunchSpecification struct { // Deprecated. AddressingType *string `locationName:"addressingType" type:"string"` // One or more block devices that are mapped to the Spot Instances. You can't // specify both a snapshot ID and an encryption value. This is because only // blank volumes can be encrypted on creation. If a snapshot is the basis for // a volume, it is not blank and its encryption status is used for the volume // encryption status. BlockDeviceMappings []BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` // Indicates whether the instances are optimized for EBS I/O. This optimization // provides dedicated throughput to Amazon EBS and an optimized configuration // stack to provide optimal EBS I/O performance. This optimization isn't available // with all instance types. Additional usage charges apply when using an EBS // Optimized instance. // // Default: false EbsOptimized *bool `locationName:"ebsOptimized" type:"boolean"` // The IAM instance profile. IamInstanceProfile *IamInstanceProfileSpecification `locationName:"iamInstanceProfile" type:"structure"` // The ID of the AMI. ImageId *string `locationName:"imageId" type:"string"` // The instance type. InstanceType InstanceType `locationName:"instanceType" type:"string" enum:"true"` // The ID of the kernel. KernelId *string `locationName:"kernelId" type:"string"` // The name of the key pair. KeyName *string `locationName:"keyName" type:"string"` // Enable or disable monitoring for the instances. Monitoring *SpotFleetMonitoring `locationName:"monitoring" type:"structure"` // One or more network interfaces. If you specify a network interface, you must // specify subnet IDs and security group IDs using the network interface. NetworkInterfaces []InstanceNetworkInterfaceSpecification `locationName:"networkInterfaceSet" locationNameList:"item" type:"list"` // The placement information. Placement *SpotPlacement `locationName:"placement" type:"structure"` // The ID of the RAM disk. Some kernels require additional drivers at launch. // Check the kernel requirements for information about whether you need to specify // a RAM disk. To find kernel requirements, refer to the AWS Resource Center // and search for the kernel ID. RamdiskId *string `locationName:"ramdiskId" type:"string"` // One or more security groups. When requesting instances in a VPC, you must // specify the IDs of the security groups. When requesting instances in EC2-Classic, // you can specify the names or the IDs of the security groups. SecurityGroups []GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` // The maximum price per unit hour that you are willing to pay for a Spot Instance. // If this value is not specified, the default is the Spot price specified for // the fleet. To determine the Spot price per unit hour, divide the Spot price // by the value of WeightedCapacity. SpotPrice *string `locationName:"spotPrice" type:"string"` // The IDs of the subnets in which to launch the instances. To specify multiple // subnets, separate them using commas; for example, "subnet-1234abcdeexample1, // subnet-0987cdef6example2". SubnetId *string `locationName:"subnetId" type:"string"` // The tags to apply during creation. TagSpecifications []SpotFleetTagSpecification `locationName:"tagSpecificationSet" locationNameList:"item" type:"list"` // The Base64-encoded user data that instances use when starting up. UserData *string `locationName:"userData" type:"string"` // The number of units provided by the specified instance type. These are the // same units that you chose to set the target capacity in terms of instances, // or a performance characteristic such as vCPUs, memory, or I/O. // // If the target capacity divided by this value is not a whole number, Amazon // EC2 rounds the number of instances to the next whole number. If this value // is not specified, the default is 1. WeightedCapacity *float64 `locationName:"weightedCapacity" type:"double"` // contains filtered or unexported fields }
Describes the launch specification for one or more Spot Instances. If you include On-Demand capacity in your fleet request, you can't use SpotFleetLaunchSpecification; you must use LaunchTemplateConfig (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html).
func (SpotFleetLaunchSpecification) String ¶
func (s SpotFleetLaunchSpecification) String() string
String returns the string representation
type SpotFleetMonitoring ¶
type SpotFleetMonitoring struct { // Enables monitoring for the instance. // // Default: false Enabled *bool `locationName:"enabled" type:"boolean"` // contains filtered or unexported fields }
Describes whether monitoring is enabled.
func (SpotFleetMonitoring) String ¶
func (s SpotFleetMonitoring) String() string
String returns the string representation
type SpotFleetRequestConfig ¶
type SpotFleetRequestConfig struct { // The progress of the Spot Fleet request. If there is an error, the status // is error. After all requests are placed, the status is pending_fulfillment. // If the size of the fleet is equal to or greater than its target capacity, // the status is fulfilled. If the size of the fleet is decreased, the status // is pending_termination while Spot Instances are terminating. ActivityStatus ActivityStatus `locationName:"activityStatus" type:"string" enum:"true"` // The creation date and time of the request. CreateTime *time.Time `locationName:"createTime" type:"timestamp"` // The configuration of the Spot Fleet request. SpotFleetRequestConfig *SpotFleetRequestConfigData `locationName:"spotFleetRequestConfig" type:"structure"` // The ID of the Spot Fleet request. SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string"` // The state of the Spot Fleet request. SpotFleetRequestState BatchState `locationName:"spotFleetRequestState" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a Spot Fleet request.
func (SpotFleetRequestConfig) String ¶
func (s SpotFleetRequestConfig) String() string
String returns the string representation
type SpotFleetRequestConfigData ¶
type SpotFleetRequestConfigData struct { // Indicates how to allocate the target Spot Instance capacity across the Spot // Instance pools specified by the Spot Fleet request. // // If the allocation strategy is lowestPrice, Spot Fleet launches instances // from the Spot Instance pools with the lowest price. This is the default allocation // strategy. // // If the allocation strategy is diversified, Spot Fleet launches instances // from all the Spot Instance pools that you specify. // // If the allocation strategy is capacityOptimized, Spot Fleet launches instances // from Spot Instance pools with optimal capacity for the number of instances // that are launching. AllocationStrategy AllocationStrategy `locationName:"allocationStrategy" type:"string" enum:"true"` // A unique, case-sensitive identifier that you provide to ensure the idempotency // of your listings. This helps to avoid duplicate listings. For more information, // see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // Indicates whether running Spot Instances should be terminated if you decrease // the target capacity of the Spot Fleet request below the current size of the // Spot Fleet. ExcessCapacityTerminationPolicy ExcessCapacityTerminationPolicy `locationName:"excessCapacityTerminationPolicy" type:"string" enum:"true"` // The number of units fulfilled by this request compared to the set target // capacity. You cannot set this value. FulfilledCapacity *float64 `locationName:"fulfilledCapacity" type:"double"` // The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) // role that grants the Spot Fleet the permission to request, launch, terminate, // and tag instances on your behalf. For more information, see Spot Fleet Prerequisites // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html#spot-fleet-prerequisites) // in the Amazon EC2 User Guide for Linux Instances. Spot Fleet can terminate // Spot Instances on your behalf when you cancel its Spot Fleet request using // CancelSpotFleetRequests or when the Spot Fleet request expires, if you set // TerminateInstancesWithExpiration. // // IamFleetRole is a required field IamFleetRole *string `locationName:"iamFleetRole" type:"string" required:"true"` // The behavior when a Spot Instance is interrupted. The default is terminate. InstanceInterruptionBehavior InstanceInterruptionBehavior `locationName:"instanceInterruptionBehavior" type:"string" enum:"true"` // The number of Spot pools across which to allocate your target Spot capacity. // Valid only when Spot AllocationStrategy is set to lowest-price. Spot Fleet // selects the cheapest Spot pools and evenly allocates your target Spot capacity // across the number of Spot pools that you specify. InstancePoolsToUseCount *int64 `locationName:"instancePoolsToUseCount" type:"integer"` // The launch specifications for the Spot Fleet request. If you specify LaunchSpecifications, // you can't specify LaunchTemplateConfigs. If you include On-Demand capacity // in your request, you must use LaunchTemplateConfigs. LaunchSpecifications []SpotFleetLaunchSpecification `locationName:"launchSpecifications" locationNameList:"item" type:"list"` // The launch template and overrides. If you specify LaunchTemplateConfigs, // you can't specify LaunchSpecifications. If you include On-Demand capacity // in your request, you must use LaunchTemplateConfigs. LaunchTemplateConfigs []LaunchTemplateConfig `locationName:"launchTemplateConfigs" locationNameList:"item" type:"list"` // One or more Classic Load Balancers and target groups to attach to the Spot // Fleet request. Spot Fleet registers the running Spot Instances with the specified // Classic Load Balancers and target groups. // // With Network Load Balancers, Spot Fleet cannot register instances that have // the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, // HS1, M1, M2, M3, and T1. LoadBalancersConfig *LoadBalancersConfig `locationName:"loadBalancersConfig" type:"structure"` // The order of the launch template overrides to use in fulfilling On-Demand // capacity. If you specify lowestPrice, Spot Fleet uses price to determine // the order, launching the lowest price first. If you specify prioritized, // Spot Fleet uses the priority that you assign to each Spot Fleet launch template // override, launching the highest priority first. If you do not specify a value, // Spot Fleet defaults to lowestPrice. OnDemandAllocationStrategy OnDemandAllocationStrategy `locationName:"onDemandAllocationStrategy" type:"string" enum:"true"` // The number of On-Demand units fulfilled by this request compared to the set // target On-Demand capacity. OnDemandFulfilledCapacity *float64 `locationName:"onDemandFulfilledCapacity" type:"double"` // The maximum amount per hour for On-Demand Instances that you're willing to // pay. You can use the onDemandMaxTotalPrice parameter, the spotMaxTotalPrice // parameter, or both parameters to ensure that your fleet cost does not exceed // your budget. If you set a maximum price per hour for the On-Demand Instances // and Spot Instances in your request, Spot Fleet will launch instances until // it reaches the maximum amount you're willing to pay. When the maximum amount // you're willing to pay is reached, the fleet stops launching instances even // if it hasn’t met the target capacity. OnDemandMaxTotalPrice *string `locationName:"onDemandMaxTotalPrice" type:"string"` // The number of On-Demand units to request. You can choose to set the target // capacity in terms of instances or a performance characteristic that is important // to your application workload, such as vCPUs, memory, or I/O. If the request // type is maintain, you can specify a target capacity of 0 and add capacity // later. OnDemandTargetCapacity *int64 `locationName:"onDemandTargetCapacity" type:"integer"` // Indicates whether Spot Fleet should replace unhealthy instances. ReplaceUnhealthyInstances *bool `locationName:"replaceUnhealthyInstances" type:"boolean"` // The maximum amount per hour for Spot Instances that you're willing to pay. // You can use the spotdMaxTotalPrice parameter, the onDemandMaxTotalPrice parameter, // or both parameters to ensure that your fleet cost does not exceed your budget. // If you set a maximum price per hour for the On-Demand Instances and Spot // Instances in your request, Spot Fleet will launch instances until it reaches // the maximum amount you're willing to pay. When the maximum amount you're // willing to pay is reached, the fleet stops launching instances even if it // hasn’t met the target capacity. SpotMaxTotalPrice *string `locationName:"spotMaxTotalPrice" type:"string"` // The maximum price per unit hour that you are willing to pay for a Spot Instance. // The default is the On-Demand price. SpotPrice *string `locationName:"spotPrice" type:"string"` // The number of units to request for the Spot Fleet. You can choose to set // the target capacity in terms of instances or a performance characteristic // that is important to your application workload, such as vCPUs, memory, or // I/O. If the request type is maintain, you can specify a target capacity of // 0 and add capacity later. // // TargetCapacity is a required field TargetCapacity *int64 `locationName:"targetCapacity" type:"integer" required:"true"` // Indicates whether running Spot Instances are terminated when the Spot Fleet // request expires. TerminateInstancesWithExpiration *bool `locationName:"terminateInstancesWithExpiration" type:"boolean"` // The type of request. Indicates whether the Spot Fleet only requests the target // capacity or also attempts to maintain it. When this value is request, the // Spot Fleet only places the required requests. It does not attempt to replenish // Spot Instances if capacity is diminished, nor does it submit requests in // alternative Spot pools if capacity is not available. When this value is maintain, // the Spot Fleet maintains the target capacity. The Spot Fleet places the required // requests to meet capacity and automatically replenishes any interrupted instances. // Default: maintain. instant is listed but is not used by Spot Fleet. Type FleetType `locationName:"type" type:"string" enum:"true"` // The start date and time of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). // By default, Amazon EC2 starts fulfilling the request immediately. ValidFrom *time.Time `locationName:"validFrom" type:"timestamp"` // The end date and time of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). // After the end date and time, no new Spot Instance requests are placed or // able to fulfill the request. If no value is specified, the Spot Fleet request // remains until you cancel it. ValidUntil *time.Time `locationName:"validUntil" type:"timestamp"` // contains filtered or unexported fields }
Describes the configuration of a Spot Fleet request.
func (SpotFleetRequestConfigData) String ¶
func (s SpotFleetRequestConfigData) String() string
String returns the string representation
func (*SpotFleetRequestConfigData) Validate ¶
func (s *SpotFleetRequestConfigData) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SpotFleetTagSpecification ¶
type SpotFleetTagSpecification struct { // The type of resource. Currently, the only resource type that is supported // is instance. ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"` // The tags. Tags []Tag `locationName:"tag" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
The tags for a Spot Fleet resource.
func (SpotFleetTagSpecification) String ¶
func (s SpotFleetTagSpecification) String() string
String returns the string representation
type SpotInstanceInterruptionBehavior ¶ added in v0.4.0
type SpotInstanceInterruptionBehavior string
const ( SpotInstanceInterruptionBehaviorHibernate SpotInstanceInterruptionBehavior = "hibernate" SpotInstanceInterruptionBehaviorStop SpotInstanceInterruptionBehavior = "stop" SpotInstanceInterruptionBehaviorTerminate SpotInstanceInterruptionBehavior = "terminate" )
Enum values for SpotInstanceInterruptionBehavior
func (SpotInstanceInterruptionBehavior) MarshalValue ¶ added in v0.4.0
func (enum SpotInstanceInterruptionBehavior) MarshalValue() (string, error)
func (SpotInstanceInterruptionBehavior) MarshalValueBuf ¶ added in v0.4.0
func (enum SpotInstanceInterruptionBehavior) MarshalValueBuf(b []byte) ([]byte, error)
type SpotInstanceRequest ¶
type SpotInstanceRequest struct { // If you specified a duration and your Spot Instance request was fulfilled, // this is the fixed hourly price in effect for the Spot Instance while it runs. ActualBlockHourlyPrice *string `locationName:"actualBlockHourlyPrice" type:"string"` // The Availability Zone group. If you specify the same Availability Zone group // for all Spot Instance requests, all Spot Instances are launched in the same // Availability Zone. AvailabilityZoneGroup *string `locationName:"availabilityZoneGroup" type:"string"` // The duration for the Spot Instance, in minutes. BlockDurationMinutes *int64 `locationName:"blockDurationMinutes" type:"integer"` // The date and time when the Spot Instance request was created, in UTC format // (for example, YYYY-MM-DDTHH:MM:SSZ). CreateTime *time.Time `locationName:"createTime" type:"timestamp"` // The fault codes for the Spot Instance request, if any. Fault *SpotInstanceStateFault `locationName:"fault" type:"structure"` // The instance ID, if an instance has been launched to fulfill the Spot Instance // request. InstanceId *string `locationName:"instanceId" type:"string"` // The behavior when a Spot Instance is interrupted. InstanceInterruptionBehavior InstanceInterruptionBehavior `locationName:"instanceInterruptionBehavior" type:"string" enum:"true"` // The instance launch group. Launch groups are Spot Instances that launch together // and terminate together. LaunchGroup *string `locationName:"launchGroup" type:"string"` // Additional information for launching instances. LaunchSpecification *LaunchSpecification `locationName:"launchSpecification" type:"structure"` // The Availability Zone in which the request is launched. LaunchedAvailabilityZone *string `locationName:"launchedAvailabilityZone" type:"string"` // The product description associated with the Spot Instance. ProductDescription RIProductDescription `locationName:"productDescription" type:"string" enum:"true"` // The ID of the Spot Instance request. SpotInstanceRequestId *string `locationName:"spotInstanceRequestId" type:"string"` // The maximum price per hour that you are willing to pay for a Spot Instance. SpotPrice *string `locationName:"spotPrice" type:"string"` // The state of the Spot Instance request. Spot status information helps track // your Spot Instance requests. For more information, see Spot Status (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html) // in the Amazon EC2 User Guide for Linux Instances. State SpotInstanceState `locationName:"state" type:"string" enum:"true"` // The status code and status message describing the Spot Instance request. Status *SpotInstanceStatus `locationName:"status" type:"structure"` // Any tags assigned to the resource. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The Spot Instance request type. Type SpotInstanceType `locationName:"type" type:"string" enum:"true"` // The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). // The request becomes active at this date and time. ValidFrom *time.Time `locationName:"validFrom" type:"timestamp"` // The end date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). // If this is a one-time request, it remains active until all instances launch, // the request is canceled, or this date is reached. If the request is persistent, // it remains active until it is canceled or this date is reached. The default // end date is 7 days from the current date. ValidUntil *time.Time `locationName:"validUntil" type:"timestamp"` // contains filtered or unexported fields }
Describes a Spot Instance request.
func (SpotInstanceRequest) String ¶
func (s SpotInstanceRequest) String() string
String returns the string representation
type SpotInstanceState ¶
type SpotInstanceState string
const ( SpotInstanceStateOpen SpotInstanceState = "open" SpotInstanceStateActive SpotInstanceState = "active" SpotInstanceStateClosed SpotInstanceState = "closed" SpotInstanceStateCancelled SpotInstanceState = "cancelled" SpotInstanceStateFailed SpotInstanceState = "failed" )
Enum values for SpotInstanceState
func (SpotInstanceState) MarshalValue ¶ added in v0.3.0
func (enum SpotInstanceState) MarshalValue() (string, error)
func (SpotInstanceState) MarshalValueBuf ¶ added in v0.3.0
func (enum SpotInstanceState) MarshalValueBuf(b []byte) ([]byte, error)
type SpotInstanceStateFault ¶
type SpotInstanceStateFault struct { // The reason code for the Spot Instance state change. Code *string `locationName:"code" type:"string"` // The message for the Spot Instance state change. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes a Spot Instance state change.
func (SpotInstanceStateFault) String ¶
func (s SpotInstanceStateFault) String() string
String returns the string representation
type SpotInstanceStatus ¶
type SpotInstanceStatus struct { // The status code. For a list of status codes, see Spot Status Codes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html#spot-instance-bid-status-understand) // in the Amazon EC2 User Guide for Linux Instances. Code *string `locationName:"code" type:"string"` // The description for the status code. Message *string `locationName:"message" type:"string"` // The date and time of the most recent status update, in UTC format (for example, // YYYY-MM-DDTHH:MM:SSZ). UpdateTime *time.Time `locationName:"updateTime" type:"timestamp"` // contains filtered or unexported fields }
Describes the status of a Spot Instance request.
func (SpotInstanceStatus) String ¶
func (s SpotInstanceStatus) String() string
String returns the string representation
type SpotInstanceType ¶
type SpotInstanceType string
const ( SpotInstanceTypeOneTime SpotInstanceType = "one-time" SpotInstanceTypePersistent SpotInstanceType = "persistent" )
Enum values for SpotInstanceType
func (SpotInstanceType) MarshalValue ¶ added in v0.3.0
func (enum SpotInstanceType) MarshalValue() (string, error)
func (SpotInstanceType) MarshalValueBuf ¶ added in v0.3.0
func (enum SpotInstanceType) MarshalValueBuf(b []byte) ([]byte, error)
type SpotMarketOptions ¶ added in v0.2.0
type SpotMarketOptions struct { // The required duration for the Spot Instances (also known as Spot blocks), // in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, // or 360). BlockDurationMinutes *int64 `type:"integer"` // The behavior when a Spot Instance is interrupted. The default is terminate. InstanceInterruptionBehavior InstanceInterruptionBehavior `type:"string" enum:"true"` // The maximum hourly price you're willing to pay for the Spot Instances. The // default is the On-Demand price. MaxPrice *string `type:"string"` // The Spot Instance request type. For RunInstances, persistent Spot Instance // requests are only supported when InstanceInterruptionBehavior is set to either // hibernate or stop. SpotInstanceType SpotInstanceType `type:"string" enum:"true"` // The end date of the request. For a one-time request, the request remains // active until all instances launch, the request is canceled, or this date // is reached. If the request is persistent, it remains active until it is canceled // or this date and time is reached. The default end date is 7 days from the // current date. ValidUntil *time.Time `type:"timestamp"` // contains filtered or unexported fields }
The options for Spot Instances.
func (SpotMarketOptions) String ¶ added in v0.2.0
func (s SpotMarketOptions) String() string
String returns the string representation
type SpotOptions ¶ added in v0.4.0
type SpotOptions struct { // Indicates how to allocate the target Spot Instance capacity across the Spot // Instance pools specified by the EC2 Fleet. // // If the allocation strategy is lowestPrice, EC2 Fleet launches instances from // the Spot Instance pools with the lowest price. This is the default allocation // strategy. // // If the allocation strategy is diversified, EC2 Fleet launches instances from // all the Spot Instance pools that you specify. // // If the allocation strategy is capacityOptimized, EC2 Fleet launches instances // from Spot Instance pools with optimal capacity for the number of instances // that are launching. AllocationStrategy SpotAllocationStrategy `locationName:"allocationStrategy" type:"string" enum:"true"` // The behavior when a Spot Instance is interrupted. The default is terminate. InstanceInterruptionBehavior SpotInstanceInterruptionBehavior `locationName:"instanceInterruptionBehavior" type:"string" enum:"true"` // The number of Spot pools across which to allocate your target Spot capacity. // Valid only when AllocationStrategy is set to lowestPrice. EC2 Fleet selects // the cheapest Spot pools and evenly allocates your target Spot capacity across // the number of Spot pools that you specify. InstancePoolsToUseCount *int64 `locationName:"instancePoolsToUseCount" type:"integer"` // The maximum amount per hour for Spot Instances that you're willing to pay. MaxTotalPrice *string `locationName:"maxTotalPrice" type:"string"` // The minimum target capacity for Spot Instances in the fleet. If the minimum // target capacity is not reached, the fleet launches no instances. MinTargetCapacity *int64 `locationName:"minTargetCapacity" type:"integer"` // Indicates that the fleet launches all Spot Instances into a single Availability // Zone. SingleAvailabilityZone *bool `locationName:"singleAvailabilityZone" type:"boolean"` // Indicates that the fleet uses a single instance type to launch all Spot Instances // in the fleet. SingleInstanceType *bool `locationName:"singleInstanceType" type:"boolean"` // contains filtered or unexported fields }
Describes the configuration of Spot Instances in an EC2 Fleet.
func (SpotOptions) String ¶ added in v0.4.0
func (s SpotOptions) String() string
String returns the string representation
type SpotOptionsRequest ¶ added in v0.4.0
type SpotOptionsRequest struct { // Indicates how to allocate the target Spot Instance capacity across the Spot // Instance pools specified by the EC2 Fleet. // // If the allocation strategy is lowestPrice, EC2 Fleet launches instances from // the Spot Instance pools with the lowest price. This is the default allocation // strategy. // // If the allocation strategy is diversified, EC2 Fleet launches instances from // all the Spot Instance pools that you specify. // // If the allocation strategy is capacityOptimized, EC2 Fleet launches instances // from Spot Instance pools with optimal capacity for the number of instances // that are launching. AllocationStrategy SpotAllocationStrategy `type:"string" enum:"true"` // The behavior when a Spot Instance is interrupted. The default is terminate. InstanceInterruptionBehavior SpotInstanceInterruptionBehavior `type:"string" enum:"true"` // The number of Spot pools across which to allocate your target Spot capacity. // Valid only when Spot AllocationStrategy is set to lowest-price. EC2 Fleet // selects the cheapest Spot pools and evenly allocates your target Spot capacity // across the number of Spot pools that you specify. InstancePoolsToUseCount *int64 `type:"integer"` // The maximum amount per hour for Spot Instances that you're willing to pay. MaxTotalPrice *string `type:"string"` // The minimum target capacity for Spot Instances in the fleet. If the minimum // target capacity is not reached, the fleet launches no instances. MinTargetCapacity *int64 `type:"integer"` // Indicates that the fleet launches all Spot Instances into a single Availability // Zone. SingleAvailabilityZone *bool `type:"boolean"` // Indicates that the fleet uses a single instance type to launch all Spot Instances // in the fleet. SingleInstanceType *bool `type:"boolean"` // contains filtered or unexported fields }
Describes the configuration of Spot Instances in an EC2 Fleet request.
func (SpotOptionsRequest) String ¶ added in v0.4.0
func (s SpotOptionsRequest) String() string
String returns the string representation
type SpotPlacement ¶
type SpotPlacement struct { // The Availability Zone. // // [Spot Fleet only] To specify multiple Availability Zones, separate them using // commas; for example, "us-west-2a, us-west-2b". AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The name of the placement group. GroupName *string `locationName:"groupName" type:"string"` // The tenancy of the instance (if the instance is running in a VPC). An instance // with a tenancy of dedicated runs on single-tenant hardware. The host tenancy // is not supported for Spot Instances. Tenancy Tenancy `locationName:"tenancy" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes Spot Instance placement.
func (SpotPlacement) String ¶
func (s SpotPlacement) String() string
String returns the string representation
type SpotPrice ¶
type SpotPrice struct { // The Availability Zone. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The instance type. InstanceType InstanceType `locationName:"instanceType" type:"string" enum:"true"` // A general description of the AMI. ProductDescription RIProductDescription `locationName:"productDescription" type:"string" enum:"true"` // The maximum price per hour that you are willing to pay for a Spot Instance. SpotPrice *string `locationName:"spotPrice" type:"string"` // The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). Timestamp *time.Time `locationName:"timestamp" type:"timestamp"` // contains filtered or unexported fields }
Describes the maximum price per hour that you are willing to pay for a Spot Instance.
type StaleIpPermission ¶
type StaleIpPermission struct { // The start of the port range for the TCP and UDP protocols, or an ICMP type // number. A value of -1 indicates all ICMP types. FromPort *int64 `locationName:"fromPort" type:"integer"` // The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers) // (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). IpProtocol *string `locationName:"ipProtocol" type:"string"` // The IP ranges. Not applicable for stale security group rules. IpRanges []string `locationName:"ipRanges" locationNameList:"item" type:"list"` // The prefix list IDs for an AWS service. Not applicable for stale security // group rules. PrefixListIds []string `locationName:"prefixListIds" locationNameList:"item" type:"list"` // The end of the port range for the TCP and UDP protocols, or an ICMP type // number. A value of -1 indicates all ICMP types. ToPort *int64 `locationName:"toPort" type:"integer"` // The security group pairs. Returns the ID of the referenced security group // and VPC, and the ID and status of the VPC peering connection. UserIdGroupPairs []UserIdGroupPair `locationName:"groups" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes a stale rule in a security group.
func (StaleIpPermission) String ¶
func (s StaleIpPermission) String() string
String returns the string representation
type StaleSecurityGroup ¶
type StaleSecurityGroup struct { // The description of the security group. Description *string `locationName:"description" type:"string"` // The ID of the security group. GroupId *string `locationName:"groupId" type:"string"` // The name of the security group. GroupName *string `locationName:"groupName" type:"string"` // Information about the stale inbound rules in the security group. StaleIpPermissions []StaleIpPermission `locationName:"staleIpPermissions" locationNameList:"item" type:"list"` // Information about the stale outbound rules in the security group. StaleIpPermissionsEgress []StaleIpPermission `locationName:"staleIpPermissionsEgress" locationNameList:"item" type:"list"` // The ID of the VPC for the security group. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes a stale security group (a security group that contains stale rules).
func (StaleSecurityGroup) String ¶
func (s StaleSecurityGroup) String() string
String returns the string representation
type StartInstancesInput ¶
type StartInstancesInput struct { // Reserved. AdditionalInfo *string `locationName:"additionalInfo" type:"string"` // 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 `locationName:"dryRun" type:"boolean"` // The IDs of the instances. // // InstanceIds is a required field InstanceIds []string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` // contains filtered or unexported fields }
func (StartInstancesInput) String ¶
func (s StartInstancesInput) String() string
String returns the string representation
func (*StartInstancesInput) Validate ¶
func (s *StartInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartInstancesOutput ¶
type StartInstancesOutput struct { // Information about the started instances. StartingInstances []InstanceStateChange `locationName:"instancesSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (StartInstancesOutput) String ¶
func (s StartInstancesOutput) String() string
String returns the string representation
type StartInstancesRequest ¶
type StartInstancesRequest struct { *aws.Request Input *StartInstancesInput Copy func(*StartInstancesInput) StartInstancesRequest }
StartInstancesRequest is the request type for the StartInstances API operation.
func (StartInstancesRequest) Send ¶
func (r StartInstancesRequest) Send(ctx context.Context) (*StartInstancesResponse, error)
Send marshals and sends the StartInstances API request.
type StartInstancesResponse ¶ added in v0.9.0
type StartInstancesResponse struct { *StartInstancesOutput // contains filtered or unexported fields }
StartInstancesResponse is the response type for the StartInstances API operation.
func (*StartInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *StartInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartInstances request.
type State ¶
type State string
const ( StatePendingAcceptance State = "PendingAcceptance" StatePending State = "Pending" StateAvailable State = "Available" StateDeleting State = "Deleting" StateDeleted State = "Deleted" StateRejected State = "Rejected" StateFailed State = "Failed" StateExpired State = "Expired" )
Enum values for State
func (State) MarshalValue ¶ added in v0.3.0
type StateReason ¶
type StateReason struct { // The reason code for the state change. Code *string `locationName:"code" type:"string"` // The message for the state change. // // * Server.InsufficientInstanceCapacity: There was insufficient capacity // available to satisfy the launch request. // // * Server.InternalError: An internal error caused the instance to terminate // during launch. // // * Server.ScheduledStop: The instance was stopped due to a scheduled retirement. // // * Server.SpotInstanceShutdown: The instance was stopped because the number // of Spot requests with a maximum price equal to or higher than the Spot // price exceeded available capacity or because of an increase in the Spot // price. // // * Server.SpotInstanceTermination: The instance was terminated because // the number of Spot requests with a maximum price equal to or higher than // the Spot price exceeded available capacity or because of an increase in // the Spot price. // // * Client.InstanceInitiatedShutdown: The instance was shut down using the // shutdown -h command from the instance. // // * Client.InstanceTerminated: The instance was terminated or rebooted during // AMI creation. // // * Client.InternalError: A client error caused the instance to terminate // during launch. // // * Client.InvalidSnapshot.NotFound: The specified snapshot was not found. // // * Client.UserInitiatedHibernate: Hibernation was initiated on the instance. // // * Client.UserInitiatedShutdown: The instance was shut down using the Amazon // EC2 API. // // * Client.VolumeLimitExceeded: The limit on the number of EBS volumes or // total storage was exceeded. Decrease usage or request an increase in your // account limits. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes a state change.
func (StateReason) String ¶
func (s StateReason) String() string
String returns the string representation
type Status ¶
type Status string
const ( StatusMoveInProgress Status = "MoveInProgress" StatusInVpc Status = "InVpc" StatusInClassic Status = "InClassic" )
Enum values for Status
func (Status) MarshalValue ¶ added in v0.3.0
type StatusName ¶
type StatusName string
const (
StatusNameReachability StatusName = "reachability"
)
Enum values for StatusName
func (StatusName) MarshalValue ¶ added in v0.3.0
func (enum StatusName) MarshalValue() (string, error)
func (StatusName) MarshalValueBuf ¶ added in v0.3.0
func (enum StatusName) MarshalValueBuf(b []byte) ([]byte, error)
type StatusType ¶
type StatusType string
const ( StatusTypePassed StatusType = "passed" StatusTypeFailed StatusType = "failed" StatusTypeInsufficientData StatusType = "insufficient-data" StatusTypeInitializing StatusType = "initializing" )
Enum values for StatusType
func (StatusType) MarshalValue ¶ added in v0.3.0
func (enum StatusType) MarshalValue() (string, error)
func (StatusType) MarshalValueBuf ¶ added in v0.3.0
func (enum StatusType) MarshalValueBuf(b []byte) ([]byte, error)
type StopInstancesInput ¶
type StopInstancesInput 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 `locationName:"dryRun" type:"boolean"` // Forces the instances to stop. The instances do not have an opportunity to // flush file system caches or file system metadata. If you use this option, // you must perform file system check and repair procedures. This option is // not recommended for Windows instances. // // Default: false Force *bool `locationName:"force" type:"boolean"` // Hibernates the instance if the instance was enabled for hibernation at launch. // If the instance cannot hibernate successfully, a normal shutdown occurs. // For more information, see Hibernate Your Instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) // in the Amazon Elastic Compute Cloud User Guide. // // Default: false Hibernate *bool `type:"boolean"` // The IDs of the instances. // // InstanceIds is a required field InstanceIds []string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` // contains filtered or unexported fields }
func (StopInstancesInput) String ¶
func (s StopInstancesInput) String() string
String returns the string representation
func (*StopInstancesInput) Validate ¶
func (s *StopInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopInstancesOutput ¶
type StopInstancesOutput struct { // Information about the stopped instances. StoppingInstances []InstanceStateChange `locationName:"instancesSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (StopInstancesOutput) String ¶
func (s StopInstancesOutput) String() string
String returns the string representation
type StopInstancesRequest ¶
type StopInstancesRequest struct { *aws.Request Input *StopInstancesInput Copy func(*StopInstancesInput) StopInstancesRequest }
StopInstancesRequest is the request type for the StopInstances API operation.
func (StopInstancesRequest) Send ¶
func (r StopInstancesRequest) Send(ctx context.Context) (*StopInstancesResponse, error)
Send marshals and sends the StopInstances API request.
type StopInstancesResponse ¶ added in v0.9.0
type StopInstancesResponse struct { *StopInstancesOutput // contains filtered or unexported fields }
StopInstancesResponse is the response type for the StopInstances API operation.
func (*StopInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *StopInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StopInstances request.
type Storage ¶
type Storage struct { // An Amazon S3 storage location. S3 *S3Storage `type:"structure"` // contains filtered or unexported fields }
Describes the storage location for an instance store-backed AMI.
type StorageLocation ¶
type StorageLocation struct { // The name of the S3 bucket. Bucket *string `type:"string"` // The key. Key *string `type:"string"` // contains filtered or unexported fields }
Describes a storage location in Amazon S3.
func (StorageLocation) String ¶
func (s StorageLocation) String() string
String returns the string representation
type Subnet ¶
type Subnet struct { // Indicates whether a network interface created in this subnet (including a // network interface created by RunInstances) receives an IPv6 address. AssignIpv6AddressOnCreation *bool `locationName:"assignIpv6AddressOnCreation" type:"boolean"` // The Availability Zone of the subnet. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The AZ ID of the subnet. AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` // The number of unused private IPv4 addresses in the subnet. The IPv4 addresses // for any stopped instances are considered unavailable. AvailableIpAddressCount *int64 `locationName:"availableIpAddressCount" type:"integer"` // The IPv4 CIDR block assigned to the subnet. CidrBlock *string `locationName:"cidrBlock" type:"string"` // Indicates whether this is the default subnet for the Availability Zone. DefaultForAz *bool `locationName:"defaultForAz" type:"boolean"` // Information about the IPv6 CIDR blocks associated with the subnet. Ipv6CidrBlockAssociationSet []SubnetIpv6CidrBlockAssociation `locationName:"ipv6CidrBlockAssociationSet" locationNameList:"item" type:"list"` // Indicates whether instances launched in this subnet receive a public IPv4 // address. MapPublicIpOnLaunch *bool `locationName:"mapPublicIpOnLaunch" type:"boolean"` // The ID of the AWS account that owns the subnet. OwnerId *string `locationName:"ownerId" type:"string"` // The current state of the subnet. State SubnetState `locationName:"state" type:"string" enum:"true"` // The Amazon Resource Name (ARN) of the subnet. SubnetArn *string `locationName:"subnetArn" type:"string"` // The ID of the subnet. SubnetId *string `locationName:"subnetId" type:"string"` // Any tags assigned to the subnet. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the VPC the subnet is in. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes a subnet.
type SubnetCidrBlockState ¶
type SubnetCidrBlockState struct { // The state of a CIDR block. State SubnetCidrBlockStateCode `locationName:"state" type:"string" enum:"true"` // A message about the status of the CIDR block, if applicable. StatusMessage *string `locationName:"statusMessage" type:"string"` // contains filtered or unexported fields }
Describes the state of a CIDR block.
func (SubnetCidrBlockState) String ¶
func (s SubnetCidrBlockState) String() string
String returns the string representation
type SubnetCidrBlockStateCode ¶
type SubnetCidrBlockStateCode string
const ( SubnetCidrBlockStateCodeAssociating SubnetCidrBlockStateCode = "associating" SubnetCidrBlockStateCodeAssociated SubnetCidrBlockStateCode = "associated" SubnetCidrBlockStateCodeDisassociating SubnetCidrBlockStateCode = "disassociating" SubnetCidrBlockStateCodeDisassociated SubnetCidrBlockStateCode = "disassociated" SubnetCidrBlockStateCodeFailing SubnetCidrBlockStateCode = "failing" SubnetCidrBlockStateCodeFailed SubnetCidrBlockStateCode = "failed" )
Enum values for SubnetCidrBlockStateCode
func (SubnetCidrBlockStateCode) MarshalValue ¶ added in v0.3.0
func (enum SubnetCidrBlockStateCode) MarshalValue() (string, error)
func (SubnetCidrBlockStateCode) MarshalValueBuf ¶ added in v0.3.0
func (enum SubnetCidrBlockStateCode) MarshalValueBuf(b []byte) ([]byte, error)
type SubnetIpv6CidrBlockAssociation ¶
type SubnetIpv6CidrBlockAssociation struct { // The association ID for the CIDR block. AssociationId *string `locationName:"associationId" type:"string"` // The IPv6 CIDR block. Ipv6CidrBlock *string `locationName:"ipv6CidrBlock" type:"string"` // Information about the state of the CIDR block. Ipv6CidrBlockState *SubnetCidrBlockState `locationName:"ipv6CidrBlockState" type:"structure"` // contains filtered or unexported fields }
Describes an IPv6 CIDR block associated with a subnet.
func (SubnetIpv6CidrBlockAssociation) String ¶
func (s SubnetIpv6CidrBlockAssociation) String() string
String returns the string representation
type SubnetState ¶
type SubnetState string
const ( SubnetStatePending SubnetState = "pending" SubnetStateAvailable SubnetState = "available" )
Enum values for SubnetState
func (SubnetState) MarshalValue ¶ added in v0.3.0
func (enum SubnetState) MarshalValue() (string, error)
func (SubnetState) MarshalValueBuf ¶ added in v0.3.0
func (enum SubnetState) MarshalValueBuf(b []byte) ([]byte, error)
type SuccessfulInstanceCreditSpecificationItem ¶ added in v0.2.0
type SuccessfulInstanceCreditSpecificationItem struct { // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // contains filtered or unexported fields }
Describes the T2 or T3 instance whose credit option for CPU usage was successfully modified.
func (SuccessfulInstanceCreditSpecificationItem) String ¶ added in v0.2.0
func (s SuccessfulInstanceCreditSpecificationItem) String() string
String returns the string representation
type SuccessfulQueuedPurchaseDeletion ¶ added in v0.14.0
type SuccessfulQueuedPurchaseDeletion struct { // The ID of the Reserved Instance. ReservedInstancesId *string `locationName:"reservedInstancesId" type:"string"` // contains filtered or unexported fields }
Describes a Reserved Instance whose queued purchase was successfully deleted.
func (SuccessfulQueuedPurchaseDeletion) String ¶ added in v0.14.0
func (s SuccessfulQueuedPurchaseDeletion) String() string
String returns the string representation
type SummaryStatus ¶
type SummaryStatus string
const ( SummaryStatusOk SummaryStatus = "ok" SummaryStatusImpaired SummaryStatus = "impaired" SummaryStatusInsufficientData SummaryStatus = "insufficient-data" SummaryStatusNotApplicable SummaryStatus = "not-applicable" SummaryStatusInitializing SummaryStatus = "initializing" )
Enum values for SummaryStatus
func (SummaryStatus) MarshalValue ¶ added in v0.3.0
func (enum SummaryStatus) MarshalValue() (string, error)
func (SummaryStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum SummaryStatus) MarshalValueBuf(b []byte) ([]byte, error)
type Tag ¶
type Tag struct { // The key of the tag. // // Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode // characters. May not begin with aws:. Key *string `locationName:"key" type:"string"` // The value of the tag. // // Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode // characters. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
Describes a tag.
type TagDescription ¶
type TagDescription struct { // The tag key. Key *string `locationName:"key" type:"string"` // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` // The resource type. ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"` // The tag value. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
Describes a tag.
func (TagDescription) String ¶
func (s TagDescription) String() string
String returns the string representation
type TagSpecification ¶
type TagSpecification struct { // The type of resource to tag. Currently, the resource types that support tagging // on creation are: capacity-reservation | client-vpn-endpoint | dedicated-host // | fleet | instance | launch-template | snapshot | transit-gateway | transit-gateway-attachment // | transit-gateway-route-table | volume. // // To tag a resource after it has been created, see CreateTags. ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"` // The tags to apply to the resource. Tags []Tag `locationName:"Tag" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
The tags to apply to a resource when the resource is being created.
func (TagSpecification) String ¶
func (s TagSpecification) String() string
String returns the string representation
type TargetCapacitySpecification ¶ added in v0.4.0
type TargetCapacitySpecification struct { // The default TotalTargetCapacity, which is either Spot or On-Demand. DefaultTargetCapacityType DefaultTargetCapacityType `locationName:"defaultTargetCapacityType" type:"string" enum:"true"` // The number of On-Demand units to request. If you specify a target capacity // for Spot units, you cannot specify a target capacity for On-Demand units. OnDemandTargetCapacity *int64 `locationName:"onDemandTargetCapacity" type:"integer"` // The maximum number of Spot units to launch. If you specify a target capacity // for On-Demand units, you cannot specify a target capacity for Spot units. SpotTargetCapacity *int64 `locationName:"spotTargetCapacity" type:"integer"` // The number of units to request, filled using DefaultTargetCapacityType. TotalTargetCapacity *int64 `locationName:"totalTargetCapacity" type:"integer"` // contains filtered or unexported fields }
The number of units to request. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is maintain, you can specify a target capacity of 0 and add capacity later.
You can use the On-Demand Instance MaxTotalPrice parameter, the Spot Instance MaxTotalPrice, or both to ensure your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, EC2 Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity. The MaxTotalPrice parameters are located in and
func (TargetCapacitySpecification) String ¶ added in v0.4.0
func (s TargetCapacitySpecification) String() string
String returns the string representation
type TargetCapacitySpecificationRequest ¶ added in v0.4.0
type TargetCapacitySpecificationRequest struct { // The default TotalTargetCapacity, which is either Spot or On-Demand. DefaultTargetCapacityType DefaultTargetCapacityType `type:"string" enum:"true"` // The number of On-Demand units to request. OnDemandTargetCapacity *int64 `type:"integer"` // The number of Spot units to request. SpotTargetCapacity *int64 `type:"integer"` // The number of units to request, filled using DefaultTargetCapacityType. // // TotalTargetCapacity is a required field TotalTargetCapacity *int64 `type:"integer" required:"true"` // contains filtered or unexported fields }
The number of units to request. You can choose to set the target capacity as the number of instances. Or you can set the target capacity to a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is maintain, you can specify a target capacity of 0 and add capacity later.
You can use the On-Demand Instance MaxTotalPrice parameter, the Spot Instance MaxTotalPrice parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, EC2 Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity. The MaxTotalPrice parameters are located in and .
func (TargetCapacitySpecificationRequest) String ¶ added in v0.4.0
func (s TargetCapacitySpecificationRequest) String() string
String returns the string representation
func (*TargetCapacitySpecificationRequest) Validate ¶ added in v0.4.0
func (s *TargetCapacitySpecificationRequest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TargetConfiguration ¶
type TargetConfiguration struct { // The number of instances the Convertible Reserved Instance offering can be // applied to. This parameter is reserved and cannot be specified in a request InstanceCount *int64 `locationName:"instanceCount" type:"integer"` // The ID of the Convertible Reserved Instance offering. OfferingId *string `locationName:"offeringId" type:"string"` // contains filtered or unexported fields }
Information about the Convertible Reserved Instance offering.
func (TargetConfiguration) String ¶
func (s TargetConfiguration) String() string
String returns the string representation
type TargetConfigurationRequest ¶
type TargetConfigurationRequest struct { // The number of instances the Covertible Reserved Instance offering can be // applied to. This parameter is reserved and cannot be specified in a request InstanceCount *int64 `type:"integer"` // The Convertible Reserved Instance offering ID. // // OfferingId is a required field OfferingId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Details about the target configuration.
func (TargetConfigurationRequest) String ¶
func (s TargetConfigurationRequest) String() string
String returns the string representation
func (*TargetConfigurationRequest) Validate ¶
func (s *TargetConfigurationRequest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TargetGroup ¶ added in v0.2.0
type TargetGroup struct { // The Amazon Resource Name (ARN) of the target group. Arn *string `locationName:"arn" type:"string"` // contains filtered or unexported fields }
Describes a load balancer target group.
func (TargetGroup) String ¶ added in v0.2.0
func (s TargetGroup) String() string
String returns the string representation
type TargetGroupsConfig ¶ added in v0.2.0
type TargetGroupsConfig struct { // One or more target groups. TargetGroups []TargetGroup `locationName:"targetGroups" locationNameList:"item" min:"1" type:"list"` // contains filtered or unexported fields }
Describes the target groups to attach to a Spot Fleet. Spot Fleet registers the running Spot Instances with these target groups.
func (TargetGroupsConfig) String ¶ added in v0.2.0
func (s TargetGroupsConfig) String() string
String returns the string representation
func (*TargetGroupsConfig) Validate ¶ added in v0.2.0
func (s *TargetGroupsConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TargetNetwork ¶ added in v0.7.0
type TargetNetwork struct { // The ID of the association. AssociationId *string `locationName:"associationId" type:"string"` // The ID of the Client VPN endpoint with which the target network is associated. ClientVpnEndpointId *string `locationName:"clientVpnEndpointId" type:"string"` // The IDs of the security groups applied to the target network association. SecurityGroups []string `locationName:"securityGroups" locationNameList:"item" type:"list"` // The current state of the target network association. Status *AssociationStatus `locationName:"status" type:"structure"` // The ID of the subnet specified as the target network. TargetNetworkId *string `locationName:"targetNetworkId" type:"string"` // The ID of the VPC in which the target network (subnet) is located. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes a target network associated with a Client VPN endpoint.
func (TargetNetwork) String ¶ added in v0.7.0
func (s TargetNetwork) String() string
String returns the string representation
type TargetReservationValue ¶
type TargetReservationValue struct { // The total value of the Convertible Reserved Instances that make up the exchange. // This is the sum of the list value, remaining upfront price, and additional // upfront cost of the exchange. ReservationValue *ReservationValue `locationName:"reservationValue" type:"structure"` // The configuration of the Convertible Reserved Instances that make up the // exchange. TargetConfiguration *TargetConfiguration `locationName:"targetConfiguration" type:"structure"` // contains filtered or unexported fields }
The total value of the new Convertible Reserved Instances.
func (TargetReservationValue) String ¶
func (s TargetReservationValue) String() string
String returns the string representation
type TelemetryStatus ¶
type TelemetryStatus string
const ( TelemetryStatusUp TelemetryStatus = "UP" TelemetryStatusDown TelemetryStatus = "DOWN" )
Enum values for TelemetryStatus
func (TelemetryStatus) MarshalValue ¶ added in v0.3.0
func (enum TelemetryStatus) MarshalValue() (string, error)
func (TelemetryStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum TelemetryStatus) MarshalValueBuf(b []byte) ([]byte, error)
type Tenancy ¶
type Tenancy string
const ( TenancyDefault Tenancy = "default" TenancyDedicated Tenancy = "dedicated" TenancyHost Tenancy = "host" )
Enum values for Tenancy
func (Tenancy) MarshalValue ¶ added in v0.3.0
type TerminateClientVpnConnectionsInput ¶ added in v0.7.0
type TerminateClientVpnConnectionsInput struct { // The ID of the Client VPN endpoint to which the client is connected. // // ClientVpnEndpointId is a required field ClientVpnEndpointId *string `type:"string" required:"true"` // The ID of the client connection to be terminated. ConnectionId *string `type:"string"` // 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 name of the user who initiated the connection. Use this option to terminate // all active connections for the specified user. This option can only be used // if the user has established up to five connections. Username *string `type:"string"` // contains filtered or unexported fields }
func (TerminateClientVpnConnectionsInput) String ¶ added in v0.7.0
func (s TerminateClientVpnConnectionsInput) String() string
String returns the string representation
func (*TerminateClientVpnConnectionsInput) Validate ¶ added in v0.7.0
func (s *TerminateClientVpnConnectionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TerminateClientVpnConnectionsOutput ¶ added in v0.7.0
type TerminateClientVpnConnectionsOutput struct { // The ID of the Client VPN endpoint. ClientVpnEndpointId *string `locationName:"clientVpnEndpointId" type:"string"` // The current state of the client connections. ConnectionStatuses []TerminateConnectionStatus `locationName:"connectionStatuses" locationNameList:"item" type:"list"` // The user who established the terminated client connections. Username *string `locationName:"username" type:"string"` // contains filtered or unexported fields }
func (TerminateClientVpnConnectionsOutput) String ¶ added in v0.7.0
func (s TerminateClientVpnConnectionsOutput) String() string
String returns the string representation
type TerminateClientVpnConnectionsRequest ¶ added in v0.7.0
type TerminateClientVpnConnectionsRequest struct { *aws.Request Input *TerminateClientVpnConnectionsInput Copy func(*TerminateClientVpnConnectionsInput) TerminateClientVpnConnectionsRequest }
TerminateClientVpnConnectionsRequest is the request type for the TerminateClientVpnConnections API operation.
func (TerminateClientVpnConnectionsRequest) Send ¶ added in v0.7.0
func (r TerminateClientVpnConnectionsRequest) Send(ctx context.Context) (*TerminateClientVpnConnectionsResponse, error)
Send marshals and sends the TerminateClientVpnConnections API request.
type TerminateClientVpnConnectionsResponse ¶ added in v0.9.0
type TerminateClientVpnConnectionsResponse struct { *TerminateClientVpnConnectionsOutput // contains filtered or unexported fields }
TerminateClientVpnConnectionsResponse is the response type for the TerminateClientVpnConnections API operation.
func (*TerminateClientVpnConnectionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *TerminateClientVpnConnectionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TerminateClientVpnConnections request.
type TerminateConnectionStatus ¶ added in v0.7.0
type TerminateConnectionStatus struct { // The ID of the client connection. ConnectionId *string `locationName:"connectionId" type:"string"` // A message about the status of the client connection, if applicable. CurrentStatus *VpnConnectionStatus `locationName:"currentStatus" type:"structure"` // The state of the client connection. PreviousStatus *VpnConnectionStatus `locationName:"previousStatus" type:"structure"` // contains filtered or unexported fields }
Information about a terminated Client VPN endpoint client connection.
func (TerminateConnectionStatus) String ¶ added in v0.7.0
func (s TerminateConnectionStatus) String() string
String returns the string representation
type TerminateInstancesInput ¶
type TerminateInstancesInput 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 `locationName:"dryRun" type:"boolean"` // The IDs of the instances. // // Constraints: Up to 1000 instance IDs. We recommend breaking up this request // into smaller batches. // // InstanceIds is a required field InstanceIds []string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` // contains filtered or unexported fields }
func (TerminateInstancesInput) String ¶
func (s TerminateInstancesInput) String() string
String returns the string representation
func (*TerminateInstancesInput) Validate ¶
func (s *TerminateInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TerminateInstancesOutput ¶
type TerminateInstancesOutput struct { // Information about the terminated instances. TerminatingInstances []InstanceStateChange `locationName:"instancesSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (TerminateInstancesOutput) String ¶
func (s TerminateInstancesOutput) String() string
String returns the string representation
type TerminateInstancesRequest ¶
type TerminateInstancesRequest struct { *aws.Request Input *TerminateInstancesInput Copy func(*TerminateInstancesInput) TerminateInstancesRequest }
TerminateInstancesRequest is the request type for the TerminateInstances API operation.
func (TerminateInstancesRequest) Send ¶
func (r TerminateInstancesRequest) Send(ctx context.Context) (*TerminateInstancesResponse, error)
Send marshals and sends the TerminateInstances API request.
type TerminateInstancesResponse ¶ added in v0.9.0
type TerminateInstancesResponse struct { *TerminateInstancesOutput // contains filtered or unexported fields }
TerminateInstancesResponse is the response type for the TerminateInstances API operation.
func (*TerminateInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *TerminateInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TerminateInstances request.
type TrafficDirection ¶ added in v0.10.0
type TrafficDirection string
const ( TrafficDirectionIngress TrafficDirection = "ingress" TrafficDirectionEgress TrafficDirection = "egress" )
Enum values for TrafficDirection
func (TrafficDirection) MarshalValue ¶ added in v0.10.0
func (enum TrafficDirection) MarshalValue() (string, error)
func (TrafficDirection) MarshalValueBuf ¶ added in v0.10.0
func (enum TrafficDirection) MarshalValueBuf(b []byte) ([]byte, error)
type TrafficMirrorFilter ¶ added in v0.10.0
type TrafficMirrorFilter struct { // The description of the Traffic Mirror filter. Description *string `locationName:"description" type:"string"` // Information about the egress rules that are associated with the Traffic Mirror // filter. EgressFilterRules []TrafficMirrorFilterRule `locationName:"egressFilterRuleSet" locationNameList:"item" type:"list"` // Information about the ingress rules that are associated with the Traffic // Mirror filter. IngressFilterRules []TrafficMirrorFilterRule `locationName:"ingressFilterRuleSet" locationNameList:"item" type:"list"` // The network service traffic that is associated with the Traffic Mirror filter. NetworkServices []TrafficMirrorNetworkService `locationName:"networkServiceSet" locationNameList:"item" type:"list"` // The tags assigned to the Traffic Mirror filter. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the Traffic Mirror filter. TrafficMirrorFilterId *string `locationName:"trafficMirrorFilterId" type:"string"` // contains filtered or unexported fields }
Describes the Traffic Mirror filter.
func (TrafficMirrorFilter) String ¶ added in v0.10.0
func (s TrafficMirrorFilter) String() string
String returns the string representation
type TrafficMirrorFilterRule ¶ added in v0.10.0
type TrafficMirrorFilterRule struct { // The description of the Traffic Mirror rule. Description *string `locationName:"description" type:"string"` // The destination CIDR block assigned to the Traffic Mirror rule. DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string"` // The destination port range assigned to the Traffic Mirror rule. DestinationPortRange *TrafficMirrorPortRange `locationName:"destinationPortRange" type:"structure"` // The protocol assigned to the Traffic Mirror rule. Protocol *int64 `locationName:"protocol" type:"integer"` // The action assigned to the Traffic Mirror rule. RuleAction TrafficMirrorRuleAction `locationName:"ruleAction" type:"string" enum:"true"` // The rule number of the Traffic Mirror rule. RuleNumber *int64 `locationName:"ruleNumber" type:"integer"` // The source CIDR block assigned to the Traffic Mirror rule. SourceCidrBlock *string `locationName:"sourceCidrBlock" type:"string"` // The source port range assigned to the Traffic Mirror rule. SourcePortRange *TrafficMirrorPortRange `locationName:"sourcePortRange" type:"structure"` // The traffic direction assigned to the Traffic Mirror rule. TrafficDirection TrafficDirection `locationName:"trafficDirection" type:"string" enum:"true"` // The ID of the Traffic Mirror filter that the rule is associated with. TrafficMirrorFilterId *string `locationName:"trafficMirrorFilterId" type:"string"` // The ID of the Traffic Mirror rule. TrafficMirrorFilterRuleId *string `locationName:"trafficMirrorFilterRuleId" type:"string"` // contains filtered or unexported fields }
Describes the Traffic Mirror rule.
func (TrafficMirrorFilterRule) String ¶ added in v0.10.0
func (s TrafficMirrorFilterRule) String() string
String returns the string representation
type TrafficMirrorFilterRuleField ¶ added in v0.10.0
type TrafficMirrorFilterRuleField string
const ( TrafficMirrorFilterRuleFieldDestinationPortRange TrafficMirrorFilterRuleField = "destination-port-range" TrafficMirrorFilterRuleFieldSourcePortRange TrafficMirrorFilterRuleField = "source-port-range" TrafficMirrorFilterRuleFieldProtocol TrafficMirrorFilterRuleField = "protocol" TrafficMirrorFilterRuleFieldDescription TrafficMirrorFilterRuleField = "description" )
Enum values for TrafficMirrorFilterRuleField
func (TrafficMirrorFilterRuleField) MarshalValue ¶ added in v0.10.0
func (enum TrafficMirrorFilterRuleField) MarshalValue() (string, error)
func (TrafficMirrorFilterRuleField) MarshalValueBuf ¶ added in v0.10.0
func (enum TrafficMirrorFilterRuleField) MarshalValueBuf(b []byte) ([]byte, error)
type TrafficMirrorNetworkService ¶ added in v0.10.0
type TrafficMirrorNetworkService string
const (
TrafficMirrorNetworkServiceAmazonDns TrafficMirrorNetworkService = "amazon-dns"
)
Enum values for TrafficMirrorNetworkService
func (TrafficMirrorNetworkService) MarshalValue ¶ added in v0.10.0
func (enum TrafficMirrorNetworkService) MarshalValue() (string, error)
func (TrafficMirrorNetworkService) MarshalValueBuf ¶ added in v0.10.0
func (enum TrafficMirrorNetworkService) MarshalValueBuf(b []byte) ([]byte, error)
type TrafficMirrorPortRange ¶ added in v0.10.0
type TrafficMirrorPortRange struct { // The start of the Traffic Mirror port range. This applies to the TCP and UDP // protocols. FromPort *int64 `locationName:"fromPort" type:"integer"` // The end of the Traffic Mirror port range. This applies to the TCP and UDP // protocols. ToPort *int64 `locationName:"toPort" type:"integer"` // contains filtered or unexported fields }
Describes the Traffic Mirror port range.
func (TrafficMirrorPortRange) String ¶ added in v0.10.0
func (s TrafficMirrorPortRange) String() string
String returns the string representation
type TrafficMirrorPortRangeRequest ¶ added in v0.10.0
type TrafficMirrorPortRangeRequest struct { // The first port in the Traffic Mirror port range. This applies to the TCP // and UDP protocols. FromPort *int64 `type:"integer"` // The last port in the Traffic Mirror port range. This applies to the TCP and // UDP protocols. ToPort *int64 `type:"integer"` // contains filtered or unexported fields }
Information about the Traffic Mirror filter rule port range.
func (TrafficMirrorPortRangeRequest) String ¶ added in v0.10.0
func (s TrafficMirrorPortRangeRequest) String() string
String returns the string representation
type TrafficMirrorRuleAction ¶ added in v0.10.0
type TrafficMirrorRuleAction string
const ( TrafficMirrorRuleActionAccept TrafficMirrorRuleAction = "accept" TrafficMirrorRuleActionReject TrafficMirrorRuleAction = "reject" )
Enum values for TrafficMirrorRuleAction
func (TrafficMirrorRuleAction) MarshalValue ¶ added in v0.10.0
func (enum TrafficMirrorRuleAction) MarshalValue() (string, error)
func (TrafficMirrorRuleAction) MarshalValueBuf ¶ added in v0.10.0
func (enum TrafficMirrorRuleAction) MarshalValueBuf(b []byte) ([]byte, error)
type TrafficMirrorSession ¶ added in v0.10.0
type TrafficMirrorSession struct { // The description of the Traffic Mirror session. Description *string `locationName:"description" type:"string"` // The ID of the Traffic Mirror session's network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // The ID of the account that owns the Traffic Mirror session. OwnerId *string `locationName:"ownerId" type:"string"` // The number of bytes in each packet to mirror. These are the bytes after the // VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. // For example, if you set this value to 100, then the first 100 bytes that // meet the filter criteria are copied to the target. Do not specify this parameter // when you want to mirror the entire packet PacketLength *int64 `locationName:"packetLength" type:"integer"` // The session number determines the order in which sessions are evaluated when // an interface is used by multiple sessions. The first session with a matching // filter is the one that mirrors the packets. // // Valid values are 1-32766. SessionNumber *int64 `locationName:"sessionNumber" type:"integer"` // The tags assigned to the Traffic Mirror session. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the Traffic Mirror filter. TrafficMirrorFilterId *string `locationName:"trafficMirrorFilterId" type:"string"` // The ID for the Traffic Mirror session. TrafficMirrorSessionId *string `locationName:"trafficMirrorSessionId" type:"string"` // The ID of the Traffic Mirror target. TrafficMirrorTargetId *string `locationName:"trafficMirrorTargetId" type:"string"` // The virtual network ID associated with the Traffic Mirror session. VirtualNetworkId *int64 `locationName:"virtualNetworkId" type:"integer"` // contains filtered or unexported fields }
Describes a Traffic Mirror session.
func (TrafficMirrorSession) String ¶ added in v0.10.0
func (s TrafficMirrorSession) String() string
String returns the string representation
type TrafficMirrorSessionField ¶ added in v0.10.0
type TrafficMirrorSessionField string
const ( TrafficMirrorSessionFieldPacketLength TrafficMirrorSessionField = "packet-length" TrafficMirrorSessionFieldDescription TrafficMirrorSessionField = "description" TrafficMirrorSessionFieldVirtualNetworkId TrafficMirrorSessionField = "virtual-network-id" )
Enum values for TrafficMirrorSessionField
func (TrafficMirrorSessionField) MarshalValue ¶ added in v0.10.0
func (enum TrafficMirrorSessionField) MarshalValue() (string, error)
func (TrafficMirrorSessionField) MarshalValueBuf ¶ added in v0.10.0
func (enum TrafficMirrorSessionField) MarshalValueBuf(b []byte) ([]byte, error)
type TrafficMirrorTarget ¶ added in v0.10.0
type TrafficMirrorTarget struct { // Information about the Traffic Mirror target. Description *string `locationName:"description" type:"string"` // The network interface ID that is attached to the target. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // The Amazon Resource Name (ARN) of the Network Load Balancer. NetworkLoadBalancerArn *string `locationName:"networkLoadBalancerArn" type:"string"` // The ID of the account that owns the Traffic Mirror target. OwnerId *string `locationName:"ownerId" type:"string"` // The tags assigned to the Traffic Mirror target. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the Traffic Mirror target. TrafficMirrorTargetId *string `locationName:"trafficMirrorTargetId" type:"string"` // The type of Traffic Mirror target. Type TrafficMirrorTargetType `locationName:"type" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a Traffic Mirror target.
func (TrafficMirrorTarget) String ¶ added in v0.10.0
func (s TrafficMirrorTarget) String() string
String returns the string representation
type TrafficMirrorTargetType ¶ added in v0.10.0
type TrafficMirrorTargetType string
const ( TrafficMirrorTargetTypeNetworkInterface TrafficMirrorTargetType = "network-interface" TrafficMirrorTargetTypeNetworkLoadBalancer TrafficMirrorTargetType = "network-load-balancer" )
Enum values for TrafficMirrorTargetType
func (TrafficMirrorTargetType) MarshalValue ¶ added in v0.10.0
func (enum TrafficMirrorTargetType) MarshalValue() (string, error)
func (TrafficMirrorTargetType) MarshalValueBuf ¶ added in v0.10.0
func (enum TrafficMirrorTargetType) MarshalValueBuf(b []byte) ([]byte, error)
type TrafficType ¶
type TrafficType string
const ( TrafficTypeAccept TrafficType = "ACCEPT" TrafficTypeReject TrafficType = "REJECT" TrafficTypeAll TrafficType = "ALL" )
Enum values for TrafficType
func (TrafficType) MarshalValue ¶ added in v0.3.0
func (enum TrafficType) MarshalValue() (string, error)
func (TrafficType) MarshalValueBuf ¶ added in v0.3.0
func (enum TrafficType) MarshalValueBuf(b []byte) ([]byte, error)
type TransitGateway ¶ added in v0.6.0
type TransitGateway struct { // The creation time. CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` // The description of the transit gateway. Description *string `locationName:"description" type:"string"` // The transit gateway options. Options *TransitGatewayOptions `locationName:"options" type:"structure"` // The ID of the AWS account ID that owns the transit gateway. OwnerId *string `locationName:"ownerId" type:"string"` // The state of the transit gateway. State TransitGatewayState `locationName:"state" type:"string" enum:"true"` // The tags for the transit gateway. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The Amazon Resource Name (ARN) of the transit gateway. TransitGatewayArn *string `locationName:"transitGatewayArn" type:"string"` // The ID of the transit gateway. TransitGatewayId *string `locationName:"transitGatewayId" type:"string"` // contains filtered or unexported fields }
Describes a transit gateway.
func (TransitGateway) String ¶ added in v0.6.0
func (s TransitGateway) String() string
String returns the string representation
type TransitGatewayAssociation ¶ added in v0.6.0
type TransitGatewayAssociation struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` // The resource type. ResourceType TransitGatewayAttachmentResourceType `locationName:"resourceType" type:"string" enum:"true"` // The state of the association. State TransitGatewayAssociationState `locationName:"state" type:"string" enum:"true"` // The ID of the attachment. TransitGatewayAttachmentId *string `locationName:"transitGatewayAttachmentId" type:"string"` // The ID of the transit gateway route table. TransitGatewayRouteTableId *string `locationName:"transitGatewayRouteTableId" type:"string"` // contains filtered or unexported fields }
Describes an association between a resource attachment and a transit gateway route table.
func (TransitGatewayAssociation) String ¶ added in v0.6.0
func (s TransitGatewayAssociation) String() string
String returns the string representation
type TransitGatewayAssociationState ¶ added in v0.6.0
type TransitGatewayAssociationState string
const ( TransitGatewayAssociationStateAssociating TransitGatewayAssociationState = "associating" TransitGatewayAssociationStateAssociated TransitGatewayAssociationState = "associated" TransitGatewayAssociationStateDisassociating TransitGatewayAssociationState = "disassociating" TransitGatewayAssociationStateDisassociated TransitGatewayAssociationState = "disassociated" )
Enum values for TransitGatewayAssociationState
func (TransitGatewayAssociationState) MarshalValue ¶ added in v0.6.0
func (enum TransitGatewayAssociationState) MarshalValue() (string, error)
func (TransitGatewayAssociationState) MarshalValueBuf ¶ added in v0.6.0
func (enum TransitGatewayAssociationState) MarshalValueBuf(b []byte) ([]byte, error)
type TransitGatewayAttachment ¶ added in v0.6.0
type TransitGatewayAttachment struct { // The association. Association *TransitGatewayAttachmentAssociation `locationName:"association" type:"structure"` // The creation time. CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` // The ID of the AWS account that owns the resource. ResourceOwnerId *string `locationName:"resourceOwnerId" type:"string"` // The resource type. ResourceType TransitGatewayAttachmentResourceType `locationName:"resourceType" type:"string" enum:"true"` // The attachment state. State TransitGatewayAttachmentState `locationName:"state" type:"string" enum:"true"` // The tags for the attachment. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the attachment. TransitGatewayAttachmentId *string `locationName:"transitGatewayAttachmentId" type:"string"` // The ID of the transit gateway. TransitGatewayId *string `locationName:"transitGatewayId" type:"string"` // The ID of the AWS account that owns the transit gateway. TransitGatewayOwnerId *string `locationName:"transitGatewayOwnerId" type:"string"` // contains filtered or unexported fields }
Describes an attachment between a resource and a transit gateway.
func (TransitGatewayAttachment) String ¶ added in v0.6.0
func (s TransitGatewayAttachment) String() string
String returns the string representation
type TransitGatewayAttachmentAssociation ¶ added in v0.6.0
type TransitGatewayAttachmentAssociation struct { // The state of the association. State TransitGatewayAssociationState `locationName:"state" type:"string" enum:"true"` // The ID of the route table for the transit gateway. TransitGatewayRouteTableId *string `locationName:"transitGatewayRouteTableId" type:"string"` // contains filtered or unexported fields }
Describes an association.
func (TransitGatewayAttachmentAssociation) String ¶ added in v0.6.0
func (s TransitGatewayAttachmentAssociation) String() string
String returns the string representation
type TransitGatewayAttachmentPropagation ¶ added in v0.6.0
type TransitGatewayAttachmentPropagation struct { // The state of the propagation route table. State TransitGatewayPropagationState `locationName:"state" type:"string" enum:"true"` // The ID of the propagation route table. TransitGatewayRouteTableId *string `locationName:"transitGatewayRouteTableId" type:"string"` // contains filtered or unexported fields }
Describes a propagation route table.
func (TransitGatewayAttachmentPropagation) String ¶ added in v0.6.0
func (s TransitGatewayAttachmentPropagation) String() string
String returns the string representation
type TransitGatewayAttachmentResourceType ¶ added in v0.6.0
type TransitGatewayAttachmentResourceType string
const ( TransitGatewayAttachmentResourceTypeVpc TransitGatewayAttachmentResourceType = "vpc" TransitGatewayAttachmentResourceTypeVpn TransitGatewayAttachmentResourceType = "vpn" TransitGatewayAttachmentResourceTypeDirectConnectGateway TransitGatewayAttachmentResourceType = "direct-connect-gateway" )
Enum values for TransitGatewayAttachmentResourceType
func (TransitGatewayAttachmentResourceType) MarshalValue ¶ added in v0.6.0
func (enum TransitGatewayAttachmentResourceType) MarshalValue() (string, error)
func (TransitGatewayAttachmentResourceType) MarshalValueBuf ¶ added in v0.6.0
func (enum TransitGatewayAttachmentResourceType) MarshalValueBuf(b []byte) ([]byte, error)
type TransitGatewayAttachmentState ¶ added in v0.6.0
type TransitGatewayAttachmentState string
const ( TransitGatewayAttachmentStatePendingAcceptance TransitGatewayAttachmentState = "pendingAcceptance" TransitGatewayAttachmentStateRollingBack TransitGatewayAttachmentState = "rollingBack" TransitGatewayAttachmentStatePending TransitGatewayAttachmentState = "pending" TransitGatewayAttachmentStateAvailable TransitGatewayAttachmentState = "available" TransitGatewayAttachmentStateModifying TransitGatewayAttachmentState = "modifying" TransitGatewayAttachmentStateDeleting TransitGatewayAttachmentState = "deleting" TransitGatewayAttachmentStateDeleted TransitGatewayAttachmentState = "deleted" TransitGatewayAttachmentStateFailed TransitGatewayAttachmentState = "failed" TransitGatewayAttachmentStateRejected TransitGatewayAttachmentState = "rejected" TransitGatewayAttachmentStateRejecting TransitGatewayAttachmentState = "rejecting" TransitGatewayAttachmentStateFailing TransitGatewayAttachmentState = "failing" )
Enum values for TransitGatewayAttachmentState
func (TransitGatewayAttachmentState) MarshalValue ¶ added in v0.6.0
func (enum TransitGatewayAttachmentState) MarshalValue() (string, error)
func (TransitGatewayAttachmentState) MarshalValueBuf ¶ added in v0.6.0
func (enum TransitGatewayAttachmentState) MarshalValueBuf(b []byte) ([]byte, error)
type TransitGatewayOptions ¶ added in v0.6.0
type TransitGatewayOptions struct { // A private Autonomous System Number (ASN) for the Amazon side of a BGP session. // The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 // for 32-bit ASNs. AmazonSideAsn *int64 `locationName:"amazonSideAsn" type:"long"` // The ID of the default association route table. AssociationDefaultRouteTableId *string `locationName:"associationDefaultRouteTableId" type:"string"` AutoAcceptSharedAttachments AutoAcceptSharedAttachmentsValue `locationName:"autoAcceptSharedAttachments" type:"string" enum:"true"` // Indicates whether resource attachments are automatically associated with // the default association route table. DefaultRouteTableAssociation DefaultRouteTableAssociationValue `locationName:"defaultRouteTableAssociation" type:"string" enum:"true"` // Indicates whether resource attachments automatically propagate routes to // the default propagation route table. DefaultRouteTablePropagation DefaultRouteTablePropagationValue `locationName:"defaultRouteTablePropagation" type:"string" enum:"true"` // Indicates whether DNS support is enabled. DnsSupport DnsSupportValue `locationName:"dnsSupport" type:"string" enum:"true"` // The ID of the default propagation route table. PropagationDefaultRouteTableId *string `locationName:"propagationDefaultRouteTableId" type:"string"` // Indicates whether Equal Cost Multipath Protocol support is enabled. VpnEcmpSupport VpnEcmpSupportValue `locationName:"vpnEcmpSupport" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the options for a transit gateway.
func (TransitGatewayOptions) String ¶ added in v0.6.0
func (s TransitGatewayOptions) String() string
String returns the string representation
type TransitGatewayPropagation ¶ added in v0.6.0
type TransitGatewayPropagation struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` // The resource type. ResourceType TransitGatewayAttachmentResourceType `locationName:"resourceType" type:"string" enum:"true"` // The state. State TransitGatewayPropagationState `locationName:"state" type:"string" enum:"true"` // The ID of the attachment. TransitGatewayAttachmentId *string `locationName:"transitGatewayAttachmentId" type:"string"` // The ID of the transit gateway route table. TransitGatewayRouteTableId *string `locationName:"transitGatewayRouteTableId" type:"string"` // contains filtered or unexported fields }
Describes route propagation.
func (TransitGatewayPropagation) String ¶ added in v0.6.0
func (s TransitGatewayPropagation) String() string
String returns the string representation
type TransitGatewayPropagationState ¶ added in v0.6.0
type TransitGatewayPropagationState string
const ( TransitGatewayPropagationStateEnabling TransitGatewayPropagationState = "enabling" TransitGatewayPropagationStateEnabled TransitGatewayPropagationState = "enabled" TransitGatewayPropagationStateDisabling TransitGatewayPropagationState = "disabling" TransitGatewayPropagationStateDisabled TransitGatewayPropagationState = "disabled" )
Enum values for TransitGatewayPropagationState
func (TransitGatewayPropagationState) MarshalValue ¶ added in v0.6.0
func (enum TransitGatewayPropagationState) MarshalValue() (string, error)
func (TransitGatewayPropagationState) MarshalValueBuf ¶ added in v0.6.0
func (enum TransitGatewayPropagationState) MarshalValueBuf(b []byte) ([]byte, error)
type TransitGatewayRequestOptions ¶ added in v0.6.0
type TransitGatewayRequestOptions struct { // A private Autonomous System Number (ASN) for the Amazon side of a BGP session. // The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 // for 32-bit ASNs. AmazonSideAsn *int64 `type:"long"` // is disable. AutoAcceptSharedAttachments AutoAcceptSharedAttachmentsValue `type:"string" enum:"true"` // Enable or disable automatic association with the default association route // table. The default is enable. DefaultRouteTableAssociation DefaultRouteTableAssociationValue `type:"string" enum:"true"` // Enable or disable automatic propagation of routes to the default propagation // route table. The default is enable. DefaultRouteTablePropagation DefaultRouteTablePropagationValue `type:"string" enum:"true"` // Enable or disable DNS support. DnsSupport DnsSupportValue `type:"string" enum:"true"` // Enable or disable Equal Cost Multipath Protocol support. VpnEcmpSupport VpnEcmpSupportValue `type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the options for a transit gateway.
func (TransitGatewayRequestOptions) String ¶ added in v0.6.0
func (s TransitGatewayRequestOptions) String() string
String returns the string representation
type TransitGatewayRoute ¶ added in v0.6.0
type TransitGatewayRoute struct { // The CIDR block used for destination matches. DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string"` // The state of the route. State TransitGatewayRouteState `locationName:"state" type:"string" enum:"true"` // The attachments. TransitGatewayAttachments []TransitGatewayRouteAttachment `locationName:"transitGatewayAttachments" locationNameList:"item" type:"list"` // The route type. Type TransitGatewayRouteType `locationName:"type" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a route for a transit gateway route table.
func (TransitGatewayRoute) String ¶ added in v0.6.0
func (s TransitGatewayRoute) String() string
String returns the string representation
type TransitGatewayRouteAttachment ¶ added in v0.6.0
type TransitGatewayRouteAttachment struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` // The resource type. ResourceType TransitGatewayAttachmentResourceType `locationName:"resourceType" type:"string" enum:"true"` // The ID of the attachment. TransitGatewayAttachmentId *string `locationName:"transitGatewayAttachmentId" type:"string"` // contains filtered or unexported fields }
Describes a route attachment.
func (TransitGatewayRouteAttachment) String ¶ added in v0.6.0
func (s TransitGatewayRouteAttachment) String() string
String returns the string representation
type TransitGatewayRouteState ¶ added in v0.6.0
type TransitGatewayRouteState string
const ( TransitGatewayRouteStatePending TransitGatewayRouteState = "pending" TransitGatewayRouteStateActive TransitGatewayRouteState = "active" TransitGatewayRouteStateBlackhole TransitGatewayRouteState = "blackhole" TransitGatewayRouteStateDeleting TransitGatewayRouteState = "deleting" TransitGatewayRouteStateDeleted TransitGatewayRouteState = "deleted" )
Enum values for TransitGatewayRouteState
func (TransitGatewayRouteState) MarshalValue ¶ added in v0.6.0
func (enum TransitGatewayRouteState) MarshalValue() (string, error)
func (TransitGatewayRouteState) MarshalValueBuf ¶ added in v0.6.0
func (enum TransitGatewayRouteState) MarshalValueBuf(b []byte) ([]byte, error)
type TransitGatewayRouteTable ¶ added in v0.6.0
type TransitGatewayRouteTable struct { // The creation time. CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` // Indicates whether this is the default association route table for the transit // gateway. DefaultAssociationRouteTable *bool `locationName:"defaultAssociationRouteTable" type:"boolean"` // Indicates whether this is the default propagation route table for the transit // gateway. DefaultPropagationRouteTable *bool `locationName:"defaultPropagationRouteTable" type:"boolean"` // The state of the transit gateway route table. State TransitGatewayRouteTableState `locationName:"state" type:"string" enum:"true"` // Any tags assigned to the route table. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the transit gateway. TransitGatewayId *string `locationName:"transitGatewayId" type:"string"` // The ID of the transit gateway route table. TransitGatewayRouteTableId *string `locationName:"transitGatewayRouteTableId" type:"string"` // contains filtered or unexported fields }
Describes a transit gateway route table.
func (TransitGatewayRouteTable) String ¶ added in v0.6.0
func (s TransitGatewayRouteTable) String() string
String returns the string representation
type TransitGatewayRouteTableAssociation ¶ added in v0.6.0
type TransitGatewayRouteTableAssociation struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` // The resource type. ResourceType TransitGatewayAttachmentResourceType `locationName:"resourceType" type:"string" enum:"true"` // The state of the association. State TransitGatewayAssociationState `locationName:"state" type:"string" enum:"true"` // The ID of the attachment. TransitGatewayAttachmentId *string `locationName:"transitGatewayAttachmentId" type:"string"` // contains filtered or unexported fields }
Describes an association between a route table and a resource attachment.
func (TransitGatewayRouteTableAssociation) String ¶ added in v0.6.0
func (s TransitGatewayRouteTableAssociation) String() string
String returns the string representation
type TransitGatewayRouteTablePropagation ¶ added in v0.6.0
type TransitGatewayRouteTablePropagation struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` // The type of resource. ResourceType TransitGatewayAttachmentResourceType `locationName:"resourceType" type:"string" enum:"true"` // The state of the resource. State TransitGatewayPropagationState `locationName:"state" type:"string" enum:"true"` // The ID of the attachment. TransitGatewayAttachmentId *string `locationName:"transitGatewayAttachmentId" type:"string"` // contains filtered or unexported fields }
Describes a route table propagation.
func (TransitGatewayRouteTablePropagation) String ¶ added in v0.6.0
func (s TransitGatewayRouteTablePropagation) String() string
String returns the string representation
type TransitGatewayRouteTableState ¶ added in v0.6.0
type TransitGatewayRouteTableState string
const ( TransitGatewayRouteTableStatePending TransitGatewayRouteTableState = "pending" TransitGatewayRouteTableStateAvailable TransitGatewayRouteTableState = "available" TransitGatewayRouteTableStateDeleting TransitGatewayRouteTableState = "deleting" TransitGatewayRouteTableStateDeleted TransitGatewayRouteTableState = "deleted" )
Enum values for TransitGatewayRouteTableState
func (TransitGatewayRouteTableState) MarshalValue ¶ added in v0.6.0
func (enum TransitGatewayRouteTableState) MarshalValue() (string, error)
func (TransitGatewayRouteTableState) MarshalValueBuf ¶ added in v0.6.0
func (enum TransitGatewayRouteTableState) MarshalValueBuf(b []byte) ([]byte, error)
type TransitGatewayRouteType ¶ added in v0.6.0
type TransitGatewayRouteType string
const ( TransitGatewayRouteTypeStatic TransitGatewayRouteType = "static" TransitGatewayRouteTypePropagated TransitGatewayRouteType = "propagated" )
Enum values for TransitGatewayRouteType
func (TransitGatewayRouteType) MarshalValue ¶ added in v0.6.0
func (enum TransitGatewayRouteType) MarshalValue() (string, error)
func (TransitGatewayRouteType) MarshalValueBuf ¶ added in v0.6.0
func (enum TransitGatewayRouteType) MarshalValueBuf(b []byte) ([]byte, error)
type TransitGatewayState ¶ added in v0.6.0
type TransitGatewayState string
const ( TransitGatewayStatePending TransitGatewayState = "pending" TransitGatewayStateAvailable TransitGatewayState = "available" TransitGatewayStateModifying TransitGatewayState = "modifying" TransitGatewayStateDeleting TransitGatewayState = "deleting" TransitGatewayStateDeleted TransitGatewayState = "deleted" )
Enum values for TransitGatewayState
func (TransitGatewayState) MarshalValue ¶ added in v0.6.0
func (enum TransitGatewayState) MarshalValue() (string, error)
func (TransitGatewayState) MarshalValueBuf ¶ added in v0.6.0
func (enum TransitGatewayState) MarshalValueBuf(b []byte) ([]byte, error)
type TransitGatewayVpcAttachment ¶ added in v0.6.0
type TransitGatewayVpcAttachment struct { // The creation time. CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` // The VPC attachment options. Options *TransitGatewayVpcAttachmentOptions `locationName:"options" type:"structure"` // The state of the VPC attachment. State TransitGatewayAttachmentState `locationName:"state" type:"string" enum:"true"` // The IDs of the subnets. SubnetIds []string `locationName:"subnetIds" locationNameList:"item" type:"list"` // The tags for the VPC attachment. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the attachment. TransitGatewayAttachmentId *string `locationName:"transitGatewayAttachmentId" type:"string"` // The ID of the transit gateway. TransitGatewayId *string `locationName:"transitGatewayId" type:"string"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // The ID of the AWS account that owns the VPC. VpcOwnerId *string `locationName:"vpcOwnerId" type:"string"` // contains filtered or unexported fields }
Describes a VPC attachment.
func (TransitGatewayVpcAttachment) String ¶ added in v0.6.0
func (s TransitGatewayVpcAttachment) String() string
String returns the string representation
type TransitGatewayVpcAttachmentOptions ¶ added in v0.6.0
type TransitGatewayVpcAttachmentOptions struct { // Indicates whether DNS support is enabled. DnsSupport DnsSupportValue `locationName:"dnsSupport" type:"string" enum:"true"` // Indicates whether IPv6 support is enabled. Ipv6Support Ipv6SupportValue `locationName:"ipv6Support" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the VPC attachment options.
func (TransitGatewayVpcAttachmentOptions) String ¶ added in v0.6.0
func (s TransitGatewayVpcAttachmentOptions) String() string
String returns the string representation
type TransportProtocol ¶ added in v0.7.0
type TransportProtocol string
const ( TransportProtocolTcp TransportProtocol = "tcp" TransportProtocolUdp TransportProtocol = "udp" )
Enum values for TransportProtocol
func (TransportProtocol) MarshalValue ¶ added in v0.7.0
func (enum TransportProtocol) MarshalValue() (string, error)
func (TransportProtocol) MarshalValueBuf ¶ added in v0.7.0
func (enum TransportProtocol) MarshalValueBuf(b []byte) ([]byte, error)
type TunnelOption ¶ added in v0.12.0
type TunnelOption struct { // The number of seconds after which a DPD timeout occurs. DpdTimeoutSeconds *int64 `locationName:"dpdTimeoutSeconds" type:"integer"` // The IKE versions that are permitted for the VPN tunnel. IkeVersions []IKEVersionsListValue `locationName:"ikeVersionSet" locationNameList:"item" type:"list"` // The external IP address of the VPN tunnel. OutsideIpAddress *string `locationName:"outsideIpAddress" type:"string"` // The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 // IKE negotiations. Phase1DHGroupNumbers []Phase1DHGroupNumbersListValue `locationName:"phase1DHGroupNumberSet" locationNameList:"item" type:"list"` // The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations. Phase1EncryptionAlgorithms []Phase1EncryptionAlgorithmsListValue `locationName:"phase1EncryptionAlgorithmSet" locationNameList:"item" type:"list"` // The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations. Phase1IntegrityAlgorithms []Phase1IntegrityAlgorithmsListValue `locationName:"phase1IntegrityAlgorithmSet" locationNameList:"item" type:"list"` // The lifetime for phase 1 of the IKE negotiation, in seconds. Phase1LifetimeSeconds *int64 `locationName:"phase1LifetimeSeconds" type:"integer"` // The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 // IKE negotiations. Phase2DHGroupNumbers []Phase2DHGroupNumbersListValue `locationName:"phase2DHGroupNumberSet" locationNameList:"item" type:"list"` // The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations. Phase2EncryptionAlgorithms []Phase2EncryptionAlgorithmsListValue `locationName:"phase2EncryptionAlgorithmSet" locationNameList:"item" type:"list"` // The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations. Phase2IntegrityAlgorithms []Phase2IntegrityAlgorithmsListValue `locationName:"phase2IntegrityAlgorithmSet" locationNameList:"item" type:"list"` // The lifetime for phase 2 of the IKE negotiation, in seconds. Phase2LifetimeSeconds *int64 `locationName:"phase2LifetimeSeconds" type:"integer"` // virtual private gateway and the customer gateway. PreSharedKey *string `locationName:"preSharedKey" type:"string"` // The percentage of the rekey window determined by RekeyMarginTimeSeconds during // which the rekey time is randomly selected. RekeyFuzzPercentage *int64 `locationName:"rekeyFuzzPercentage" type:"integer"` // The margin time, in seconds, before the phase 2 lifetime expires, during // which the AWS side of the VPN connection performs an IKE rekey. RekeyMarginTimeSeconds *int64 `locationName:"rekeyMarginTimeSeconds" type:"integer"` // The number of packets in an IKE replay window. ReplayWindowSize *int64 `locationName:"replayWindowSize" type:"integer"` // The range of inside IP addresses for the tunnel. TunnelInsideCidr *string `locationName:"tunnelInsideCidr" type:"string"` // contains filtered or unexported fields }
The VPN tunnel options.
func (TunnelOption) String ¶ added in v0.12.0
func (s TunnelOption) String() string
String returns the string representation
type UnassignIpv6AddressesInput ¶
type UnassignIpv6AddressesInput struct { // The IPv6 addresses to unassign from the network interface. // // Ipv6Addresses is a required field Ipv6Addresses []string `locationName:"ipv6Addresses" locationNameList:"item" type:"list" required:"true"` // The ID of the network interface. // // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` // contains filtered or unexported fields }
func (UnassignIpv6AddressesInput) String ¶
func (s UnassignIpv6AddressesInput) String() string
String returns the string representation
func (*UnassignIpv6AddressesInput) Validate ¶
func (s *UnassignIpv6AddressesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UnassignIpv6AddressesOutput ¶
type UnassignIpv6AddressesOutput struct { // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // The IPv6 addresses that have been unassigned from the network interface. UnassignedIpv6Addresses []string `locationName:"unassignedIpv6Addresses" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (UnassignIpv6AddressesOutput) String ¶
func (s UnassignIpv6AddressesOutput) String() string
String returns the string representation
type UnassignIpv6AddressesRequest ¶
type UnassignIpv6AddressesRequest struct { *aws.Request Input *UnassignIpv6AddressesInput Copy func(*UnassignIpv6AddressesInput) UnassignIpv6AddressesRequest }
UnassignIpv6AddressesRequest is the request type for the UnassignIpv6Addresses API operation.
func (UnassignIpv6AddressesRequest) Send ¶
func (r UnassignIpv6AddressesRequest) Send(ctx context.Context) (*UnassignIpv6AddressesResponse, error)
Send marshals and sends the UnassignIpv6Addresses API request.
type UnassignIpv6AddressesResponse ¶ added in v0.9.0
type UnassignIpv6AddressesResponse struct { *UnassignIpv6AddressesOutput // contains filtered or unexported fields }
UnassignIpv6AddressesResponse is the response type for the UnassignIpv6Addresses API operation.
func (*UnassignIpv6AddressesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UnassignIpv6AddressesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UnassignIpv6Addresses request.
type UnassignPrivateIpAddressesInput ¶
type UnassignPrivateIpAddressesInput struct { // The ID of the network interface. // // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` // The secondary private IP addresses to unassign from the network interface. // You can specify this option multiple times to unassign more than one IP address. // // PrivateIpAddresses is a required field PrivateIpAddresses []string `locationName:"privateIpAddress" locationNameList:"PrivateIpAddress" type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for UnassignPrivateIpAddresses.
func (UnassignPrivateIpAddressesInput) String ¶
func (s UnassignPrivateIpAddressesInput) String() string
String returns the string representation
func (*UnassignPrivateIpAddressesInput) Validate ¶
func (s *UnassignPrivateIpAddressesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UnassignPrivateIpAddressesOutput ¶
type UnassignPrivateIpAddressesOutput struct {
// contains filtered or unexported fields
}
func (UnassignPrivateIpAddressesOutput) String ¶
func (s UnassignPrivateIpAddressesOutput) String() string
String returns the string representation
type UnassignPrivateIpAddressesRequest ¶
type UnassignPrivateIpAddressesRequest struct { *aws.Request Input *UnassignPrivateIpAddressesInput Copy func(*UnassignPrivateIpAddressesInput) UnassignPrivateIpAddressesRequest }
UnassignPrivateIpAddressesRequest is the request type for the UnassignPrivateIpAddresses API operation.
func (UnassignPrivateIpAddressesRequest) Send ¶
func (r UnassignPrivateIpAddressesRequest) Send(ctx context.Context) (*UnassignPrivateIpAddressesResponse, error)
Send marshals and sends the UnassignPrivateIpAddresses API request.
type UnassignPrivateIpAddressesResponse ¶ added in v0.9.0
type UnassignPrivateIpAddressesResponse struct { *UnassignPrivateIpAddressesOutput // contains filtered or unexported fields }
UnassignPrivateIpAddressesResponse is the response type for the UnassignPrivateIpAddresses API operation.
func (*UnassignPrivateIpAddressesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UnassignPrivateIpAddressesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UnassignPrivateIpAddresses request.
type UnmonitorInstancesInput ¶
type UnmonitorInstancesInput 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 `locationName:"dryRun" type:"boolean"` // The IDs of the instances. // // InstanceIds is a required field InstanceIds []string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` // contains filtered or unexported fields }
func (UnmonitorInstancesInput) String ¶
func (s UnmonitorInstancesInput) String() string
String returns the string representation
func (*UnmonitorInstancesInput) Validate ¶
func (s *UnmonitorInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UnmonitorInstancesOutput ¶
type UnmonitorInstancesOutput struct { // The monitoring information. InstanceMonitorings []InstanceMonitoring `locationName:"instancesSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
func (UnmonitorInstancesOutput) String ¶
func (s UnmonitorInstancesOutput) String() string
String returns the string representation
type UnmonitorInstancesRequest ¶
type UnmonitorInstancesRequest struct { *aws.Request Input *UnmonitorInstancesInput Copy func(*UnmonitorInstancesInput) UnmonitorInstancesRequest }
UnmonitorInstancesRequest is the request type for the UnmonitorInstances API operation.
func (UnmonitorInstancesRequest) Send ¶
func (r UnmonitorInstancesRequest) Send(ctx context.Context) (*UnmonitorInstancesResponse, error)
Send marshals and sends the UnmonitorInstances API request.
type UnmonitorInstancesResponse ¶ added in v0.9.0
type UnmonitorInstancesResponse struct { *UnmonitorInstancesOutput // contains filtered or unexported fields }
UnmonitorInstancesResponse is the response type for the UnmonitorInstances API operation.
func (*UnmonitorInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UnmonitorInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UnmonitorInstances request.
type UnsuccessfulInstanceCreditSpecificationErrorCode ¶ added in v0.2.0
type UnsuccessfulInstanceCreditSpecificationErrorCode string
const ( UnsuccessfulInstanceCreditSpecificationErrorCodeInvalidInstanceIdMalformed UnsuccessfulInstanceCreditSpecificationErrorCode = "InvalidInstanceID.Malformed" UnsuccessfulInstanceCreditSpecificationErrorCodeInvalidInstanceIdNotFound UnsuccessfulInstanceCreditSpecificationErrorCode = "InvalidInstanceID.NotFound" UnsuccessfulInstanceCreditSpecificationErrorCodeIncorrectInstanceState UnsuccessfulInstanceCreditSpecificationErrorCode = "IncorrectInstanceState" UnsuccessfulInstanceCreditSpecificationErrorCodeInstanceCreditSpecificationNotSupported UnsuccessfulInstanceCreditSpecificationErrorCode = "InstanceCreditSpecification.NotSupported" )
Enum values for UnsuccessfulInstanceCreditSpecificationErrorCode
func (UnsuccessfulInstanceCreditSpecificationErrorCode) MarshalValue ¶ added in v0.3.0
func (enum UnsuccessfulInstanceCreditSpecificationErrorCode) MarshalValue() (string, error)
func (UnsuccessfulInstanceCreditSpecificationErrorCode) MarshalValueBuf ¶ added in v0.3.0
func (enum UnsuccessfulInstanceCreditSpecificationErrorCode) MarshalValueBuf(b []byte) ([]byte, error)
type UnsuccessfulInstanceCreditSpecificationItem ¶ added in v0.2.0
type UnsuccessfulInstanceCreditSpecificationItem struct { // The applicable error for the T2 or T3 instance whose credit option for CPU // usage was not modified. Error *UnsuccessfulInstanceCreditSpecificationItemError `locationName:"error" type:"structure"` // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // contains filtered or unexported fields }
Describes the T2 or T3 instance whose credit option for CPU usage was not modified.
func (UnsuccessfulInstanceCreditSpecificationItem) String ¶ added in v0.2.0
func (s UnsuccessfulInstanceCreditSpecificationItem) String() string
String returns the string representation
type UnsuccessfulInstanceCreditSpecificationItemError ¶ added in v0.2.0
type UnsuccessfulInstanceCreditSpecificationItemError struct { // The error code. Code UnsuccessfulInstanceCreditSpecificationErrorCode `locationName:"code" type:"string" enum:"true"` // The applicable error message. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Information about the error for the T2 or T3 instance whose credit option for CPU usage was not modified.
func (UnsuccessfulInstanceCreditSpecificationItemError) String ¶ added in v0.2.0
func (s UnsuccessfulInstanceCreditSpecificationItemError) String() string
String returns the string representation
type UnsuccessfulItem ¶
type UnsuccessfulItem struct { // Information about the error. Error *UnsuccessfulItemError `locationName:"error" type:"structure"` // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` // contains filtered or unexported fields }
Information about items that were not successfully processed in a batch call.
func (UnsuccessfulItem) String ¶
func (s UnsuccessfulItem) String() string
String returns the string representation
type UnsuccessfulItemError ¶
type UnsuccessfulItemError struct { // The error code. Code *string `locationName:"code" type:"string"` // The error message accompanying the error code. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Information about the error that occurred. For more information about errors, see Error Codes (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html).
func (UnsuccessfulItemError) String ¶
func (s UnsuccessfulItemError) String() string
String returns the string representation
type UpdateSecurityGroupRuleDescriptionsEgressInput ¶
type UpdateSecurityGroupRuleDescriptionsEgressInput 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 security group. You must specify either the security group // ID or the security group name in the request. For security groups in a nondefault // VPC, you must specify the security group ID. GroupId *string `type:"string"` // [Default VPC] The name of the security group. You must specify either the // security group ID or the security group name in the request. GroupName *string `type:"string"` // The IP permissions for the security group rule. // // IpPermissions is a required field IpPermissions []IpPermission `locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
func (UpdateSecurityGroupRuleDescriptionsEgressInput) String ¶
func (s UpdateSecurityGroupRuleDescriptionsEgressInput) String() string
String returns the string representation
func (*UpdateSecurityGroupRuleDescriptionsEgressInput) Validate ¶
func (s *UpdateSecurityGroupRuleDescriptionsEgressInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateSecurityGroupRuleDescriptionsEgressOutput ¶
type UpdateSecurityGroupRuleDescriptionsEgressOutput struct { // Returns true if the request succeeds; otherwise, returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (UpdateSecurityGroupRuleDescriptionsEgressOutput) String ¶
func (s UpdateSecurityGroupRuleDescriptionsEgressOutput) String() string
String returns the string representation
type UpdateSecurityGroupRuleDescriptionsEgressRequest ¶
type UpdateSecurityGroupRuleDescriptionsEgressRequest struct { *aws.Request Input *UpdateSecurityGroupRuleDescriptionsEgressInput Copy func(*UpdateSecurityGroupRuleDescriptionsEgressInput) UpdateSecurityGroupRuleDescriptionsEgressRequest }
UpdateSecurityGroupRuleDescriptionsEgressRequest is the request type for the UpdateSecurityGroupRuleDescriptionsEgress API operation.
func (UpdateSecurityGroupRuleDescriptionsEgressRequest) Send ¶
func (r UpdateSecurityGroupRuleDescriptionsEgressRequest) Send(ctx context.Context) (*UpdateSecurityGroupRuleDescriptionsEgressResponse, error)
Send marshals and sends the UpdateSecurityGroupRuleDescriptionsEgress API request.
type UpdateSecurityGroupRuleDescriptionsEgressResponse ¶ added in v0.9.0
type UpdateSecurityGroupRuleDescriptionsEgressResponse struct { *UpdateSecurityGroupRuleDescriptionsEgressOutput // contains filtered or unexported fields }
UpdateSecurityGroupRuleDescriptionsEgressResponse is the response type for the UpdateSecurityGroupRuleDescriptionsEgress API operation.
func (*UpdateSecurityGroupRuleDescriptionsEgressResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateSecurityGroupRuleDescriptionsEgressResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateSecurityGroupRuleDescriptionsEgress request.
type UpdateSecurityGroupRuleDescriptionsIngressInput ¶
type UpdateSecurityGroupRuleDescriptionsIngressInput 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 security group. You must specify either the security group // ID or the security group name in the request. For security groups in a nondefault // VPC, you must specify the security group ID. GroupId *string `type:"string"` // [EC2-Classic, default VPC] The name of the security group. You must specify // either the security group ID or the security group name in the request. GroupName *string `type:"string"` // The IP permissions for the security group rule. // // IpPermissions is a required field IpPermissions []IpPermission `locationNameList:"item" type:"list" required:"true"` // contains filtered or unexported fields }
func (UpdateSecurityGroupRuleDescriptionsIngressInput) String ¶
func (s UpdateSecurityGroupRuleDescriptionsIngressInput) String() string
String returns the string representation
func (*UpdateSecurityGroupRuleDescriptionsIngressInput) Validate ¶
func (s *UpdateSecurityGroupRuleDescriptionsIngressInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateSecurityGroupRuleDescriptionsIngressOutput ¶
type UpdateSecurityGroupRuleDescriptionsIngressOutput struct { // Returns true if the request succeeds; otherwise, returns an error. Return *bool `locationName:"return" type:"boolean"` // contains filtered or unexported fields }
func (UpdateSecurityGroupRuleDescriptionsIngressOutput) String ¶
func (s UpdateSecurityGroupRuleDescriptionsIngressOutput) String() string
String returns the string representation
type UpdateSecurityGroupRuleDescriptionsIngressRequest ¶
type UpdateSecurityGroupRuleDescriptionsIngressRequest struct { *aws.Request Input *UpdateSecurityGroupRuleDescriptionsIngressInput Copy func(*UpdateSecurityGroupRuleDescriptionsIngressInput) UpdateSecurityGroupRuleDescriptionsIngressRequest }
UpdateSecurityGroupRuleDescriptionsIngressRequest is the request type for the UpdateSecurityGroupRuleDescriptionsIngress API operation.
func (UpdateSecurityGroupRuleDescriptionsIngressRequest) Send ¶
func (r UpdateSecurityGroupRuleDescriptionsIngressRequest) Send(ctx context.Context) (*UpdateSecurityGroupRuleDescriptionsIngressResponse, error)
Send marshals and sends the UpdateSecurityGroupRuleDescriptionsIngress API request.
type UpdateSecurityGroupRuleDescriptionsIngressResponse ¶ added in v0.9.0
type UpdateSecurityGroupRuleDescriptionsIngressResponse struct { *UpdateSecurityGroupRuleDescriptionsIngressOutput // contains filtered or unexported fields }
UpdateSecurityGroupRuleDescriptionsIngressResponse is the response type for the UpdateSecurityGroupRuleDescriptionsIngress API operation.
func (*UpdateSecurityGroupRuleDescriptionsIngressResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateSecurityGroupRuleDescriptionsIngressResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateSecurityGroupRuleDescriptionsIngress request.
type UserBucket ¶
type UserBucket struct { // The name of the S3 bucket where the disk image is located. S3Bucket *string `type:"string"` // The file name of the disk image. S3Key *string `type:"string"` // contains filtered or unexported fields }
Describes the S3 bucket for the disk image.
func (UserBucket) String ¶
func (s UserBucket) String() string
String returns the string representation
type UserBucketDetails ¶
type UserBucketDetails struct { // The S3 bucket from which the disk image was created. S3Bucket *string `locationName:"s3Bucket" type:"string"` // The file name of the disk image. S3Key *string `locationName:"s3Key" type:"string"` // contains filtered or unexported fields }
Describes the S3 bucket for the disk image.
func (UserBucketDetails) String ¶
func (s UserBucketDetails) String() string
String returns the string representation
type UserData ¶
type UserData struct { // The user data. If you are using an AWS SDK or command line tool, Base64-encoding // is performed for you, and you can load the text from a file. Otherwise, you // must provide Base64-encoded text. Data *string `locationName:"data" type:"string"` // contains filtered or unexported fields }
Describes the user data for an instance.
type UserIdGroupPair ¶
type UserIdGroupPair struct { // A description for the security group rule that references this user ID group // pair. // // Constraints: Up to 255 characters in length. Allowed characters are a-z, // A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$* Description *string `locationName:"description" type:"string"` // The ID of the security group. GroupId *string `locationName:"groupId" type:"string"` // The name of the security group. In a request, use this parameter for a security // group in EC2-Classic or a default VPC only. For a security group in a nondefault // VPC, use the security group ID. // // For a referenced security group in another VPC, this value is not returned // if the referenced security group is deleted. GroupName *string `locationName:"groupName" type:"string"` // The status of a VPC peering connection, if applicable. PeeringStatus *string `locationName:"peeringStatus" type:"string"` // The ID of an AWS account. // // For a referenced security group in another VPC, the account ID of the referenced // security group is returned in the response. If the referenced security group // is deleted, this value is not returned. // // [EC2-Classic] Required when adding or removing rules that reference a security // group in another AWS account. UserId *string `locationName:"userId" type:"string"` // The ID of the VPC for the referenced security group, if applicable. VpcId *string `locationName:"vpcId" type:"string"` // The ID of the VPC peering connection, if applicable. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"` // contains filtered or unexported fields }
Describes a security group and AWS account ID pair.
func (UserIdGroupPair) String ¶
func (s UserIdGroupPair) String() string
String returns the string representation
type VgwTelemetry ¶
type VgwTelemetry struct { // The number of accepted routes. AcceptedRouteCount *int64 `locationName:"acceptedRouteCount" type:"integer"` // The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate. CertificateArn *string `locationName:"certificateArn" type:"string"` // The date and time of the last change in status. LastStatusChange *time.Time `locationName:"lastStatusChange" type:"timestamp"` // The Internet-routable IP address of the virtual private gateway's outside // interface. OutsideIpAddress *string `locationName:"outsideIpAddress" type:"string"` // The status of the VPN tunnel. Status TelemetryStatus `locationName:"status" type:"string" enum:"true"` // If an error occurs, a description of the error. StatusMessage *string `locationName:"statusMessage" type:"string"` // contains filtered or unexported fields }
Describes telemetry for a VPN tunnel.
func (VgwTelemetry) String ¶
func (s VgwTelemetry) String() string
String returns the string representation
type VirtualizationType ¶
type VirtualizationType string
const ( VirtualizationTypeHvm VirtualizationType = "hvm" VirtualizationTypeParavirtual VirtualizationType = "paravirtual" )
Enum values for VirtualizationType
func (VirtualizationType) MarshalValue ¶ added in v0.3.0
func (enum VirtualizationType) MarshalValue() (string, error)
func (VirtualizationType) MarshalValueBuf ¶ added in v0.3.0
func (enum VirtualizationType) MarshalValueBuf(b []byte) ([]byte, error)
type Volume ¶ added in v0.9.0
type Volume struct { // Information about the volume attachments. Attachments []VolumeAttachment `locationName:"attachmentSet" locationNameList:"item" type:"list"` // The Availability Zone for the volume. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The time stamp when volume creation was initiated. CreateTime *time.Time `locationName:"createTime" type:"timestamp"` // Indicates whether the volume is encrypted. Encrypted *bool `locationName:"encrypted" type:"boolean"` // The number of I/O operations per second (IOPS) that the volume supports. // For Provisioned IOPS SSD volumes, this represents the number of IOPS that // are provisioned for the volume. For General Purpose SSD volumes, this represents // the baseline performance of the volume and the rate at which the volume accumulates // I/O credits for bursting. For more information, see Amazon EBS Volume Types // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) // in the Amazon Elastic Compute Cloud User Guide. // // Constraints: Range is 100-16,000 IOPS for gp2 volumes and 100 to 64,000IOPS // for io1 volumes, in most Regions. The maximum IOPS for io1 of 64,000 is guaranteed // only on Nitro-based instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances). // Other instance families guarantee performance up to 32,000 IOPS. // // Condition: This parameter is required for requests to create io1 volumes; // it is not used in requests to create gp2, st1, sc1, or standard volumes. Iops *int64 `locationName:"iops" type:"integer"` // The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) // customer master key (CMK) that was used to protect the volume encryption // key for the volume. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The size of the volume, in GiBs. Size *int64 `locationName:"size" type:"integer"` // The snapshot from which the volume was created, if applicable. SnapshotId *string `locationName:"snapshotId" type:"string"` // The volume state. State VolumeState `locationName:"status" type:"string" enum:"true"` // Any tags assigned to the volume. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the volume. VolumeId *string `locationName:"volumeId" type:"string"` // The volume type. This can be gp2 for General Purpose SSD, io1 for Provisioned // IOPS SSD, st1 for Throughput Optimized HDD, sc1 for Cold HDD, or standard // for Magnetic volumes. VolumeType VolumeType `locationName:"volumeType" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a volume.
type VolumeAttachment ¶ added in v0.9.0
type VolumeAttachment struct { // The time stamp when the attachment initiated. AttachTime *time.Time `locationName:"attachTime" type:"timestamp"` // Indicates whether the EBS volume is deleted on instance termination. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` // The device name. Device *string `locationName:"device" type:"string"` // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // The attachment state of the volume. State VolumeAttachmentState `locationName:"status" type:"string" enum:"true"` // The ID of the volume. VolumeId *string `locationName:"volumeId" type:"string"` // contains filtered or unexported fields }
Describes volume attachment details.
func (VolumeAttachment) String ¶ added in v0.9.0
func (s VolumeAttachment) String() string
String returns the string representation
type VolumeAttachmentState ¶
type VolumeAttachmentState string
const ( VolumeAttachmentStateAttaching VolumeAttachmentState = "attaching" VolumeAttachmentStateAttached VolumeAttachmentState = "attached" VolumeAttachmentStateDetaching VolumeAttachmentState = "detaching" VolumeAttachmentStateDetached VolumeAttachmentState = "detached" VolumeAttachmentStateBusy VolumeAttachmentState = "busy" )
Enum values for VolumeAttachmentState
func (VolumeAttachmentState) MarshalValue ¶ added in v0.3.0
func (enum VolumeAttachmentState) MarshalValue() (string, error)
func (VolumeAttachmentState) MarshalValueBuf ¶ added in v0.3.0
func (enum VolumeAttachmentState) MarshalValueBuf(b []byte) ([]byte, error)
type VolumeAttributeName ¶
type VolumeAttributeName string
const ( VolumeAttributeNameAutoEnableIo VolumeAttributeName = "autoEnableIO" VolumeAttributeNameProductCodes VolumeAttributeName = "productCodes" )
Enum values for VolumeAttributeName
func (VolumeAttributeName) MarshalValue ¶ added in v0.3.0
func (enum VolumeAttributeName) MarshalValue() (string, error)
func (VolumeAttributeName) MarshalValueBuf ¶ added in v0.3.0
func (enum VolumeAttributeName) MarshalValueBuf(b []byte) ([]byte, error)
type VolumeDetail ¶
type VolumeDetail struct { // The size of the volume, in GiB. // // Size is a required field Size *int64 `locationName:"size" type:"long" required:"true"` // contains filtered or unexported fields }
Describes an EBS volume.
func (VolumeDetail) String ¶
func (s VolumeDetail) String() string
String returns the string representation
func (*VolumeDetail) Validate ¶
func (s *VolumeDetail) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VolumeModification ¶
type VolumeModification struct { // The modification completion or failure time. EndTime *time.Time `locationName:"endTime" type:"timestamp"` // The current modification state. The modification state is null for unmodified // volumes. ModificationState VolumeModificationState `locationName:"modificationState" type:"string" enum:"true"` // The original IOPS rate of the volume. OriginalIops *int64 `locationName:"originalIops" type:"integer"` // The original size of the volume. OriginalSize *int64 `locationName:"originalSize" type:"integer"` // The original EBS volume type of the volume. OriginalVolumeType VolumeType `locationName:"originalVolumeType" type:"string" enum:"true"` // The modification progress, from 0 to 100 percent complete. Progress *int64 `locationName:"progress" type:"long"` // The modification start time. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // A status message about the modification progress or failure. StatusMessage *string `locationName:"statusMessage" type:"string"` // The target IOPS rate of the volume. TargetIops *int64 `locationName:"targetIops" type:"integer"` // The target size of the volume, in GiB. TargetSize *int64 `locationName:"targetSize" type:"integer"` // The target EBS volume type of the volume. TargetVolumeType VolumeType `locationName:"targetVolumeType" type:"string" enum:"true"` // The ID of the volume. VolumeId *string `locationName:"volumeId" type:"string"` // contains filtered or unexported fields }
Describes the modification status of an EBS volume.
If the volume has never been modified, some element values will be null.
func (VolumeModification) String ¶
func (s VolumeModification) String() string
String returns the string representation
type VolumeModificationState ¶
type VolumeModificationState string
const ( VolumeModificationStateModifying VolumeModificationState = "modifying" VolumeModificationStateOptimizing VolumeModificationState = "optimizing" VolumeModificationStateCompleted VolumeModificationState = "completed" VolumeModificationStateFailed VolumeModificationState = "failed" )
Enum values for VolumeModificationState
func (VolumeModificationState) MarshalValue ¶ added in v0.3.0
func (enum VolumeModificationState) MarshalValue() (string, error)
func (VolumeModificationState) MarshalValueBuf ¶ added in v0.3.0
func (enum VolumeModificationState) MarshalValueBuf(b []byte) ([]byte, error)
type VolumeState ¶
type VolumeState string
const ( VolumeStateCreating VolumeState = "creating" VolumeStateAvailable VolumeState = "available" VolumeStateInUse VolumeState = "in-use" VolumeStateDeleting VolumeState = "deleting" VolumeStateDeleted VolumeState = "deleted" VolumeStateError VolumeState = "error" )
Enum values for VolumeState
func (VolumeState) MarshalValue ¶ added in v0.3.0
func (enum VolumeState) MarshalValue() (string, error)
func (VolumeState) MarshalValueBuf ¶ added in v0.3.0
func (enum VolumeState) MarshalValueBuf(b []byte) ([]byte, error)
type VolumeStatusAction ¶
type VolumeStatusAction struct { // The code identifying the operation, for example, enable-volume-io. Code *string `locationName:"code" type:"string"` // A description of the operation. Description *string `locationName:"description" type:"string"` // The ID of the event associated with this operation. EventId *string `locationName:"eventId" type:"string"` // The event type associated with this operation. EventType *string `locationName:"eventType" type:"string"` // contains filtered or unexported fields }
Describes a volume status operation code.
func (VolumeStatusAction) String ¶
func (s VolumeStatusAction) String() string
String returns the string representation
type VolumeStatusDetails ¶
type VolumeStatusDetails struct { // The name of the volume status. Name VolumeStatusName `locationName:"name" type:"string" enum:"true"` // The intended status of the volume status. Status *string `locationName:"status" type:"string"` // contains filtered or unexported fields }
Describes a volume status.
func (VolumeStatusDetails) String ¶
func (s VolumeStatusDetails) String() string
String returns the string representation
type VolumeStatusEvent ¶
type VolumeStatusEvent struct { // A description of the event. Description *string `locationName:"description" type:"string"` // The ID of this event. EventId *string `locationName:"eventId" type:"string"` // The type of this event. EventType *string `locationName:"eventType" type:"string"` // The latest end time of the event. NotAfter *time.Time `locationName:"notAfter" type:"timestamp"` // The earliest start time of the event. NotBefore *time.Time `locationName:"notBefore" type:"timestamp"` // contains filtered or unexported fields }
Describes a volume status event.
func (VolumeStatusEvent) String ¶
func (s VolumeStatusEvent) String() string
String returns the string representation
type VolumeStatusInfo ¶
type VolumeStatusInfo struct { // The details of the volume status. Details []VolumeStatusDetails `locationName:"details" locationNameList:"item" type:"list"` // The status of the volume. Status VolumeStatusInfoStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the status of a volume.
func (VolumeStatusInfo) String ¶
func (s VolumeStatusInfo) String() string
String returns the string representation
type VolumeStatusInfoStatus ¶
type VolumeStatusInfoStatus string
const ( VolumeStatusInfoStatusOk VolumeStatusInfoStatus = "ok" VolumeStatusInfoStatusImpaired VolumeStatusInfoStatus = "impaired" VolumeStatusInfoStatusInsufficientData VolumeStatusInfoStatus = "insufficient-data" )
Enum values for VolumeStatusInfoStatus
func (VolumeStatusInfoStatus) MarshalValue ¶ added in v0.3.0
func (enum VolumeStatusInfoStatus) MarshalValue() (string, error)
func (VolumeStatusInfoStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum VolumeStatusInfoStatus) MarshalValueBuf(b []byte) ([]byte, error)
type VolumeStatusItem ¶
type VolumeStatusItem struct { // The details of the operation. Actions []VolumeStatusAction `locationName:"actionsSet" locationNameList:"item" type:"list"` // The Availability Zone of the volume. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // A list of events associated with the volume. Events []VolumeStatusEvent `locationName:"eventsSet" locationNameList:"item" type:"list"` // The volume ID. VolumeId *string `locationName:"volumeId" type:"string"` // The volume status. VolumeStatus *VolumeStatusInfo `locationName:"volumeStatus" type:"structure"` // contains filtered or unexported fields }
Describes the volume status.
func (VolumeStatusItem) String ¶
func (s VolumeStatusItem) String() string
String returns the string representation
type VolumeStatusName ¶
type VolumeStatusName string
const ( VolumeStatusNameIoEnabled VolumeStatusName = "io-enabled" VolumeStatusNameIoPerformance VolumeStatusName = "io-performance" )
Enum values for VolumeStatusName
func (VolumeStatusName) MarshalValue ¶ added in v0.3.0
func (enum VolumeStatusName) MarshalValue() (string, error)
func (VolumeStatusName) MarshalValueBuf ¶ added in v0.3.0
func (enum VolumeStatusName) MarshalValueBuf(b []byte) ([]byte, error)
type VolumeType ¶
type VolumeType string
const ( VolumeTypeStandard VolumeType = "standard" VolumeTypeIo1 VolumeType = "io1" VolumeTypeGp2 VolumeType = "gp2" VolumeTypeSc1 VolumeType = "sc1" VolumeTypeSt1 VolumeType = "st1" )
Enum values for VolumeType
func (VolumeType) MarshalValue ¶ added in v0.3.0
func (enum VolumeType) MarshalValue() (string, error)
func (VolumeType) MarshalValueBuf ¶ added in v0.3.0
func (enum VolumeType) MarshalValueBuf(b []byte) ([]byte, error)
type Vpc ¶
type Vpc struct { // The primary IPv4 CIDR block for the VPC. CidrBlock *string `locationName:"cidrBlock" type:"string"` // Information about the IPv4 CIDR blocks associated with the VPC. CidrBlockAssociationSet []VpcCidrBlockAssociation `locationName:"cidrBlockAssociationSet" locationNameList:"item" type:"list"` // The ID of the set of DHCP options you've associated with the VPC (or default // if the default options are associated with the VPC). DhcpOptionsId *string `locationName:"dhcpOptionsId" type:"string"` // The allowed tenancy of instances launched into the VPC. InstanceTenancy Tenancy `locationName:"instanceTenancy" type:"string" enum:"true"` // Information about the IPv6 CIDR blocks associated with the VPC. Ipv6CidrBlockAssociationSet []VpcIpv6CidrBlockAssociation `locationName:"ipv6CidrBlockAssociationSet" locationNameList:"item" type:"list"` // Indicates whether the VPC is the default VPC. IsDefault *bool `locationName:"isDefault" type:"boolean"` // The ID of the AWS account that owns the VPC. OwnerId *string `locationName:"ownerId" type:"string"` // The current state of the VPC. State VpcState `locationName:"state" type:"string" enum:"true"` // Any tags assigned to the VPC. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes a VPC.
type VpcAttachment ¶
type VpcAttachment struct { // The current state of the attachment. State AttachmentStatus `locationName:"state" type:"string" enum:"true"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes an attachment between a virtual private gateway and a VPC.
func (VpcAttachment) String ¶
func (s VpcAttachment) String() string
String returns the string representation
type VpcAttributeName ¶
type VpcAttributeName string
const ( VpcAttributeNameEnableDnsSupport VpcAttributeName = "enableDnsSupport" VpcAttributeNameEnableDnsHostnames VpcAttributeName = "enableDnsHostnames" )
Enum values for VpcAttributeName
func (VpcAttributeName) MarshalValue ¶ added in v0.3.0
func (enum VpcAttributeName) MarshalValue() (string, error)
func (VpcAttributeName) MarshalValueBuf ¶ added in v0.3.0
func (enum VpcAttributeName) MarshalValueBuf(b []byte) ([]byte, error)
type VpcCidrBlockAssociation ¶
type VpcCidrBlockAssociation struct { // The association ID for the IPv4 CIDR block. AssociationId *string `locationName:"associationId" type:"string"` // The IPv4 CIDR block. CidrBlock *string `locationName:"cidrBlock" type:"string"` // Information about the state of the CIDR block. CidrBlockState *VpcCidrBlockState `locationName:"cidrBlockState" type:"structure"` // contains filtered or unexported fields }
Describes an IPv4 CIDR block associated with a VPC.
func (VpcCidrBlockAssociation) String ¶
func (s VpcCidrBlockAssociation) String() string
String returns the string representation
type VpcCidrBlockState ¶
type VpcCidrBlockState struct { // The state of the CIDR block. State VpcCidrBlockStateCode `locationName:"state" type:"string" enum:"true"` // A message about the status of the CIDR block, if applicable. StatusMessage *string `locationName:"statusMessage" type:"string"` // contains filtered or unexported fields }
Describes the state of a CIDR block.
func (VpcCidrBlockState) String ¶
func (s VpcCidrBlockState) String() string
String returns the string representation
type VpcCidrBlockStateCode ¶
type VpcCidrBlockStateCode string
const ( VpcCidrBlockStateCodeAssociating VpcCidrBlockStateCode = "associating" VpcCidrBlockStateCodeAssociated VpcCidrBlockStateCode = "associated" VpcCidrBlockStateCodeDisassociating VpcCidrBlockStateCode = "disassociating" VpcCidrBlockStateCodeDisassociated VpcCidrBlockStateCode = "disassociated" VpcCidrBlockStateCodeFailing VpcCidrBlockStateCode = "failing" VpcCidrBlockStateCodeFailed VpcCidrBlockStateCode = "failed" )
Enum values for VpcCidrBlockStateCode
func (VpcCidrBlockStateCode) MarshalValue ¶ added in v0.3.0
func (enum VpcCidrBlockStateCode) MarshalValue() (string, error)
func (VpcCidrBlockStateCode) MarshalValueBuf ¶ added in v0.3.0
func (enum VpcCidrBlockStateCode) MarshalValueBuf(b []byte) ([]byte, error)
type VpcClassicLink ¶
type VpcClassicLink struct { // Indicates whether the VPC is enabled for ClassicLink. ClassicLinkEnabled *bool `locationName:"classicLinkEnabled" type:"boolean"` // Any tags assigned to the VPC. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes whether a VPC is enabled for ClassicLink.
func (VpcClassicLink) String ¶
func (s VpcClassicLink) String() string
String returns the string representation
type VpcEndpoint ¶
type VpcEndpoint struct { // The date and time the VPC endpoint was created. CreationTimestamp *time.Time `locationName:"creationTimestamp" type:"timestamp"` // (Interface endpoint) The DNS entries for the endpoint. DnsEntries []DnsEntry `locationName:"dnsEntrySet" locationNameList:"item" type:"list"` // (Interface endpoint) Information about the security groups associated with // the network interface. Groups []SecurityGroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` // (Interface endpoint) One or more network interfaces for the endpoint. NetworkInterfaceIds []string `locationName:"networkInterfaceIdSet" locationNameList:"item" type:"list"` // The ID of the AWS account that owns the VPC endpoint. OwnerId *string `locationName:"ownerId" type:"string"` // The policy document associated with the endpoint, if applicable. PolicyDocument *string `locationName:"policyDocument" type:"string"` // (Interface endpoint) Indicates whether the VPC is associated with a private // hosted zone. PrivateDnsEnabled *bool `locationName:"privateDnsEnabled" type:"boolean"` // Indicates whether the VPC endpoint is being managed by its service. RequesterManaged *bool `locationName:"requesterManaged" type:"boolean"` // (Gateway endpoint) One or more route tables associated with the endpoint. RouteTableIds []string `locationName:"routeTableIdSet" locationNameList:"item" type:"list"` // The name of the service to which the endpoint is associated. ServiceName *string `locationName:"serviceName" type:"string"` // The state of the VPC endpoint. State State `locationName:"state" type:"string" enum:"true"` // (Interface endpoint) One or more subnets in which the endpoint is located. SubnetIds []string `locationName:"subnetIdSet" locationNameList:"item" type:"list"` // Any tags assigned to the VPC endpoint. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the VPC endpoint. VpcEndpointId *string `locationName:"vpcEndpointId" type:"string"` // The type of endpoint. VpcEndpointType VpcEndpointType `locationName:"vpcEndpointType" type:"string" enum:"true"` // The ID of the VPC to which the endpoint is associated. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes a VPC endpoint.
func (VpcEndpoint) String ¶
func (s VpcEndpoint) String() string
String returns the string representation
type VpcEndpointConnection ¶ added in v0.2.0
type VpcEndpointConnection struct { // The date and time the VPC endpoint was created. CreationTimestamp *time.Time `locationName:"creationTimestamp" type:"timestamp"` // The DNS entries for the VPC endpoint. DnsEntries []DnsEntry `locationName:"dnsEntrySet" locationNameList:"item" type:"list"` // The Amazon Resource Names (ARNs) of the network load balancers for the service. NetworkLoadBalancerArns []string `locationName:"networkLoadBalancerArnSet" locationNameList:"item" type:"list"` // The ID of the service to which the endpoint is connected. ServiceId *string `locationName:"serviceId" type:"string"` // The ID of the VPC endpoint. VpcEndpointId *string `locationName:"vpcEndpointId" type:"string"` // The AWS account ID of the owner of the VPC endpoint. VpcEndpointOwner *string `locationName:"vpcEndpointOwner" type:"string"` // The state of the VPC endpoint. VpcEndpointState State `locationName:"vpcEndpointState" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a VPC endpoint connection to a service.
func (VpcEndpointConnection) String ¶ added in v0.2.0
func (s VpcEndpointConnection) String() string
String returns the string representation
type VpcEndpointType ¶ added in v0.2.0
type VpcEndpointType string
const ( VpcEndpointTypeInterface VpcEndpointType = "Interface" VpcEndpointTypeGateway VpcEndpointType = "Gateway" )
Enum values for VpcEndpointType
func (VpcEndpointType) MarshalValue ¶ added in v0.3.0
func (enum VpcEndpointType) MarshalValue() (string, error)
func (VpcEndpointType) MarshalValueBuf ¶ added in v0.3.0
func (enum VpcEndpointType) MarshalValueBuf(b []byte) ([]byte, error)
type VpcIpv6CidrBlockAssociation ¶
type VpcIpv6CidrBlockAssociation struct { // The association ID for the IPv6 CIDR block. AssociationId *string `locationName:"associationId" type:"string"` // The IPv6 CIDR block. Ipv6CidrBlock *string `locationName:"ipv6CidrBlock" type:"string"` // Information about the state of the CIDR block. Ipv6CidrBlockState *VpcCidrBlockState `locationName:"ipv6CidrBlockState" type:"structure"` // contains filtered or unexported fields }
Describes an IPv6 CIDR block associated with a VPC.
func (VpcIpv6CidrBlockAssociation) String ¶
func (s VpcIpv6CidrBlockAssociation) String() string
String returns the string representation
type VpcPeeringConnection ¶
type VpcPeeringConnection struct { // Information about the accepter VPC. CIDR block information is only returned // when describing an active VPC peering connection. AccepterVpcInfo *VpcPeeringConnectionVpcInfo `locationName:"accepterVpcInfo" type:"structure"` // The time that an unaccepted VPC peering connection will expire. ExpirationTime *time.Time `locationName:"expirationTime" type:"timestamp"` // Information about the requester VPC. CIDR block information is only returned // when describing an active VPC peering connection. RequesterVpcInfo *VpcPeeringConnectionVpcInfo `locationName:"requesterVpcInfo" type:"structure"` // The status of the VPC peering connection. Status *VpcPeeringConnectionStateReason `locationName:"status" type:"structure"` // Any tags assigned to the resource. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the VPC peering connection. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"` // contains filtered or unexported fields }
Describes a VPC peering connection.
func (VpcPeeringConnection) String ¶
func (s VpcPeeringConnection) String() string
String returns the string representation
type VpcPeeringConnectionOptionsDescription ¶
type VpcPeeringConnectionOptionsDescription struct { // Indicates whether a local VPC can resolve public DNS hostnames to private // IP addresses when queried from instances in a peer VPC. AllowDnsResolutionFromRemoteVpc *bool `locationName:"allowDnsResolutionFromRemoteVpc" type:"boolean"` // Indicates whether a local ClassicLink connection can communicate with the // peer VPC over the VPC peering connection. AllowEgressFromLocalClassicLinkToRemoteVpc *bool `locationName:"allowEgressFromLocalClassicLinkToRemoteVpc" type:"boolean"` // Indicates whether a local VPC can communicate with a ClassicLink connection // in the peer VPC over the VPC peering connection. AllowEgressFromLocalVpcToRemoteClassicLink *bool `locationName:"allowEgressFromLocalVpcToRemoteClassicLink" type:"boolean"` // contains filtered or unexported fields }
Describes the VPC peering connection options.
func (VpcPeeringConnectionOptionsDescription) String ¶
func (s VpcPeeringConnectionOptionsDescription) String() string
String returns the string representation
type VpcPeeringConnectionStateReason ¶
type VpcPeeringConnectionStateReason struct { // The status of the VPC peering connection. Code VpcPeeringConnectionStateReasonCode `locationName:"code" type:"string" enum:"true"` // A message that provides more information about the status, if applicable. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes the status of a VPC peering connection.
func (VpcPeeringConnectionStateReason) String ¶
func (s VpcPeeringConnectionStateReason) String() string
String returns the string representation
type VpcPeeringConnectionStateReasonCode ¶
type VpcPeeringConnectionStateReasonCode string
const ( VpcPeeringConnectionStateReasonCodeInitiatingRequest VpcPeeringConnectionStateReasonCode = "initiating-request" VpcPeeringConnectionStateReasonCodePendingAcceptance VpcPeeringConnectionStateReasonCode = "pending-acceptance" VpcPeeringConnectionStateReasonCodeActive VpcPeeringConnectionStateReasonCode = "active" VpcPeeringConnectionStateReasonCodeDeleted VpcPeeringConnectionStateReasonCode = "deleted" VpcPeeringConnectionStateReasonCodeRejected VpcPeeringConnectionStateReasonCode = "rejected" VpcPeeringConnectionStateReasonCodeFailed VpcPeeringConnectionStateReasonCode = "failed" VpcPeeringConnectionStateReasonCodeExpired VpcPeeringConnectionStateReasonCode = "expired" VpcPeeringConnectionStateReasonCodeProvisioning VpcPeeringConnectionStateReasonCode = "provisioning" VpcPeeringConnectionStateReasonCodeDeleting VpcPeeringConnectionStateReasonCode = "deleting" )
Enum values for VpcPeeringConnectionStateReasonCode
func (VpcPeeringConnectionStateReasonCode) MarshalValue ¶ added in v0.3.0
func (enum VpcPeeringConnectionStateReasonCode) MarshalValue() (string, error)
func (VpcPeeringConnectionStateReasonCode) MarshalValueBuf ¶ added in v0.3.0
func (enum VpcPeeringConnectionStateReasonCode) MarshalValueBuf(b []byte) ([]byte, error)
type VpcPeeringConnectionVpcInfo ¶
type VpcPeeringConnectionVpcInfo struct { // The IPv4 CIDR block for the VPC. CidrBlock *string `locationName:"cidrBlock" type:"string"` // Information about the IPv4 CIDR blocks for the VPC. CidrBlockSet []CidrBlock `locationName:"cidrBlockSet" locationNameList:"item" type:"list"` // The IPv6 CIDR block for the VPC. Ipv6CidrBlockSet []Ipv6CidrBlock `locationName:"ipv6CidrBlockSet" locationNameList:"item" type:"list"` // The AWS account ID of the VPC owner. OwnerId *string `locationName:"ownerId" type:"string"` // Information about the VPC peering connection options for the accepter or // requester VPC. PeeringOptions *VpcPeeringConnectionOptionsDescription `locationName:"peeringOptions" type:"structure"` // The Region in which the VPC is located. Region *string `locationName:"region" type:"string"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
Describes a VPC in a VPC peering connection.
func (VpcPeeringConnectionVpcInfo) String ¶
func (s VpcPeeringConnectionVpcInfo) String() string
String returns the string representation
type VpcState ¶
type VpcState string
Enum values for VpcState
func (VpcState) MarshalValue ¶ added in v0.3.0
type VpcTenancy ¶ added in v0.2.0
type VpcTenancy string
const (
VpcTenancyDefault VpcTenancy = "default"
)
Enum values for VpcTenancy
func (VpcTenancy) MarshalValue ¶ added in v0.3.0
func (enum VpcTenancy) MarshalValue() (string, error)
func (VpcTenancy) MarshalValueBuf ¶ added in v0.3.0
func (enum VpcTenancy) MarshalValueBuf(b []byte) ([]byte, error)
type VpnAuthentication ¶ added in v0.9.0
type VpnAuthentication struct { // Information about the Active Directory, if applicable. ActiveDirectory *DirectoryServiceAuthentication `locationName:"activeDirectory" type:"structure"` // Information about the authentication certificates, if applicable. MutualAuthentication *CertificateAuthentication `locationName:"mutualAuthentication" type:"structure"` // The authentication type used. Type VpnAuthenticationType `locationName:"type" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the authentication methods used by a Client VPN endpoint. Client VPN supports Active Directory and mutual authentication. For more information, see Authentication (https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/authentication-authrization.html#client-authentication) in the AWS Client VPN Administrator Guide.
func (VpnAuthentication) String ¶ added in v0.9.0
func (s VpnAuthentication) String() string
String returns the string representation
type VpnAuthenticationRequest ¶ added in v0.9.0
type VpnAuthenticationRequest struct { // Information about the Active Directory to be used, if applicable. You must // provide this information if Type is directory-service-authentication. ActiveDirectory *DirectoryServiceAuthenticationRequest `type:"structure"` // Information about the authentication certificates to be used, if applicable. // You must provide this information if Type is certificate-authentication. MutualAuthentication *CertificateAuthenticationRequest `type:"structure"` // The type of client authentication to be used. Specify certificate-authentication // to use certificate-based authentication, or directory-service-authentication // to use Active Directory authentication. Type VpnAuthenticationType `type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the authentication method to be used by a Client VPN endpoint. Client VPN supports Active Directory and mutual authentication. For more information, see Authentication (https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/authentication-authrization.html#client-authentication) in the AWS Client VPN Administrator Guide.
func (VpnAuthenticationRequest) String ¶ added in v0.9.0
func (s VpnAuthenticationRequest) String() string
String returns the string representation
type VpnAuthenticationType ¶ added in v0.9.0
type VpnAuthenticationType string
const ( VpnAuthenticationTypeCertificateAuthentication VpnAuthenticationType = "certificate-authentication" VpnAuthenticationTypeDirectoryServiceAuthentication VpnAuthenticationType = "directory-service-authentication" )
Enum values for VpnAuthenticationType
func (VpnAuthenticationType) MarshalValue ¶ added in v0.9.0
func (enum VpnAuthenticationType) MarshalValue() (string, error)
func (VpnAuthenticationType) MarshalValueBuf ¶ added in v0.9.0
func (enum VpnAuthenticationType) MarshalValueBuf(b []byte) ([]byte, error)
type VpnAuthorizationRuleStatus ¶ added in v0.9.0
type VpnAuthorizationRuleStatus struct { // The state of the authorization rule. Code VpnAuthorizationRuleStatusCode `locationName:"code" type:"string" enum:"true"` // A message about the status of the authorization rule, if applicable. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes the state of an authorization rule.
func (VpnAuthorizationRuleStatus) String ¶ added in v0.9.0
func (s VpnAuthorizationRuleStatus) String() string
String returns the string representation
type VpnAuthorizationRuleStatusCode ¶ added in v0.9.0
type VpnAuthorizationRuleStatusCode string
const ( VpnAuthorizationRuleStatusCodeAuthorizing VpnAuthorizationRuleStatusCode = "authorizing" VpnAuthorizationRuleStatusCodeActive VpnAuthorizationRuleStatusCode = "active" VpnAuthorizationRuleStatusCodeFailed VpnAuthorizationRuleStatusCode = "failed" VpnAuthorizationRuleStatusCodeRevoking VpnAuthorizationRuleStatusCode = "revoking" )
Enum values for VpnAuthorizationRuleStatusCode
func (VpnAuthorizationRuleStatusCode) MarshalValue ¶ added in v0.9.0
func (enum VpnAuthorizationRuleStatusCode) MarshalValue() (string, error)
func (VpnAuthorizationRuleStatusCode) MarshalValueBuf ¶ added in v0.9.0
func (enum VpnAuthorizationRuleStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type VpnConnection ¶
type VpnConnection struct { // The IP address of the client. ClientIp *string `locationName:"clientIp" type:"string"` // The ID of the Client VPN endpoint to which the client is connected. ClientVpnEndpointId *string `locationName:"clientVpnEndpointId" type:"string"` // The common name associated with the client. This is either the name of the // client certificate, or the Active Directory user name. CommonName *string `locationName:"commonName" type:"string"` // The date and time the client connection was terminated. ConnectionEndTime *string `locationName:"connectionEndTime" type:"string"` // The date and time the client connection was established. ConnectionEstablishedTime *string `locationName:"connectionEstablishedTime" type:"string"` // The ID of the client connection. ConnectionId *string `locationName:"connectionId" type:"string"` // The number of bytes received by the client. EgressBytes *string `locationName:"egressBytes" type:"string"` // The number of packets received by the client. EgressPackets *string `locationName:"egressPackets" type:"string"` // The number of bytes sent by the client. IngressBytes *string `locationName:"ingressBytes" type:"string"` // The number of packets sent by the client. IngressPackets *string `locationName:"ingressPackets" type:"string"` // The current state of the client connection. Status *VpnConnectionStatus `locationName:"status" type:"structure"` // The current date and time. Timestamp *string `locationName:"timestamp" type:"string"` // The username of the client who established the client connection. This information // is only provided if Active Directory client authentication is used. Username *string `locationName:"username" type:"string"` // contains filtered or unexported fields }
Describes a client connection.
func (VpnConnection) String ¶
func (s VpnConnection) String() string
String returns the string representation
type VpnConnectionOptions ¶
type VpnConnectionOptions struct { // Indicates whether the VPN connection uses static routes only. Static routes // must be used for devices that don't support BGP. StaticRoutesOnly *bool `locationName:"staticRoutesOnly" type:"boolean"` // Indicates the VPN tunnel options. TunnelOptions []TunnelOption `locationName:"tunnelOptionSet" locationNameList:"item" type:"list"` // contains filtered or unexported fields }
Describes VPN connection options.
func (VpnConnectionOptions) String ¶
func (s VpnConnectionOptions) String() string
String returns the string representation
type VpnConnectionOptionsSpecification ¶
type VpnConnectionOptionsSpecification struct { // Indicate whether the VPN connection uses static routes only. If you are creating // a VPN connection for a device that does not support BGP, you must specify // true. Use CreateVpnConnectionRoute to create a static route. // // Default: false StaticRoutesOnly *bool `locationName:"staticRoutesOnly" type:"boolean"` // The tunnel options for the VPN connection. TunnelOptions []VpnTunnelOptionsSpecification `type:"list"` // contains filtered or unexported fields }
Describes VPN connection options.
func (VpnConnectionOptionsSpecification) String ¶
func (s VpnConnectionOptionsSpecification) String() string
String returns the string representation
type VpnConnectionStatus ¶ added in v0.9.0
type VpnConnectionStatus struct { // The state of the client connection. Code VpnConnectionStatusCode `locationName:"code" type:"string" enum:"true"` // A message about the status of the client connection, if applicable. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes the status of a client connection.
func (VpnConnectionStatus) String ¶ added in v0.9.0
func (s VpnConnectionStatus) String() string
String returns the string representation
type VpnConnectionStatusCode ¶ added in v0.9.0
type VpnConnectionStatusCode string
const ( VpnConnectionStatusCodeActive VpnConnectionStatusCode = "active" VpnConnectionStatusCodeFailedToTerminate VpnConnectionStatusCode = "failed-to-terminate" VpnConnectionStatusCodeTerminating VpnConnectionStatusCode = "terminating" VpnConnectionStatusCodeTerminated VpnConnectionStatusCode = "terminated" )
Enum values for VpnConnectionStatusCode
func (VpnConnectionStatusCode) MarshalValue ¶ added in v0.9.0
func (enum VpnConnectionStatusCode) MarshalValue() (string, error)
func (VpnConnectionStatusCode) MarshalValueBuf ¶ added in v0.9.0
func (enum VpnConnectionStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type VpnEcmpSupportValue ¶ added in v0.6.0
type VpnEcmpSupportValue string
const ( VpnEcmpSupportValueEnable VpnEcmpSupportValue = "enable" VpnEcmpSupportValueDisable VpnEcmpSupportValue = "disable" )
Enum values for VpnEcmpSupportValue
func (VpnEcmpSupportValue) MarshalValue ¶ added in v0.6.0
func (enum VpnEcmpSupportValue) MarshalValue() (string, error)
func (VpnEcmpSupportValue) MarshalValueBuf ¶ added in v0.6.0
func (enum VpnEcmpSupportValue) MarshalValueBuf(b []byte) ([]byte, error)
type VpnEndpoint ¶ added in v0.9.0
type VpnEndpoint struct { // Information about the associated target networks. A target network is a subnet // in a VPC. AssociatedTargetNetworks []AssociatedTargetNetwork `locationName:"associatedTargetNetwork" locationNameList:"item" deprecated:"true" type:"list"` // Information about the authentication method used by the Client VPN endpoint. AuthenticationOptions []VpnAuthentication `locationName:"authenticationOptions" locationNameList:"item" type:"list"` // The IPv4 address range, in CIDR notation, from which client IP addresses // are assigned. ClientCidrBlock *string `locationName:"clientCidrBlock" type:"string"` // The ID of the Client VPN endpoint. ClientVpnEndpointId *string `locationName:"clientVpnEndpointId" type:"string"` // Information about the client connection logging options for the Client VPN // endpoint. ConnectionLogOptions *ConnectionLogResponseOptions `locationName:"connectionLogOptions" type:"structure"` // The date and time the Client VPN endpoint was created. CreationTime *string `locationName:"creationTime" type:"string"` // The date and time the Client VPN endpoint was deleted, if applicable. DeletionTime *string `locationName:"deletionTime" type:"string"` // A brief description of the endpoint. Description *string `locationName:"description" type:"string"` // The DNS name to be used by clients when connecting to the Client VPN endpoint. DnsName *string `locationName:"dnsName" type:"string"` // Information about the DNS servers to be used for DNS resolution. DnsServers []string `locationName:"dnsServer" locationNameList:"item" type:"list"` // The ARN of the server certificate. ServerCertificateArn *string `locationName:"serverCertificateArn" type:"string"` // Indicates whether split-tunnel is enabled in the AWS Client VPN endpoint. // // For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client // VPN Endpoint (https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) // in the AWS Client VPN Administrator Guide. SplitTunnel *bool `locationName:"splitTunnel" type:"boolean"` // The current state of the Client VPN endpoint. Status *VpnEndpointStatus `locationName:"status" type:"structure"` // Any tags assigned to the Client VPN endpoint. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The transport protocol used by the Client VPN endpoint. TransportProtocol TransportProtocol `locationName:"transportProtocol" type:"string" enum:"true"` // The protocol used by the VPN session. VpnProtocol VpnProtocol `locationName:"vpnProtocol" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a Client VPN endpoint.
func (VpnEndpoint) String ¶ added in v0.9.0
func (s VpnEndpoint) String() string
String returns the string representation
type VpnEndpointStatus ¶ added in v0.9.0
type VpnEndpointStatus struct { // The state of the Client VPN endpoint. Possible states include: // // * pending-associate - The Client VPN endpoint has been created but no // target networks have been associated. The Client VPN endpoint cannot accept // connections. // // * available - The Client VPN endpoint has been created and a target network // has been associated. The Client VPN endpoint can accept connections. // // * deleting - The Client VPN endpoint is being deleted. The Client VPN // endpoint cannot accept connections. // // * deleted - The Client VPN endpoint has been deleted. The Client VPN endpoint // cannot accept connections. Code VpnEndpointStatusCode `locationName:"code" type:"string" enum:"true"` // A message about the status of the Client VPN endpoint. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes the state of a Client VPN endpoint.
func (VpnEndpointStatus) String ¶ added in v0.9.0
func (s VpnEndpointStatus) String() string
String returns the string representation
type VpnEndpointStatusCode ¶ added in v0.9.0
type VpnEndpointStatusCode string
const ( VpnEndpointStatusCodePendingAssociate VpnEndpointStatusCode = "pending-associate" VpnEndpointStatusCodeAvailable VpnEndpointStatusCode = "available" VpnEndpointStatusCodeDeleting VpnEndpointStatusCode = "deleting" VpnEndpointStatusCodeDeleted VpnEndpointStatusCode = "deleted" )
Enum values for VpnEndpointStatusCode
func (VpnEndpointStatusCode) MarshalValue ¶ added in v0.9.0
func (enum VpnEndpointStatusCode) MarshalValue() (string, error)
func (VpnEndpointStatusCode) MarshalValueBuf ¶ added in v0.9.0
func (enum VpnEndpointStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type VpnGateway ¶
type VpnGateway struct { // The private Autonomous System Number (ASN) for the Amazon side of a BGP session. AmazonSideAsn *int64 `locationName:"amazonSideAsn" type:"long"` // The Availability Zone where the virtual private gateway was created, if applicable. // This field may be empty or not returned. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The current state of the virtual private gateway. State VpnState `locationName:"state" type:"string" enum:"true"` // Any tags assigned to the virtual private gateway. Tags []Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The type of VPN connection the virtual private gateway supports. Type GatewayType `locationName:"type" type:"string" enum:"true"` // Any VPCs attached to the virtual private gateway. VpcAttachments []VpcAttachment `locationName:"attachments" locationNameList:"item" type:"list"` // The ID of the virtual private gateway. VpnGatewayId *string `locationName:"vpnGatewayId" type:"string"` // contains filtered or unexported fields }
Describes a virtual private gateway.
func (VpnGateway) String ¶
func (s VpnGateway) String() string
String returns the string representation
type VpnProtocol ¶ added in v0.7.0
type VpnProtocol string
const (
VpnProtocolOpenvpn VpnProtocol = "openvpn"
)
Enum values for VpnProtocol
func (VpnProtocol) MarshalValue ¶ added in v0.7.0
func (enum VpnProtocol) MarshalValue() (string, error)
func (VpnProtocol) MarshalValueBuf ¶ added in v0.7.0
func (enum VpnProtocol) MarshalValueBuf(b []byte) ([]byte, error)
type VpnRoute ¶ added in v0.9.0
type VpnRoute struct { // The ID of the Client VPN endpoint with which the route is associated. ClientVpnEndpointId *string `locationName:"clientVpnEndpointId" type:"string"` // A brief description of the route. Description *string `locationName:"description" type:"string"` // The IPv4 address range, in CIDR notation, of the route destination. DestinationCidr *string `locationName:"destinationCidr" type:"string"` // Indicates how the route was associated with the Client VPN endpoint. associate // indicates that the route was automatically added when the target network // was associated with the Client VPN endpoint. add-route indicates that the // route was manually added using the CreateClientVpnRoute action. Origin *string `locationName:"origin" type:"string"` // The current state of the route. Status *VpnRouteStatus `locationName:"status" type:"structure"` // The ID of the subnet through which traffic is routed. TargetSubnet *string `locationName:"targetSubnet" type:"string"` // The route type. Type *string `locationName:"type" type:"string"` // contains filtered or unexported fields }
Information about a Client VPN endpoint route.
type VpnRouteStatus ¶ added in v0.9.0
type VpnRouteStatus struct { // The state of the Client VPN endpoint route. Code VpnRouteStatusCode `locationName:"code" type:"string" enum:"true"` // A message about the status of the Client VPN endpoint route, if applicable. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes the state of a Client VPN endpoint route.
func (VpnRouteStatus) String ¶ added in v0.9.0
func (s VpnRouteStatus) String() string
String returns the string representation
type VpnRouteStatusCode ¶ added in v0.9.0
type VpnRouteStatusCode string
const ( VpnRouteStatusCodeCreating VpnRouteStatusCode = "creating" VpnRouteStatusCodeActive VpnRouteStatusCode = "active" VpnRouteStatusCodeFailed VpnRouteStatusCode = "failed" VpnRouteStatusCodeDeleting VpnRouteStatusCode = "deleting" )
Enum values for VpnRouteStatusCode
func (VpnRouteStatusCode) MarshalValue ¶ added in v0.9.0
func (enum VpnRouteStatusCode) MarshalValue() (string, error)
func (VpnRouteStatusCode) MarshalValueBuf ¶ added in v0.9.0
func (enum VpnRouteStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type VpnState ¶
type VpnState string
const ( VpnStatePending VpnState = "pending" VpnStateAvailable VpnState = "available" VpnStateDeleting VpnState = "deleting" VpnStateDeleted VpnState = "deleted" )
Enum values for VpnState
func (VpnState) MarshalValue ¶ added in v0.3.0
type VpnStaticRoute ¶
type VpnStaticRoute struct { // The CIDR block associated with the local subnet of the customer data center. DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string"` // Indicates how the routes were provided. Source VpnStaticRouteSource `locationName:"source" type:"string" enum:"true"` // The current state of the static route. State VpnState `locationName:"state" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a static route for a VPN connection.
func (VpnStaticRoute) String ¶
func (s VpnStaticRoute) String() string
String returns the string representation
type VpnStaticRouteSource ¶
type VpnStaticRouteSource string
const (
VpnStaticRouteSourceStatic VpnStaticRouteSource = "Static"
)
Enum values for VpnStaticRouteSource
func (VpnStaticRouteSource) MarshalValue ¶ added in v0.3.0
func (enum VpnStaticRouteSource) MarshalValue() (string, error)
func (VpnStaticRouteSource) MarshalValueBuf ¶ added in v0.3.0
func (enum VpnStaticRouteSource) MarshalValueBuf(b []byte) ([]byte, error)
type VpnTunnelOptionsSpecification ¶
type VpnTunnelOptionsSpecification struct { // The number of seconds after which a DPD timeout occurs. // // Constraints: A value between 0 and 30. // // Default: 30 DPDTimeoutSeconds *int64 `type:"integer"` // The IKE versions that are permitted for the VPN tunnel. // // Valid values: ikev1 | ikev2 IKEVersions []IKEVersionsRequestListValue `locationName:"IKEVersion" locationNameList:"item" type:"list"` // One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel // for phase 1 IKE negotiations. // // Valid values: 2 | 14 | 15 | 16 | 17 | 18 | 22 | 23 | 24 Phase1DHGroupNumbers []Phase1DHGroupNumbersRequestListValue `locationName:"Phase1DHGroupNumber" locationNameList:"item" type:"list"` // One or more encryption algorithms that are permitted for the VPN tunnel for // phase 1 IKE negotiations. // // Valid values: AES128 | AES256 Phase1EncryptionAlgorithms []Phase1EncryptionAlgorithmsRequestListValue `locationName:"Phase1EncryptionAlgorithm" locationNameList:"item" type:"list"` // One or more integrity algorithms that are permitted for the VPN tunnel for // phase 1 IKE negotiations. // // Valid values: SHA1 | SHA2-256 Phase1IntegrityAlgorithms []Phase1IntegrityAlgorithmsRequestListValue `locationName:"Phase1IntegrityAlgorithm" locationNameList:"item" type:"list"` // The lifetime for phase 1 of the IKE negotiation, in seconds. // // Constraints: A value between 900 and 28,800. // // Default: 28800 Phase1LifetimeSeconds *int64 `type:"integer"` // One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel // for phase 2 IKE negotiations. // // Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 22 | 23 | 24 Phase2DHGroupNumbers []Phase2DHGroupNumbersRequestListValue `locationName:"Phase2DHGroupNumber" locationNameList:"item" type:"list"` // One or more encryption algorithms that are permitted for the VPN tunnel for // phase 2 IKE negotiations. // // Valid values: AES128 | AES256 Phase2EncryptionAlgorithms []Phase2EncryptionAlgorithmsRequestListValue `locationName:"Phase2EncryptionAlgorithm" locationNameList:"item" type:"list"` // One or more integrity algorithms that are permitted for the VPN tunnel for // phase 2 IKE negotiations. // // Valid values: SHA1 | SHA2-256 Phase2IntegrityAlgorithms []Phase2IntegrityAlgorithmsRequestListValue `locationName:"Phase2IntegrityAlgorithm" locationNameList:"item" type:"list"` // The lifetime for phase 2 of the IKE negotiation, in seconds. // // Constraints: A value between 900 and 3,600. The value must be less than the // value for Phase1LifetimeSeconds. // // Default: 3600 Phase2LifetimeSeconds *int64 `type:"integer"` // virtual private gateway and customer gateway. // // Constraints: Allowed characters are alphanumeric characters, periods (.), // and underscores (_). Must be between 8 and 64 characters in length and cannot // start with zero (0). PreSharedKey *string `type:"string"` // The percentage of the rekey window (determined by RekeyMarginTimeSeconds) // during which the rekey time is randomly selected. // // Constraints: A value between 0 and 100. // // Default: 100 RekeyFuzzPercentage *int64 `type:"integer"` // The margin time, in seconds, before the phase 2 lifetime expires, during // which the AWS side of the VPN connection performs an IKE rekey. The exact // time of the rekey is randomly selected based on the value for RekeyFuzzPercentage. // // Constraints: A value between 60 and half of Phase2LifetimeSeconds. // // Default: 540 RekeyMarginTimeSeconds *int64 `type:"integer"` // The number of packets in an IKE replay window. // // Constraints: A value between 64 and 2048. // // Default: 1024 ReplayWindowSize *int64 `type:"integer"` // The range of inside IP addresses for the tunnel. Any specified CIDR blocks // must be unique across all VPN connections that use the same virtual private // gateway. // // Constraints: A size /30 CIDR block from the 169.254.0.0/16 range. The following // CIDR blocks are reserved and cannot be used: // // * 169.254.0.0/30 // // * 169.254.1.0/30 // // * 169.254.2.0/30 // // * 169.254.3.0/30 // // * 169.254.4.0/30 // // * 169.254.5.0/30 // // * 169.254.169.252/30 TunnelInsideCidr *string `type:"string"` // contains filtered or unexported fields }
The tunnel options for a VPN connection.
func (VpnTunnelOptionsSpecification) String ¶
func (s VpnTunnelOptionsSpecification) String() string
String returns the string representation
type WithdrawByoipCidrInput ¶ added in v0.6.0
type WithdrawByoipCidrInput struct { // The public IPv4 address range, in CIDR notation. // // Cidr is a required field Cidr *string `type:"string" required:"true"` // 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"` // contains filtered or unexported fields }
func (WithdrawByoipCidrInput) String ¶ added in v0.6.0
func (s WithdrawByoipCidrInput) String() string
String returns the string representation
func (*WithdrawByoipCidrInput) Validate ¶ added in v0.6.0
func (s *WithdrawByoipCidrInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type WithdrawByoipCidrOutput ¶ added in v0.6.0
type WithdrawByoipCidrOutput struct { // Information about the address pool. ByoipCidr *ByoipCidr `locationName:"byoipCidr" type:"structure"` // contains filtered or unexported fields }
func (WithdrawByoipCidrOutput) String ¶ added in v0.6.0
func (s WithdrawByoipCidrOutput) String() string
String returns the string representation
type WithdrawByoipCidrRequest ¶ added in v0.6.0
type WithdrawByoipCidrRequest struct { *aws.Request Input *WithdrawByoipCidrInput Copy func(*WithdrawByoipCidrInput) WithdrawByoipCidrRequest }
WithdrawByoipCidrRequest is the request type for the WithdrawByoipCidr API operation.
func (WithdrawByoipCidrRequest) Send ¶ added in v0.6.0
func (r WithdrawByoipCidrRequest) Send(ctx context.Context) (*WithdrawByoipCidrResponse, error)
Send marshals and sends the WithdrawByoipCidr API request.
type WithdrawByoipCidrResponse ¶ added in v0.9.0
type WithdrawByoipCidrResponse struct { *WithdrawByoipCidrOutput // contains filtered or unexported fields }
WithdrawByoipCidrResponse is the response type for the WithdrawByoipCidr API operation.
func (*WithdrawByoipCidrResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *WithdrawByoipCidrResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the WithdrawByoipCidr request.
Source Files ¶
- api_client.go
- api_doc.go
- api_enums.go
- api_errors.go
- api_op_AcceptReservedInstancesExchangeQuote.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_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_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_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_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_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_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_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_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_DescribeInstanceStatus.go
- api_op_DescribeInstances.go
- api_op_DescribeInternetGateways.go
- api_op_DescribeKeyPairs.go
- api_op_DescribeLaunchTemplateVersions.go
- api_op_DescribeLaunchTemplates.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_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_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_DisassociateTransitGatewayRouteTable.go
- api_op_DisassociateVpcCidrBlock.go
- api_op_EnableEbsEncryptionByDefault.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_GetCapacityReservationUsage.go
- api_op_GetConsoleOutput.go
- api_op_GetConsoleScreenshot.go
- api_op_GetEbsDefaultKmsKeyId.go
- api_op_GetEbsEncryptionByDefault.go
- api_op_GetHostReservationPurchasePreview.go
- api_op_GetLaunchTemplateData.go
- api_op_GetPasswordData.go
- api_op_GetReservedInstancesExchangeQuote.go
- api_op_GetTransitGatewayAttachmentPropagations.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_ModifyCapacityReservation.go
- api_op_ModifyClientVpnEndpoint.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_ModifyInstancePlacement.go
- api_op_ModifyLaunchTemplate.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_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_RevokeClientVpnIngress.go
- api_op_RevokeSecurityGroupEgress.go
- api_op_RevokeSecurityGroupIngress.go
- api_op_RunInstances.go
- api_op_RunScheduledInstances.go
- api_op_SearchTransitGatewayRoutes.go
- api_op_SendDiagnosticInterrupt.go
- api_op_StartInstances.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