Documentation ¶
Index ¶
- Constants
- func AwsRamClientFromARN(sess *session.Session, roleARN, externalID string) *ram.RAM
- func GetARNResourceID(resourceARN string) (string, error)
- func HasErrorCode(err error, code string) bool
- type EC2Client
- func (e *EC2Client) CreateManagedPrefixList(ctx context.Context, params *ec2.CreateManagedPrefixListInput, ...) (*ec2.CreateManagedPrefixListOutput, error)
- func (e *EC2Client) CreateRoute(ctx context.Context, params *ec2.CreateRouteInput, ...) (*ec2.CreateRouteOutput, error)
- func (e *EC2Client) CreateTransitGateway(ctx context.Context, params *ec2.CreateTransitGatewayInput, ...) (*ec2.CreateTransitGatewayOutput, error)
- func (e *EC2Client) CreateTransitGatewayVpcAttachment(ctx context.Context, params *ec2.CreateTransitGatewayVpcAttachmentInput, ...) (*ec2.CreateTransitGatewayVpcAttachmentOutput, error)
- func (e *EC2Client) DeleteRoute(ctx context.Context, params *ec2.DeleteRouteInput, ...) (*ec2.DeleteRouteOutput, error)
- func (e *EC2Client) DeleteTransitGateway(ctx context.Context, params *ec2.DeleteTransitGatewayInput, ...) (*ec2.DeleteTransitGatewayOutput, error)
- func (e *EC2Client) DeleteTransitGatewayVpcAttachment(ctx context.Context, params *ec2.DeleteTransitGatewayVpcAttachmentInput, ...) (*ec2.DeleteTransitGatewayVpcAttachmentOutput, error)
- func (e *EC2Client) DescribeManagedPrefixLists(ctx context.Context, params *ec2.DescribeManagedPrefixListsInput, ...) (*ec2.DescribeManagedPrefixListsOutput, error)
- func (e *EC2Client) DescribeRouteTables(ctx context.Context, params *ec2.DescribeRouteTablesInput, ...) (*ec2.DescribeRouteTablesOutput, error)
- func (e *EC2Client) DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, ...) (*ec2.DescribeSubnetsOutput, error)
- func (e *EC2Client) DescribeTransitGatewayVpcAttachments(ctx context.Context, params *ec2.DescribeTransitGatewayVpcAttachmentsInput, ...) (*ec2.DescribeTransitGatewayVpcAttachmentsOutput, error)
- func (e *EC2Client) DescribeTransitGateways(ctx context.Context, params *ec2.DescribeTransitGatewaysInput, ...) (*ec2.DescribeTransitGatewaysOutput, error)
- func (e *EC2Client) GetManagedPrefixListEntries(ctx context.Context, params *ec2.GetManagedPrefixListEntriesInput, ...) (*ec2.GetManagedPrefixListEntriesOutput, error)
- func (e *EC2Client) ModifyManagedPrefixList(ctx context.Context, params *ec2.ModifyManagedPrefixListInput, ...) (*ec2.ModifyManagedPrefixListOutput, error)
- type RAMClient
- type ResourceShare
- type SNSClient
- type TGWClient
- func (e *TGWClient) CreateManagedPrefixList(ctx context.Context, params *ec2.CreateManagedPrefixListInput, ...) (*ec2.CreateManagedPrefixListOutput, error)
- func (e *TGWClient) CreateRoute(ctx context.Context, params *ec2.CreateRouteInput, ...) (*ec2.CreateRouteOutput, error)
- func (e *TGWClient) CreateTransitGateway(ctx context.Context, params *ec2.CreateTransitGatewayInput, ...) (*ec2.CreateTransitGatewayOutput, error)
- func (e *TGWClient) CreateTransitGatewayVpcAttachment(ctx context.Context, params *ec2.CreateTransitGatewayVpcAttachmentInput, ...) (*ec2.CreateTransitGatewayVpcAttachmentOutput, error)
- func (e *TGWClient) DeleteRoute(ctx context.Context, params *ec2.DeleteRouteInput, ...) (*ec2.DeleteRouteOutput, error)
- func (e *TGWClient) DeleteTransitGateway(ctx context.Context, params *ec2.DeleteTransitGatewayInput, ...) (*ec2.DeleteTransitGatewayOutput, error)
- func (e *TGWClient) DeleteTransitGatewayVpcAttachment(ctx context.Context, params *ec2.DeleteTransitGatewayVpcAttachmentInput, ...) (*ec2.DeleteTransitGatewayVpcAttachmentOutput, error)
- func (e *TGWClient) DescribeManagedPrefixLists(ctx context.Context, params *ec2.DescribeManagedPrefixListsInput, ...) (*ec2.DescribeManagedPrefixListsOutput, error)
- func (e *TGWClient) DescribeRouteTables(ctx context.Context, params *ec2.DescribeRouteTablesInput, ...) (*ec2.DescribeRouteTablesOutput, error)
- func (e *TGWClient) DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, ...) (*ec2.DescribeSubnetsOutput, error)
- func (e *TGWClient) DescribeTransitGatewayVpcAttachments(ctx context.Context, params *ec2.DescribeTransitGatewayVpcAttachmentsInput, ...) (*ec2.DescribeTransitGatewayVpcAttachmentsOutput, error)
- func (e *TGWClient) DescribeTransitGateways(ctx context.Context, params *ec2.DescribeTransitGatewaysInput, ...) (*ec2.DescribeTransitGatewaysOutput, error)
- func (e *TGWClient) GetManagedPrefixListEntries(ctx context.Context, params *ec2.GetManagedPrefixListEntriesInput, ...) (*ec2.GetManagedPrefixListEntriesOutput, error)
- func (e *TGWClient) ModifyManagedPrefixList(ctx context.Context, params *ec2.ModifyManagedPrefixListInput, ...) (*ec2.ModifyManagedPrefixListOutput, error)
- func (e *TGWClient) PublishSNSMessage(ctx context.Context, params *sns.PublishInput, optFns ...func(*sns.Options)) (*sns.PublishOutput, error)
- type TransitGatewayClient
Constants ¶
View Source
const ( ErrAssociationNotFound = "InvalidAssociationID.NotFound" ErrRouteTableNotFound = "InvalidRouteTableID.NotFound" ErrSubnetNotFound = "InvalidSubnetID.NotFound" ErrVPCNotFound = "InvalidVpcID.NotFound" )
View Source
const ResourceOwnerSelf = "SELF"
Variables ¶
This section is empty.
Functions ¶
func AwsRamClientFromARN ¶ added in v1.5.0
func GetARNResourceID ¶ added in v1.5.0
func HasErrorCode ¶ added in v1.5.0
Types ¶
type EC2Client ¶
type EC2Client struct {
// contains filtered or unexported fields
}
func NewEC2Client ¶
func (*EC2Client) CreateManagedPrefixList ¶ added in v0.2.0
func (e *EC2Client) CreateManagedPrefixList(ctx context.Context, params *ec2.CreateManagedPrefixListInput, optFns ...func(*ec2.Options)) (*ec2.CreateManagedPrefixListOutput, error)
func (*EC2Client) CreateRoute ¶ added in v0.2.0
func (e *EC2Client) CreateRoute(ctx context.Context, params *ec2.CreateRouteInput, optFns ...func(*ec2.Options)) (*ec2.CreateRouteOutput, error)
func (*EC2Client) CreateTransitGateway ¶
func (e *EC2Client) CreateTransitGateway(ctx context.Context, params *ec2.CreateTransitGatewayInput, optFns ...func(*ec2.Options)) (*ec2.CreateTransitGatewayOutput, error)
func (*EC2Client) CreateTransitGatewayVpcAttachment ¶
func (e *EC2Client) CreateTransitGatewayVpcAttachment(ctx context.Context, params *ec2.CreateTransitGatewayVpcAttachmentInput, optFns ...func(*ec2.Options)) (*ec2.CreateTransitGatewayVpcAttachmentOutput, error)
func (*EC2Client) DeleteRoute ¶ added in v0.2.0
func (e *EC2Client) DeleteRoute(ctx context.Context, params *ec2.DeleteRouteInput, optFns ...func(*ec2.Options)) (*ec2.DeleteRouteOutput, error)
func (*EC2Client) DeleteTransitGateway ¶
func (e *EC2Client) DeleteTransitGateway(ctx context.Context, params *ec2.DeleteTransitGatewayInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayOutput, error)
func (*EC2Client) DeleteTransitGatewayVpcAttachment ¶
func (e *EC2Client) DeleteTransitGatewayVpcAttachment(ctx context.Context, params *ec2.DeleteTransitGatewayVpcAttachmentInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayVpcAttachmentOutput, error)
func (*EC2Client) DescribeManagedPrefixLists ¶ added in v0.2.0
func (e *EC2Client) DescribeManagedPrefixLists(ctx context.Context, params *ec2.DescribeManagedPrefixListsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeManagedPrefixListsOutput, error)
func (*EC2Client) DescribeRouteTables ¶ added in v0.2.0
func (e *EC2Client) DescribeRouteTables(ctx context.Context, params *ec2.DescribeRouteTablesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeRouteTablesOutput, error)
func (*EC2Client) DescribeSubnets ¶ added in v1.4.1
func (e *EC2Client) DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error)
func (*EC2Client) DescribeTransitGatewayVpcAttachments ¶
func (e *EC2Client) DescribeTransitGatewayVpcAttachments(ctx context.Context, params *ec2.DescribeTransitGatewayVpcAttachmentsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeTransitGatewayVpcAttachmentsOutput, error)
func (*EC2Client) DescribeTransitGateways ¶
func (e *EC2Client) DescribeTransitGateways(ctx context.Context, params *ec2.DescribeTransitGatewaysInput, optFns ...func(*ec2.Options)) (*ec2.DescribeTransitGatewaysOutput, error)
func (*EC2Client) GetManagedPrefixListEntries ¶ added in v0.2.2
func (e *EC2Client) GetManagedPrefixListEntries(ctx context.Context, params *ec2.GetManagedPrefixListEntriesInput, optFns ...func(*ec2.Options)) (*ec2.GetManagedPrefixListEntriesOutput, error)
func (*EC2Client) ModifyManagedPrefixList ¶ added in v0.2.0
func (e *EC2Client) ModifyManagedPrefixList(ctx context.Context, params *ec2.ModifyManagedPrefixListInput, optFns ...func(*ec2.Options)) (*ec2.ModifyManagedPrefixListOutput, error)
type RAMClient ¶ added in v1.5.0
type RAMClient struct {
// contains filtered or unexported fields
}
func NewRAMClient ¶ added in v1.5.0
func (*RAMClient) ApplyResourceShare ¶ added in v1.5.0
func (c *RAMClient) ApplyResourceShare(ctx context.Context, share ResourceShare) error
type ResourceShare ¶ added in v1.5.0
type ResourceShare struct {}
type SNSClient ¶ added in v1.2.0
type SNSClient struct {
// contains filtered or unexported fields
}
func NewSNSClient ¶ added in v1.2.0
func (*SNSClient) PublishSNSMessage ¶ added in v1.2.0
func (s *SNSClient) PublishSNSMessage(ctx context.Context, params *sns.PublishInput, optFns ...func(*sns.Options)) (*sns.PublishOutput, error)
type TGWClient ¶ added in v1.2.0
type TGWClient struct {
// contains filtered or unexported fields
}
func NewTGWClient ¶ added in v1.2.0
func (*TGWClient) CreateManagedPrefixList ¶ added in v1.2.0
func (e *TGWClient) CreateManagedPrefixList(ctx context.Context, params *ec2.CreateManagedPrefixListInput, optFns ...func(*ec2.Options)) (*ec2.CreateManagedPrefixListOutput, error)
func (*TGWClient) CreateRoute ¶ added in v1.2.0
func (e *TGWClient) CreateRoute(ctx context.Context, params *ec2.CreateRouteInput, optFns ...func(*ec2.Options)) (*ec2.CreateRouteOutput, error)
func (*TGWClient) CreateTransitGateway ¶ added in v1.2.0
func (e *TGWClient) CreateTransitGateway(ctx context.Context, params *ec2.CreateTransitGatewayInput, optFns ...func(*ec2.Options)) (*ec2.CreateTransitGatewayOutput, error)
func (*TGWClient) CreateTransitGatewayVpcAttachment ¶ added in v1.2.0
func (e *TGWClient) CreateTransitGatewayVpcAttachment(ctx context.Context, params *ec2.CreateTransitGatewayVpcAttachmentInput, optFns ...func(*ec2.Options)) (*ec2.CreateTransitGatewayVpcAttachmentOutput, error)
func (*TGWClient) DeleteRoute ¶ added in v1.2.0
func (e *TGWClient) DeleteRoute(ctx context.Context, params *ec2.DeleteRouteInput, optFns ...func(*ec2.Options)) (*ec2.DeleteRouteOutput, error)
func (*TGWClient) DeleteTransitGateway ¶ added in v1.2.0
func (e *TGWClient) DeleteTransitGateway(ctx context.Context, params *ec2.DeleteTransitGatewayInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayOutput, error)
func (*TGWClient) DeleteTransitGatewayVpcAttachment ¶ added in v1.2.0
func (e *TGWClient) DeleteTransitGatewayVpcAttachment(ctx context.Context, params *ec2.DeleteTransitGatewayVpcAttachmentInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayVpcAttachmentOutput, error)
func (*TGWClient) DescribeManagedPrefixLists ¶ added in v1.2.0
func (e *TGWClient) DescribeManagedPrefixLists(ctx context.Context, params *ec2.DescribeManagedPrefixListsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeManagedPrefixListsOutput, error)
func (*TGWClient) DescribeRouteTables ¶ added in v1.2.0
func (e *TGWClient) DescribeRouteTables(ctx context.Context, params *ec2.DescribeRouteTablesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeRouteTablesOutput, error)
func (*TGWClient) DescribeSubnets ¶ added in v1.4.1
func (e *TGWClient) DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error)
func (*TGWClient) DescribeTransitGatewayVpcAttachments ¶ added in v1.2.0
func (e *TGWClient) DescribeTransitGatewayVpcAttachments(ctx context.Context, params *ec2.DescribeTransitGatewayVpcAttachmentsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeTransitGatewayVpcAttachmentsOutput, error)
func (*TGWClient) DescribeTransitGateways ¶ added in v1.2.0
func (e *TGWClient) DescribeTransitGateways(ctx context.Context, params *ec2.DescribeTransitGatewaysInput, optFns ...func(*ec2.Options)) (*ec2.DescribeTransitGatewaysOutput, error)
func (*TGWClient) GetManagedPrefixListEntries ¶ added in v1.2.0
func (e *TGWClient) GetManagedPrefixListEntries(ctx context.Context, params *ec2.GetManagedPrefixListEntriesInput, optFns ...func(*ec2.Options)) (*ec2.GetManagedPrefixListEntriesOutput, error)
func (*TGWClient) ModifyManagedPrefixList ¶ added in v1.2.0
func (e *TGWClient) ModifyManagedPrefixList(ctx context.Context, params *ec2.ModifyManagedPrefixListInput, optFns ...func(*ec2.Options)) (*ec2.ModifyManagedPrefixListOutput, error)
func (*TGWClient) PublishSNSMessage ¶ added in v1.2.0
func (e *TGWClient) PublishSNSMessage(ctx context.Context, params *sns.PublishInput, optFns ...func(*sns.Options)) (*sns.PublishOutput, error)
type TransitGatewayClient ¶
type TransitGatewayClient interface { CreateTransitGateway(ctx context.Context, params *ec2.CreateTransitGatewayInput, optFns ...func(*ec2.Options)) (*ec2.CreateTransitGatewayOutput, error) DeleteTransitGateway(ctx context.Context, params *ec2.DeleteTransitGatewayInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayOutput, error) DescribeTransitGateways(ctx context.Context, params *ec2.DescribeTransitGatewaysInput, optFns ...func(*ec2.Options)) (*ec2.DescribeTransitGatewaysOutput, error) CreateTransitGatewayVpcAttachment(ctx context.Context, params *ec2.CreateTransitGatewayVpcAttachmentInput, optFns ...func(*ec2.Options)) (*ec2.CreateTransitGatewayVpcAttachmentOutput, error) DeleteTransitGatewayVpcAttachment(ctx context.Context, params *ec2.DeleteTransitGatewayVpcAttachmentInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayVpcAttachmentOutput, error) DescribeTransitGatewayVpcAttachments(ctx context.Context, params *ec2.DescribeTransitGatewayVpcAttachmentsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeTransitGatewayVpcAttachmentsOutput, error) CreateRoute(ctx context.Context, params *ec2.CreateRouteInput, optFns ...func(*ec2.Options)) (*ec2.CreateRouteOutput, error) DescribeRouteTables(ctx context.Context, params *ec2.DescribeRouteTablesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeRouteTablesOutput, error) DeleteRoute(ctx context.Context, params *ec2.DeleteRouteInput, optFns ...func(*ec2.Options)) (*ec2.DeleteRouteOutput, error) CreateManagedPrefixList(ctx context.Context, params *ec2.CreateManagedPrefixListInput, optFns ...func(*ec2.Options)) (*ec2.CreateManagedPrefixListOutput, error) DescribeManagedPrefixLists(ctx context.Context, params *ec2.DescribeManagedPrefixListsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeManagedPrefixListsOutput, error) ModifyManagedPrefixList(ctx context.Context, params *ec2.ModifyManagedPrefixListInput, optFns ...func(*ec2.Options)) (*ec2.ModifyManagedPrefixListOutput, error) GetManagedPrefixListEntries(ctx context.Context, params *ec2.GetManagedPrefixListEntriesInput, optFns ...func(*ec2.Options)) (*ec2.GetManagedPrefixListEntriesOutput, error) PublishSNSMessage(ctx context.Context, params *sns.PublishInput, optFns ...func(*sns.Options)) (*sns.PublishOutput, error) DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.