firewall

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddTagsInput

type AddTagsInput struct {
	Firewall  string        `json:"-"`
	AccountId string        `json:"AccountId"`
	Tags      []tag.Details `json:"Tags"`
}

type AssociateInput

type AssociateInput struct {
	Firewall    string `json:"-"`
	Rulestack   string `json:"RuleStackName"`
	AccountId   string `json:"AccountId"`
	UpdateToken string `json:"UpdateToken,omitempty"`
}

type AssociateOutput

type AssociateOutput struct {
	Response AssociateOutputDetails `json:"Response"`
	Status   response.Status        `json:"ResponseStatus"`
}

func (AssociateOutput) Failed

func (o AssociateOutput) Failed() *response.Status

type AssociateOutputDetails

type AssociateOutputDetails struct {
	Rulestack   string `json:"RuleStackName"`
	Firewall    string `json:"FirewallName"`
	AccountId   string `json:"AccountId"`
	UpdateToken string `json:"UpdateToken,omitempty"`
}

type Attachment

type Attachment struct {
	EndpointId     string `json:"EndpointId,omitempty"`
	Status         string `json:"Status,omitempty"`
	RejectedReason string `json:"RejectedReason,omitempty"`
	SubnetId       string `json:"SubnetId,omitempty"`
}

type CreateOutput

type CreateOutput struct {
	Response Info            `json:"Response"`
	Status   response.Status `json:"ResponseStatus"`
}

func (CreateOutput) Failed

func (o CreateOutput) Failed() *response.Status

type DeleteInput

type DeleteInput struct {
	Name      string `json:"-"`
	AccountId string `json:"AccountId,omitempty"`
}

type DeleteLinkIdInput

type DeleteLinkIdInput struct {
	Firewall  string `json:"-"`
	AccountId string `json:"AccountId,omitempty"`
}

type DescribeFirewall

type DescribeFirewall struct {
	Name      string `json:"FirewallName"`
	AccountId string `json:"AccountId"`
}

type DisAssociateInput

type DisAssociateInput struct {
	Firewall    string `json:"-"`
	AccountId   string `json:"AccountId"`
	UpdateToken string `json:"UpdateToken,omitempty"`
}

type DisAssociateOutput

type DisAssociateOutput struct {
	Response AssociateOutputDetails `json:"Response"`
	Status   response.Status        `json:"ResponseStatus"`
}

func (DisAssociateOutput) Failed

func (o DisAssociateOutput) Failed() *response.Status

type Firewall

type Firewall struct {
	Info       Info
	LogProfile logprofile.Info
}

type FirewallStatus

type FirewallStatus struct {
	FirewallStatus            string              `json:"FirewallStatus,omitempty"`
	FailureReason             string              `json:"FailureReason,omitempty"`
	RulestackStatus           string              `json:"RuleStackStatus,omitempty"`
	GlobalRuleStackStatus     string              `json:"GlobalRuleStackStatus,omitempty"`
	RuleStackCommitInfo       RuleStackCommitInfo `json:"RuleStackCommitInfo,omitempty"`
	GlobalRuleStackCommitInfo RuleStackCommitInfo `json:"GlobalRuleStackCommitInfo,omitempty"`
	Attachments               []Attachment        `json:"Attachments,omitempty"`
}

type Info

type Info struct {
	Name                         string          `json:"FirewallName,omitempty"`
	Id                           string          `json:"FirewallId,omitempty"`
	AccountId                    string          `json:"AccountId,omitempty"`
	VpcId                        string          `json:"VpcId,omitempty"`
	AppIdVersion                 string          `json:"AppIdVersion,omitempty"`
	Description                  string          `json:"Description,omitempty"`
	Rulestack                    string          `json:"RuleStackName,omitempty"`
	GlobalRulestack              string          `json:"GlobalRuleStackName,omitempty"`
	MultiVpc                     bool            `json:"MultiVpc,omitempty"`
	EndpointMode                 string          `json:"EndpointMode,omitempty"`
	EndpointServiceName          string          `json:"EndpointServiceName,omitempty"`
	AutomaticUpgradeAppIdVersion bool            `json:"AutomaticUpgradeAppIdVersion,omitempty"`
	SubnetMappings               []SubnetMapping `json:"SubnetMappings,omitempty"`
	LinkId                       string          `json:"LinkId,omitempty"`
	LinkStatus                   string          `json:"LinkStatus,omitempty"`
	Tags                         []tag.Details   `json:"Tags,omitempty"`
	UpdateToken                  string          `json:"UpdateToken,omitempty"`
}

type ListFirewall

