fms

package
v1.38.26-0...-e443fa6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fms provides the client and types for making API requests to Firewall Management Service.

This is the AWS Firewall Manager API Reference. This guide is for developers who need detailed information about the AWS Firewall Manager API actions, data types, and errors. For detailed information about AWS Firewall Manager features, see the AWS Firewall Manager Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/fms-chapter.html).

Some API actions require explicit resource permissions. For information, see the developer guide topic Firewall Manager required permissions for API actions (https://docs.aws.amazon.com/waf/latest/developerguide/fms-api-permissions-ref.html).

See https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01 for more information on this service.

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

Using the Client

To contact Firewall Management Service 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 Firewall Management Service client FMS for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/fms/#New

Index

Constants

View Source
const (
	// AccountRoleStatusReady is a AccountRoleStatus enum value
	AccountRoleStatusReady = "READY"

	// AccountRoleStatusCreating is a AccountRoleStatus enum value
	AccountRoleStatusCreating = "CREATING"

	// AccountRoleStatusPendingDeletion is a AccountRoleStatus enum value
	AccountRoleStatusPendingDeletion = "PENDING_DELETION"

	// AccountRoleStatusDeleting is a AccountRoleStatus enum value
	AccountRoleStatusDeleting = "DELETING"

	// AccountRoleStatusDeleted is a AccountRoleStatus enum value
	AccountRoleStatusDeleted = "DELETED"
)
View Source
const (
	// CustomerPolicyScopeIdTypeAccount is a CustomerPolicyScopeIdType enum value
	CustomerPolicyScopeIdTypeAccount = "ACCOUNT"

	// CustomerPolicyScopeIdTypeOrgUnit is a CustomerPolicyScopeIdType enum value
	CustomerPolicyScopeIdTypeOrgUnit = "ORG_UNIT"
)
View Source
const (
	// DependentServiceNameAwsconfig is a DependentServiceName enum value
	DependentServiceNameAwsconfig = "AWSCONFIG"

	// DependentServiceNameAwswaf is a DependentServiceName enum value
	DependentServiceNameAwswaf = "AWSWAF"

	// DependentServiceNameAwsshieldAdvanced is a DependentServiceName enum value
	DependentServiceNameAwsshieldAdvanced = "AWSSHIELD_ADVANCED"

	// DependentServiceNameAwsvpc is a DependentServiceName enum value
	DependentServiceNameAwsvpc = "AWSVPC"
)
View Source
const (
	// PolicyComplianceStatusTypeCompliant is a PolicyComplianceStatusType enum value
	PolicyComplianceStatusTypeCompliant = "COMPLIANT"

	// PolicyComplianceStatusTypeNonCompliant is a PolicyComplianceStatusType enum value
	PolicyComplianceStatusTypeNonCompliant = "NON_COMPLIANT"
)
View Source
const (
	// RemediationActionTypeRemove is a RemediationActionType enum value
	RemediationActionTypeRemove = "REMOVE"

	// RemediationActionTypeModify is a RemediationActionType enum value
	RemediationActionTypeModify = "MODIFY"
)
View Source
const (
	// SecurityServiceTypeWaf is a SecurityServiceType enum value
	SecurityServiceTypeWaf = "WAF"

	// SecurityServiceTypeWafv2 is a SecurityServiceType enum value
	SecurityServiceTypeWafv2 = "WAFV2"

	// SecurityServiceTypeShieldAdvanced is a SecurityServiceType enum value
	SecurityServiceTypeShieldAdvanced = "SHIELD_ADVANCED"

	// SecurityServiceTypeSecurityGroupsCommon is a SecurityServiceType enum value
	SecurityServiceTypeSecurityGroupsCommon = "SECURITY_GROUPS_COMMON"

	// SecurityServiceTypeSecurityGroupsContentAudit is a SecurityServiceType enum value
	SecurityServiceTypeSecurityGroupsContentAudit = "SECURITY_GROUPS_CONTENT_AUDIT"

	// SecurityServiceTypeSecurityGroupsUsageAudit is a SecurityServiceType enum value
	SecurityServiceTypeSecurityGroupsUsageAudit = "SECURITY_GROUPS_USAGE_AUDIT"

	// SecurityServiceTypeNetworkFirewall is a SecurityServiceType enum value
	SecurityServiceTypeNetworkFirewall = "NETWORK_FIREWALL"

	// SecurityServiceTypeDnsFirewall is a SecurityServiceType enum value
	SecurityServiceTypeDnsFirewall = "DNS_FIREWALL"
)
View Source
const (
	// ViolationReasonWebAclMissingRuleGroup is a ViolationReason enum value
	ViolationReasonWebAclMissingRuleGroup = "WEB_ACL_MISSING_RULE_GROUP"

	// ViolationReasonResourceMissingWebAcl is a ViolationReason enum value
	ViolationReasonResourceMissingWebAcl = "RESOURCE_MISSING_WEB_ACL"

	// ViolationReasonResourceIncorrectWebAcl is a ViolationReason enum value
	ViolationReasonResourceIncorrectWebAcl = "RESOURCE_INCORRECT_WEB_ACL"

	// ViolationReasonResourceMissingShieldProtection is a ViolationReason enum value
	ViolationReasonResourceMissingShieldProtection = "RESOURCE_MISSING_SHIELD_PROTECTION"

	// ViolationReasonResourceMissingWebAclOrShieldProtection is a ViolationReason enum value
	ViolationReasonResourceMissingWebAclOrShieldProtection = "RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION"

	// ViolationReasonResourceMissingSecurityGroup is a ViolationReason enum value
	ViolationReasonResourceMissingSecurityGroup = "RESOURCE_MISSING_SECURITY_GROUP"

	// ViolationReasonResourceViolatesAuditSecurityGroup is a ViolationReason enum value
	ViolationReasonResourceViolatesAuditSecurityGroup = "RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP"

	// ViolationReasonSecurityGroupUnused is a ViolationReason enum value
	ViolationReasonSecurityGroupUnused = "SECURITY_GROUP_UNUSED"

	// ViolationReasonSecurityGroupRedundant is a ViolationReason enum value
	ViolationReasonSecurityGroupRedundant = "SECURITY_GROUP_REDUNDANT"

	// ViolationReasonFmsCreatedSecurityGroupEdited is a ViolationReason enum value
	ViolationReasonFmsCreatedSecurityGroupEdited = "FMS_CREATED_SECURITY_GROUP_EDITED"

	// ViolationReasonMissingFirewall is a ViolationReason enum value
	ViolationReasonMissingFirewall = "MISSING_FIREWALL"

	// ViolationReasonMissingFirewallSubnetInAz is a ViolationReason enum value
	ViolationReasonMissingFirewallSubnetInAz = "MISSING_FIREWALL_SUBNET_IN_AZ"

	// ViolationReasonMissingExpectedRouteTable is a ViolationReason enum value
	ViolationReasonMissingExpectedRouteTable = "MISSING_EXPECTED_ROUTE_TABLE"

	// ViolationReasonNetworkFirewallPolicyModified is a ViolationReason enum value
	ViolationReasonNetworkFirewallPolicyModified = "NETWORK_FIREWALL_POLICY_MODIFIED"

	// ViolationReasonResourceMissingDnsFirewall is a ViolationReason enum value
	ViolationReasonResourceMissingDnsFirewall = "RESOURCE_MISSING_DNS_FIREWALL"
)
View Source
const (

	// ErrCodeInternalErrorException for service response error code
	// "InternalErrorException".
	//
	// The operation failed because of a system problem, even though the request
	// was valid. Retry your request.
	ErrCodeInternalErrorException = "InternalErrorException"

	// ErrCodeInvalidInputException for service response error code
	// "InvalidInputException".
	//
	// The parameters of the request were invalid.
	ErrCodeInvalidInputException = "InvalidInputException"

	// ErrCodeInvalidOperationException for service response error code
	// "InvalidOperationException".
	//
	// The operation failed because there was nothing to do or the operation wasn't
	// possible. For example, you might have submitted an AssociateAdminAccount
	// request for an account ID that was already set as the AWS Firewall Manager
	// administrator. Or you might have tried to access a Region that's disabled
	// by default, and that you need to enable for the Firewall Manager administrator
	// account and for AWS Organizations before you can access it.
	ErrCodeInvalidOperationException = "InvalidOperationException"

	// ErrCodeInvalidTypeException for service response error code
	// "InvalidTypeException".
	//
	// The value of the Type parameter is invalid.
	ErrCodeInvalidTypeException = "InvalidTypeException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// The operation exceeds a resource limit, for example, the maximum number of
	// policy objects that you can create for an AWS account. For more information,
	// see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html)
	// in the AWS WAF Developer Guide.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The specified resource was not found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"
)
View Source
const (
	ServiceName = "fms"       // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "FMS"       // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func AccountRoleStatus_Values

func AccountRoleStatus_Values() []string

AccountRoleStatus_Values returns all elements of the AccountRoleStatus enum

func CustomerPolicyScopeIdType_Values

func CustomerPolicyScopeIdType_Values() []string

CustomerPolicyScopeIdType_Values returns all elements of the CustomerPolicyScopeIdType enum

func DependentServiceName_Values

func DependentServiceName_Values() []string

DependentServiceName_Values returns all elements of the DependentServiceName enum

func PolicyComplianceStatusType_Values

func PolicyComplianceStatusType_Values() []string

PolicyComplianceStatusType_Values returns all elements of the PolicyComplianceStatusType enum

func RemediationActionType_Values

func RemediationActionType_Values() []string

RemediationActionType_Values returns all elements of the RemediationActionType enum

func SecurityServiceType_Values

func SecurityServiceType_Values() []string

SecurityServiceType_Values returns all elements of the SecurityServiceType enum

func ViolationReason_Values

func ViolationReason_Values() []string

ViolationReason_Values returns all elements of the ViolationReason enum

Types

type App

type App struct {

	// The application's name.
	//
	// AppName is a required field
	AppName *string `min:"1" type:"string" required:"true"`

	// The application's port number, for example 80.
	//
	// Port is a required field
	Port *int64 `type:"long" required:"true"`

	// The IP protocol name or number. The name can be one of tcp, udp, or icmp.
	// For information on possible numbers, see Protocol Numbers (https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).
	//
	// Protocol is a required field
	Protocol *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An individual AWS Firewall Manager application.

func (App) GoString

func (s App) GoString() string

GoString returns the string representation

func (*App) SetAppName

func (s *App) SetAppName(v string) *App

SetAppName sets the AppName field's value.

func (*App) SetPort

func (s *App) SetPort(v int64) *App

SetPort sets the Port field's value.

func (*App) SetProtocol

func (s *App) SetProtocol(v string) *App

SetProtocol sets the Protocol field's value.

func (App) String

func (s App) String() string

String returns the string representation

func (*App) Validate

func (s *App) Validate() error

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

type AppsListData

type AppsListData struct {

	// An array of applications in the AWS Firewall Manager applications list.
	//
	// AppsList is a required field
	AppsList []*App `type:"list" required:"true"`

	// The time that the AWS Firewall Manager applications list was created.
	CreateTime *time.Time `type:"timestamp"`

	// The time that the AWS Firewall Manager applications list was last updated.
	LastUpdateTime *time.Time `type:"timestamp"`

	// The ID of the AWS Firewall Manager applications list.
	ListId *string `min:"36" type:"string"`

	// The name of the AWS Firewall Manager applications list.
	//
	// ListName is a required field
	ListName *string `min:"1" type:"string" required:"true"`

	// A unique identifier for each update to the list. When you update the list,
	// the update token must match the token of the current version of the application
	// list. You can retrieve the update token by getting the list.
	ListUpdateToken *string `min:"1" type:"string"`

	// A map of previous version numbers to their corresponding App object arrays.
	PreviousAppsList map[string][]*App `type:"map"`
	// contains filtered or unexported fields
}

An AWS Firewall Manager applications list.

func (AppsListData) GoString

func (s AppsListData) GoString() string

GoString returns the string representation

func (*AppsListData) SetAppsList

func (s *AppsListData) SetAppsList(v []*App) *AppsListData

SetAppsList sets the AppsList field's value.

func (*AppsListData) SetCreateTime

func (s *AppsListData) SetCreateTime(v time.Time) *AppsListData

SetCreateTime sets the CreateTime field's value.

func (*AppsListData) SetLastUpdateTime

func (s *AppsListData) SetLastUpdateTime(v time.Time) *AppsListData

SetLastUpdateTime sets the LastUpdateTime field's value.

func (*AppsListData) SetListId

func (s *AppsListData) SetListId(v string) *AppsListData

SetListId sets the ListId field's value.

func (*AppsListData) SetListName

func (s *AppsListData) SetListName(v string) *AppsListData

SetListName sets the ListName field's value.

func (*AppsListData) SetListUpdateToken

func (s *AppsListData) SetListUpdateToken(v string) *AppsListData

SetListUpdateToken sets the ListUpdateToken field's value.

func (*AppsListData) SetPreviousAppsList

func (s *AppsListData) SetPreviousAppsList(v map[string][]*App) *AppsListData

SetPreviousAppsList sets the PreviousAppsList field's value.

func (AppsListData) String

func (s AppsListData) String() string

String returns the string representation

func (*AppsListData) Validate

func (s *AppsListData) Validate() error

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

type AppsListDataSummary

type AppsListDataSummary struct {

	// An array of App objects in the AWS Firewall Manager applications list.
	AppsList []*App `type:"list"`

	// The Amazon Resource Name (ARN) of the applications list.
	ListArn *string `min:"1" type:"string"`

	// The ID of the applications list.
	ListId *string `min:"36" type:"string"`

	// The name of the applications list.
	ListName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Details of the AWS Firewall Manager applications list.

func (AppsListDataSummary) GoString

func (s AppsListDataSummary) GoString() string

GoString returns the string representation

func (*AppsListDataSummary) SetAppsList

func (s *AppsListDataSummary) SetAppsList(v []*App) *AppsListDataSummary

SetAppsList sets the AppsList field's value.

func (*AppsListDataSummary) SetListArn

SetListArn sets the ListArn field's value.

func (*AppsListDataSummary) SetListId

SetListId sets the ListId field's value.

func (*AppsListDataSummary) SetListName

func (s *AppsListDataSummary) SetListName(v string) *AppsListDataSummary

SetListName sets the ListName field's value.

func (AppsListDataSummary) String

func (s AppsListDataSummary) String() string

String returns the string representation

type AssociateAdminAccountInput

type AssociateAdminAccountInput struct {

	// The AWS account ID to associate with AWS Firewall Manager as the AWS Firewall
	// Manager administrator account. This can be an AWS Organizations master account
	// or a member account. For more information about AWS Organizations and master
	// accounts, see Managing the AWS Accounts in Your Organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts.html).
	//
	// AdminAccount is a required field
	AdminAccount *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateAdminAccountInput) GoString

func (s AssociateAdminAccountInput) GoString() string

GoString returns the string representation

func (*AssociateAdminAccountInput) SetAdminAccount

SetAdminAccount sets the AdminAccount field's value.

func (AssociateAdminAccountInput) String

String returns the string representation

func (*AssociateAdminAccountInput) Validate

func (s *AssociateAdminAccountInput) Validate() error

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

type AssociateAdminAccountOutput

type AssociateAdminAccountOutput struct {
	// contains filtered or unexported fields
}

func (AssociateAdminAccountOutput) GoString

func (s AssociateAdminAccountOutput) GoString() string

GoString returns the string representation

func (AssociateAdminAccountOutput) String

String returns the string representation

type AwsEc2InstanceViolation

type AwsEc2InstanceViolation struct {

	// Violations for network interfaces associated with the EC2 instance.
	AwsEc2NetworkInterfaceViolations []*AwsEc2NetworkInterfaceViolation `type:"list"`

	// The resource ID of the EC2 instance.
	ViolationTarget *string `type:"string"`
	// contains filtered or unexported fields
}

Violations for an EC2 instance resource.

func (AwsEc2InstanceViolation) GoString

func (s AwsEc2InstanceViolation) GoString() string

GoString returns the string representation

func (*AwsEc2InstanceViolation) SetAwsEc2NetworkInterfaceViolations

func (s *AwsEc2InstanceViolation) SetAwsEc2NetworkInterfaceViolations(v []*AwsEc2NetworkInterfaceViolation) *AwsEc2InstanceViolation

SetAwsEc2NetworkInterfaceViolations sets the AwsEc2NetworkInterfaceViolations field's value.

func (*AwsEc2InstanceViolation) SetViolationTarget

func (s *AwsEc2InstanceViolation) SetViolationTarget(v string) *AwsEc2InstanceViolation

SetViolationTarget sets the ViolationTarget field's value.

func (AwsEc2InstanceViolation) String

func (s AwsEc2InstanceViolation) String() string

String returns the string representation

type AwsEc2NetworkInterfaceViolation

type AwsEc2NetworkInterfaceViolation struct {

	// List of security groups that violate the rules specified in the master security
	// group of the AWS Firewall Manager policy.
	ViolatingSecurityGroups []*string `type:"list"`

	// The resource ID of the network interface.
	ViolationTarget *string `type:"string"`
	// contains filtered or unexported fields
}

Violations for network interfaces associated with an EC2 instance.

func (AwsEc2NetworkInterfaceViolation) GoString

GoString returns the string representation

func (*AwsEc2NetworkInterfaceViolation) SetViolatingSecurityGroups

func (s *AwsEc2NetworkInterfaceViolation) SetViolatingSecurityGroups(v []*string) *AwsEc2NetworkInterfaceViolation

SetViolatingSecurityGroups sets the ViolatingSecurityGroups field's value.

func (*AwsEc2NetworkInterfaceViolation) SetViolationTarget

SetViolationTarget sets the ViolationTarget field's value.

func (AwsEc2NetworkInterfaceViolation) String

String returns the string representation

type AwsVPCSecurityGroupViolation

type AwsVPCSecurityGroupViolation struct {

	// List of rules specified in the security group of the AWS Firewall Manager
	// policy that partially match the ViolationTarget rule.
	PartialMatches []*PartialMatch `type:"list"`

	// Remediation options for the rule specified in the ViolationTarget.
	PossibleSecurityGroupRemediationActions []*SecurityGroupRemediationAction `type:"list"`

	// The security group rule that is being evaluated.
	ViolationTarget *string `type:"string"`

	// A description of the security group that violates the policy.
	ViolationTargetDescription *string `type:"string"`
	// contains filtered or unexported fields
}

Details of the rule violation in a security group when compared to the master security group of the AWS Firewall Manager policy.

func (AwsVPCSecurityGroupViolation) GoString

func (s AwsVPCSecurityGroupViolation) GoString() string

GoString returns the string representation

func (*AwsVPCSecurityGroupViolation) SetPartialMatches

SetPartialMatches sets the PartialMatches field's value.

func (*AwsVPCSecurityGroupViolation) SetPossibleSecurityGroupRemediationActions

func (s *AwsVPCSecurityGroupViolation) SetPossibleSecurityGroupRemediationActions(v []*SecurityGroupRemediationAction) *AwsVPCSecurityGroupViolation

SetPossibleSecurityGroupRemediationActions sets the PossibleSecurityGroupRemediationActions field's value.

func (*AwsVPCSecurityGroupViolation) SetViolationTarget

SetViolationTarget sets the ViolationTarget field's value.

func (*AwsVPCSecurityGroupViolation) SetViolationTargetDescription

func (s *AwsVPCSecurityGroupViolation) SetViolationTargetDescription(v string) *AwsVPCSecurityGroupViolation

SetViolationTargetDescription sets the ViolationTargetDescription field's value.

func (AwsVPCSecurityGroupViolation) String

String returns the string representation

type ComplianceViolator

type ComplianceViolator struct {

	// The resource ID.
	ResourceId *string `min:"1" type:"string"`

	// The resource type. This is in the format shown in the AWS Resource Types
	// Reference (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html).
	// For example: AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::CloudFront::Distribution,
	// or AWS::NetworkFirewall::FirewallPolicy.
	ResourceType *string `min:"1" type:"string"`

	// The reason that the resource is not protected by the policy.
	ViolationReason *string `type:"string" enum:"ViolationReason"`
	// contains filtered or unexported fields
}

Details of the resource that is not protected by the policy.

func (ComplianceViolator) GoString

func (s ComplianceViolator) GoString() string

GoString returns the string representation

func (*ComplianceViolator) SetResourceId

func (s *ComplianceViolator) SetResourceId(v string) *ComplianceViolator

SetResourceId sets the ResourceId field's value.

func (*ComplianceViolator) SetResourceType

func (s *ComplianceViolator) SetResourceType(v string) *ComplianceViolator

SetResourceType sets the ResourceType field's value.

func (*ComplianceViolator) SetViolationReason

func (s *ComplianceViolator) SetViolationReason(v string) *ComplianceViolator

SetViolationReason sets the ViolationReason field's value.

func (ComplianceViolator) String

func (s ComplianceViolator) String() string

String returns the string representation

type DeleteAppsListInput

type DeleteAppsListInput struct {

	// The ID of the applications list that you want to delete. You can retrieve
	// this ID from PutAppsList, ListAppsLists, and GetAppsList.
	//
	// ListId is a required field
	ListId *string `min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAppsListInput) GoString

func (s DeleteAppsListInput) GoString() string

GoString returns the string representation

func (*DeleteAppsListInput) SetListId

SetListId sets the ListId field's value.

func (DeleteAppsListInput) String

func (s DeleteAppsListInput) String() string

String returns the string representation

func (*DeleteAppsListInput) Validate

func (s *DeleteAppsListInput) Validate() error

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

type DeleteAppsListOutput

type DeleteAppsListOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAppsListOutput) GoString

func (s DeleteAppsListOutput) GoString() string

GoString returns the string representation

func (DeleteAppsListOutput) String

func (s DeleteAppsListOutput) String() string

String returns the string representation

type DeleteNotificationChannelInput

type DeleteNotificationChannelInput struct {
	// contains filtered or unexported fields
}

func (DeleteNotificationChannelInput) GoString

GoString returns the string representation

func (DeleteNotificationChannelInput) String

String returns the string representation

type DeleteNotificationChannelOutput

type DeleteNotificationChannelOutput struct {
	// contains filtered or unexported fields
}

func (DeleteNotificationChannelOutput) GoString

GoString returns the string representation

func (DeleteNotificationChannelOutput) String

String returns the string representation

type DeletePolicyInput

type DeletePolicyInput struct {

	// If True, the request performs cleanup according to the policy type.
	//
	// For AWS WAF and Shield Advanced policies, the cleanup does the following:
	//
	//    * Deletes rule groups created by AWS Firewall Manager
	//
	//    * Removes web ACLs from in-scope resources
	//
	//    * Deletes web ACLs that contain no rules or rule groups
	//
	// For security group policies, the cleanup does the following for each security
	// group in the policy:
	//
	//    * Disassociates the security group from in-scope resources
	//
	//    * Deletes the security group if it was created through Firewall Manager
	//    and if it's no longer associated with any resources through another policy
	//
	// After the cleanup, in-scope resources are no longer protected by web ACLs
	// in this policy. Protection of out-of-scope resources remains unchanged. Scope
	// is determined by tags that you create and accounts that you associate with
	// the policy. When creating the policy, if you specify that only resources
	// in specific accounts or with specific tags are in scope of the policy, those
	// accounts and resources are handled by the policy. All others are out of scope.
	// If you don't specify tags or accounts, all resources are in scope.
	DeleteAllPolicyResources *bool `type:"boolean"`

	// The ID of the policy that you want to delete. You can retrieve this ID from
	// PutPolicy and ListPolicies.
	//
	// PolicyId is a required field
	PolicyId *string `min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePolicyInput) GoString

func (s DeletePolicyInput) GoString() string

GoString returns the string representation

func (*DeletePolicyInput) SetDeleteAllPolicyResources

func (s *DeletePolicyInput) SetDeleteAllPolicyResources(v bool) *DeletePolicyInput

SetDeleteAllPolicyResources sets the DeleteAllPolicyResources field's value.

func (*DeletePolicyInput) SetPolicyId

func (s *DeletePolicyInput) SetPolicyId(v string) *DeletePolicyInput

SetPolicyId sets the PolicyId field's value.

func (DeletePolicyInput) String

func (s DeletePolicyInput) String() string

String returns the string representation

func (*DeletePolicyInput) Validate

func (s *DeletePolicyInput) Validate() error

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

type DeletePolicyOutput

type DeletePolicyOutput struct {
	// contains filtered or unexported fields
}

func (DeletePolicyOutput) GoString

func (s DeletePolicyOutput) GoString() string

GoString returns the string representation

func (DeletePolicyOutput) String

func (s DeletePolicyOutput) String() string

String returns the string representation

type DeleteProtocolsListInput

type DeleteProtocolsListInput struct {

	// The ID of the protocols list that you want to delete. You can retrieve this
	// ID from PutProtocolsList, ListProtocolsLists, and GetProtocolsLost.
	//
	// ListId is a required field
	ListId *string `min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteProtocolsListInput) GoString

func (s DeleteProtocolsListInput) GoString() string

GoString returns the string representation

func (*DeleteProtocolsListInput) SetListId

SetListId sets the ListId field's value.

func (DeleteProtocolsListInput) String

func (s DeleteProtocolsListInput) String() string

String returns the string representation

func (*DeleteProtocolsListInput) Validate

func (s *DeleteProtocolsListInput) Validate() error

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

type DeleteProtocolsListOutput

type DeleteProtocolsListOutput struct {
	// contains filtered or unexported fields
}

func (DeleteProtocolsListOutput) GoString

func (s DeleteProtocolsListOutput) GoString() string

GoString returns the string representation

func (DeleteProtocolsListOutput) String

func (s DeleteProtocolsListOutput) String() string

String returns the string representation

type DisassociateAdminAccountInput

type DisassociateAdminAccountInput struct {
	// contains filtered or unexported fields
}

func (DisassociateAdminAccountInput) GoString

GoString returns the string representation

func (DisassociateAdminAccountInput) String

String returns the string representation

type DisassociateAdminAccountOutput

type DisassociateAdminAccountOutput struct {
	// contains filtered or unexported fields
}

func (DisassociateAdminAccountOutput) GoString

GoString returns the string representation

func (DisassociateAdminAccountOutput) String

String returns the string representation

type DnsDuplicateRuleGroupViolation

type DnsDuplicateRuleGroupViolation struct {

	// The ID of the VPC.
	ViolationTarget *string `type:"string"`

	// A description of the violation that specifies the rule group and VPC.
	ViolationTargetDescription *string `type:"string"`
	// contains filtered or unexported fields
}

A DNS Firewall rule group that Firewall Manager tried to associate with a VPC is already associated with the VPC and can't be associated again.

func (DnsDuplicateRuleGroupViolation) GoString

GoString returns the string representation

func (*DnsDuplicateRuleGroupViolation) SetViolationTarget

SetViolationTarget sets the ViolationTarget field's value.

func (*DnsDuplicateRuleGroupViolation) SetViolationTargetDescription

func (s *DnsDuplicateRuleGroupViolation) SetViolationTargetDescription(v string) *DnsDuplicateRuleGroupViolation

SetViolationTargetDescription sets the ViolationTargetDescription field's value.

func (DnsDuplicateRuleGroupViolation) String

String returns the string representation

type DnsRuleGroupLimitExceededViolation

type DnsRuleGroupLimitExceededViolation struct {

	// The number of rule groups currently associated with the VPC.
	NumberOfRuleGroupsAlreadyAssociated *int64 `type:"integer"`

	// The ID of the VPC.
	ViolationTarget *string `type:"string"`

	// A description of the violation that specifies the rule group and VPC.
	ViolationTargetDescription *string `type:"string"`
	// contains filtered or unexported fields
}

The VPC that Firewall Manager was applying a DNS Fireall policy to reached the limit for associated DNS Firewall rule groups. Firewall Manager tried to associate another rule group with the VPC and failed due to the limit.

func (DnsRuleGroupLimitExceededViolation) GoString

GoString returns the string representation

func (*DnsRuleGroupLimitExceededViolation) SetNumberOfRuleGroupsAlreadyAssociated

func (s *DnsRuleGroupLimitExceededViolation) SetNumberOfRuleGroupsAlreadyAssociated(v int64) *DnsRuleGroupLimitExceededViolation

SetNumberOfRuleGroupsAlreadyAssociated sets the NumberOfRuleGroupsAlreadyAssociated field's value.

func (*DnsRuleGroupLimitExceededViolation) SetViolationTarget

SetViolationTarget sets the ViolationTarget field's value.

func (*DnsRuleGroupLimitExceededViolation) SetViolationTargetDescription

SetViolationTargetDescription sets the ViolationTargetDescription field's value.

func (DnsRuleGroupLimitExceededViolation) String

String returns the string representation

type DnsRuleGroupPriorityConflictViolation

type DnsRuleGroupPriorityConflictViolation struct {

	// The ID of the Firewall Manager DNS Firewall policy that was already applied
	// to the VPC. This policy contains the rule group that's already associated
	// with the VPC.
	ConflictingPolicyId *string `min:"36" type:"string"`

	// The priority setting of the two conflicting rule groups.
	ConflictingPriority *int64 `type:"integer"`

	// The priorities of rule groups that are already associated with the VPC. To
	// retry your operation, choose priority settings that aren't in this list for
	// the rule groups in your new DNS Firewall policy.
	UnavailablePriorities []*int64 `type:"list"`

	// The ID of the VPC.
	ViolationTarget *string `type:"string"`

	// A description of the violation that specifies the VPC and the rule group
	// that's already associated with it.
	ViolationTargetDescription *string `type:"string"`
	// contains filtered or unexported fields
}

A rule group that Firewall Manager tried to associate with a VPC has the same priority as a rule group that's already associated.

func (DnsRuleGroupPriorityConflictViolation) GoString

GoString returns the string representation

func (*DnsRuleGroupPriorityConflictViolation) SetConflictingPolicyId

SetConflictingPolicyId sets the ConflictingPolicyId field's value.

func (*DnsRuleGroupPriorityConflictViolation) SetConflictingPriority

SetConflictingPriority sets the ConflictingPriority field's value.

func (*DnsRuleGroupPriorityConflictViolation) SetUnavailablePriorities

SetUnavailablePriorities sets the UnavailablePriorities field's value.

func (*DnsRuleGroupPriorityConflictViolation) SetViolationTarget

SetViolationTarget sets the ViolationTarget field's value.

func (*DnsRuleGroupPriorityConflictViolation) SetViolationTargetDescription

SetViolationTargetDescription sets the ViolationTargetDescription field's value.

func (DnsRuleGroupPriorityConflictViolation) String

String returns the string representation

type EvaluationResult

type EvaluationResult struct {

	// Describes an AWS account's compliance with the AWS Firewall Manager policy.
	ComplianceStatus *string `type:"string" enum:"PolicyComplianceStatusType"`

	// Indicates that over 100 resources are noncompliant with the AWS Firewall
	// Manager policy.
	EvaluationLimitExceeded *bool `type:"boolean"`

	// The number of resources that are noncompliant with the specified policy.
	// For AWS WAF and Shield Advanced policies, a resource is considered noncompliant
	// if it is not associated with the policy. For security group policies, a resource
	// is considered noncompliant if it doesn't comply with the rules of the policy
	// and remediation is disabled or not possible.
	ViolatorCount *int64 `type:"long"`
	// contains filtered or unexported fields
}

Describes the compliance status for the account. An account is considered noncompliant if it includes resources that are not protected by the specified policy or that don't comply with the policy.

func (EvaluationResult) GoString

func (s EvaluationResult) GoString() string

GoString returns the string representation

func (*EvaluationResult) SetComplianceStatus

func (s *EvaluationResult) SetComplianceStatus(v string) *EvaluationResult

SetComplianceStatus sets the ComplianceStatus field's value.

func (*EvaluationResult) SetEvaluationLimitExceeded

func (s *EvaluationResult) SetEvaluationLimitExceeded(v bool) *EvaluationResult

SetEvaluationLimitExceeded sets the EvaluationLimitExceeded field's value.

func (*EvaluationResult) SetViolatorCount

func (s *EvaluationResult) SetViolatorCount(v int64) *EvaluationResult

SetViolatorCount sets the ViolatorCount field's value.

func (EvaluationResult) String

func (s EvaluationResult) String() string

String returns the string representation

type FMS

type FMS struct {
	*client.Client
}

FMS provides the API operation methods for making requests to Firewall Management Service. See this package's package overview docs for details on the service.

FMS methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *FMS

New creates a new instance of the FMS client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a FMS client from just a session.
svc := fms.New(mySession)

// Create a FMS client with additional configuration
svc := fms.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*FMS) AssociateAdminAccount

func (c *FMS) AssociateAdminAccount(input *AssociateAdminAccountInput) (*AssociateAdminAccountOutput, error)

AssociateAdminAccount API operation for Firewall Management Service.

Sets the AWS Firewall Manager administrator account. AWS Firewall Manager must be associated with the master account of your AWS organization or associated with a member account that has the appropriate permissions. If the account ID that you submit is not an AWS Organizations master account, AWS Firewall Manager will set the appropriate permissions for the given member account.

The account that you associate with AWS Firewall Manager is called the AWS Firewall Manager administrator account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation AssociateAdminAccount for usage and error information.

Returned Error Types:

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InvalidInputException The parameters of the request were invalid.

  • ResourceNotFoundException The specified resource was not found.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/AssociateAdminAccount

func (*FMS) AssociateAdminAccountRequest

func (c *FMS) AssociateAdminAccountRequest(input *AssociateAdminAccountInput) (req *request.Request, output *AssociateAdminAccountOutput)

AssociateAdminAccountRequest generates a "aws/request.Request" representing the client's request for the AssociateAdminAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateAdminAccount for more information on using the AssociateAdminAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateAdminAccountRequest method.
req, resp := client.AssociateAdminAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/AssociateAdminAccount

func (*FMS) AssociateAdminAccountWithContext

func (c *FMS) AssociateAdminAccountWithContext(ctx aws.Context, input *AssociateAdminAccountInput, opts ...request.Option) (*AssociateAdminAccountOutput, error)

AssociateAdminAccountWithContext is the same as AssociateAdminAccount with the addition of the ability to pass a context and additional request options.

See AssociateAdminAccount for details on how to use this API operation.

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 (*FMS) DeleteAppsList

func (c *FMS) DeleteAppsList(input *DeleteAppsListInput) (*DeleteAppsListOutput, error)

DeleteAppsList API operation for Firewall Management Service.

Permanently deletes an AWS Firewall Manager applications list.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation DeleteAppsList for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeleteAppsList

func (*FMS) DeleteAppsListRequest

func (c *FMS) DeleteAppsListRequest(input *DeleteAppsListInput) (req *request.Request, output *DeleteAppsListOutput)

DeleteAppsListRequest generates a "aws/request.Request" representing the client's request for the DeleteAppsList operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteAppsList for more information on using the DeleteAppsList API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAppsListRequest method.
req, resp := client.DeleteAppsListRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeleteAppsList

func (*FMS) DeleteAppsListWithContext

func (c *FMS) DeleteAppsListWithContext(ctx aws.Context, input *DeleteAppsListInput, opts ...request.Option) (*DeleteAppsListOutput, error)

DeleteAppsListWithContext is the same as DeleteAppsList with the addition of the ability to pass a context and additional request options.

See DeleteAppsList for details on how to use this API operation.

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 (*FMS) DeleteNotificationChannel

func (c *FMS) DeleteNotificationChannel(input *DeleteNotificationChannelInput) (*DeleteNotificationChannelOutput, error)

DeleteNotificationChannel API operation for Firewall Management Service.

Deletes an AWS Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation DeleteNotificationChannel for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeleteNotificationChannel

func (*FMS) DeleteNotificationChannelRequest

func (c *FMS) DeleteNotificationChannelRequest(input *DeleteNotificationChannelInput) (req *request.Request, output *DeleteNotificationChannelOutput)

DeleteNotificationChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteNotificationChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteNotificationChannel for more information on using the DeleteNotificationChannel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteNotificationChannelRequest method.
req, resp := client.DeleteNotificationChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeleteNotificationChannel

func (*FMS) DeleteNotificationChannelWithContext

func (c *FMS) DeleteNotificationChannelWithContext(ctx aws.Context, input *DeleteNotificationChannelInput, opts ...request.Option) (*DeleteNotificationChannelOutput, error)

DeleteNotificationChannelWithContext is the same as DeleteNotificationChannel with the addition of the ability to pass a context and additional request options.

See DeleteNotificationChannel for details on how to use this API operation.

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 (*FMS) DeletePolicy

func (c *FMS) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error)

DeletePolicy API operation for Firewall Management Service.

Permanently deletes an AWS Firewall Manager policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation DeletePolicy for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

  • InvalidInputException The parameters of the request were invalid.

  • LimitExceededException The operation exceeds a resource limit, for example, the maximum number of policy objects that you can create for an AWS account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the AWS WAF Developer Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeletePolicy

func (*FMS) DeletePolicyRequest

func (c *FMS) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Request, output *DeletePolicyOutput)

DeletePolicyRequest generates a "aws/request.Request" representing the client's request for the DeletePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePolicy for more information on using the DeletePolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeletePolicyRequest method.
req, resp := client.DeletePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeletePolicy

func (*FMS) DeletePolicyWithContext

func (c *FMS) DeletePolicyWithContext(ctx aws.Context, input *DeletePolicyInput, opts ...request.Option) (*DeletePolicyOutput, error)

DeletePolicyWithContext is the same as DeletePolicy with the addition of the ability to pass a context and additional request options.

See DeletePolicy for details on how to use this API operation.

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 (*FMS) DeleteProtocolsList

func (c *FMS) DeleteProtocolsList(input *DeleteProtocolsListInput) (*DeleteProtocolsListOutput, error)

DeleteProtocolsList API operation for Firewall Management Service.

Permanently deletes an AWS Firewall Manager protocols list.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation DeleteProtocolsList for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeleteProtocolsList

func (*FMS) DeleteProtocolsListRequest

func (c *FMS) DeleteProtocolsListRequest(input *DeleteProtocolsListInput) (req *request.Request, output *DeleteProtocolsListOutput)

DeleteProtocolsListRequest generates a "aws/request.Request" representing the client's request for the DeleteProtocolsList operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteProtocolsList for more information on using the DeleteProtocolsList API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteProtocolsListRequest method.
req, resp := client.DeleteProtocolsListRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeleteProtocolsList

func (*FMS) DeleteProtocolsListWithContext

func (c *FMS) DeleteProtocolsListWithContext(ctx aws.Context, input *DeleteProtocolsListInput, opts ...request.Option) (*DeleteProtocolsListOutput, error)

DeleteProtocolsListWithContext is the same as DeleteProtocolsList with the addition of the ability to pass a context and additional request options.

See DeleteProtocolsList for details on how to use this API operation.

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 (*FMS) DisassociateAdminAccount

func (c *FMS) DisassociateAdminAccount(input *DisassociateAdminAccountInput) (*DisassociateAdminAccountOutput, error)

DisassociateAdminAccount API operation for Firewall Management Service.

Disassociates the account that has been set as the AWS Firewall Manager administrator account. To set a different account as the administrator account, you must submit an AssociateAdminAccount request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation DisassociateAdminAccount for usage and error information.

Returned Error Types:

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • ResourceNotFoundException The specified resource was not found.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DisassociateAdminAccount

func (*FMS) DisassociateAdminAccountRequest

func (c *FMS) DisassociateAdminAccountRequest(input *DisassociateAdminAccountInput) (req *request.Request, output *DisassociateAdminAccountOutput)

DisassociateAdminAccountRequest generates a "aws/request.Request" representing the client's request for the DisassociateAdminAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateAdminAccount for more information on using the DisassociateAdminAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateAdminAccountRequest method.
req, resp := client.DisassociateAdminAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DisassociateAdminAccount

func (*FMS) DisassociateAdminAccountWithContext

func (c *FMS) DisassociateAdminAccountWithContext(ctx aws.Context, input *DisassociateAdminAccountInput, opts ...request.Option) (*DisassociateAdminAccountOutput, error)

DisassociateAdminAccountWithContext is the same as DisassociateAdminAccount with the addition of the ability to pass a context and additional request options.

See DisassociateAdminAccount for details on how to use this API operation.

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 (*FMS) GetAdminAccount

func (c *FMS) GetAdminAccount(input *GetAdminAccountInput) (*GetAdminAccountOutput, error)

GetAdminAccount API operation for Firewall Management Service.

Returns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall Manager administrator.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation GetAdminAccount for usage and error information.

Returned Error Types:

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • ResourceNotFoundException The specified resource was not found.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetAdminAccount

func (*FMS) GetAdminAccountRequest

func (c *FMS) GetAdminAccountRequest(input *GetAdminAccountInput) (req *request.Request, output *GetAdminAccountOutput)

GetAdminAccountRequest generates a "aws/request.Request" representing the client's request for the GetAdminAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAdminAccount for more information on using the GetAdminAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAdminAccountRequest method.
req, resp := client.GetAdminAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetAdminAccount

func (*FMS) GetAdminAccountWithContext

func (c *FMS) GetAdminAccountWithContext(ctx aws.Context, input *GetAdminAccountInput, opts ...request.Option) (*GetAdminAccountOutput, error)

GetAdminAccountWithContext is the same as GetAdminAccount with the addition of the ability to pass a context and additional request options.

See GetAdminAccount for details on how to use this API operation.

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 (*FMS) GetAppsList

func (c *FMS) GetAppsList(input *GetAppsListInput) (*GetAppsListOutput, error)

GetAppsList API operation for Firewall Management Service.

Returns information about the specified AWS Firewall Manager applications list.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation GetAppsList for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetAppsList

func (*FMS) GetAppsListRequest

func (c *FMS) GetAppsListRequest(input *GetAppsListInput) (req *request.Request, output *GetAppsListOutput)

GetAppsListRequest generates a "aws/request.Request" representing the client's request for the GetAppsList operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAppsList for more information on using the GetAppsList API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAppsListRequest method.
req, resp := client.GetAppsListRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetAppsList

func (*FMS) GetAppsListWithContext

func (c *FMS) GetAppsListWithContext(ctx aws.Context, input *GetAppsListInput, opts ...request.Option) (*GetAppsListOutput, error)

GetAppsListWithContext is the same as GetAppsList with the addition of the ability to pass a context and additional request options.

See GetAppsList for details on how to use this API operation.

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 (*FMS) GetComplianceDetail

func (c *FMS) GetComplianceDetail(input *GetComplianceDetailInput) (*GetComplianceDetailOutput, error)

GetComplianceDetail API operation for Firewall Management Service.

Returns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy. Resources are considered noncompliant for AWS WAF and Shield Advanced policies if the specified policy has not been applied to them. Resources are considered noncompliant for security group policies if they are in scope of the policy, they violate one or more of the policy rules, and remediation is disabled or not possible. Resources are considered noncompliant for Network Firewall policies if a firewall is missing in the VPC, if the firewall endpoint isn't set up in an expected Availability Zone and subnet, if a subnet created by the Firewall Manager doesn't have the expected route table, and for modifications to a firewall policy that violate the Firewall Manager policy's rules.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation GetComplianceDetail for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

  • InvalidInputException The parameters of the request were invalid.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetComplianceDetail

func (*FMS) GetComplianceDetailRequest

func (c *FMS) GetComplianceDetailRequest(input *GetComplianceDetailInput) (req *request.Request, output *GetComplianceDetailOutput)

GetComplianceDetailRequest generates a "aws/request.Request" representing the client's request for the GetComplianceDetail operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetComplianceDetail for more information on using the GetComplianceDetail API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetComplianceDetailRequest method.
req, resp := client.GetComplianceDetailRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetComplianceDetail

func (*FMS) GetComplianceDetailWithContext

func (c *FMS) GetComplianceDetailWithContext(ctx aws.Context, input *GetComplianceDetailInput, opts ...request.Option) (*GetComplianceDetailOutput, error)

GetComplianceDetailWithContext is the same as GetComplianceDetail with the addition of the ability to pass a context and additional request options.

See GetComplianceDetail for details on how to use this API operation.

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 (*FMS) GetNotificationChannel

func (c *FMS) GetNotificationChannel(input *GetNotificationChannelInput) (*GetNotificationChannelOutput, error)

GetNotificationChannel API operation for Firewall Management Service.

Information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation GetNotificationChannel for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetNotificationChannel

func (*FMS) GetNotificationChannelRequest

func (c *FMS) GetNotificationChannelRequest(input *GetNotificationChannelInput) (req *request.Request, output *GetNotificationChannelOutput)

GetNotificationChannelRequest generates a "aws/request.Request" representing the client's request for the GetNotificationChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetNotificationChannel for more information on using the GetNotificationChannel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetNotificationChannelRequest method.
req, resp := client.GetNotificationChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetNotificationChannel

func (*FMS) GetNotificationChannelWithContext

func (c *FMS) GetNotificationChannelWithContext(ctx aws.Context, input *GetNotificationChannelInput, opts ...request.Option) (*GetNotificationChannelOutput, error)

GetNotificationChannelWithContext is the same as GetNotificationChannel with the addition of the ability to pass a context and additional request options.

See GetNotificationChannel for details on how to use this API operation.

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 (*FMS) GetPolicy

func (c *FMS) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error)

GetPolicy API operation for Firewall Management Service.

Returns information about the specified AWS Firewall Manager policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation GetPolicy for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

  • InvalidTypeException The value of the Type parameter is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetPolicy

func (*FMS) GetPolicyRequest

func (c *FMS) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput)

GetPolicyRequest generates a "aws/request.Request" representing the client's request for the GetPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPolicy for more information on using the GetPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPolicyRequest method.
req, resp := client.GetPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetPolicy

func (*FMS) GetPolicyWithContext

func (c *FMS) GetPolicyWithContext(ctx aws.Context, input *GetPolicyInput, opts ...request.Option) (*GetPolicyOutput, error)

GetPolicyWithContext is the same as GetPolicy with the addition of the ability to pass a context and additional request options.

See GetPolicy for details on how to use this API operation.

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 (*FMS) GetProtectionStatus

func (c *FMS) GetProtectionStatus(input *GetProtectionStatusInput) (*GetProtectionStatusOutput, error)

GetProtectionStatus API operation for Firewall Management Service.

If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack. Other policy types are currently unsupported.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation GetProtectionStatus for usage and error information.

Returned Error Types:

  • InvalidInputException The parameters of the request were invalid.

  • ResourceNotFoundException The specified resource was not found.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetProtectionStatus

func (*FMS) GetProtectionStatusRequest

func (c *FMS) GetProtectionStatusRequest(input *GetProtectionStatusInput) (req *request.Request, output *GetProtectionStatusOutput)

GetProtectionStatusRequest generates a "aws/request.Request" representing the client's request for the GetProtectionStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetProtectionStatus for more information on using the GetProtectionStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetProtectionStatusRequest method.
req, resp := client.GetProtectionStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetProtectionStatus

func (*FMS) GetProtectionStatusWithContext

func (c *FMS) GetProtectionStatusWithContext(ctx aws.Context, input *GetProtectionStatusInput, opts ...request.Option) (*GetProtectionStatusOutput, error)

GetProtectionStatusWithContext is the same as GetProtectionStatus with the addition of the ability to pass a context and additional request options.

See GetProtectionStatus for details on how to use this API operation.

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 (*FMS) GetProtocolsList

func (c *FMS) GetProtocolsList(input *GetProtocolsListInput) (*GetProtocolsListOutput, error)

GetProtocolsList API operation for Firewall Management Service.

Returns information about the specified AWS Firewall Manager protocols list.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation GetProtocolsList for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetProtocolsList

func (*FMS) GetProtocolsListRequest

func (c *FMS) GetProtocolsListRequest(input *GetProtocolsListInput) (req *request.Request, output *GetProtocolsListOutput)

GetProtocolsListRequest generates a "aws/request.Request" representing the client's request for the GetProtocolsList operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetProtocolsList for more information on using the GetProtocolsList API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetProtocolsListRequest method.
req, resp := client.GetProtocolsListRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetProtocolsList

func (*FMS) GetProtocolsListWithContext

func (c *FMS) GetProtocolsListWithContext(ctx aws.Context, input *GetProtocolsListInput, opts ...request.Option) (*GetProtocolsListOutput, error)

GetProtocolsListWithContext is the same as GetProtocolsList with the addition of the ability to pass a context and additional request options.

See GetProtocolsList for details on how to use this API operation.

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 (*FMS) GetViolationDetails

func (c *FMS) GetViolationDetails(input *GetViolationDetailsInput) (*GetViolationDetailsOutput, error)

GetViolationDetails API operation for Firewall Management Service.

Retrieves violations for a resource based on the specified AWS Firewall Manager policy and AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation GetViolationDetails for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidInputException The parameters of the request were invalid.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetViolationDetails

func (*FMS) GetViolationDetailsRequest

func (c *FMS) GetViolationDetailsRequest(input *GetViolationDetailsInput) (req *request.Request, output *GetViolationDetailsOutput)

GetViolationDetailsRequest generates a "aws/request.Request" representing the client's request for the GetViolationDetails operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetViolationDetails for more information on using the GetViolationDetails API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetViolationDetailsRequest method.
req, resp := client.GetViolationDetailsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetViolationDetails

func (*FMS) GetViolationDetailsWithContext

func (c *FMS) GetViolationDetailsWithContext(ctx aws.Context, input *GetViolationDetailsInput, opts ...request.Option) (*GetViolationDetailsOutput, error)

GetViolationDetailsWithContext is the same as GetViolationDetails with the addition of the ability to pass a context and additional request options.

See GetViolationDetails for details on how to use this API operation.

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 (*FMS) ListAppsLists

func (c *FMS) ListAppsLists(input *ListAppsListsInput) (*ListAppsListsOutput, error)

ListAppsLists API operation for Firewall Management Service.

Returns an array of AppsListDataSummary objects.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation ListAppsLists for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • LimitExceededException The operation exceeds a resource limit, for example, the maximum number of policy objects that you can create for an AWS account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the AWS WAF Developer Guide.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListAppsLists

func (*FMS) ListAppsListsRequest

func (c *FMS) ListAppsListsRequest(input *ListAppsListsInput) (req *request.Request, output *ListAppsListsOutput)

ListAppsListsRequest generates a "aws/request.Request" representing the client's request for the ListAppsLists operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAppsLists for more information on using the ListAppsLists API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAppsListsRequest method.
req, resp := client.ListAppsListsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListAppsLists

func (*FMS) ListAppsListsWithContext

func (c *FMS) ListAppsListsWithContext(ctx aws.Context, input *ListAppsListsInput, opts ...request.Option) (*ListAppsListsOutput, error)

ListAppsListsWithContext is the same as ListAppsLists with the addition of the ability to pass a context and additional request options.

See ListAppsLists for details on how to use this API operation.

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 (*FMS) ListComplianceStatus

func (c *FMS) ListComplianceStatus(input *ListComplianceStatusInput) (*ListComplianceStatusOutput, error)

ListComplianceStatus API operation for Firewall Management Service.

Returns an array of PolicyComplianceStatus objects. Use PolicyComplianceStatus to get a summary of which member accounts are protected by the specified policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation ListComplianceStatus for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListComplianceStatus

func (*FMS) ListComplianceStatusPages

func (c *FMS) ListComplianceStatusPages(input *ListComplianceStatusInput, fn func(*ListComplianceStatusOutput, bool) bool) error

ListComplianceStatusPages iterates over the pages of a ListComplianceStatus operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListComplianceStatus method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListComplianceStatus operation.
pageNum := 0
err := client.ListComplianceStatusPages(params,
    func(page *fms.ListComplianceStatusOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*FMS) ListComplianceStatusPagesWithContext

func (c *FMS) ListComplianceStatusPagesWithContext(ctx aws.Context, input *ListComplianceStatusInput, fn func(*ListComplianceStatusOutput, bool) bool, opts ...request.Option) error

ListComplianceStatusPagesWithContext same as ListComplianceStatusPages except it takes a Context and allows setting request options on the pages.

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 (*FMS) ListComplianceStatusRequest

func (c *FMS) ListComplianceStatusRequest(input *ListComplianceStatusInput) (req *request.Request, output *ListComplianceStatusOutput)

ListComplianceStatusRequest generates a "aws/request.Request" representing the client's request for the ListComplianceStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListComplianceStatus for more information on using the ListComplianceStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListComplianceStatusRequest method.
req, resp := client.ListComplianceStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListComplianceStatus

func (*FMS) ListComplianceStatusWithContext

func (c *FMS) ListComplianceStatusWithContext(ctx aws.Context, input *ListComplianceStatusInput, opts ...request.Option) (*ListComplianceStatusOutput, error)

ListComplianceStatusWithContext is the same as ListComplianceStatus with the addition of the ability to pass a context and additional request options.

See ListComplianceStatus for details on how to use this API operation.

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 (*FMS) ListMemberAccounts

func (c *FMS) ListMemberAccounts(input *ListMemberAccountsInput) (*ListMemberAccountsOutput, error)

ListMemberAccounts API operation for Firewall Management Service.

Returns a MemberAccounts object that lists the member accounts in the administrator's AWS organization.

The ListMemberAccounts must be submitted by the account that is set as the AWS Firewall Manager administrator.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation ListMemberAccounts for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListMemberAccounts

func (*FMS) ListMemberAccountsPages

func (c *FMS) ListMemberAccountsPages(input *ListMemberAccountsInput, fn func(*ListMemberAccountsOutput, bool) bool) error

ListMemberAccountsPages iterates over the pages of a ListMemberAccounts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListMemberAccounts method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListMemberAccounts operation.
pageNum := 0
err := client.ListMemberAccountsPages(params,
    func(page *fms.ListMemberAccountsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*FMS) ListMemberAccountsPagesWithContext

func (c *FMS) ListMemberAccountsPagesWithContext(ctx aws.Context, input *ListMemberAccountsInput, fn func(*ListMemberAccountsOutput, bool) bool, opts ...request.Option) error

ListMemberAccountsPagesWithContext same as ListMemberAccountsPages except it takes a Context and allows setting request options on the pages.

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 (*FMS) ListMemberAccountsRequest

func (c *FMS) ListMemberAccountsRequest(input *ListMemberAccountsInput) (req *request.Request, output *ListMemberAccountsOutput)

ListMemberAccountsRequest generates a "aws/request.Request" representing the client's request for the ListMemberAccounts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListMemberAccounts for more information on using the ListMemberAccounts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListMemberAccountsRequest method.
req, resp := client.ListMemberAccountsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListMemberAccounts

func (*FMS) ListMemberAccountsWithContext

func (c *FMS) ListMemberAccountsWithContext(ctx aws.Context, input *ListMemberAccountsInput, opts ...request.Option) (*ListMemberAccountsOutput, error)

ListMemberAccountsWithContext is the same as ListMemberAccounts with the addition of the ability to pass a context and additional request options.

See ListMemberAccounts for details on how to use this API operation.

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 (*FMS) ListPolicies

func (c *FMS) ListPolicies(input *ListPoliciesInput) (*ListPoliciesOutput, error)

ListPolicies API operation for Firewall Management Service.

Returns an array of PolicySummary objects.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation ListPolicies for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • LimitExceededException The operation exceeds a resource limit, for example, the maximum number of policy objects that you can create for an AWS account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the AWS WAF Developer Guide.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListPolicies

func (*FMS) ListPoliciesPages

func (c *FMS) ListPoliciesPages(input *ListPoliciesInput, fn func(*ListPoliciesOutput, bool) bool) error

ListPoliciesPages iterates over the pages of a ListPolicies operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPolicies method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPolicies operation.
pageNum := 0
err := client.ListPoliciesPages(params,
    func(page *fms.ListPoliciesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*FMS) ListPoliciesPagesWithContext

func (c *FMS) ListPoliciesPagesWithContext(ctx aws.Context, input *ListPoliciesInput, fn func(*ListPoliciesOutput, bool) bool, opts ...request.Option) error

ListPoliciesPagesWithContext same as ListPoliciesPages except it takes a Context and allows setting request options on the pages.

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 (*FMS) ListPoliciesRequest

func (c *FMS) ListPoliciesRequest(input *ListPoliciesInput) (req *request.Request, output *ListPoliciesOutput)

ListPoliciesRequest generates a "aws/request.Request" representing the client's request for the ListPolicies operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPolicies for more information on using the ListPolicies API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPoliciesRequest method.
req, resp := client.ListPoliciesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListPolicies

func (*FMS) ListPoliciesWithContext

func (c *FMS) ListPoliciesWithContext(ctx aws.Context, input *ListPoliciesInput, opts ...request.Option) (*ListPoliciesOutput, error)

ListPoliciesWithContext is the same as ListPolicies with the addition of the ability to pass a context and additional request options.

See ListPolicies for details on how to use this API operation.

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 (*FMS) ListProtocolsLists

func (c *FMS) ListProtocolsLists(input *ListProtocolsListsInput) (*ListProtocolsListsOutput, error)

ListProtocolsLists API operation for Firewall Management Service.

Returns an array of ProtocolsListDataSummary objects.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation ListProtocolsLists for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListProtocolsLists

func (*FMS) ListProtocolsListsRequest

func (c *FMS) ListProtocolsListsRequest(input *ListProtocolsListsInput) (req *request.Request, output *ListProtocolsListsOutput)

ListProtocolsListsRequest generates a "aws/request.Request" representing the client's request for the ListProtocolsLists operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListProtocolsLists for more information on using the ListProtocolsLists API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListProtocolsListsRequest method.
req, resp := client.ListProtocolsListsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListProtocolsLists

func (*FMS) ListProtocolsListsWithContext

func (c *FMS) ListProtocolsListsWithContext(ctx aws.Context, input *ListProtocolsListsInput, opts ...request.Option) (*ListProtocolsListsOutput, error)

ListProtocolsListsWithContext is the same as ListProtocolsLists with the addition of the ability to pass a context and additional request options.

See ListProtocolsLists for details on how to use this API operation.

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 (*FMS) ListTagsForResource

func (c *FMS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Firewall Management Service.

Retrieves the list of tags for the specified AWS resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

  • InvalidInputException The parameters of the request were invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListTagsForResource

func (*FMS) ListTagsForResourceRequest

func (c *FMS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListTagsForResource

func (*FMS) ListTagsForResourceWithContext

func (c *FMS) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

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 (*FMS) PutAppsList

func (c *FMS) PutAppsList(input *PutAppsListInput) (*PutAppsListOutput, error)

PutAppsList API operation for Firewall Management Service.

Creates an AWS Firewall Manager applications list.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation PutAppsList for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InvalidInputException The parameters of the request were invalid.

  • LimitExceededException The operation exceeds a resource limit, for example, the maximum number of policy objects that you can create for an AWS account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the AWS WAF Developer Guide.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutAppsList

func (*FMS) PutAppsListRequest

func (c *FMS) PutAppsListRequest(input *PutAppsListInput) (req *request.Request, output *PutAppsListOutput)

PutAppsListRequest generates a "aws/request.Request" representing the client's request for the PutAppsList operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutAppsList for more information on using the PutAppsList API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutAppsListRequest method.
req, resp := client.PutAppsListRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutAppsList

func (*FMS) PutAppsListWithContext

func (c *FMS) PutAppsListWithContext(ctx aws.Context, input *PutAppsListInput, opts ...request.Option) (*PutAppsListOutput, error)

PutAppsListWithContext is the same as PutAppsList with the addition of the ability to pass a context and additional request options.

See PutAppsList for details on how to use this API operation.

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 (*FMS) PutNotificationChannel

func (c *FMS) PutNotificationChannel(input *PutNotificationChannelInput) (*PutNotificationChannelOutput, error)

PutNotificationChannel API operation for Firewall Management Service.

Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to record SNS logs.

To perform this action outside of the console, you must configure the SNS topic to allow the Firewall Manager role AWSServiceRoleForFMS to publish SNS logs. For more information, see Firewall Manager required permissions for API actions (https://docs.aws.amazon.com/waf/latest/developerguide/fms-api-permissions-ref.html) in the AWS Firewall Manager Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation PutNotificationChannel for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutNotificationChannel

func (*FMS) PutNotificationChannelRequest

func (c *FMS) PutNotificationChannelRequest(input *PutNotificationChannelInput) (req *request.Request, output *PutNotificationChannelOutput)

PutNotificationChannelRequest generates a "aws/request.Request" representing the client's request for the PutNotificationChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutNotificationChannel for more information on using the PutNotificationChannel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutNotificationChannelRequest method.
req, resp := client.PutNotificationChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutNotificationChannel

func (*FMS) PutNotificationChannelWithContext

func (c *FMS) PutNotificationChannelWithContext(ctx aws.Context, input *PutNotificationChannelInput, opts ...request.Option) (*PutNotificationChannelOutput, error)

PutNotificationChannelWithContext is the same as PutNotificationChannel with the addition of the ability to pass a context and additional request options.

See PutNotificationChannel for details on how to use this API operation.

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 (*FMS) PutPolicy

func (c *FMS) PutPolicy(input *PutPolicyInput) (*PutPolicyOutput, error)

PutPolicy API operation for Firewall Management Service.

Creates an AWS Firewall Manager policy.

Firewall Manager provides the following types of policies:

  • An AWS WAF policy (type WAFV2), which defines rule groups to run first in the corresponding AWS WAF web ACL and rule groups to run last in the web ACL.

  • An AWS WAF Classic policy (type WAF), which defines a rule group.

  • A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources.

  • A security group policy, which manages VPC security groups across your AWS organization.

  • An AWS Network Firewall policy, which provides firewall rules to filter network traffic in specified Amazon VPCs.

Each policy is specific to one of the types. If you want to enforce more than one policy type across accounts, create multiple policies. You can create multiple policies for each type.

You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information about subscribing to Shield Advanced, see CreateSubscription (https://docs.aws.amazon.com/waf/latest/DDOSAPIReference/API_CreateSubscription.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation PutPolicy for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InvalidInputException The parameters of the request were invalid.

  • LimitExceededException The operation exceeds a resource limit, for example, the maximum number of policy objects that you can create for an AWS account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the AWS WAF Developer Guide.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

  • InvalidTypeException The value of the Type parameter is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutPolicy

func (*FMS) PutPolicyRequest

func (c *FMS) PutPolicyRequest(input *PutPolicyInput) (req *request.Request, output *PutPolicyOutput)

PutPolicyRequest generates a "aws/request.Request" representing the client's request for the PutPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutPolicy for more information on using the PutPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutPolicyRequest method.
req, resp := client.PutPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutPolicy

func (*FMS) PutPolicyWithContext

func (c *FMS) PutPolicyWithContext(ctx aws.Context, input *PutPolicyInput, opts ...request.Option) (*PutPolicyOutput, error)

PutPolicyWithContext is the same as PutPolicy with the addition of the ability to pass a context and additional request options.

See PutPolicy for details on how to use this API operation.

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 (*FMS) PutProtocolsList

func (c *FMS) PutProtocolsList(input *PutProtocolsListInput) (*PutProtocolsListOutput, error)

PutProtocolsList API operation for Firewall Management Service.

Creates an AWS Firewall Manager protocols list.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation PutProtocolsList for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InvalidInputException The parameters of the request were invalid.

  • LimitExceededException The operation exceeds a resource limit, for example, the maximum number of policy objects that you can create for an AWS account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the AWS WAF Developer Guide.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutProtocolsList

func (*FMS) PutProtocolsListRequest

func (c *FMS) PutProtocolsListRequest(input *PutProtocolsListInput) (req *request.Request, output *PutProtocolsListOutput)

PutProtocolsListRequest generates a "aws/request.Request" representing the client's request for the PutProtocolsList operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutProtocolsList for more information on using the PutProtocolsList API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutProtocolsListRequest method.
req, resp := client.PutProtocolsListRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutProtocolsList

func (*FMS) PutProtocolsListWithContext

func (c *FMS) PutProtocolsListWithContext(ctx aws.Context, input *PutProtocolsListInput, opts ...request.Option) (*PutProtocolsListOutput, error)

PutProtocolsListWithContext is the same as PutProtocolsList with the addition of the ability to pass a context and additional request options.

See PutProtocolsList for details on how to use this API operation.

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 (*FMS) TagResource

func (c *FMS) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Firewall Management Service.

Adds one or more tags to an AWS resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation TagResource for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

  • InvalidInputException The parameters of the request were invalid.

  • LimitExceededException The operation exceeds a resource limit, for example, the maximum number of policy objects that you can create for an AWS account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the AWS WAF Developer Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/TagResource

func (*FMS) TagResourceRequest

func (c *FMS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/TagResource

func (*FMS) TagResourceWithContext

func (c *FMS) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

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 (*FMS) UntagResource

func (c *FMS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Firewall Management Service.

Removes one or more tags from an AWS resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Firewall Management Service's API operation UntagResource for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource was not found.

  • InvalidOperationException The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

  • InternalErrorException The operation failed because of a system problem, even though the request was valid. Retry your request.

  • InvalidInputException The parameters of the request were invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/UntagResource

func (*FMS) UntagResourceRequest

func (c *FMS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/UntagResource

func (*FMS) UntagResourceWithContext

func (c *FMS) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

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.

type GetAdminAccountInput

type GetAdminAccountInput struct {
	// contains filtered or unexported fields
}

func (GetAdminAccountInput) GoString

func (s GetAdminAccountInput) GoString() string

GoString returns the string representation

func (GetAdminAccountInput) String

func (s GetAdminAccountInput) String() string

String returns the string representation

type GetAdminAccountOutput

type GetAdminAccountOutput struct {

	// The AWS account that is set as the AWS Firewall Manager administrator.
	AdminAccount *string `min:"1" type:"string"`

	// The status of the AWS account that you set as the AWS Firewall Manager administrator.
	RoleStatus *string `type:"string" enum:"AccountRoleStatus"`
	// contains filtered or unexported fields
}

func (GetAdminAccountOutput) GoString

func (s GetAdminAccountOutput) GoString() string

GoString returns the string representation

func (*GetAdminAccountOutput) SetAdminAccount

func (s *GetAdminAccountOutput) SetAdminAccount(v string) *GetAdminAccountOutput

SetAdminAccount sets the AdminAccount field's value.

func (*GetAdminAccountOutput) SetRoleStatus

func (s *GetAdminAccountOutput) SetRoleStatus(v string) *GetAdminAccountOutput

SetRoleStatus sets the RoleStatus field's value.

func (GetAdminAccountOutput) String

func (s GetAdminAccountOutput) String() string

String returns the string representation

type GetAppsListInput

type GetAppsListInput struct {

	// Specifies whether the list to retrieve is a default list owned by AWS Firewall
	// Manager.
	DefaultList *bool `type:"boolean"`

	// The ID of the AWS Firewall Manager applications list that you want the details
	// for.
	//
	// ListId is a required field
	ListId *string `min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAppsListInput) GoString

func (s GetAppsListInput) GoString() string

GoString returns the string representation

func (*GetAppsListInput) SetDefaultList

func (s *GetAppsListInput) SetDefaultList(v bool) *GetAppsListInput

SetDefaultList sets the DefaultList field's value.

func (*GetAppsListInput) SetListId

func (s *GetAppsListInput) SetListId(v string) *GetAppsListInput

SetListId sets the ListId field's value.

func (GetAppsListInput) String

func (s GetAppsListInput) String() string

String returns the string representation

func (*GetAppsListInput) Validate

func (s *GetAppsListInput) Validate() error

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

type GetAppsListOutput

type GetAppsListOutput struct {

	// Information about the specified AWS Firewall Manager applications list.
	AppsList *AppsListData `type:"structure"`

	// The Amazon Resource Name (ARN) of the applications list.
	AppsListArn *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetAppsListOutput) GoString

func (s GetAppsListOutput) GoString() string

GoString returns the string representation

func (*GetAppsListOutput) SetAppsList

func (s *GetAppsListOutput) SetAppsList(v *AppsListData) *GetAppsListOutput

SetAppsList sets the AppsList field's value.

func (*GetAppsListOutput) SetAppsListArn

func (s *GetAppsListOutput) SetAppsListArn(v string) *GetAppsListOutput

SetAppsListArn sets the AppsListArn field's value.

func (GetAppsListOutput) String

func (s GetAppsListOutput) String() string

String returns the string representation

type GetComplianceDetailInput

type GetComplianceDetailInput struct {

	// The AWS account that owns the resources that you want to get the details
	// for.
	//
	// MemberAccount is a required field
	MemberAccount *string `min:"1" type:"string" required:"true"`

	// The ID of the policy that you want to get the details for. PolicyId is returned
	// by PutPolicy and by ListPolicies.
	//
	// PolicyId is a required field
	PolicyId *string `min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetComplianceDetailInput) GoString

func (s GetComplianceDetailInput) GoString() string

GoString returns the string representation

func (*GetComplianceDetailInput) SetMemberAccount

SetMemberAccount sets the MemberAccount field's value.

func (*GetComplianceDetailInput) SetPolicyId

SetPolicyId sets the PolicyId field's value.

func (GetComplianceDetailInput) String

func (s GetComplianceDetailInput) String() string

String returns the string representation

func (*GetComplianceDetailInput) Validate

func (s *GetComplianceDetailInput) Validate() error

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

type GetComplianceDetailOutput

type GetComplianceDetailOutput struct {

	// Information about the resources and the policy that you specified in the
	// GetComplianceDetail request.
	PolicyComplianceDetail *PolicyComplianceDetail `type:"structure"`
	// contains filtered or unexported fields
}

func (GetComplianceDetailOutput) GoString

func (s GetComplianceDetailOutput) GoString() string

GoString returns the string representation

func (*GetComplianceDetailOutput) SetPolicyComplianceDetail

SetPolicyComplianceDetail sets the PolicyComplianceDetail field's value.

func (GetComplianceDetailOutput) String

func (s GetComplianceDetailOutput) String() string

String returns the string representation

type GetNotificationChannelInput

type GetNotificationChannelInput struct {
	// contains filtered or unexported fields
}

func (GetNotificationChannelInput) GoString

func (s GetNotificationChannelInput) GoString() string

GoString returns the string representation

func (GetNotificationChannelInput) String

String returns the string representation

type GetNotificationChannelOutput

type GetNotificationChannelOutput struct {

	// The IAM role that is used by AWS Firewall Manager to record activity to SNS.
	SnsRoleName *string `min:"1" type:"string"`

	// The SNS topic that records AWS Firewall Manager activity.
	SnsTopicArn *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetNotificationChannelOutput) GoString

func (s GetNotificationChannelOutput) GoString() string

GoString returns the string representation

func (*GetNotificationChannelOutput) SetSnsRoleName

SetSnsRoleName sets the SnsRoleName field's value.

func (*GetNotificationChannelOutput) SetSnsTopicArn

SetSnsTopicArn sets the SnsTopicArn field's value.

func (GetNotificationChannelOutput) String

String returns the string representation

type GetPolicyInput

type GetPolicyInput struct {

	// The ID of the AWS Firewall Manager policy that you want the details for.
	//
	// PolicyId is a required field
	PolicyId *string `min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetPolicyInput) GoString

func (s GetPolicyInput) GoString() string

GoString returns the string representation

func (*GetPolicyInput) SetPolicyId

func (s *GetPolicyInput) SetPolicyId(v string) *GetPolicyInput

SetPolicyId sets the PolicyId field's value.

func (GetPolicyInput) String

func (s GetPolicyInput) String() string

String returns the string representation

func (*GetPolicyInput) Validate

func (s *GetPolicyInput) Validate() error

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

type GetPolicyOutput

type GetPolicyOutput struct {

	// Information about the specified AWS Firewall Manager policy.
	Policy *Policy `type:"structure"`

	// The Amazon Resource Name (ARN) of the specified policy.
	PolicyArn *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetPolicyOutput) GoString

func (s GetPolicyOutput) GoString() string

GoString returns the string representation

func (*GetPolicyOutput) SetPolicy

func (s *GetPolicyOutput) SetPolicy(v *Policy) *GetPolicyOutput

SetPolicy sets the Policy field's value.

func (*GetPolicyOutput) SetPolicyArn

func (s *GetPolicyOutput) SetPolicyArn(v string) *GetPolicyOutput

SetPolicyArn sets the PolicyArn field's value.

func (GetPolicyOutput) String

func (s GetPolicyOutput) String() string

String returns the string representation

type GetProtectionStatusInput

type GetProtectionStatusInput struct {

	// The end of the time period to query for the attacks. This is a timestamp
	// type. The request syntax listing indicates a number type because the default
	// used by AWS Firewall Manager is Unix time in seconds. However, any valid
	// timestamp format is allowed.
	EndTime *time.Time `type:"timestamp"`

	// Specifies the number of objects that you want AWS Firewall Manager to return
	// for this request. If you have more objects than the number that you specify
	// for MaxResults, the response includes a NextToken value that you can use
	// to get another batch of objects.
	MaxResults *int64 `min:"1" type:"integer"`

	// The AWS account that is in scope of the policy that you want to get the details
	// for.
	MemberAccountId *string `min:"1" type:"string"`

	// If you specify a value for MaxResults and you have more objects than the
	// number that you specify for MaxResults, AWS Firewall Manager returns a NextToken
	// value in the response, which you can use to retrieve another group of objects.
	// For the second and subsequent GetProtectionStatus requests, specify the value
	// of NextToken from the previous response to get information about another
	// batch of objects.
	NextToken *string `min:"1" type:"string"`

	// The ID of the policy for which you want to get the attack information.
	//
	// PolicyId is a required field
	PolicyId *string `min:"36" type:"string" required:"true"`

	// The start of the time period to query for the attacks. This is a timestamp
	// type. The request syntax listing indicates a number type because the default
	// used by AWS Firewall Manager is Unix time in seconds. However, any valid
	// timestamp format is allowed.
	StartTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

func (GetProtectionStatusInput) GoString

func (s GetProtectionStatusInput) GoString() string

GoString returns the string representation

func (*GetProtectionStatusInput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*GetProtectionStatusInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetProtectionStatusInput) SetMemberAccountId

func (s *GetProtectionStatusInput) SetMemberAccountId(v string) *GetProtectionStatusInput

SetMemberAccountId sets the MemberAccountId field's value.

func (*GetProtectionStatusInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetProtectionStatusInput) SetPolicyId

SetPolicyId sets the PolicyId field's value.

func (*GetProtectionStatusInput) SetStartTime

SetStartTime sets the StartTime field's value.

func (GetProtectionStatusInput) String

func (s GetProtectionStatusInput) String() string

String returns the string representation

func (*GetProtectionStatusInput) Validate

func (s *GetProtectionStatusInput) Validate() error

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

type GetProtectionStatusOutput

type GetProtectionStatusOutput struct {

	// The ID of the AWS Firewall administrator account for this policy.
	AdminAccountId *string `min:"1" type:"string"`

	// Details about the attack, including the following:
	//
	//    * Attack type
	//
	//    * Account ID
	//
	//    * ARN of the resource attacked
	//
	//    * Start time of the attack
	//
	//    * End time of the attack (ongoing attacks will not have an end time)
	//
	// The details are in JSON format.
	Data *string `type:"string"`

	// If you have more objects than the number that you specified for MaxResults
	// in the request, the response includes a NextToken value. To list more objects,
	// submit another GetProtectionStatus request, and specify the NextToken value
	// from the response in the NextToken value in the next request.
	//
	// AWS SDKs provide auto-pagination that identify NextToken in a response and
	// make subsequent request calls automatically on your behalf. However, this
	// feature is not supported by GetProtectionStatus. You must submit subsequent
	// requests with NextToken using your own processes.
	NextToken *string `min:"1" type:"string"`

	// The service type that is protected by the policy. Currently, this is always
	// SHIELD_ADVANCED.
	ServiceType *string `type:"string" enum:"SecurityServiceType"`
	// contains filtered or unexported fields
}

func (GetProtectionStatusOutput) GoString

func (s GetProtectionStatusOutput) GoString() string

GoString returns the string representation

func (*GetProtectionStatusOutput) SetAdminAccountId

SetAdminAccountId sets the AdminAccountId field's value.

func (*GetProtectionStatusOutput) SetData

SetData sets the Data field's value.

func (*GetProtectionStatusOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetProtectionStatusOutput) SetServiceType

SetServiceType sets the ServiceType field's value.

func (GetProtectionStatusOutput) String

func (s GetProtectionStatusOutput) String() string

String returns the string representation

type GetProtocolsListInput

type GetProtocolsListInput struct {

	// Specifies whether the list to retrieve is a default list owned by AWS Firewall
	// Manager.
	DefaultList *bool `type:"boolean"`

	// The ID of the AWS Firewall Manager protocols list that you want the details
	// for.
	//
	// ListId is a required field
	ListId *string `min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetProtocolsListInput) GoString

func (s GetProtocolsListInput) GoString() string

GoString returns the string representation

func (*GetProtocolsListInput) SetDefaultList

func (s *GetProtocolsListInput) SetDefaultList(v bool) *GetProtocolsListInput

SetDefaultList sets the DefaultList field's value.

func (*GetProtocolsListInput) SetListId

SetListId sets the ListId field's value.

func (GetProtocolsListInput) String

func (s GetProtocolsListInput) String() string

String returns the string representation

func (*GetProtocolsListInput) Validate

func (s *GetProtocolsListInput) Validate() error

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

type GetProtocolsListOutput

type GetProtocolsListOutput struct {

	// Information about the specified AWS Firewall Manager protocols list.
	ProtocolsList *ProtocolsListData `type:"structure"`

	// The Amazon Resource Name (ARN) of the specified protocols list.
	ProtocolsListArn *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetProtocolsListOutput) GoString

func (s GetProtocolsListOutput) GoString() string

GoString returns the string representation

func (*GetProtocolsListOutput) SetProtocolsList

SetProtocolsList sets the ProtocolsList field's value.

func (*GetProtocolsListOutput) SetProtocolsListArn

func (s *GetProtocolsListOutput) SetProtocolsListArn(v string) *GetProtocolsListOutput

SetProtocolsListArn sets the ProtocolsListArn field's value.

func (GetProtocolsListOutput) String

func (s GetProtocolsListOutput) String() string

String returns the string representation

type GetViolationDetailsInput

type GetViolationDetailsInput struct {

	// The AWS account ID that you want the details for.
	//
	// MemberAccount is a required field
	MemberAccount *string `min:"1" type:"string" required:"true"`

	// The ID of the AWS Firewall Manager policy that you want the details for.
	// This currently only supports security group content audit policies.
	//
	// PolicyId is a required field
	PolicyId *string `min:"36" type:"string" required:"true"`

	// The ID of the resource that has violations.
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`

	// The resource type. This is in the format shown in the AWS Resource Types
	// Reference (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html).
	// Supported resource types are: AWS::EC2::Instance, AWS::EC2::NetworkInterface,
	// AWS::EC2::SecurityGroup, AWS::NetworkFirewall::FirewallPolicy, and AWS::EC2::Subnet.
	//
	// ResourceType is a required field
	ResourceType *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetViolationDetailsInput) GoString

func (s GetViolationDetailsInput) GoString() string

GoString returns the string representation

func (*GetViolationDetailsInput) SetMemberAccount

SetMemberAccount sets the MemberAccount field's value.

func (*GetViolationDetailsInput) SetPolicyId

SetPolicyId sets the PolicyId field's value.

func (*GetViolationDetailsInput) SetResourceId

SetResourceId sets the ResourceId field's value.

func (*GetViolationDetailsInput) SetResourceType

SetResourceType sets the ResourceType field's value.

func (GetViolationDetailsInput) String

func (s GetViolationDetailsInput) String() string

String returns the string representation

func (*GetViolationDetailsInput) Validate

func (s *GetViolationDetailsInput) Validate() error

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

type GetViolationDetailsOutput

type GetViolationDetailsOutput struct {

	// Violation detail for a resource.
	ViolationDetail *ViolationDetail `type:"structure"`
	// contains filtered or unexported fields
}

func (GetViolationDetailsOutput) GoString

func (s GetViolationDetailsOutput) GoString() string

GoString returns the string representation

func (*GetViolationDetailsOutput) SetViolationDetail

SetViolationDetail sets the ViolationDetail field's value.

func (GetViolationDetailsOutput) String

func (s GetViolationDetailsOutput) String() string

String returns the string representation

type InternalErrorException

type InternalErrorException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The operation failed because of a system problem, even though the request was valid. Retry your request.

func (*InternalErrorException) Code

func (s *InternalErrorException) Code() string

Code returns the exception type name.

func (*InternalErrorException) Error

func (s *InternalErrorException) Error() string

func (InternalErrorException) GoString

func (s InternalErrorException) GoString() string

GoString returns the string representation

func (*InternalErrorException) Message

func (s *InternalErrorException) Message() string

Message returns the exception's message.

func (*InternalErrorException) OrigErr

func (s *InternalErrorException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalErrorException) RequestID

func (s *InternalErrorException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalErrorException) StatusCode

func (s *InternalErrorException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalErrorException) String

func (s InternalErrorException) String() string

String returns the string representation

type InvalidInputException

type InvalidInputException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The parameters of the request were invalid.

func (*InvalidInputException) Code

func (s *InvalidInputException) Code() string

Code returns the exception type name.

func (*InvalidInputException) Error

func (s *InvalidInputException) Error() string

func (InvalidInputException) GoString

func (s InvalidInputException) GoString() string

GoString returns the string representation

func (*InvalidInputException) Message

func (s *InvalidInputException) Message() string

Message returns the exception's message.

func (*InvalidInputException) OrigErr

func (s *InvalidInputException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidInputException) RequestID

func (s *InvalidInputException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidInputException) StatusCode

func (s *InvalidInputException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidInputException) String

func (s InvalidInputException) String() string

String returns the string representation

type InvalidOperationException

type InvalidOperationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the AWS Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for AWS Organizations before you can access it.

func (*InvalidOperationException) Code

Code returns the exception type name.

func (*InvalidOperationException) Error

func (s *InvalidOperationException) Error() string

func (InvalidOperationException) GoString

func (s InvalidOperationException) GoString() string

GoString returns the string representation

func (*InvalidOperationException) Message

func (s *InvalidOperationException) Message() string

Message returns the exception's message.

func (*InvalidOperationException) OrigErr

func (s *InvalidOperationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidOperationException) RequestID

func (s *InvalidOperationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidOperationException) StatusCode

func (s *InvalidOperationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidOperationException) String

func (s InvalidOperationException) String() string

String returns the string representation

type InvalidTypeException

type InvalidTypeException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The value of the Type parameter is invalid.

func (*InvalidTypeException) Code

func (s *InvalidTypeException) Code() string

Code returns the exception type name.

func (*InvalidTypeException) Error

func (s *InvalidTypeException) Error() string

func (InvalidTypeException) GoString

func (s InvalidTypeException) GoString() string

GoString returns the string representation

func (*InvalidTypeException) Message

func (s *InvalidTypeException) Message() string

Message returns the exception's message.

func (*InvalidTypeException) OrigErr

func (s *InvalidTypeException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidTypeException) RequestID

func (s *InvalidTypeException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidTypeException) StatusCode

func (s *InvalidTypeException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidTypeException) String

func (s InvalidTypeException) String() string

String returns the string representation

type LimitExceededException

type LimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The operation exceeds a resource limit, for example, the maximum number of policy objects that you can create for an AWS account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the AWS WAF Developer Guide.

func (*LimitExceededException) Code

func (s *LimitExceededException) Code() string

Code returns the exception type name.

func (*LimitExceededException) Error

func (s *LimitExceededException) Error() string

func (LimitExceededException) GoString

func (s LimitExceededException) GoString() string

GoString returns the string representation

func (*LimitExceededException) Message

func (s *LimitExceededException) Message() string

Message returns the exception's message.

func (*LimitExceededException) OrigErr

func (s *LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LimitExceededException) RequestID

func (s *LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LimitExceededException) StatusCode

func (s *LimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LimitExceededException) String

func (s LimitExceededException) String() string

String returns the string representation

type ListAppsListsInput

type ListAppsListsInput struct {

	// Specifies whether the lists to retrieve are default lists owned by AWS Firewall
	// Manager.
	DefaultLists *bool `type:"boolean"`

	// The maximum number of objects that you want AWS Firewall Manager to return
	// for this request. If more objects are available, in the response, AWS Firewall
	// Manager provides a NextToken value that you can use in a subsequent call
	// to get the next batch of objects.
	//
	// If you don't specify this, AWS Firewall Manager returns all available objects.
	//
	// MaxResults is a required field
	MaxResults *int64 `min:"1" type:"integer" required:"true"`

	// If you specify a value for MaxResults in your list request, and you have
	// more objects than the maximum, AWS Firewall Manager returns this token in
	// the response. For all but the first request, you provide the token returned
	// by the prior request in the request parameters, to retrieve the next batch
	// of objects.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListAppsListsInput) GoString

func (s ListAppsListsInput) GoString() string

GoString returns the string representation

func (*ListAppsListsInput) SetDefaultLists

func (s *ListAppsListsInput) SetDefaultLists(v bool) *ListAppsListsInput

SetDefaultLists sets the DefaultLists field's value.

func (*ListAppsListsInput) SetMaxResults

func (s *ListAppsListsInput) SetMaxResults(v int64) *ListAppsListsInput

SetMaxResults sets the MaxResults field's value.

func (*ListAppsListsInput) SetNextToken

func (s *ListAppsListsInput) SetNextToken(v string) *ListAppsListsInput

SetNextToken sets the NextToken field's value.

func (ListAppsListsInput) String

func (s ListAppsListsInput) String() string

String returns the string representation

func (*ListAppsListsInput) Validate

func (s *ListAppsListsInput) Validate() error

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

type ListAppsListsOutput

type ListAppsListsOutput struct {

	// An array of AppsListDataSummary objects.
	AppsLists []*AppsListDataSummary `type:"list"`

	// If you specify a value for MaxResults in your list request, and you have
	// more objects than the maximum, AWS Firewall Manager returns this token in
	// the response. You can use this token in subsequent requests to retrieve the
	// next batch of objects.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListAppsListsOutput) GoString

func (s ListAppsListsOutput) GoString() string

GoString returns the string representation

func (*ListAppsListsOutput) SetAppsLists

SetAppsLists sets the AppsLists field's value.

func (*ListAppsListsOutput) SetNextToken

func (s *ListAppsListsOutput) SetNextToken(v string) *ListAppsListsOutput

SetNextToken sets the NextToken field's value.

func (ListAppsListsOutput) String

func (s ListAppsListsOutput) String() string

String returns the string representation

type ListComplianceStatusInput

type ListComplianceStatusInput struct {

	// Specifies the number of PolicyComplianceStatus objects that you want AWS
	// Firewall Manager to return for this request. If you have more PolicyComplianceStatus
	// objects than the number that you specify for MaxResults, the response includes
	// a NextToken value that you can use to get another batch of PolicyComplianceStatus
	// objects.
	MaxResults *int64 `min:"1" type:"integer"`

	// If you specify a value for MaxResults and you have more PolicyComplianceStatus
	// objects than the number that you specify for MaxResults, AWS Firewall Manager
	// returns a NextToken value in the response that allows you to list another
	// group of PolicyComplianceStatus objects. For the second and subsequent ListComplianceStatus
	// requests, specify the value of NextToken from the previous response to get
	// information about another batch of PolicyComplianceStatus objects.
	NextToken *string `min:"1" type:"string"`

	// The ID of the AWS Firewall Manager policy that you want the details for.
	//
	// PolicyId is a required field
	PolicyId *string `min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListComplianceStatusInput) GoString

func (s ListComplianceStatusInput) GoString() string

GoString returns the string representation

func (*ListComplianceStatusInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListComplianceStatusInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListComplianceStatusInput) SetPolicyId

SetPolicyId sets the PolicyId field's value.

func (ListComplianceStatusInput) String

func (s ListComplianceStatusInput) String() string

String returns the string representation

func (*ListComplianceStatusInput) Validate

func (s *ListComplianceStatusInput) Validate() error

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

type ListComplianceStatusOutput

type ListComplianceStatusOutput struct {

	// If you have more PolicyComplianceStatus objects than the number that you
	// specified for MaxResults in the request, the response includes a NextToken
	// value. To list more PolicyComplianceStatus objects, submit another ListComplianceStatus
	// request, and specify the NextToken value from the response in the NextToken
	// value in the next request.
	NextToken *string `min:"1" type:"string"`

	// An array of PolicyComplianceStatus objects.
	PolicyComplianceStatusList []*PolicyComplianceStatus `type:"list"`
	// contains filtered or unexported fields
}

func (ListComplianceStatusOutput) GoString

func (s ListComplianceStatusOutput) GoString() string

GoString returns the string representation

func (*ListComplianceStatusOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListComplianceStatusOutput) SetPolicyComplianceStatusList

func (s *ListComplianceStatusOutput) SetPolicyComplianceStatusList(v []*PolicyComplianceStatus) *ListComplianceStatusOutput

SetPolicyComplianceStatusList sets the PolicyComplianceStatusList field's value.

func (ListComplianceStatusOutput) String

String returns the string representation

type ListMemberAccountsInput

type ListMemberAccountsInput struct {

	// Specifies the number of member account IDs that you want AWS Firewall Manager
	// to return for this request. If you have more IDs than the number that you
	// specify for MaxResults, the response includes a NextToken value that you
	// can use to get another batch of member account IDs.
	MaxResults *int64 `min:"1" type:"integer"`

	// If you specify a value for MaxResults and you have more account IDs than
	// the number that you specify for MaxResults, AWS Firewall Manager returns
	// a NextToken value in the response that allows you to list another group of
	// IDs. For the second and subsequent ListMemberAccountsRequest requests, specify
	// the value of NextToken from the previous response to get information about
	// another batch of member account IDs.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListMemberAccountsInput) GoString

func (s ListMemberAccountsInput) GoString() string

GoString returns the string representation

func (*ListMemberAccountsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListMemberAccountsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListMemberAccountsInput) String

func (s ListMemberAccountsInput) String() string

String returns the string representation

func (*ListMemberAccountsInput) Validate

func (s *ListMemberAccountsInput) Validate() error

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

type ListMemberAccountsOutput

type ListMemberAccountsOutput struct {

	// An array of account IDs.
	MemberAccounts []*string `type:"list"`

	// If you have more member account IDs than the number that you specified for
	// MaxResults in the request, the response includes a NextToken value. To list
	// more IDs, submit another ListMemberAccounts request, and specify the NextToken
	// value from the response in the NextToken value in the next request.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListMemberAccountsOutput) GoString

func (s ListMemberAccountsOutput) GoString() string

GoString returns the string representation

func (*ListMemberAccountsOutput) SetMemberAccounts

func (s *ListMemberAccountsOutput) SetMemberAccounts(v []*string) *ListMemberAccountsOutput

SetMemberAccounts sets the MemberAccounts field's value.

func (*ListMemberAccountsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListMemberAccountsOutput) String

func (s ListMemberAccountsOutput) String() string

String returns the string representation

type ListPoliciesInput

type ListPoliciesInput struct {

	// Specifies the number of PolicySummary objects that you want AWS Firewall
	// Manager to return for this request. If you have more PolicySummary objects
	// than the number that you specify for MaxResults, the response includes a
	// NextToken value that you can use to get another batch of PolicySummary objects.
	MaxResults *int64 `min:"1" type:"integer"`

	// If you specify a value for MaxResults and you have more PolicySummary objects
	// than the number that you specify for MaxResults, AWS Firewall Manager returns
	// a NextToken value in the response that allows you to list another group of
	// PolicySummary objects. For the second and subsequent ListPolicies requests,
	// specify the value of NextToken from the previous response to get information
	// about another batch of PolicySummary objects.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListPoliciesInput) GoString

func (s ListPoliciesInput) GoString() string

GoString returns the string representation

func (*ListPoliciesInput) SetMaxResults

func (s *ListPoliciesInput) SetMaxResults(v int64) *ListPoliciesInput

SetMaxResults sets the MaxResults field's value.

func (*ListPoliciesInput) SetNextToken

func (s *ListPoliciesInput) SetNextToken(v string) *ListPoliciesInput

SetNextToken sets the NextToken field's value.

func (ListPoliciesInput) String

func (s ListPoliciesInput) String() string

String returns the string representation

func (*ListPoliciesInput) Validate

func (s *ListPoliciesInput) Validate() error

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

type ListPoliciesOutput

type ListPoliciesOutput struct {

	// If you have more PolicySummary objects than the number that you specified
	// for MaxResults in the request, the response includes a NextToken value. To
	// list more PolicySummary objects, submit another ListPolicies request, and
	// specify the NextToken value from the response in the NextToken value in the
	// next request.
	NextToken *string `min:"1" type:"string"`

	// An array of PolicySummary objects.
	PolicyList []*PolicySummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListPoliciesOutput) GoString

func (s ListPoliciesOutput) GoString() string

GoString returns the string representation

func (*ListPoliciesOutput) SetNextToken

func (s *ListPoliciesOutput) SetNextToken(v string) *ListPoliciesOutput

SetNextToken sets the NextToken field's value.

func (*ListPoliciesOutput) SetPolicyList

func (s *ListPoliciesOutput) SetPolicyList(v []*PolicySummary) *ListPoliciesOutput

SetPolicyList sets the PolicyList field's value.

func (ListPoliciesOutput) String

func (s ListPoliciesOutput) String() string

String returns the string representation

type ListProtocolsListsInput

type ListProtocolsListsInput struct {

	// Specifies whether the lists to retrieve are default lists owned by AWS Firewall
	// Manager.
	DefaultLists *bool `type:"boolean"`

	// The maximum number of objects that you want AWS Firewall Manager to return
	// for this request. If more objects are available, in the response, AWS Firewall
	// Manager provides a NextToken value that you can use in a subsequent call
	// to get the next batch of objects.
	//
	// If you don't specify this, AWS Firewall Manager returns all available objects.
	//
	// MaxResults is a required field
	MaxResults *int64 `min:"1" type:"integer" required:"true"`

	// If you specify a value for MaxResults in your list request, and you have
	// more objects than the maximum, AWS Firewall Manager returns this token in
	// the response. For all but the first request, you provide the token returned
	// by the prior request in the request parameters, to retrieve the next batch
	// of objects.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListProtocolsListsInput) GoString

func (s ListProtocolsListsInput) GoString() string

GoString returns the string representation

func (*ListProtocolsListsInput) SetDefaultLists

func (s *ListProtocolsListsInput) SetDefaultLists(v bool) *ListProtocolsListsInput

SetDefaultLists sets the DefaultLists field's value.

func (*ListProtocolsListsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListProtocolsListsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListProtocolsListsInput) String

func (s ListProtocolsListsInput) String() string

String returns the string representation

func (*ListProtocolsListsInput) Validate

func (s *ListProtocolsListsInput) Validate() error

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

type ListProtocolsListsOutput

type ListProtocolsListsOutput struct {

	// If you specify a value for MaxResults in your list request, and you have
	// more objects than the maximum, AWS Firewall Manager returns this token in
	// the response. You can use this token in subsequent requests to retrieve the
	// next batch of objects.
	NextToken *string `min:"1" type:"string"`

	// An array of ProtocolsListDataSummary objects.
	ProtocolsLists []*ProtocolsListDataSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListProtocolsListsOutput) GoString

func (s ListProtocolsListsOutput) GoString() string

GoString returns the string representation

func (*ListProtocolsListsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListProtocolsListsOutput) SetProtocolsLists

SetProtocolsLists sets the ProtocolsLists field's value.

func (ListProtocolsListsOutput) String

func (s ListProtocolsListsOutput) String() string

String returns the string representation

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to return tags for. The AWS
	// Firewall Manager resources that support tagging are policies, applications
	// lists, and protocols lists.
	//
	// ResourceArn is a required field
	ResourceArn *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The tags associated with the resource.
	TagList []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTagList

SetTagList sets the TagList field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type NetworkFirewallMissingExpectedRTViolation

type NetworkFirewallMissingExpectedRTViolation struct {

	// The Availability Zone of a violating subnet.
	AvailabilityZone *string `type:"string"`

	// The resource ID of the current route table that's associated with the subnet,
	// if one is available.
	CurrentRouteTable *string `min:"1" type:"string"`

	// The resource ID of the route table that should be associated with the subnet.
	ExpectedRouteTable *string `min:"1" type:"string"`

	// The resource ID of the VPC associated with a violating subnet.
	VPC *string `min:"1" type:"string"`

	// The ID of the AWS Network Firewall or VPC resource that's in violation.
	ViolationTarget *string `type:"string"`
	// contains filtered or unexported fields
}

Violation details for AWS Network Firewall for a subnet that's not associated to the expected Firewall Manager managed route table.

func (NetworkFirewallMissingExpectedRTViolation) GoString

GoString returns the string representation

func (*NetworkFirewallMissingExpectedRTViolation) SetAvailabilityZone

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*NetworkFirewallMissingExpectedRTViolation) SetCurrentRouteTable

SetCurrentRouteTable sets the CurrentRouteTable field's value.

func (*NetworkFirewallMissingExpectedRTViolation) SetExpectedRouteTable

SetExpectedRouteTable sets the ExpectedRouteTable field's value.

func (*NetworkFirewallMissingExpectedRTViolation) SetVPC

SetVPC sets the VPC field's value.

func (*NetworkFirewallMissingExpectedRTViolation) SetViolationTarget

SetViolationTarget sets the ViolationTarget field's value.

func (NetworkFirewallMissingExpectedRTViolation) String

String returns the string representation

type NetworkFirewallMissingFirewallViolation

type NetworkFirewallMissingFirewallViolation struct {

	// The Availability Zone of a violating subnet.
	AvailabilityZone *string `type:"string"`

	// The reason the resource has this violation, if one is available.
	TargetViolationReason *string `type:"string"`

	// The resource ID of the VPC associated with a violating subnet.
	VPC *string `min:"1" type:"string"`

	// The ID of the AWS Network Firewall or VPC resource that's in violation.
	ViolationTarget *string `type:"string"`
	// contains filtered or unexported fields
}

Violation details for AWS Network Firewall for a subnet that doesn't have a Firewall Manager managed firewall in its VPC.

func (NetworkFirewallMissingFirewallViolation) GoString

GoString returns the string representation

func (*NetworkFirewallMissingFirewallViolation) SetAvailabilityZone

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*NetworkFirewallMissingFirewallViolation) SetTargetViolationReason

SetTargetViolationReason sets the TargetViolationReason field's value.

func (*NetworkFirewallMissingFirewallViolation) SetVPC

SetVPC sets the VPC field's value.

func (*NetworkFirewallMissingFirewallViolation) SetViolationTarget

SetViolationTarget sets the ViolationTarget field's value.

func (NetworkFirewallMissingFirewallViolation) String

String returns the string representation

type NetworkFirewallMissingSubnetViolation

type NetworkFirewallMissingSubnetViolation struct {

	// The Availability Zone of a violating subnet.
	AvailabilityZone *string `type:"string"`

	// The reason the resource has this violation, if one is available.
	TargetViolationReason *string `type:"string"`

	// The resource ID of the VPC associated with a violating subnet.
	VPC *string `min:"1" type:"string"`

	// The ID of the AWS Network Firewall or VPC resource that's in violation.
	ViolationTarget *string `type:"string"`
	// contains filtered or unexported fields
}

Violation details for AWS Network Firewall for an Availability Zone that's missing the expected Firewall Manager managed subnet.

func (NetworkFirewallMissingSubnetViolation) GoString

GoString returns the string representation

func (*NetworkFirewallMissingSubnetViolation) SetAvailabilityZone

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*NetworkFirewallMissingSubnetViolation) SetTargetViolationReason

SetTargetViolationReason sets the TargetViolationReason field's value.

func (*NetworkFirewallMissingSubnetViolation) SetVPC

SetVPC sets the VPC field's value.

func (*NetworkFirewallMissingSubnetViolation) SetViolationTarget

SetViolationTarget sets the ViolationTarget field's value.

func (NetworkFirewallMissingSubnetViolation) String

String returns the string representation

type NetworkFirewallPolicyDescription

type NetworkFirewallPolicyDescription struct {

	// The stateful rule groups that are used in the Network Firewall firewall policy.
	StatefulRuleGroups []*StatefulRuleGroup `type:"list"`

	// Names of custom actions that are available for use in the stateless default
	// actions settings.
	StatelessCustomActions []*string `type:"list"`

	// The actions to take on packets that don't match any of the stateless rule
	// groups.
	StatelessDefaultActions []*string `type:"list"`

	// The actions to take on packet fragments that don't match any of the stateless
	// rule groups.
	StatelessFragmentDefaultActions []*string `type:"list"`

	// The stateless rule groups that are used in the Network Firewall firewall
	// policy.
	StatelessRuleGroups []*StatelessRuleGroup `type:"list"`
	// contains filtered or unexported fields
}

The definition of the AWS Network Firewall firewall policy.

func (NetworkFirewallPolicyDescription) GoString

GoString returns the string representation

func (*NetworkFirewallPolicyDescription) SetStatefulRuleGroups

SetStatefulRuleGroups sets the StatefulRuleGroups field's value.

func (*NetworkFirewallPolicyDescription) SetStatelessCustomActions

func (s *NetworkFirewallPolicyDescription) SetStatelessCustomActions(v []*string) *NetworkFirewallPolicyDescription

SetStatelessCustomActions sets the StatelessCustomActions field's value.

func (*NetworkFirewallPolicyDescription) SetStatelessDefaultActions

func (s *NetworkFirewallPolicyDescription) SetStatelessDefaultActions(v []*string) *NetworkFirewallPolicyDescription

SetStatelessDefaultActions sets the StatelessDefaultActions field's value.

func (*NetworkFirewallPolicyDescription) SetStatelessFragmentDefaultActions

func (s *NetworkFirewallPolicyDescription) SetStatelessFragmentDefaultActions(v []*string) *NetworkFirewallPolicyDescription

SetStatelessFragmentDefaultActions sets the StatelessFragmentDefaultActions field's value.

func (*NetworkFirewallPolicyDescription) SetStatelessRuleGroups

SetStatelessRuleGroups sets the StatelessRuleGroups field's value.

func (NetworkFirewallPolicyDescription) String

String returns the string representation

type NetworkFirewallPolicyModifiedViolation

type NetworkFirewallPolicyModifiedViolation struct {

	// The policy that's currently in use in the individual account.
	CurrentPolicyDescription *NetworkFirewallPolicyDescription `type:"structure"`

	// The policy that should be in use in the individual account in order to be
	// compliant.
	ExpectedPolicyDescription *NetworkFirewallPolicyDescription `type:"structure"`

	// The ID of the AWS Network Firewall or VPC resource that's in violation.
	ViolationTarget *string `type:"string"`
	// contains filtered or unexported fields
}

Violation details for AWS Network Firewall for a firewall policy that has a different NetworkFirewallPolicyDescription than is required by the Firewall Manager policy.

func (NetworkFirewallPolicyModifiedViolation) GoString

GoString returns the string representation

func (*NetworkFirewallPolicyModifiedViolation) SetCurrentPolicyDescription

SetCurrentPolicyDescription sets the CurrentPolicyDescription field's value.

func (*NetworkFirewallPolicyModifiedViolation) SetExpectedPolicyDescription

SetExpectedPolicyDescription sets the ExpectedPolicyDescription field's value.

func (*NetworkFirewallPolicyModifiedViolation) SetViolationTarget

SetViolationTarget sets the ViolationTarget field's value.

func (NetworkFirewallPolicyModifiedViolation) String

String returns the string representation

type PartialMatch

type PartialMatch struct {

	// The reference rule from the master security group of the AWS Firewall Manager
	// policy.
	Reference *string `type:"string"`

	// The violation reason.
	TargetViolationReasons []*string `type:"list"`
	// contains filtered or unexported fields
}

The reference rule that partially matches the ViolationTarget rule and violation reason.

func (PartialMatch) GoString

func (s PartialMatch) GoString() string

GoString returns the string representation

func (*PartialMatch) SetReference

func (s *PartialMatch) SetReference(v string) *PartialMatch

SetReference sets the Reference field's value.

func (*PartialMatch) SetTargetViolationReasons

func (s *PartialMatch) SetTargetViolationReasons(v []*string) *PartialMatch

SetTargetViolationReasons sets the TargetViolationReasons field's value.

func (PartialMatch) String

func (s PartialMatch) String() string

String returns the string representation

type Policy

type Policy struct {

	// Specifies the AWS account IDs and AWS Organizations organizational units
	// (OUs) to exclude from the policy. Specifying an OU is the equivalent of specifying
	// all accounts in the OU and in any of its child OUs, including any child OUs
	// and accounts that are added at a later time.
	//
	// You can specify inclusions or exclusions, but not both. If you specify an
	// IncludeMap, AWS Firewall Manager applies the policy to all accounts specified
	// by the IncludeMap, and does not evaluate any ExcludeMap specifications. If
	// you do not specify an IncludeMap, then Firewall Manager applies the policy
	// to all accounts except for those specified by the ExcludeMap.
	//
	// You can specify account IDs, OUs, or a combination:
	//
	//    * Specify account IDs by setting the key to ACCOUNT. For example, the
	//    following is a valid map: {“ACCOUNT” : [“accountID1”, “accountID2”]}.
	//
	//    * Specify OUs by setting the key to ORG_UNIT. For example, the following
	//    is a valid map: {“ORG_UNIT” : [“ouid111”, “ouid112”]}.
	//
	//    * Specify accounts and OUs together in a single map, separated with a
	//    comma. For example, the following is a valid map: {“ACCOUNT” : [“accountID1”,
	//    “accountID2”], “ORG_UNIT” : [“ouid111”, “ouid112”]}.
	ExcludeMap map[string][]*string `type:"map"`

	// If set to True, resources with the tags that are specified in the ResourceTag
	// array are not in scope of the policy. If set to False, and the ResourceTag
	// array is not null, only resources with the specified tags are in scope of
	// the policy.
	//
	// ExcludeResourceTags is a required field
	ExcludeResourceTags *bool `type:"boolean" required:"true"`

	// Specifies the AWS account IDs and AWS Organizations organizational units
	// (OUs) to include in the policy. Specifying an OU is the equivalent of specifying
	// all accounts in the OU and in any of its child OUs, including any child OUs
	// and accounts that are added at a later time.
	//
	// You can specify inclusions or exclusions, but not both. If you specify an
	// IncludeMap, AWS Firewall Manager applies the policy to all accounts specified
	// by the IncludeMap, and does not evaluate any ExcludeMap specifications. If
	// you do not specify an IncludeMap, then Firewall Manager applies the policy
	// to all accounts except for those specified by the ExcludeMap.
	//
	// You can specify account IDs, OUs, or a combination:
	//
	//    * Specify account IDs by setting the key to ACCOUNT. For example, the
	//    following is a valid map: {“ACCOUNT” : [“accountID1”, “accountID2”]}.
	//
	//    * Specify OUs by setting the key to ORG_UNIT. For example, the following
	//    is a valid map: {“ORG_UNIT” : [“ouid111”, “ouid112”]}.
	//
	//    * Specify accounts and OUs together in a single map, separated with a
	//    comma. For example, the following is a valid map: {“ACCOUNT” : [“accountID1”,
	//    “accountID2”], “ORG_UNIT” : [“ouid111”, “ouid112”]}.
	IncludeMap map[string][]*string `type:"map"`

	// The ID of the AWS Firewall Manager policy.
	PolicyId *string `min:"36" type:"string"`

	// The name of the AWS Firewall Manager policy.
	//
	// PolicyName is a required field
	PolicyName *string `min:"1" type:"string" required:"true"`

	// A unique identifier for each update to the policy. When issuing a PutPolicy
	// request, the PolicyUpdateToken in the request must match the PolicyUpdateToken
	// of the current policy version. To get the PolicyUpdateToken of the current
	// policy version, use a GetPolicy request.
	PolicyUpdateToken *string `min:"1" type:"string"`

	// Indicates if the policy should be automatically applied to new resources.
	//
	// RemediationEnabled is a required field
	RemediationEnabled *bool `type:"boolean" required:"true"`

	// An array of ResourceTag objects.
	ResourceTags []*ResourceTag `type:"list"`

	// The type of resource protected by or in scope of the policy. This is in the
	// format shown in the AWS Resource Types Reference (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html).
	// For AWS WAF and Shield Advanced, examples include AWS::ElasticLoadBalancingV2::LoadBalancer
	// and AWS::CloudFront::Distribution. For a security group common policy, valid
	// values are AWS::EC2::NetworkInterface and AWS::EC2::Instance. For a security
	// group content audit policy, valid values are AWS::EC2::SecurityGroup, AWS::EC2::NetworkInterface,
	// and AWS::EC2::Instance. For a security group usage audit policy, the value
	// is AWS::EC2::SecurityGroup. For an AWS Network Firewall policy, the value
	// is AWS::EC2::VPC.
	//
	// ResourceType is a required field
	ResourceType *string `min:"1" type:"string" required:"true"`

	// An array of ResourceType.
	ResourceTypeList []*string `type:"list"`

	// Details about the security service that is being used to protect the resources.
	//
	// SecurityServicePolicyData is a required field
	SecurityServicePolicyData *SecurityServicePolicyData `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

An AWS Firewall Manager policy.

func (Policy) GoString

func (s Policy) GoString() string

GoString returns the string representation

func (*Policy) SetExcludeMap

func (s *Policy) SetExcludeMap(v map[string][]*string) *Policy

SetExcludeMap sets the ExcludeMap field's value.

func (*Policy) SetExcludeResourceTags

func (s *Policy) SetExcludeResourceTags(v bool) *Policy

SetExcludeResourceTags sets the ExcludeResourceTags field's value.

func (*Policy) SetIncludeMap

func (s *Policy) SetIncludeMap(v map[string][]*string) *Policy

SetIncludeMap sets the IncludeMap field's value.

func (*Policy) SetPolicyId

func (s *Policy) SetPolicyId(v string) *Policy

SetPolicyId sets the PolicyId field's value.

func (*Policy) SetPolicyName

func (s *Policy) SetPolicyName(v string) *Policy

SetPolicyName sets the PolicyName field's value.

func (*Policy) SetPolicyUpdateToken

func (s *Policy) SetPolicyUpdateToken(v string) *Policy

SetPolicyUpdateToken sets the PolicyUpdateToken field's value.

func (*Policy) SetRemediationEnabled

func (s *Policy) SetRemediationEnabled(v bool) *Policy

SetRemediationEnabled sets the RemediationEnabled field's value.

func (*Policy) SetResourceTags

func (s *Policy) SetResourceTags(v []*ResourceTag) *Policy

SetResourceTags sets the ResourceTags field's value.

func (*Policy) SetResourceType

func (s *Policy) SetResourceType(v string) *Policy

SetResourceType sets the ResourceType field's value.

func (*Policy) SetResourceTypeList

func (s *Policy) SetResourceTypeList(v []*string) *Policy

SetResourceTypeList sets the ResourceTypeList field's value.

func (*Policy) SetSecurityServicePolicyData

func (s *Policy) SetSecurityServicePolicyData(v *SecurityServicePolicyData) *Policy

SetSecurityServicePolicyData sets the SecurityServicePolicyData field's value.

func (Policy) String

func (s Policy) String() string

String returns the string representation

func (*Policy) Validate

func (s *Policy) Validate() error

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

type PolicyComplianceDetail

type PolicyComplianceDetail struct {

	// Indicates if over 100 resources are noncompliant with the AWS Firewall Manager
	// policy.
	EvaluationLimitExceeded *bool `type:"boolean"`

	// A timestamp that indicates when the returned information should be considered
	// out of date.
	ExpiredAt *time.Time `type:"timestamp"`

	// Details about problems with dependent services, such as AWS WAF or AWS Config,
	// that are causing a resource to be noncompliant. The details include the name
	// of the dependent service and the error message received that indicates the
	// problem with the service.
	IssueInfoMap map[string]*string `type:"map"`

	// The AWS account ID.
	MemberAccount *string `min:"1" type:"string"`

	// The ID of the AWS Firewall Manager policy.
	PolicyId *string `min:"36" type:"string"`

	// The AWS account that created the AWS Firewall Manager policy.
	PolicyOwner *string `min:"1" type:"string"`

	// An array of resources that aren't protected by the AWS WAF or Shield Advanced
	// policy or that aren't in compliance with the security group policy.
	Violators []*ComplianceViolator `type:"list"`
	// contains filtered or unexported fields
}

Describes the noncompliant resources in a member account for a specific AWS Firewall Manager policy. A maximum of 100 entries are displayed. If more than 100 resources are noncompliant, EvaluationLimitExceeded is set to True.

func (PolicyComplianceDetail) GoString

func (s PolicyComplianceDetail) GoString() string

GoString returns the string representation

func (*PolicyComplianceDetail) SetEvaluationLimitExceeded

func (s *PolicyComplianceDetail) SetEvaluationLimitExceeded(v bool) *PolicyComplianceDetail

SetEvaluationLimitExceeded sets the EvaluationLimitExceeded field's value.

func (*PolicyComplianceDetail) SetExpiredAt

SetExpiredAt sets the ExpiredAt field's value.

func (*PolicyComplianceDetail) SetIssueInfoMap

func (s *PolicyComplianceDetail) SetIssueInfoMap(v map[string]*string) *PolicyComplianceDetail

SetIssueInfoMap sets the IssueInfoMap field's value.

func (*PolicyComplianceDetail) SetMemberAccount

func (s *PolicyComplianceDetail) SetMemberAccount(v string) *PolicyComplianceDetail

SetMemberAccount sets the MemberAccount field's value.

func (*PolicyComplianceDetail) SetPolicyId

SetPolicyId sets the PolicyId field's value.

func (*PolicyComplianceDetail) SetPolicyOwner

SetPolicyOwner sets the PolicyOwner field's value.

func (*PolicyComplianceDetail) SetViolators

SetViolators sets the Violators field's value.

func (PolicyComplianceDetail) String

func (s PolicyComplianceDetail) String() string

String returns the string representation

type PolicyComplianceStatus

type PolicyComplianceStatus struct {

	// An array of EvaluationResult objects.
	EvaluationResults []*EvaluationResult `type:"list"`

	// Details about problems with dependent services, such as AWS WAF or AWS Config,
	// that are causing a resource to be noncompliant. The details include the name
	// of the dependent service and the error message received that indicates the
	// problem with the service.
	IssueInfoMap map[string]*string `type:"map"`

	// Timestamp of the last update to the EvaluationResult objects.
	LastUpdated *time.Time `type:"timestamp"`

	// The member account ID.
	MemberAccount *string `min:"1" type:"string"`

	// The ID of the AWS Firewall Manager policy.
	PolicyId *string `min:"36" type:"string"`

	// The name of the AWS Firewall Manager policy.
	PolicyName *string `min:"1" type:"string"`

	// The AWS account that created the AWS Firewall Manager policy.
	PolicyOwner *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Indicates whether the account is compliant with the specified policy. An account is considered noncompliant if it includes resources that are not protected by the policy, for AWS WAF and Shield Advanced policies, or that are noncompliant with the policy, for security group policies.

func (PolicyComplianceStatus) GoString

func (s PolicyComplianceStatus) GoString() string

GoString returns the string representation

func (*PolicyComplianceStatus) SetEvaluationResults

func (s *PolicyComplianceStatus) SetEvaluationResults(v []*EvaluationResult) *PolicyComplianceStatus

SetEvaluationResults sets the EvaluationResults field's value.

func (*PolicyComplianceStatus) SetIssueInfoMap

func (s *PolicyComplianceStatus) SetIssueInfoMap(v map[string]*string) *PolicyComplianceStatus

SetIssueInfoMap sets the IssueInfoMap field's value.

func (*PolicyComplianceStatus) SetLastUpdated

SetLastUpdated sets the LastUpdated field's value.

func (*PolicyComplianceStatus) SetMemberAccount

func (s *PolicyComplianceStatus) SetMemberAccount(v string) *PolicyComplianceStatus

SetMemberAccount sets the MemberAccount field's value.

func (*PolicyComplianceStatus) SetPolicyId

SetPolicyId sets the PolicyId field's value.

func (*PolicyComplianceStatus) SetPolicyName

SetPolicyName sets the PolicyName field's value.

func (*PolicyComplianceStatus) SetPolicyOwner

SetPolicyOwner sets the PolicyOwner field's value.

func (PolicyComplianceStatus) String

func (s PolicyComplianceStatus) String() string

String returns the string representation

type PolicySummary

type PolicySummary struct {

	// The Amazon Resource Name (ARN) of the specified policy.
	PolicyArn *string `min:"1" type:"string"`

	// The ID of the specified policy.
	PolicyId *string `min:"36" type:"string"`

	// The name of the specified policy.
	PolicyName *string `min:"1" type:"string"`

	// Indicates if the policy should be automatically applied to new resources.
	RemediationEnabled *bool `type:"boolean"`

	// The type of resource protected by or in scope of the policy. This is in the
	// format shown in the AWS Resource Types Reference (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html).
	// For AWS WAF and Shield Advanced, examples include AWS::ElasticLoadBalancingV2::LoadBalancer
	// and AWS::CloudFront::Distribution. For a security group common policy, valid
	// values are AWS::EC2::NetworkInterface and AWS::EC2::Instance. For a security
	// group content audit policy, valid values are AWS::EC2::SecurityGroup, AWS::EC2::NetworkInterface,
	// and AWS::EC2::Instance. For a security group usage audit policy, the value
	// is AWS::EC2::SecurityGroup. For an AWS Network Firewall policy, the value
	// is AWS::EC2::VPC.
	ResourceType *string `min:"1" type:"string"`

	// The service that the policy is using to protect the resources. This specifies
	// the type of policy that is created, either an AWS WAF policy, a Shield Advanced
	// policy, or a security group policy.
	SecurityServiceType *string `type:"string" enum:"SecurityServiceType"`
	// contains filtered or unexported fields
}

Details of the AWS Firewall Manager policy.

func (PolicySummary) GoString

func (s PolicySummary) GoString() string

GoString returns the string representation

func (*PolicySummary) SetPolicyArn

func (s *PolicySummary) SetPolicyArn(v string) *PolicySummary

SetPolicyArn sets the PolicyArn field's value.

func (*PolicySummary) SetPolicyId

func (s *PolicySummary) SetPolicyId(v string) *PolicySummary

SetPolicyId sets the PolicyId field's value.

func (*PolicySummary) SetPolicyName

func (s *PolicySummary) SetPolicyName(v string) *PolicySummary

SetPolicyName sets the PolicyName field's value.

func (*PolicySummary) SetRemediationEnabled

func (s *PolicySummary) SetRemediationEnabled(v bool) *PolicySummary

SetRemediationEnabled sets the RemediationEnabled field's value.

func (*PolicySummary) SetResourceType

func (s *PolicySummary) SetResourceType(v string) *PolicySummary

SetResourceType sets the ResourceType field's value.

func (*PolicySummary) SetSecurityServiceType

func (s *PolicySummary) SetSecurityServiceType(v string) *PolicySummary

SetSecurityServiceType sets the SecurityServiceType field's value.

func (PolicySummary) String

func (s PolicySummary) String() string

String returns the string representation

type ProtocolsListData

type ProtocolsListData struct {

	// The time that the AWS Firewall Manager protocols list was created.
	CreateTime *time.Time `type:"timestamp"`

	// The time that the AWS Firewall Manager protocols list was last updated.
	LastUpdateTime *time.Time `type:"timestamp"`

	// The ID of the AWS Firewall Manager protocols list.
	ListId *string `min:"36" type:"string"`

	// The name of the AWS Firewall Manager protocols list.
	//
	// ListName is a required field
	ListName *string `min:"1" type:"string" required:"true"`

	// A unique identifier for each update to the list. When you update the list,
	// the update token must match the token of the current version of the application
	// list. You can retrieve the update token by getting the list.
	ListUpdateToken *string `min:"1" type:"string"`

	// A map of previous version numbers to their corresponding protocol arrays.
	PreviousProtocolsList map[string][]*string `type:"map"`

	// An array of protocols in the AWS Firewall Manager protocols list.
	//
	// ProtocolsList is a required field
	ProtocolsList []*string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

An AWS Firewall Manager protocols list.

func (ProtocolsListData) GoString

func (s ProtocolsListData) GoString() string

GoString returns the string representation

func (*ProtocolsListData) SetCreateTime

func (s *ProtocolsListData) SetCreateTime(v time.Time) *ProtocolsListData

SetCreateTime sets the CreateTime field's value.

func (*ProtocolsListData) SetLastUpdateTime

func (s *ProtocolsListData) SetLastUpdateTime(v time.Time) *ProtocolsListData

SetLastUpdateTime sets the LastUpdateTime field's value.

func (*ProtocolsListData) SetListId

func (s *ProtocolsListData) SetListId(v string) *ProtocolsListData

SetListId sets the ListId field's value.

func (*ProtocolsListData) SetListName

func (s *ProtocolsListData) SetListName(v string) *ProtocolsListData

SetListName sets the ListName field's value.

func (*ProtocolsListData) SetListUpdateToken

func (s *ProtocolsListData) SetListUpdateToken(v string) *ProtocolsListData

SetListUpdateToken sets the ListUpdateToken field's value.

func (*ProtocolsListData) SetPreviousProtocolsList

func (s *ProtocolsListData) SetPreviousProtocolsList(v map[string][]*string) *ProtocolsListData

SetPreviousProtocolsList sets the PreviousProtocolsList field's value.

func (*ProtocolsListData) SetProtocolsList

func (s *ProtocolsListData) SetProtocolsList(v []*string) *ProtocolsListData

SetProtocolsList sets the ProtocolsList field's value.

func (ProtocolsListData) String

func (s ProtocolsListData) String() string

String returns the string representation

func (*ProtocolsListData) Validate

func (s *ProtocolsListData) Validate() error

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

type ProtocolsListDataSummary

type ProtocolsListDataSummary struct {

	// The Amazon Resource Name (ARN) of the specified protocols list.
	ListArn *string `min:"1" type:"string"`

	// The ID of the specified protocols list.
	ListId *string `min:"36" type:"string"`

	// The name of the specified protocols list.
	ListName *string `min:"1" type:"string"`

	// An array of protocols in the AWS Firewall Manager protocols list.
	ProtocolsList []*string `type:"list"`
	// contains filtered or unexported fields
}

Details of the AWS Firewall Manager protocols list.

func (ProtocolsListDataSummary) GoString

func (s ProtocolsListDataSummary) GoString() string

GoString returns the string representation

func (*ProtocolsListDataSummary) SetListArn

SetListArn sets the ListArn field's value.

func (*ProtocolsListDataSummary) SetListId

SetListId sets the ListId field's value.

func (*ProtocolsListDataSummary) SetListName

SetListName sets the ListName field's value.

func (*ProtocolsListDataSummary) SetProtocolsList

func (s *ProtocolsListDataSummary) SetProtocolsList(v []*string) *ProtocolsListDataSummary

SetProtocolsList sets the ProtocolsList field's value.

func (ProtocolsListDataSummary) String

func (s ProtocolsListDataSummary) String() string

String returns the string representation

type PutAppsListInput

type PutAppsListInput struct {

	// The details of the AWS Firewall Manager applications list to be created.
	//
	// AppsList is a required field
	AppsList *AppsListData `type:"structure" required:"true"`

	// The tags associated with the resource.
	TagList []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (PutAppsListInput) GoString

func (s PutAppsListInput) GoString() string

GoString returns the string representation

func (*PutAppsListInput) SetAppsList

func (s *PutAppsListInput) SetAppsList(v *AppsListData) *PutAppsListInput

SetAppsList sets the AppsList field's value.

func (*PutAppsListInput) SetTagList

func (s *PutAppsListInput) SetTagList(v []*Tag) *PutAppsListInput

SetTagList sets the TagList field's value.

func (PutAppsListInput) String

func (s PutAppsListInput) String() string

String returns the string representation

func (*PutAppsListInput) Validate

func (s *PutAppsListInput) Validate() error

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

type PutAppsListOutput

type PutAppsListOutput struct {

	// The details of the AWS Firewall Manager applications list.
	AppsList *AppsListData `type:"structure"`

	// The Amazon Resource Name (ARN) of the applications list.
	AppsListArn *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PutAppsListOutput) GoString

func (s PutAppsListOutput) GoString() string

GoString returns the string representation

func (*PutAppsListOutput) SetAppsList

func (s *PutAppsListOutput) SetAppsList(v *AppsListData) *PutAppsListOutput

SetAppsList sets the AppsList field's value.

func (*PutAppsListOutput) SetAppsListArn

func (s *PutAppsListOutput) SetAppsListArn(v string) *PutAppsListOutput

SetAppsListArn sets the AppsListArn field's value.

func (PutAppsListOutput) String

func (s PutAppsListOutput) String() string

String returns the string representation

type PutNotificationChannelInput

type PutNotificationChannelInput struct {

	// The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to
	// record AWS Firewall Manager activity.
	//
	// SnsRoleName is a required field
	SnsRoleName *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the SNS topic that collects notifications
	// from AWS Firewall Manager.
	//
	// SnsTopicArn is a required field
	SnsTopicArn *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutNotificationChannelInput) GoString

func (s PutNotificationChannelInput) GoString() string

GoString returns the string representation

func (*PutNotificationChannelInput) SetSnsRoleName

SetSnsRoleName sets the SnsRoleName field's value.

func (*PutNotificationChannelInput) SetSnsTopicArn

SetSnsTopicArn sets the SnsTopicArn field's value.

func (PutNotificationChannelInput) String

String returns the string representation

func (*PutNotificationChannelInput) Validate

func (s *PutNotificationChannelInput) Validate() error

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

type PutNotificationChannelOutput

type PutNotificationChannelOutput struct {
	// contains filtered or unexported fields
}

func (PutNotificationChannelOutput) GoString

func (s PutNotificationChannelOutput) GoString() string

GoString returns the string representation

func (PutNotificationChannelOutput) String

String returns the string representation

type PutPolicyInput

type PutPolicyInput struct {

	// The details of the AWS Firewall Manager policy to be created.
	//
	// Policy is a required field
	Policy *Policy `type:"structure" required:"true"`

	// The tags to add to the AWS resource.
	TagList []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (PutPolicyInput) GoString

func (s PutPolicyInput) GoString() string

GoString returns the string representation

func (*PutPolicyInput) SetPolicy

func (s *PutPolicyInput) SetPolicy(v *Policy) *PutPolicyInput

SetPolicy sets the Policy field's value.

func (*PutPolicyInput) SetTagList

func (s *PutPolicyInput) SetTagList(v []*Tag) *PutPolicyInput

SetTagList sets the TagList field's value.

func (PutPolicyInput) String

func (s PutPolicyInput) String() string

String returns the string representation

func (*PutPolicyInput) Validate

func (s *PutPolicyInput) Validate() error

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

type PutPolicyOutput

type PutPolicyOutput struct {

	// The details of the AWS Firewall Manager policy.
	Policy *Policy `type:"structure"`

	// The Amazon Resource Name (ARN) of the policy.
	PolicyArn *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PutPolicyOutput) GoString

func (s PutPolicyOutput) GoString() string

GoString returns the string representation

func (*PutPolicyOutput) SetPolicy

func (s *PutPolicyOutput) SetPolicy(v *Policy) *PutPolicyOutput

SetPolicy sets the Policy field's value.

func (*PutPolicyOutput) SetPolicyArn

func (s *PutPolicyOutput) SetPolicyArn(v string) *PutPolicyOutput

SetPolicyArn sets the PolicyArn field's value.

func (PutPolicyOutput) String

func (s PutPolicyOutput) String() string

String returns the string representation

type PutProtocolsListInput

type PutProtocolsListInput struct {

	// The details of the AWS Firewall Manager protocols list to be created.
	//
	// ProtocolsList is a required field
	ProtocolsList *ProtocolsListData `type:"structure" required:"true"`

	// The tags associated with the resource.
	TagList []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (PutProtocolsListInput) GoString

func (s PutProtocolsListInput) GoString() string

GoString returns the string representation

func (*PutProtocolsListInput) SetProtocolsList

SetProtocolsList sets the ProtocolsList field's value.

func (*PutProtocolsListInput) SetTagList

func (s *PutProtocolsListInput) SetTagList(v []*Tag) *PutProtocolsListInput

SetTagList sets the TagList field's value.

func (PutProtocolsListInput) String

func (s PutProtocolsListInput) String() string

String returns the string representation

func (*PutProtocolsListInput) Validate

func (s *PutProtocolsListInput) Validate() error

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

type PutProtocolsListOutput

type PutProtocolsListOutput struct {

	// The details of the AWS Firewall Manager protocols list.
	ProtocolsList *ProtocolsListData `type:"structure"`

	// The Amazon Resource Name (ARN) of the protocols list.
	ProtocolsListArn *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PutProtocolsListOutput) GoString

func (s PutProtocolsListOutput) GoString() string

GoString returns the string representation

func (*PutProtocolsListOutput) SetProtocolsList

SetProtocolsList sets the ProtocolsList field's value.

func (*PutProtocolsListOutput) SetProtocolsListArn

func (s *PutProtocolsListOutput) SetProtocolsListArn(v string) *PutProtocolsListOutput

SetProtocolsListArn sets the ProtocolsListArn field's value.

func (PutProtocolsListOutput) String

func (s PutProtocolsListOutput) String() string

String returns the string representation

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The specified resource was not found.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation

type ResourceTag

type ResourceTag struct {

	// The resource tag key.
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// The resource tag value.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

The resource tags that AWS Firewall Manager uses to determine if a particular resource should be included or excluded from the AWS Firewall Manager policy. Tags enable you to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value. Firewall Manager combines the tags with "AND" so that, if you add more than one tag to a policy scope, a resource must have all the specified tags to be included or excluded. For more information, see Working with Tag Editor (https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/tag-editor.html).

func (ResourceTag) GoString

func (s ResourceTag) GoString() string

GoString returns the string representation

func (*ResourceTag) SetKey

func (s *ResourceTag) SetKey(v string) *ResourceTag

SetKey sets the Key field's value.

func (*ResourceTag) SetValue

func (s *ResourceTag) SetValue(v string) *ResourceTag

SetValue sets the Value field's value.

func (ResourceTag) String

func (s ResourceTag) String() string

String returns the string representation

func (*ResourceTag) Validate

func (s *ResourceTag) Validate() error

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

type ResourceViolation

type ResourceViolation struct {

	// Violation details for an EC2 instance.
	AwsEc2InstanceViolation *AwsEc2InstanceViolation `type:"structure"`

	// Violation details for network interface.
	AwsEc2NetworkInterfaceViolation *AwsEc2NetworkInterfaceViolation `type:"structure"`

	// Violation details for security groups.
	AwsVPCSecurityGroupViolation *AwsVPCSecurityGroupViolation `type:"structure"`

	// Violation detail for a DNS Firewall policy that indicates that a rule group
	// that Firewall Manager tried to associate with a VPC is already associated
	// with the VPC and can't be associated again.
	DnsDuplicateRuleGroupViolation *DnsDuplicateRuleGroupViolation `type:"structure"`

	// Violation details for a DNS Firewall policy that indicates that the VPC reached
	// the limit for associated DNS Firewall rule groups. Firewall Manager tried
	// to associate another rule group with the VPC and failed.
	DnsRuleGroupLimitExceededViolation *DnsRuleGroupLimitExceededViolation `type:"structure"`

	// Violation detail for a DNS Firewall policy that indicates that a rule group
	// that Firewall Manager tried to associate with a VPC has the same priority
	// as a rule group that's already associated.
	DnsRuleGroupPriorityConflictViolation *DnsRuleGroupPriorityConflictViolation `type:"structure"`

	// Violation detail for an Network Firewall policy that indicates that a subnet
	// is not associated with the expected Firewall Manager managed route table.
	NetworkFirewallMissingExpectedRTViolation *NetworkFirewallMissingExpectedRTViolation `type:"structure"`

	// Violation detail for an Network Firewall policy that indicates that a subnet
	// has no Firewall Manager managed firewall in its VPC.
	NetworkFirewallMissingFirewallViolation *NetworkFirewallMissingFirewallViolation `type:"structure"`

	// Violation detail for an Network Firewall policy that indicates that an Availability
	// Zone is missing the expected Firewall Manager managed subnet.
	NetworkFirewallMissingSubnetViolation *NetworkFirewallMissingSubnetViolation `type:"structure"`

	// Violation detail for an Network Firewall policy that indicates that a firewall
	// policy in an individual account has been modified in a way that makes it
	// noncompliant. For example, the individual account owner might have deleted
	// a rule group, changed the priority of a stateless rule group, or changed
	// a policy default action.
	NetworkFirewallPolicyModifiedViolation *NetworkFirewallPolicyModifiedViolation `type:"structure"`
	// contains filtered or unexported fields
}

Violation detail based on resource type.

func (ResourceViolation) GoString

func (s ResourceViolation) GoString() string

GoString returns the string representation

func (*ResourceViolation) SetAwsEc2InstanceViolation

func (s *ResourceViolation) SetAwsEc2InstanceViolation(v *AwsEc2InstanceViolation) *ResourceViolation

SetAwsEc2InstanceViolation sets the AwsEc2InstanceViolation field's value.

func (*ResourceViolation) SetAwsEc2NetworkInterfaceViolation

func (s *ResourceViolation) SetAwsEc2NetworkInterfaceViolation(v *AwsEc2NetworkInterfaceViolation) *ResourceViolation

SetAwsEc2NetworkInterfaceViolation sets the AwsEc2NetworkInterfaceViolation field's value.

func (*ResourceViolation) SetAwsVPCSecurityGroupViolation

func (s *ResourceViolation) SetAwsVPCSecurityGroupViolation(v *AwsVPCSecurityGroupViolation) *ResourceViolation

SetAwsVPCSecurityGroupViolation sets the AwsVPCSecurityGroupViolation field's value.

func (*ResourceViolation) SetDnsDuplicateRuleGroupViolation

func (s *ResourceViolation) SetDnsDuplicateRuleGroupViolation(v *DnsDuplicateRuleGroupViolation) *ResourceViolation

SetDnsDuplicateRuleGroupViolation sets the DnsDuplicateRuleGroupViolation field's value.

func (*ResourceViolation) SetDnsRuleGroupLimitExceededViolation

func (s *ResourceViolation) SetDnsRuleGroupLimitExceededViolation(v *DnsRuleGroupLimitExceededViolation) *ResourceViolation

SetDnsRuleGroupLimitExceededViolation sets the DnsRuleGroupLimitExceededViolation field's value.

func (*ResourceViolation) SetDnsRuleGroupPriorityConflictViolation

func (s *ResourceViolation) SetDnsRuleGroupPriorityConflictViolation(v *DnsRuleGroupPriorityConflictViolation) *ResourceViolation

SetDnsRuleGroupPriorityConflictViolation sets the DnsRuleGroupPriorityConflictViolation field's value.

func (*ResourceViolation) SetNetworkFirewallMissingExpectedRTViolation

func (s *ResourceViolation) SetNetworkFirewallMissingExpectedRTViolation(v *NetworkFirewallMissingExpectedRTViolation) *ResourceViolation

SetNetworkFirewallMissingExpectedRTViolation sets the NetworkFirewallMissingExpectedRTViolation field's value.

func (*ResourceViolation) SetNetworkFirewallMissingFirewallViolation

func (s *ResourceViolation) SetNetworkFirewallMissingFirewallViolation(v *NetworkFirewallMissingFirewallViolation) *ResourceViolation

SetNetworkFirewallMissingFirewallViolation sets the NetworkFirewallMissingFirewallViolation field's value.

func (*ResourceViolation) SetNetworkFirewallMissingSubnetViolation

func (s *ResourceViolation) SetNetworkFirewallMissingSubnetViolation(v *NetworkFirewallMissingSubnetViolation) *ResourceViolation

SetNetworkFirewallMissingSubnetViolation sets the NetworkFirewallMissingSubnetViolation field's value.

func (*ResourceViolation) SetNetworkFirewallPolicyModifiedViolation

func (s *ResourceViolation) SetNetworkFirewallPolicyModifiedViolation(v *NetworkFirewallPolicyModifiedViolation) *ResourceViolation

SetNetworkFirewallPolicyModifiedViolation sets the NetworkFirewallPolicyModifiedViolation field's value.

func (ResourceViolation) String

func (s ResourceViolation) String() string

String returns the string representation

type SecurityGroupRemediationAction

type SecurityGroupRemediationAction struct {

	// Brief description of the action that will be performed.
	Description *string `type:"string"`

	// Indicates if the current action is the default action.
	IsDefaultAction *bool `type:"boolean"`

	// The remediation action that will be performed.
	RemediationActionType *string `type:"string" enum:"RemediationActionType"`

	// The final state of the rule specified in the ViolationTarget after it is
	// remediated.
	RemediationResult *SecurityGroupRuleDescription `type:"structure"`
	// contains filtered or unexported fields
}

Remediation option for the rule specified in the ViolationTarget.

func (SecurityGroupRemediationAction) GoString

GoString returns the string representation

func (*SecurityGroupRemediationAction) SetDescription

SetDescription sets the Description field's value.

func (*SecurityGroupRemediationAction) SetIsDefaultAction

SetIsDefaultAction sets the IsDefaultAction field's value.

func (*SecurityGroupRemediationAction) SetRemediationActionType

SetRemediationActionType sets the RemediationActionType field's value.

func (*SecurityGroupRemediationAction) SetRemediationResult

SetRemediationResult sets the RemediationResult field's value.

func (SecurityGroupRemediationAction) String

String returns the string representation

type SecurityGroupRuleDescription

type SecurityGroupRuleDescription struct {

	// The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6
	// type number. A value of -1 indicates all ICMP/ICMPv6 types.
	FromPort *int64 `type:"long"`

	// The IPv4 ranges for the security group rule.
	IPV4Range *string `type:"string"`

	// The IPv6 ranges for the security group rule.
	IPV6Range *string `type:"string"`

	// The ID of the prefix list for the security group rule.
	PrefixListId *string `min:"1" type:"string"`

	// The IP protocol name (tcp, udp, icmp, icmpv6) or number.
	Protocol *string `type:"string"`

	// The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6
	// code. A value of -1 indicates all ICMP/ICMPv6 codes.
	ToPort *int64 `type:"long"`
	// contains filtered or unexported fields
}

Describes a set of permissions for a security group rule.

func (SecurityGroupRuleDescription) GoString

func (s SecurityGroupRuleDescription) GoString() string

GoString returns the string representation

func (*SecurityGroupRuleDescription) SetFromPort

SetFromPort sets the FromPort field's value.

func (*SecurityGroupRuleDescription) SetIPV4Range

SetIPV4Range sets the IPV4Range field's value.

func (*SecurityGroupRuleDescription) SetIPV6Range

SetIPV6Range sets the IPV6Range field's value.

func (*SecurityGroupRuleDescription) SetPrefixListId

SetPrefixListId sets the PrefixListId field's value.

func (*SecurityGroupRuleDescription) SetProtocol

SetProtocol sets the Protocol field's value.

func (*SecurityGroupRuleDescription) SetToPort

SetToPort sets the ToPort field's value.

func (SecurityGroupRuleDescription) String

String returns the string representation

type SecurityServicePolicyData

type SecurityServicePolicyData struct {

	// Details about the service that are specific to the service type, in JSON
	// format. For service type SHIELD_ADVANCED, this is an empty string.
	//
	//    * Example: NETWORK_FIREWALL "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-1:1234567891011:stateless-rulegroup/rulegroup2\",\"priority\":10}],\"networkFirewallStatelessDefaultActions\":[\"aws:pass\",\"custom1\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"custom2\",\"aws:pass\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"custom1\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"dimension1\"}]}}},{\"actionName\":\"custom2\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"dimension2\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-1:1234567891011:stateful-rulegroup/rulegroup1\"}],\"networkFirewallOrchestrationConfig\":{\"singleFirewallEndpointPerVPC\":true,\"allowedIPV4CidrList\":[\"10.24.34.0/28\"]}
	//    }"
	//
	//    * Example: WAFV2 "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"version\":null,\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesAmazonIpReputationList\"},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[]}],\"postProcessRuleGroups\":[],\"defaultAction\":{\"type\":\"ALLOW\"},\"overrideCustomerWebACLAssociation\":false,\"loggingConfiguration\":{\"logDestinationConfigs\":[\"arn:aws:firehose:us-west-2:12345678912:deliverystream/aws-waf-logs-fms-admin-destination\"],\"redactedFields\":[{\"redactedFieldType\":\"SingleHeader\",\"redactedFieldValue\":\"Cookies\"},{\"redactedFieldType\":\"Method\"}]}}"
	//    In the loggingConfiguration, you can specify one logDestinationConfigs,
	//    you can optionally provide up to 20 redactedFields, and the RedactedFieldType
	//    must be one of URI, QUERY_STRING, HEADER, or METHOD.
	//
	//    * Example: WAF Classic "{\"type\": \"WAF\", \"ruleGroups\": [{\"id\":\"12345678-1bcd-9012-efga-0987654321ab\",
	//    \"overrideAction\" : {\"type\": \"COUNT\"}}], \"defaultAction\": {\"type\":
	//    \"BLOCK\"}}"
	//
	//    * Example: SECURITY_GROUPS_COMMON "{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false,
	//    \"applyToAllEC2InstanceENIs\":false,\"securityGroups\":[{\"id\":\" sg-000e55995d61a06bd\"}]}"
	//
	//    * Example: SECURITY_GROUPS_CONTENT_AUDIT "{\"type\":\"SECURITY_GROUPS_CONTENT_AUDIT\",\"securityGroups\":[{\"id\":\"sg-000e55995d61a06bd\"}],\"securityGroupAction\":{\"type\":\"ALLOW\"}}"
	//    The security group action for content audit can be ALLOW or DENY. For
	//    ALLOW, all in-scope security group rules must be within the allowed range
	//    of the policy's security group rules. For DENY, all in-scope security
	//    group rules must not contain a value or a range that matches a rule value
	//    or range in the policy security group.
	//
	//    * Example: SECURITY_GROUPS_USAGE_AUDIT "{\"type\":\"SECURITY_GROUPS_USAGE_AUDIT\",\"deleteUnusedSecurityGroups\":true,\"coalesceRedundantSecurityGroups\":true}"
	ManagedServiceData *string `min:"1" type:"string"`

	// The service that the policy is using to protect the resources. This specifies
	// the type of policy that is created, either an AWS WAF policy, a Shield Advanced
	// policy, or a security group policy. For security group policies, Firewall
	// Manager supports one security group for each common policy and for each content
	// audit policy. This is an adjustable limit that you can increase by contacting
	// AWS Support.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"SecurityServiceType"`
	// contains filtered or unexported fields
}

Details about the security service that is being used to protect the resources.

func (SecurityServicePolicyData) GoString

func (s SecurityServicePolicyData) GoString() string

GoString returns the string representation

func (*SecurityServicePolicyData) SetManagedServiceData

func (s *SecurityServicePolicyData) SetManagedServiceData(v string) *SecurityServicePolicyData

SetManagedServiceData sets the ManagedServiceData field's value.

func (*SecurityServicePolicyData) SetType

SetType sets the Type field's value.

func (SecurityServicePolicyData) String

func (s SecurityServicePolicyData) String() string

String returns the string representation

func (*SecurityServicePolicyData) Validate

func (s *SecurityServicePolicyData) Validate() error

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

type StatefulRuleGroup

type StatefulRuleGroup struct {

	// The resource ID of the rule group.
	ResourceId *string `min:"1" type:"string"`

	// The name of the rule group.
	RuleGroupName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

AWS Network Firewall stateful rule group, used in a NetworkFirewallPolicyDescription.

func (StatefulRuleGroup) GoString

func (s StatefulRuleGroup) GoString() string

GoString returns the string representation

func (*StatefulRuleGroup) SetResourceId

func (s *StatefulRuleGroup) SetResourceId(v string) *StatefulRuleGroup

SetResourceId sets the ResourceId field's value.

func (*StatefulRuleGroup) SetRuleGroupName

func (s *StatefulRuleGroup) SetRuleGroupName(v string) *StatefulRuleGroup

SetRuleGroupName sets the RuleGroupName field's value.

func (StatefulRuleGroup) String

func (s StatefulRuleGroup) String() string

String returns the string representation

type StatelessRuleGroup

type StatelessRuleGroup struct {

	// The priority of the rule group. AWS Network Firewall evaluates the stateless
	// rule groups in a firewall policy starting from the lowest priority setting.
	Priority *int64 `min:"1" type:"integer"`

	// The resource ID of the rule group.
	ResourceId *string `min:"1" type:"string"`

	// The name of the rule group.
	RuleGroupName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

AWS Network Firewall stateless rule group, used in a NetworkFirewallPolicyDescription.

func (StatelessRuleGroup) GoString

func (s StatelessRuleGroup) GoString() string

GoString returns the string representation

func (*StatelessRuleGroup) SetPriority

func (s *StatelessRuleGroup) SetPriority(v int64) *StatelessRuleGroup

SetPriority sets the Priority field's value.

func (*StatelessRuleGroup) SetResourceId

func (s *StatelessRuleGroup) SetResourceId(v string) *StatelessRuleGroup

SetResourceId sets the ResourceId field's value.

func (*StatelessRuleGroup) SetRuleGroupName

func (s *StatelessRuleGroup) SetRuleGroupName(v string) *StatelessRuleGroup

SetRuleGroupName sets the RuleGroupName field's value.

func (StatelessRuleGroup) String

func (s StatelessRuleGroup) String() string

String returns the string representation

type Tag

type Tag struct {

	// Part of the key:value pair that defines a tag. You can use a tag key to describe
	// a category of information, such as "customer." Tag keys are case-sensitive.
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// Part of the key:value pair that defines a tag. You can use a tag value to
	// describe a specific value within a category, such as "companyA" or "companyB."
	// Tag values are case-sensitive.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

A collection of key:value pairs associated with an AWS resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate

func (s *Tag) Validate() error

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

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to return tags for. The AWS
	// Firewall Manager resources that support tagging are policies, applications
	// lists, and protocols lists.
	//
	// ResourceArn is a required field
	ResourceArn *string `min:"1" type:"string" required:"true"`

	// The tags to add to the resource.
	//
	// TagList is a required field
	TagList []*Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTagList

func (s *TagResourceInput) SetTagList(v []*Tag) *TagResourceInput

SetTagList sets the TagList field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to return tags for. The AWS
	// Firewall Manager resources that support tagging are policies, applications
	// lists, and protocols lists.
	//
	// ResourceArn is a required field
	ResourceArn *string `min:"1" type:"string" required:"true"`

	// The keys of the tags to remove from the resource.
	//
	// TagKeys is a required field
	TagKeys []*string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type ViolationDetail

type ViolationDetail struct {

	// The AWS account that the violation details were requested for.
	//
	// MemberAccount is a required field
	MemberAccount *string `min:"1" type:"string" required:"true"`

	// The ID of the AWS Firewall Manager policy that the violation details were
	// requested for.
	//
	// PolicyId is a required field
	PolicyId *string `min:"36" type:"string" required:"true"`

	// Brief description for the requested resource.
	ResourceDescription *string `type:"string"`

	// The resource ID that the violation details were requested for.
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`

	// The ResourceTag objects associated with the resource.
	ResourceTags []*Tag `type:"list"`

	// The resource type that the violation details were requested for.
	//
	// ResourceType is a required field
	ResourceType *string `min:"1" type:"string" required:"true"`

	// List of violations for the requested resource.
	//
	// ResourceViolations is a required field
	ResourceViolations []*ResourceViolation `type:"list" required:"true"`
	// contains filtered or unexported fields
}

Violations for a resource based on the specified AWS Firewall Manager policy and AWS account.

func (ViolationDetail) GoString

func (s ViolationDetail) GoString() string

GoString returns the string representation

func (*ViolationDetail) SetMemberAccount

func (s *ViolationDetail) SetMemberAccount(v string) *ViolationDetail

SetMemberAccount sets the MemberAccount field's value.

func (*ViolationDetail) SetPolicyId

func (s *ViolationDetail) SetPolicyId(v string) *ViolationDetail

SetPolicyId sets the PolicyId field's value.

func (*ViolationDetail) SetResourceDescription

func (s *ViolationDetail) SetResourceDescription(v string) *ViolationDetail

SetResourceDescription sets the ResourceDescription field's value.

func (*ViolationDetail) SetResourceId

func (s *ViolationDetail) SetResourceId(v string) *ViolationDetail

SetResourceId sets the ResourceId field's value.

func (*ViolationDetail) SetResourceTags

func (s *ViolationDetail) SetResourceTags(v []*Tag) *ViolationDetail

SetResourceTags sets the ResourceTags field's value.

func (*ViolationDetail) SetResourceType

func (s *ViolationDetail) SetResourceType(v string) *ViolationDetail

SetResourceType sets the ResourceType field's value.

func (*ViolationDetail) SetResourceViolations

func (s *ViolationDetail) SetResourceViolations(v []*ResourceViolation) *ViolationDetail

SetResourceViolations sets the ResourceViolations field's value.

func (ViolationDetail) String

func (s ViolationDetail) String() string

String returns the string representation

Directories

Path Synopsis
Package fmsiface provides an interface to enable mocking the Firewall Management Service service client for testing your code.
Package fmsiface provides an interface to enable mocking the Firewall Management Service service client for testing your code.

Jump to

Keyboard shortcuts

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