type ListFirewall struct {
	Name      string `json:"FirewallName"`
	AccountId string `json:"AccountId"`
}

type ListInput

type ListInput struct {
	Rulestack  string   `json:"-"`
	MaxResults int      `json:"MaxResults,omitempty"`
	NextToken  string   `json:"NextToken,omitempty"`
	VpcIds     []string `json:"VpcIds,omitempty"`
	Describe   bool     `json:"-"`
}

type ListOutput

type ListOutput struct {
	Response ListOutputDetails `json:"Response"`
	Status   response.Status   `json:"ResponseStatus"`
}

func (ListOutput) Failed

func (o ListOutput) Failed() *response.Status

type ListOutputDetails

type ListOutputDetails struct {
	Firewalls []ListFirewall `json:"Firewalls"`
	Describe  []ReadResponse `json:"FirewallsDescribe,omitempty"`
	NextToken string         `json:"NextToken"`
}

type ListTagsInput

type ListTagsInput struct {
	Firewall   string
	AccountId  string
	NextToken  string
	MaxResults int
}

type ListTagsOutput

type ListTagsOutput struct {
	Response ListTagsOutputDetails `json:"Response"`
	Status   response.Status       `json:"ResponseStatus"`
}

func (ListTagsOutput) Failed

func (o ListTagsOutput) Failed() *response.Status

type ListTagsOutputDetails

type ListTagsOutputDetails struct {
	Firewall  string        `json:"ResourceName"`
	NextToken string        `json:"NextToken"`
	Tags      []tag.Details `json:"Tags"`
}

type ReadInput

type ReadInput struct {
	Name      string `json:"-"`
	AccountId string `json:"AccountId,omitempty"`
}

type ReadOutput

type ReadOutput struct {
	Response ReadResponse    `json:"Response"`
	Status   response.Status `json:"ResponseStatus"`
}

func (ReadOutput) Failed

func (o ReadOutput) Failed() *response.Status

type ReadResponse

type ReadResponse struct {
	Firewall Info           `json:"Firewall"`
	Status   FirewallStatus `json:"Status,omitempty"`
}

type RemoveTagsInput

type RemoveTagsInput struct {
	Firewall  string   `json:"-"`
	AccountId string   `json:"AccountId"`
	Tags      []string `json:"TagKeys"`
}

type RuleStackCommitInfo

type RuleStackCommitInfo struct {
	CommitMessages []string `json:"CommitMessages,omitempty"`
	CommitTS       string   `json:"CommitTS"`
}

type SubnetMapping

type SubnetMapping struct {
	SubnetId           string `json:"SubnetId,omitempty"`
	AvailabilityZone   string `json:"AvailabilityZone,omitempty"`
	AvailabilityZoneId string `json:"AvailabilityZoneId,omitempty"`
}

type UpdateContentVersionInput

type UpdateContentVersionInput struct {
	Firewall                     string `json:"-"`
	AccountId                    string `json:"AccountId,omitempty"`
	AppIdVersion                 string `json:"AppIdVersion,omitempty"`
	AutomaticUpgradeAppIdVersion bool   `json:"AutomaticUpgradeAppIdVersion,omitempty"`
	UpdateToken                  string `json:"UpdateToken,omitempty"`
}

type UpdateDescriptionInput

type UpdateDescriptionInput struct {
	Firewall    string `json:"-"`
	AccountId   string `json:"AccountId,omitempty"`
	Description string `json:"Description,omitempty"`
	UpdateToken string `json:"UpdateToken,omitempty"`
}

type UpdateLinkIdInput

type UpdateLinkIdInput struct {
	Firewall    string `json:"-"`
	AccountId   string `json:"AccountId,omitempty"`
	LinkId      string `json:"LinkId,omitempty"`
	UpdateToken string `json:"UpdateToken,omitempty"`
}

type UpdateRulestackInput

type UpdateRulestackInput struct {
	Firewall    string `json:"-"`
	AccountId   string `json:"AccountId"`
	Rulestack   string `json:"RuleStackName"`
	UpdateToken string `json:"UpdateToken,omitempty"`
}

type UpdateSubnetMappingsInput

type UpdateSubnetMappingsInput struct {
	Firewall                   string          `json:"-"`
	AccountId                  string          `json:"AccountId,omitempty"`
	AssociateSubnetMappings    []SubnetMapping `json:"AssociateSubnetMappings,omitempty"`
	DisassociateSubnetMappings []SubnetMapping `json:"DisassociateSubnetMappings,omitempty"`
	UpdateToken                string          `json:"UpdateToken,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL