func AccountRoleStatus_Values() []string
AccountRoleStatus_Values returns all elements of the AccountRoleStatus enum
func CustomerPolicyScopeIdType_Values() []string
CustomerPolicyScopeIdType_Values returns all elements of the CustomerPolicyScopeIdType enum
func CustomerPolicyStatus_Values() []string
CustomerPolicyStatus_Values returns all elements of the CustomerPolicyStatus enum
func DependentServiceName_Values() []string
DependentServiceName_Values returns all elements of the DependentServiceName enum
func DestinationType_Values() []string
DestinationType_Values returns all elements of the DestinationType enum
func EntryType_Values() []string
EntryType_Values returns all elements of the EntryType enum
func EntryViolationReason_Values() []string
EntryViolationReason_Values returns all elements of the EntryViolationReason enum
func FailedItemReason_Values() []string
FailedItemReason_Values returns all elements of the FailedItemReason enum
func FirewallDeploymentModel_Values() []string
FirewallDeploymentModel_Values returns all elements of the FirewallDeploymentModel enum
func MarketplaceSubscriptionOnboardingStatus_Values() []string
MarketplaceSubscriptionOnboardingStatus_Values returns all elements of the MarketplaceSubscriptionOnboardingStatus enum
func NetworkAclRuleAction_Values() []string
NetworkAclRuleAction_Values returns all elements of the NetworkAclRuleAction enum
func NetworkFirewallOverrideAction_Values() []string
NetworkFirewallOverrideAction_Values returns all elements of the NetworkFirewallOverrideAction enum
func OrganizationStatus_Values() []string
OrganizationStatus_Values returns all elements of the OrganizationStatus enum
func PolicyComplianceStatusType_Values() []string
PolicyComplianceStatusType_Values returns all elements of the PolicyComplianceStatusType enum
func RemediationActionType_Values() []string
RemediationActionType_Values returns all elements of the RemediationActionType enum
func ResourceSetStatus_Values() []string
ResourceSetStatus_Values returns all elements of the ResourceSetStatus enum
func RuleOrder_Values() []string
RuleOrder_Values returns all elements of the RuleOrder enum
func SecurityServiceType_Values() []string
SecurityServiceType_Values returns all elements of the SecurityServiceType enum
func StreamExceptionPolicy_Values() []string
StreamExceptionPolicy_Values returns all elements of the StreamExceptionPolicy enum
func TargetType_Values() []string
TargetType_Values returns all elements of the TargetType enum
func ThirdPartyFirewallAssociationStatus_Values() []string
ThirdPartyFirewallAssociationStatus_Values returns all elements of the ThirdPartyFirewallAssociationStatus enum
func ThirdPartyFirewall_Values() []string
ThirdPartyFirewall_Values returns all elements of the ThirdPartyFirewall enum
func ViolationReason_Values() []string
ViolationReason_Values returns all elements of the ViolationReason enum
type AccountScope struct { // The list of accounts within the organization that the specified Firewall // Manager administrator either can or cannot apply policies to, based on the // value of ExcludeSpecifiedAccounts. If ExcludeSpecifiedAccounts is set to // true, then the Firewall Manager administrator can apply policies to all members // of the organization except for the accounts in this list. If ExcludeSpecifiedAccounts // is set to false, then the Firewall Manager administrator can only apply policies // to the accounts in this list. Accounts []*string `type:"list"` // A boolean value that indicates if the administrator can apply policies to // all accounts within an organization. If true, the administrator can apply // policies to all accounts within the organization. You can either enable management // of all accounts through this operation, or you can specify a list of accounts // to manage in AccountScope$Accounts. You cannot specify both. AllAccountsEnabled *bool `type:"boolean"` // A boolean value that excludes the accounts in AccountScope$Accounts from // the administrator's scope. If true, the Firewall Manager administrator can // apply policies to all members of the organization except for the accounts // listed in AccountScope$Accounts. You can either specify a list of accounts // to exclude by AccountScope$Accounts, or you can enable management of all // accounts by AccountScope$AllAccountsEnabled. You cannot specify both. ExcludeSpecifiedAccounts *bool `type:"boolean"` // contains filtered or unexported fields }
Configures the accounts within the administrator's Organizations organization that the specified Firewall Manager administrator can apply policies to.
func (s AccountScope) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AccountScope) SetAccounts(v []*string) *AccountScope
SetAccounts sets the Accounts field's value.
func (s *AccountScope) SetAllAccountsEnabled(v bool) *AccountScope
SetAllAccountsEnabled sets the AllAccountsEnabled field's value.
func (s *AccountScope) SetExcludeSpecifiedAccounts(v bool) *AccountScope
SetExcludeSpecifiedAccounts sets the ExcludeSpecifiedAccounts field's value.
func (s AccountScope) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ActionTarget struct { // A description of the remediation action target. Description *string `type:"string"` // The ID of the remediation target. ResourceId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Describes a remediation action target.
func (s ActionTarget) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ActionTarget) SetDescription(v string) *ActionTarget
SetDescription sets the Description field's value.
func (s *ActionTarget) SetResourceId(v string) *ActionTarget
SetResourceId sets the ResourceId field's value.
func (s ActionTarget) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AdminAccountSummary struct { // The Amazon Web Services account ID of the Firewall Manager administrator's // account. AdminAccount *string `min:"1" type:"string"` // A boolean value that indicates if the administrator is the default administrator. // If true, then this is the default administrator account. The default administrator // can manage third-party firewalls and has full administrative scope. There // is only one default administrator account per organization. For information // about Firewall Manager default administrator accounts, see Managing Firewall // Manager administrators (https://docs.aws.amazon.com/waf/latest/developerguide/fms-administrators.html) // in the Firewall Manager Developer Guide. DefaultAdmin *bool `type:"boolean"` // The current status of the request to onboard a member account as an Firewall // Manager administrator. // // * ONBOARDING - The account is onboarding to Firewall Manager as an administrator. // // * ONBOARDING_COMPLETE - Firewall Manager The account is onboarded to Firewall // Manager as an administrator, and can perform actions on the resources // defined in their AdminScope. // // * OFFBOARDING - The account is being removed as an Firewall Manager administrator. // // * OFFBOARDING_COMPLETE - The account has been removed as an Firewall Manager // administrator. Status *string `type:"string" enum:"OrganizationStatus"` // contains filtered or unexported fields }
Contains high level information about the Firewall Manager administrator account.
func (s AdminAccountSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AdminAccountSummary) SetAdminAccount(v string) *AdminAccountSummary
SetAdminAccount sets the AdminAccount field's value.
func (s *AdminAccountSummary) SetDefaultAdmin(v bool) *AdminAccountSummary
SetDefaultAdmin sets the DefaultAdmin field's value.
func (s *AdminAccountSummary) SetStatus(v string) *AdminAccountSummary
SetStatus sets the Status field's value.
func (s AdminAccountSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AdminScope struct { // Defines the accounts that the specified Firewall Manager administrator can // apply policies to. AccountScope *AccountScope `type:"structure"` // Defines the Organizations organizational units that the specified Firewall // Manager administrator can apply policies to. For more information about OUs // in Organizations, see Managing organizational units (OUs) (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_ous.html) // in the Organizations User Guide. OrganizationalUnitScope *OrganizationalUnitScope `type:"structure"` // Defines the Firewall Manager policy types that the specified Firewall Manager // administrator can create and manage. PolicyTypeScope *PolicyTypeScope `type:"structure"` // Defines the Amazon Web Services Regions that the specified Firewall Manager // administrator can perform actions in. RegionScope *RegionScope `type:"structure"` // contains filtered or unexported fields }
Defines the resources that the Firewall Manager administrator can manage. For more information about administrative scope, see Managing Firewall Manager administrators (https://docs.aws.amazon.com/waf/latest/developerguide/fms-administrators.html) in the Firewall Manager Developer Guide.
func (s AdminScope) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AdminScope) SetAccountScope(v *AccountScope) *AdminScope
SetAccountScope sets the AccountScope field's value.
func (s *AdminScope) SetOrganizationalUnitScope(v *OrganizationalUnitScope) *AdminScope
SetOrganizationalUnitScope sets the OrganizationalUnitScope field's value.
func (s *AdminScope) SetPolicyTypeScope(v *PolicyTypeScope) *AdminScope
SetPolicyTypeScope sets the PolicyTypeScope field's value.
func (s *AdminScope) SetRegionScope(v *RegionScope) *AdminScope
SetRegionScope sets the RegionScope field's value.
func (s AdminScope) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Firewall Manager application.
func (s App) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *App) SetAppName(v string) *App
SetAppName sets the AppName field's value.
func (s *App) SetPort(v int64) *App
SetPort sets the Port field's value.
func (s *App) SetProtocol(v string) *App
SetProtocol sets the Protocol field's value.
func (s App) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *App) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AppsListData struct { // An array of applications in the Firewall Manager applications list. // // AppsList is a required field AppsList []*App `type:"list" required:"true"` // The time that the Firewall Manager applications list was created. CreateTime *time.Time `type:"timestamp"` // The time that the Firewall Manager applications list was last updated. LastUpdateTime *time.Time `type:"timestamp"` // The ID of the Firewall Manager applications list. ListId *string `min:"36" type:"string"` // The name of the 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 Firewall Manager applications list.
func (s AppsListData) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AppsListData) SetAppsList(v []*App) *AppsListData
SetAppsList sets the AppsList field's value.
func (s *AppsListData) SetCreateTime(v time.Time) *AppsListData
SetCreateTime sets the CreateTime field's value.
func (s *AppsListData) SetLastUpdateTime(v time.Time) *AppsListData
SetLastUpdateTime sets the LastUpdateTime field's value.
func (s *AppsListData) SetListId(v string) *AppsListData
SetListId sets the ListId field's value.
func (s *AppsListData) SetListName(v string) *AppsListData
SetListName sets the ListName field's value.
func (s *AppsListData) SetListUpdateToken(v string) *AppsListData
SetListUpdateToken sets the ListUpdateToken field's value.
func (s *AppsListData) SetPreviousAppsList(v map[string][]*App) *AppsListData
SetPreviousAppsList sets the PreviousAppsList field's value.
func (s AppsListData) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AppsListData) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AppsListDataSummary struct { // An array of App objects in the 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 Firewall Manager applications list.
func (s AppsListDataSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AppsListDataSummary) SetAppsList(v []*App) *AppsListDataSummary
SetAppsList sets the AppsList field's value.
func (s *AppsListDataSummary) SetListArn(v string) *AppsListDataSummary
SetListArn sets the ListArn field's value.
func (s *AppsListDataSummary) SetListId(v string) *AppsListDataSummary
SetListId sets the ListId field's value.
func (s *AppsListDataSummary) SetListName(v string) *AppsListDataSummary
SetListName sets the ListName field's value.
func (s AppsListDataSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssociateAdminAccountInput struct { // The Amazon Web Services account ID to associate with Firewall Manager as // the Firewall Manager default administrator account. This account must be // a member account of the organization in Organizations whose resources you // want to protect. For more information about Organizations, see Managing the // Amazon Web Services 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 (s AssociateAdminAccountInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateAdminAccountInput) SetAdminAccount(v string) *AssociateAdminAccountInput
SetAdminAccount sets the AdminAccount field's value.
func (s AssociateAdminAccountInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateAdminAccountInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateAdminAccountOutput struct {
// contains filtered or unexported fields
}
func (s AssociateAdminAccountOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s AssociateAdminAccountOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssociateThirdPartyFirewallInput struct { // The name of the third-party firewall vendor. // // ThirdPartyFirewall is a required field ThirdPartyFirewall *string `type:"string" required:"true" enum:"ThirdPartyFirewall"` // contains filtered or unexported fields }
func (s AssociateThirdPartyFirewallInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateThirdPartyFirewallInput) SetThirdPartyFirewall(v string) *AssociateThirdPartyFirewallInput
SetThirdPartyFirewall sets the ThirdPartyFirewall field's value.
func (s AssociateThirdPartyFirewallInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateThirdPartyFirewallInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateThirdPartyFirewallOutput struct { // The current status for setting a Firewall Manager policy administrator's // account as an administrator of the third-party firewall tenant. // // * ONBOARDING - The Firewall Manager policy administrator is being designated // as a tenant administrator. // // * ONBOARD_COMPLETE - The Firewall Manager policy administrator is designated // as a tenant administrator. // // * OFFBOARDING - The Firewall Manager policy administrator is being removed // as a tenant administrator. // // * OFFBOARD_COMPLETE - The Firewall Manager policy administrator has been // removed as a tenant administrator. // // * NOT_EXIST - The Firewall Manager policy administrator doesn't exist // as a tenant administrator. ThirdPartyFirewallStatus *string `type:"string" enum:"ThirdPartyFirewallAssociationStatus"` // contains filtered or unexported fields }
func (s AssociateThirdPartyFirewallOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateThirdPartyFirewallOutput) SetThirdPartyFirewallStatus(v string) *AssociateThirdPartyFirewallOutput
SetThirdPartyFirewallStatus sets the ThirdPartyFirewallStatus field's value.
func (s AssociateThirdPartyFirewallOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AwsEc2InstanceViolation struct { // Violation detail 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 }
Violation detail for an EC2 instance resource.
func (s AwsEc2InstanceViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AwsEc2InstanceViolation) SetAwsEc2NetworkInterfaceViolations(v []*AwsEc2NetworkInterfaceViolation) *AwsEc2InstanceViolation
SetAwsEc2NetworkInterfaceViolations sets the AwsEc2NetworkInterfaceViolations field's value.
func (s *AwsEc2InstanceViolation) SetViolationTarget(v string) *AwsEc2InstanceViolation
SetViolationTarget sets the ViolationTarget field's value.
func (s AwsEc2InstanceViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AwsEc2NetworkInterfaceViolation struct { // List of security groups that violate the rules specified in the primary security // group of the Firewall Manager policy. ViolatingSecurityGroups []*string `type:"list"` // The resource ID of the network interface. ViolationTarget *string `type:"string"` // contains filtered or unexported fields }
Violation detail for network interfaces associated with an EC2 instance.
func (s AwsEc2NetworkInterfaceViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AwsEc2NetworkInterfaceViolation) SetViolatingSecurityGroups(v []*string) *AwsEc2NetworkInterfaceViolation
SetViolatingSecurityGroups sets the ViolatingSecurityGroups field's value.
func (s *AwsEc2NetworkInterfaceViolation) SetViolationTarget(v string) *AwsEc2NetworkInterfaceViolation
SetViolationTarget sets the ViolationTarget field's value.
func (s AwsEc2NetworkInterfaceViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AwsVPCSecurityGroupViolation struct { // List of rules specified in the security group of the 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 }
Violation detail for the rule violation in a security group when compared to the primary security group of the Firewall Manager policy.
func (s AwsVPCSecurityGroupViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AwsVPCSecurityGroupViolation) SetPartialMatches(v []*PartialMatch) *AwsVPCSecurityGroupViolation
SetPartialMatches sets the PartialMatches field's value.
func (s *AwsVPCSecurityGroupViolation) SetPossibleSecurityGroupRemediationActions(v []*SecurityGroupRemediationAction) *AwsVPCSecurityGroupViolation
SetPossibleSecurityGroupRemediationActions sets the PossibleSecurityGroupRemediationActions field's value.
func (s *AwsVPCSecurityGroupViolation) SetViolationTarget(v string) *AwsVPCSecurityGroupViolation
SetViolationTarget sets the ViolationTarget field's value.
func (s *AwsVPCSecurityGroupViolation) SetViolationTargetDescription(v string) *AwsVPCSecurityGroupViolation
SetViolationTargetDescription sets the ViolationTargetDescription field's value.
func (s AwsVPCSecurityGroupViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchAssociateResourceInput struct { // The uniform resource identifiers (URIs) of resources that should be associated // to the resource set. The URIs must be Amazon Resource Names (ARNs). // // Items is a required field Items []*string `type:"list" required:"true"` // A unique identifier for the resource set, used in a request to refer to the // resource set. // // ResourceSetIdentifier is a required field ResourceSetIdentifier *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s BatchAssociateResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchAssociateResourceInput) SetItems(v []*string) *BatchAssociateResourceInput
SetItems sets the Items field's value.
func (s *BatchAssociateResourceInput) SetResourceSetIdentifier(v string) *BatchAssociateResourceInput
SetResourceSetIdentifier sets the ResourceSetIdentifier field's value.
func (s BatchAssociateResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchAssociateResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchAssociateResourceOutput struct { // The resources that failed to associate to the resource set. // // FailedItems is a required field FailedItems []*FailedItem `type:"list" required:"true"` // A unique identifier for the resource set, used in a request to refer to the // resource set. // // ResourceSetIdentifier is a required field ResourceSetIdentifier *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s BatchAssociateResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchAssociateResourceOutput) SetFailedItems(v []*FailedItem) *BatchAssociateResourceOutput
SetFailedItems sets the FailedItems field's value.
func (s *BatchAssociateResourceOutput) SetResourceSetIdentifier(v string) *BatchAssociateResourceOutput
SetResourceSetIdentifier sets the ResourceSetIdentifier field's value.
func (s BatchAssociateResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchDisassociateResourceInput struct { // The uniform resource identifiers (URI) of resources that should be disassociated // from the resource set. The URIs must be Amazon Resource Names (ARNs). // // Items is a required field Items []*string `type:"list" required:"true"` // A unique identifier for the resource set, used in a request to refer to the // resource set. // // ResourceSetIdentifier is a required field ResourceSetIdentifier *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s BatchDisassociateResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchDisassociateResourceInput) SetItems(v []*string) *BatchDisassociateResourceInput
SetItems sets the Items field's value.
func (s *BatchDisassociateResourceInput) SetResourceSetIdentifier(v string) *BatchDisassociateResourceInput
SetResourceSetIdentifier sets the ResourceSetIdentifier field's value.
func (s BatchDisassociateResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchDisassociateResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchDisassociateResourceOutput struct { // The resources that failed to disassociate from the resource set. // // FailedItems is a required field FailedItems []*FailedItem `type:"list" required:"true"` // A unique identifier for the resource set, used in a request to refer to the // resource set. // // ResourceSetIdentifier is a required field ResourceSetIdentifier *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s BatchDisassociateResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BatchDisassociateResourceOutput) SetFailedItems(v []*FailedItem) *BatchDisassociateResourceOutput
SetFailedItems sets the FailedItems field's value.
func (s *BatchDisassociateResourceOutput) SetResourceSetIdentifier(v string) *BatchDisassociateResourceOutput
SetResourceSetIdentifier sets the ResourceSetIdentifier field's value.
func (s BatchDisassociateResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ComplianceViolator struct { // Metadata about the resource that doesn't comply with the policy scope. Metadata map[string]*string `type:"map"` // The resource ID. ResourceId *string `min:"1" type:"string"` // The resource type. This is in the format shown in the Amazon Web Services // 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 (s ComplianceViolator) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ComplianceViolator) SetMetadata(v map[string]*string) *ComplianceViolator
SetMetadata sets the Metadata field's value.
func (s *ComplianceViolator) SetResourceId(v string) *ComplianceViolator
SetResourceId sets the ResourceId field's value.
func (s *ComplianceViolator) SetResourceType(v string) *ComplianceViolator
SetResourceType sets the ResourceType field's value.
func (s *ComplianceViolator) SetViolationReason(v string) *ComplianceViolator
SetViolationReason sets the ViolationReason field's value.
func (s ComplianceViolator) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateNetworkAclAction struct { // Brief description of this remediation action. Description *string `type:"string"` // Indicates whether it is possible for Firewall Manager to perform this remediation // action. A false value indicates that auto remediation is disabled or Firewall // Manager is unable to perform the action due to a conflict of some kind. FMSCanRemediate *bool `type:"boolean"` // The VPC that's associated with the remediation action. Vpc *ActionTarget `type:"structure"` // contains filtered or unexported fields }
Information about the CreateNetworkAcl action in Amazon EC2. This is a remediation option in RemediationAction.
func (s CreateNetworkAclAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateNetworkAclAction) SetDescription(v string) *CreateNetworkAclAction
SetDescription sets the Description field's value.
func (s *CreateNetworkAclAction) SetFMSCanRemediate(v bool) *CreateNetworkAclAction
SetFMSCanRemediate sets the FMSCanRemediate field's value.
func (s *CreateNetworkAclAction) SetVpc(v *ActionTarget) *CreateNetworkAclAction
SetVpc sets the Vpc field's value.
func (s CreateNetworkAclAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateNetworkAclEntriesAction struct { // Brief description of this remediation action. Description *string `type:"string"` // Indicates whether it is possible for Firewall Manager to perform this remediation // action. A false value indicates that auto remediation is disabled or Firewall // Manager is unable to perform the action due to a conflict of some kind. FMSCanRemediate *bool `type:"boolean"` // Lists the entries that the remediation action would create. NetworkAclEntriesToBeCreated []*EntryDescription `type:"list"` // The network ACL that's associated with the remediation action. NetworkAclId *ActionTarget `type:"structure"` // contains filtered or unexported fields }
Information about the CreateNetworkAclEntries action in Amazon EC2. This is a remediation option in RemediationAction.
func (s CreateNetworkAclEntriesAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateNetworkAclEntriesAction) SetDescription(v string) *CreateNetworkAclEntriesAction
SetDescription sets the Description field's value.
func (s *CreateNetworkAclEntriesAction) SetFMSCanRemediate(v bool) *CreateNetworkAclEntriesAction
SetFMSCanRemediate sets the FMSCanRemediate field's value.
func (s *CreateNetworkAclEntriesAction) SetNetworkAclEntriesToBeCreated(v []*EntryDescription) *CreateNetworkAclEntriesAction
SetNetworkAclEntriesToBeCreated sets the NetworkAclEntriesToBeCreated field's value.
func (s *CreateNetworkAclEntriesAction) SetNetworkAclId(v *ActionTarget) *CreateNetworkAclEntriesAction
SetNetworkAclId sets the NetworkAclId field's value.
func (s CreateNetworkAclEntriesAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s DeleteAppsListInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteAppsListInput) SetListId(v string) *DeleteAppsListInput
SetListId sets the ListId field's value.
func (s DeleteAppsListInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteAppsListInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAppsListOutput struct {
// contains filtered or unexported fields
}
func (s DeleteAppsListOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteAppsListOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteNetworkAclEntriesAction struct { // Brief description of this remediation action. Description *string `type:"string"` // Indicates whether it is possible for Firewall Manager to perform this remediation // action. A false value indicates that auto remediation is disabled or Firewall // Manager is unable to perform the action due to a conflict of some kind. FMSCanRemediate *bool `type:"boolean"` // Lists the entries that the remediation action would delete. NetworkAclEntriesToBeDeleted []*EntryDescription `type:"list"` // The network ACL that's associated with the remediation action. NetworkAclId *ActionTarget `type:"structure"` // contains filtered or unexported fields }
Information about the DeleteNetworkAclEntries action in Amazon EC2. This is a remediation option in RemediationAction.
func (s DeleteNetworkAclEntriesAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteNetworkAclEntriesAction) SetDescription(v string) *DeleteNetworkAclEntriesAction
SetDescription sets the Description field's value.
func (s *DeleteNetworkAclEntriesAction) SetFMSCanRemediate(v bool) *DeleteNetworkAclEntriesAction
SetFMSCanRemediate sets the FMSCanRemediate field's value.
func (s *DeleteNetworkAclEntriesAction) SetNetworkAclEntriesToBeDeleted(v []*EntryDescription) *DeleteNetworkAclEntriesAction
SetNetworkAclEntriesToBeDeleted sets the NetworkAclEntriesToBeDeleted field's value.
func (s *DeleteNetworkAclEntriesAction) SetNetworkAclId(v *ActionTarget) *DeleteNetworkAclEntriesAction
SetNetworkAclId sets the NetworkAclId field's value.
func (s DeleteNetworkAclEntriesAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteNotificationChannelInput struct {
// contains filtered or unexported fields
}
func (s DeleteNotificationChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteNotificationChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteNotificationChannelOutput struct {
// contains filtered or unexported fields
}
func (s DeleteNotificationChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteNotificationChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeletePolicyInput struct { // If True, the request performs cleanup according to the policy type. // // For WAF and Shield Advanced policies, the cleanup does the following: // // * Deletes rule groups created by 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 // // For security group common policies, even if set to False, Firewall Manager // deletes all security groups created by Firewall Manager that aren't associated // with any other 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 (s DeletePolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeletePolicyInput) SetDeleteAllPolicyResources(v bool) *DeletePolicyInput
SetDeleteAllPolicyResources sets the DeleteAllPolicyResources field's value.
func (s *DeletePolicyInput) SetPolicyId(v string) *DeletePolicyInput
SetPolicyId sets the PolicyId field's value.
func (s DeletePolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeletePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeletePolicyOutput struct {
// contains filtered or unexported fields
}
func (s DeletePolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeletePolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s DeleteProtocolsListInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteProtocolsListInput) SetListId(v string) *DeleteProtocolsListInput
SetListId sets the ListId field's value.
func (s DeleteProtocolsListInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteProtocolsListInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteProtocolsListOutput struct {
// contains filtered or unexported fields
}
func (s DeleteProtocolsListOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteProtocolsListOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteResourceSetInput struct { // A unique identifier for the resource set, used in a request to refer to the // resource set. // // Identifier is a required field Identifier *string `min:"22" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteResourceSetInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteResourceSetInput) SetIdentifier(v string) *DeleteResourceSetInput
SetIdentifier sets the Identifier field's value.
func (s DeleteResourceSetInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteResourceSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteResourceSetOutput struct {
// contains filtered or unexported fields
}
func (s DeleteResourceSetOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteResourceSetOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateAdminAccountInput struct {
// contains filtered or unexported fields
}
func (s DisassociateAdminAccountInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DisassociateAdminAccountInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateAdminAccountOutput struct {
// contains filtered or unexported fields
}
func (s DisassociateAdminAccountOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DisassociateAdminAccountOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateThirdPartyFirewallInput struct { // The name of the third-party firewall vendor. // // ThirdPartyFirewall is a required field ThirdPartyFirewall *string `type:"string" required:"true" enum:"ThirdPartyFirewall"` // contains filtered or unexported fields }
func (s DisassociateThirdPartyFirewallInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateThirdPartyFirewallInput) SetThirdPartyFirewall(v string) *DisassociateThirdPartyFirewallInput
SetThirdPartyFirewall sets the ThirdPartyFirewall field's value.
func (s DisassociateThirdPartyFirewallInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateThirdPartyFirewallInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateThirdPartyFirewallOutput struct { // The current status for the disassociation of a Firewall Manager administrators // account with a third-party firewall. ThirdPartyFirewallStatus *string `type:"string" enum:"ThirdPartyFirewallAssociationStatus"` // contains filtered or unexported fields }
func (s DisassociateThirdPartyFirewallOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateThirdPartyFirewallOutput) SetThirdPartyFirewallStatus(v string) *DisassociateThirdPartyFirewallOutput
SetThirdPartyFirewallStatus sets the ThirdPartyFirewallStatus field's value.
func (s DisassociateThirdPartyFirewallOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DiscoveredResource struct { // The Amazon Web Services account ID associated with the discovered resource. AccountId *string `min:"1" type:"string"` // The name of the discovered resource. Name *string `min:"1" type:"string"` // The type of the discovered resource. Type *string `min:"1" type:"string"` // The universal resource identifier (URI) of the discovered resource. URI *string `min:"1" type:"string"` // contains filtered or unexported fields }
A resource in the organization that's available to be associated with a Firewall Manager resource set.
func (s DiscoveredResource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DiscoveredResource) SetAccountId(v string) *DiscoveredResource
SetAccountId sets the AccountId field's value.
func (s *DiscoveredResource) SetName(v string) *DiscoveredResource
SetName sets the Name field's value.
func (s *DiscoveredResource) SetType(v string) *DiscoveredResource
SetType sets the Type field's value.
func (s *DiscoveredResource) SetURI(v string) *DiscoveredResource
SetURI sets the URI field's value.
func (s DiscoveredResource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DnsDuplicateRuleGroupViolation struct { // Information about the VPC ID. 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 (s DnsDuplicateRuleGroupViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DnsDuplicateRuleGroupViolation) SetViolationTarget(v string) *DnsDuplicateRuleGroupViolation
SetViolationTarget sets the ViolationTarget field's value.
func (s *DnsDuplicateRuleGroupViolation) SetViolationTargetDescription(v string) *DnsDuplicateRuleGroupViolation
SetViolationTargetDescription sets the ViolationTargetDescription field's value.
func (s DnsDuplicateRuleGroupViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DnsRuleGroupLimitExceededViolation struct { // The number of rule groups currently associated with the VPC. NumberOfRuleGroupsAlreadyAssociated *int64 `type:"integer"` // Information about the VPC ID. 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 (s DnsRuleGroupLimitExceededViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DnsRuleGroupLimitExceededViolation) SetNumberOfRuleGroupsAlreadyAssociated(v int64) *DnsRuleGroupLimitExceededViolation
SetNumberOfRuleGroupsAlreadyAssociated sets the NumberOfRuleGroupsAlreadyAssociated field's value.
func (s *DnsRuleGroupLimitExceededViolation) SetViolationTarget(v string) *DnsRuleGroupLimitExceededViolation
SetViolationTarget sets the ViolationTarget field's value.
func (s *DnsRuleGroupLimitExceededViolation) SetViolationTargetDescription(v string) *DnsRuleGroupLimitExceededViolation
SetViolationTargetDescription sets the ViolationTargetDescription field's value.
func (s DnsRuleGroupLimitExceededViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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"` // Information about the VPC ID. 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 (s DnsRuleGroupPriorityConflictViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DnsRuleGroupPriorityConflictViolation) SetConflictingPolicyId(v string) *DnsRuleGroupPriorityConflictViolation
SetConflictingPolicyId sets the ConflictingPolicyId field's value.
func (s *DnsRuleGroupPriorityConflictViolation) SetConflictingPriority(v int64) *DnsRuleGroupPriorityConflictViolation
SetConflictingPriority sets the ConflictingPriority field's value.
func (s *DnsRuleGroupPriorityConflictViolation) SetUnavailablePriorities(v []*int64) *DnsRuleGroupPriorityConflictViolation
SetUnavailablePriorities sets the UnavailablePriorities field's value.
func (s *DnsRuleGroupPriorityConflictViolation) SetViolationTarget(v string) *DnsRuleGroupPriorityConflictViolation
SetViolationTarget sets the ViolationTarget field's value.
func (s *DnsRuleGroupPriorityConflictViolation) SetViolationTargetDescription(v string) *DnsRuleGroupPriorityConflictViolation
SetViolationTargetDescription sets the ViolationTargetDescription field's value.
func (s DnsRuleGroupPriorityConflictViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EC2AssociateRouteTableAction struct { // A description of the EC2 route table that is associated with the remediation // action. Description *string `type:"string"` // The ID of the gateway to be used with the EC2 route table that is associated // with the remediation action. GatewayId *ActionTarget `type:"structure"` // The ID of the EC2 route table that is associated with the remediation action. // // RouteTableId is a required field RouteTableId *ActionTarget `type:"structure" required:"true"` // The ID of the subnet for the EC2 route table that is associated with the // remediation action. SubnetId *ActionTarget `type:"structure"` // contains filtered or unexported fields }
The action of associating an EC2 resource, such as a subnet or internet gateway, with a route table.
func (s EC2AssociateRouteTableAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EC2AssociateRouteTableAction) SetDescription(v string) *EC2AssociateRouteTableAction
SetDescription sets the Description field's value.
func (s *EC2AssociateRouteTableAction) SetGatewayId(v *ActionTarget) *EC2AssociateRouteTableAction
SetGatewayId sets the GatewayId field's value.
func (s *EC2AssociateRouteTableAction) SetRouteTableId(v *ActionTarget) *EC2AssociateRouteTableAction
SetRouteTableId sets the RouteTableId field's value.
func (s *EC2AssociateRouteTableAction) SetSubnetId(v *ActionTarget) *EC2AssociateRouteTableAction
SetSubnetId sets the SubnetId field's value.
func (s EC2AssociateRouteTableAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EC2CopyRouteTableAction struct { // A description of the copied EC2 route table that is associated with the remediation // action. Description *string `type:"string"` // The ID of the copied EC2 route table that is associated with the remediation // action. // // RouteTableId is a required field RouteTableId *ActionTarget `type:"structure" required:"true"` // The VPC ID of the copied EC2 route table that is associated with the remediation // action. // // VpcId is a required field VpcId *ActionTarget `type:"structure" required:"true"` // contains filtered or unexported fields }
An action that copies the EC2 route table for use in remediation.
func (s EC2CopyRouteTableAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EC2CopyRouteTableAction) SetDescription(v string) *EC2CopyRouteTableAction
SetDescription sets the Description field's value.
func (s *EC2CopyRouteTableAction) SetRouteTableId(v *ActionTarget) *EC2CopyRouteTableAction
SetRouteTableId sets the RouteTableId field's value.
func (s *EC2CopyRouteTableAction) SetVpcId(v *ActionTarget) *EC2CopyRouteTableAction
SetVpcId sets the VpcId field's value.
func (s EC2CopyRouteTableAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EC2CreateRouteAction struct { // A description of CreateRoute action in Amazon EC2. Description *string `type:"string"` // Information about the IPv4 CIDR address block used for the destination match. DestinationCidrBlock *string `type:"string"` // Information about the IPv6 CIDR block destination. DestinationIpv6CidrBlock *string `type:"string"` // Information about the ID of a prefix list used for the destination match. DestinationPrefixListId *string `min:"1" type:"string"` // Information about the ID of an internet gateway or virtual private gateway // attached to your VPC. GatewayId *ActionTarget `type:"structure"` // Information about the ID of the route table for the route. // // RouteTableId is a required field RouteTableId *ActionTarget `type:"structure" required:"true"` // Information about the ID of a VPC endpoint. Supported for Gateway Load Balancer // endpoints only. VpcEndpointId *ActionTarget `type:"structure"` // contains filtered or unexported fields }
Information about the CreateRoute action in Amazon EC2.
func (s EC2CreateRouteAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EC2CreateRouteAction) SetDescription(v string) *EC2CreateRouteAction
SetDescription sets the Description field's value.
func (s *EC2CreateRouteAction) SetDestinationCidrBlock(v string) *EC2CreateRouteAction
SetDestinationCidrBlock sets the DestinationCidrBlock field's value.
func (s *EC2CreateRouteAction) SetDestinationIpv6CidrBlock(v string) *EC2CreateRouteAction
SetDestinationIpv6CidrBlock sets the DestinationIpv6CidrBlock field's value.
func (s *EC2CreateRouteAction) SetDestinationPrefixListId(v string) *EC2CreateRouteAction
SetDestinationPrefixListId sets the DestinationPrefixListId field's value.
func (s *EC2CreateRouteAction) SetGatewayId(v *ActionTarget) *EC2CreateRouteAction
SetGatewayId sets the GatewayId field's value.
func (s *EC2CreateRouteAction) SetRouteTableId(v *ActionTarget) *EC2CreateRouteAction
SetRouteTableId sets the RouteTableId field's value.
func (s *EC2CreateRouteAction) SetVpcEndpointId(v *ActionTarget) *EC2CreateRouteAction
SetVpcEndpointId sets the VpcEndpointId field's value.
func (s EC2CreateRouteAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EC2CreateRouteTableAction struct { // A description of the CreateRouteTable action. Description *string `type:"string"` // Information about the ID of a VPC. // // VpcId is a required field VpcId *ActionTarget `type:"structure" required:"true"` // contains filtered or unexported fields }
Information about the CreateRouteTable action in Amazon EC2.
func (s EC2CreateRouteTableAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EC2CreateRouteTableAction) SetDescription(v string) *EC2CreateRouteTableAction
SetDescription sets the Description field's value.
func (s *EC2CreateRouteTableAction) SetVpcId(v *ActionTarget) *EC2CreateRouteTableAction
SetVpcId sets the VpcId field's value.
func (s EC2CreateRouteTableAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EC2DeleteRouteAction struct { // A description of the DeleteRoute action. Description *string `type:"string"` // Information about the IPv4 CIDR range for the route. The value you specify // must match the CIDR for the route exactly. DestinationCidrBlock *string `type:"string"` // Information about the IPv6 CIDR range for the route. The value you specify // must match the CIDR for the route exactly. DestinationIpv6CidrBlock *string `type:"string"` // Information about the ID of the prefix list for the route. DestinationPrefixListId *string `min:"1" type:"string"` // Information about the ID of the route table. // // RouteTableId is a required field RouteTableId *ActionTarget `type:"structure" required:"true"` // contains filtered or unexported fields }
Information about the DeleteRoute action in Amazon EC2.
func (s EC2DeleteRouteAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EC2DeleteRouteAction) SetDescription(v string) *EC2DeleteRouteAction
SetDescription sets the Description field's value.
func (s *EC2DeleteRouteAction) SetDestinationCidrBlock(v string) *EC2DeleteRouteAction
SetDestinationCidrBlock sets the DestinationCidrBlock field's value.
func (s *EC2DeleteRouteAction) SetDestinationIpv6CidrBlock(v string) *EC2DeleteRouteAction
SetDestinationIpv6CidrBlock sets the DestinationIpv6CidrBlock field's value.
func (s *EC2DeleteRouteAction) SetDestinationPrefixListId(v string) *EC2DeleteRouteAction
SetDestinationPrefixListId sets the DestinationPrefixListId field's value.
func (s *EC2DeleteRouteAction) SetRouteTableId(v *ActionTarget) *EC2DeleteRouteAction
SetRouteTableId sets the RouteTableId field's value.
func (s EC2DeleteRouteAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EC2ReplaceRouteAction struct { // A description of the ReplaceRoute action in Amazon EC2. Description *string `type:"string"` // Information about the IPv4 CIDR address block used for the destination match. // The value that you provide must match the CIDR of an existing route in the // table. DestinationCidrBlock *string `type:"string"` // Information about the IPv6 CIDR address block used for the destination match. // The value that you provide must match the CIDR of an existing route in the // table. DestinationIpv6CidrBlock *string `type:"string"` // Information about the ID of the prefix list for the route. DestinationPrefixListId *string `min:"1" type:"string"` // Information about the ID of an internet gateway or virtual private gateway. GatewayId *ActionTarget `type:"structure"` // Information about the ID of the route table. // // RouteTableId is a required field RouteTableId *ActionTarget `type:"structure" required:"true"` // contains filtered or unexported fields }
Information about the ReplaceRoute action in Amazon EC2.
func (s EC2ReplaceRouteAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EC2ReplaceRouteAction) SetDescription(v string) *EC2ReplaceRouteAction
SetDescription sets the Description field's value.
func (s *EC2ReplaceRouteAction) SetDestinationCidrBlock(v string) *EC2ReplaceRouteAction
SetDestinationCidrBlock sets the DestinationCidrBlock field's value.
func (s *EC2ReplaceRouteAction) SetDestinationIpv6CidrBlock(v string) *EC2ReplaceRouteAction
SetDestinationIpv6CidrBlock sets the DestinationIpv6CidrBlock field's value.
func (s *EC2ReplaceRouteAction) SetDestinationPrefixListId(v string) *EC2ReplaceRouteAction
SetDestinationPrefixListId sets the DestinationPrefixListId field's value.
func (s *EC2ReplaceRouteAction) SetGatewayId(v *ActionTarget) *EC2ReplaceRouteAction
SetGatewayId sets the GatewayId field's value.
func (s *EC2ReplaceRouteAction) SetRouteTableId(v *ActionTarget) *EC2ReplaceRouteAction
SetRouteTableId sets the RouteTableId field's value.
func (s EC2ReplaceRouteAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EC2ReplaceRouteTableAssociationAction struct { // Information about the association ID. // // AssociationId is a required field AssociationId *ActionTarget `type:"structure" required:"true"` // A description of the ReplaceRouteTableAssociation action in Amazon EC2. Description *string `type:"string"` // Information about the ID of the new route table to associate with the subnet. // // RouteTableId is a required field RouteTableId *ActionTarget `type:"structure" required:"true"` // contains filtered or unexported fields }
Information about the ReplaceRouteTableAssociation action in Amazon EC2.
func (s EC2ReplaceRouteTableAssociationAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EC2ReplaceRouteTableAssociationAction) SetAssociationId(v *ActionTarget) *EC2ReplaceRouteTableAssociationAction
SetAssociationId sets the AssociationId field's value.
func (s *EC2ReplaceRouteTableAssociationAction) SetDescription(v string) *EC2ReplaceRouteTableAssociationAction
SetDescription sets the Description field's value.
func (s *EC2ReplaceRouteTableAssociationAction) SetRouteTableId(v *ActionTarget) *EC2ReplaceRouteTableAssociationAction
SetRouteTableId sets the RouteTableId field's value.
func (s EC2ReplaceRouteTableAssociationAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EntryDescription struct { // Describes a rule in a network ACL. // // Each network ACL has a set of numbered ingress rules and a separate set of // numbered egress rules. When determining whether a packet should be allowed // in or out of a subnet associated with the network ACL, Amazon Web Services // processes the entries in the network ACL according to the rule numbers, in // ascending order. // // When you manage an individual network ACL, you explicitly specify the rule // numbers. When you specify the network ACL rules in a Firewall Manager policy, // you provide the rules to run first, in the order that you want them to run, // and the rules to run last, in the order that you want them to run. Firewall // Manager assigns the rule numbers for you when you save the network ACL policy // specification. EntryDetail *NetworkAclEntry `type:"structure"` // The rule number for the entry. ACL entries are processed in ascending order // by rule number. In a Firewall Manager network ACL policy, Firewall Manager // assigns rule numbers. EntryRuleNumber *int64 `type:"integer"` // Specifies whether the entry is managed by Firewall Manager or by a user, // and, for Firewall Manager-managed entries, specifies whether the entry is // among those that run first in the network ACL or those that run last. EntryType *string `type:"string" enum:"EntryType"` // contains filtered or unexported fields }
Describes a single rule in a network ACL.
func (s EntryDescription) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EntryDescription) SetEntryDetail(v *NetworkAclEntry) *EntryDescription
SetEntryDetail sets the EntryDetail field's value.
func (s *EntryDescription) SetEntryRuleNumber(v int64) *EntryDescription
SetEntryRuleNumber sets the EntryRuleNumber field's value.
func (s *EntryDescription) SetEntryType(v string) *EntryDescription
SetEntryType sets the EntryType field's value.
func (s EntryDescription) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EntryViolation struct { // The evaluation location within the ordered list of entries where the ExpectedEntry // is currently located. ActualEvaluationOrder *string `type:"string"` // The list of entries that are in conflict with ExpectedEntry. EntriesWithConflicts []*EntryDescription `type:"list"` // The entry that's currently in the ExpectedEvaluationOrder location, in place // of the expected entry. EntryAtExpectedEvaluationOrder *EntryDescription `type:"structure"` // Descriptions of the violations that Firewall Manager found for these entries. EntryViolationReasons []*string `type:"list" enum:"EntryViolationReason"` // The Firewall Manager-managed network ACL entry that is involved in the entry // violation. ExpectedEntry *EntryDescription `type:"structure"` // The evaluation location within the ordered list of entries where the ExpectedEntry // should be, according to the network ACL policy specifications. ExpectedEvaluationOrder *string `type:"string"` // contains filtered or unexported fields }
Detailed information about an entry violation in a network ACL. The violation is against the network ACL specification inside the Firewall Manager network ACL policy. This data object is part of InvalidNetworkAclEntriesViolation.
func (s EntryViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EntryViolation) SetActualEvaluationOrder(v string) *EntryViolation
SetActualEvaluationOrder sets the ActualEvaluationOrder field's value.
func (s *EntryViolation) SetEntriesWithConflicts(v []*EntryDescription) *EntryViolation
SetEntriesWithConflicts sets the EntriesWithConflicts field's value.
func (s *EntryViolation) SetEntryAtExpectedEvaluationOrder(v *EntryDescription) *EntryViolation
SetEntryAtExpectedEvaluationOrder sets the EntryAtExpectedEvaluationOrder field's value.
func (s *EntryViolation) SetEntryViolationReasons(v []*string) *EntryViolation
SetEntryViolationReasons sets the EntryViolationReasons field's value.
func (s *EntryViolation) SetExpectedEntry(v *EntryDescription) *EntryViolation
SetExpectedEntry sets the ExpectedEntry field's value.
func (s *EntryViolation) SetExpectedEvaluationOrder(v string) *EntryViolation
SetExpectedEvaluationOrder sets the ExpectedEvaluationOrder field's value.
func (s EntryViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EvaluationResult struct { // Describes an Amazon Web Services account's compliance with the Firewall Manager // policy. ComplianceStatus *string `type:"string" enum:"PolicyComplianceStatusType"` // Indicates that over 100 resources are noncompliant with the Firewall Manager // policy. EvaluationLimitExceeded *bool `type:"boolean"` // The number of resources that are noncompliant with the specified policy. // For 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 (s EvaluationResult) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EvaluationResult) SetComplianceStatus(v string) *EvaluationResult
SetComplianceStatus sets the ComplianceStatus field's value.
func (s *EvaluationResult) SetEvaluationLimitExceeded(v bool) *EvaluationResult
SetEvaluationLimitExceeded sets the EvaluationLimitExceeded field's value.
func (s *EvaluationResult) SetViolatorCount(v int64) *EvaluationResult
SetViolatorCount sets the ViolatorCount field's value.
func (s EvaluationResult) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExpectedRoute struct { // Information about the allowed targets. AllowedTargets []*string `type:"list"` // Information about the contributing subnets. ContributingSubnets []*string `type:"list"` // Information about the IPv4 CIDR block. IpV4Cidr *string `type:"string"` // Information about the IPv6 CIDR block. IpV6Cidr *string `type:"string"` // Information about the ID of the prefix list for the route. PrefixListId *string `type:"string"` // Information about the route table ID. RouteTableId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Information about the expected route in the route table.
func (s ExpectedRoute) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ExpectedRoute) SetAllowedTargets(v []*string) *ExpectedRoute
SetAllowedTargets sets the AllowedTargets field's value.
func (s *ExpectedRoute) SetContributingSubnets(v []*string) *ExpectedRoute
SetContributingSubnets sets the ContributingSubnets field's value.
func (s *ExpectedRoute) SetIpV4Cidr(v string) *ExpectedRoute
SetIpV4Cidr sets the IpV4Cidr field's value.
func (s *ExpectedRoute) SetIpV6Cidr(v string) *ExpectedRoute
SetIpV6Cidr sets the IpV6Cidr field's value.
func (s *ExpectedRoute) SetPrefixListId(v string) *ExpectedRoute
SetPrefixListId sets the PrefixListId field's value.
func (s *ExpectedRoute) SetRouteTableId(v string) *ExpectedRoute
SetRouteTableId sets the RouteTableId field's value.
func (s ExpectedRoute) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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(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 (c *FMS) AssociateAdminAccount(input *AssociateAdminAccountInput) (*AssociateAdminAccountOutput, error)
AssociateAdminAccount API operation for Firewall Management Service.
Sets a Firewall Manager default administrator account. The Firewall Manager default administrator account can manage third-party firewalls and has full administrative scope that allows administration of all policy types, accounts, organizational units, and Regions. This account must be a member account of the organization in Organizations whose resources you want to protect.
For information about working with Firewall Manager administrator accounts, see Managing Firewall Manager administrators (https://docs.aws.amazon.com/organizations/latest/userguide/fms-administrators.html) in the 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 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 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 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.
LimitExceededException The operation exceeds a resource limit, for example, the maximum number of policy objects that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the WAF Developer Guide.
See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/AssociateAdminAccount
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 (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 (c *FMS) AssociateThirdPartyFirewall(input *AssociateThirdPartyFirewallInput) (*AssociateThirdPartyFirewallOutput, error)
AssociateThirdPartyFirewall API operation for Firewall Management Service.
Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service. A tenant is an instance of the third-party firewall service that's associated with your Amazon Web Services customer 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 AssociateThirdPartyFirewall 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 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 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/AssociateThirdPartyFirewall
func (c *FMS) AssociateThirdPartyFirewallRequest(input *AssociateThirdPartyFirewallInput) (req *request.Request, output *AssociateThirdPartyFirewallOutput)
AssociateThirdPartyFirewallRequest generates a "aws/request.Request" representing the client's request for the AssociateThirdPartyFirewall 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 AssociateThirdPartyFirewall for more information on using the AssociateThirdPartyFirewall 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 AssociateThirdPartyFirewallRequest method. req, resp := client.AssociateThirdPartyFirewallRequest(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/AssociateThirdPartyFirewall
func (c *FMS) AssociateThirdPartyFirewallWithContext(ctx aws.Context, input *AssociateThirdPartyFirewallInput, opts ...request.Option) (*AssociateThirdPartyFirewallOutput, error)
AssociateThirdPartyFirewallWithContext is the same as AssociateThirdPartyFirewall with the addition of the ability to pass a context and additional request options.
See AssociateThirdPartyFirewall 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 (c *FMS) BatchAssociateResource(input *BatchAssociateResourceInput) (*BatchAssociateResourceOutput, error)
BatchAssociateResource API operation for Firewall Management Service.
Associate resources to a Firewall Manager resource set.
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 BatchAssociateResource 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 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 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 Amazon Web Services account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the WAF Developer Guide.
ResourceNotFoundException The specified resource was not found.
See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/BatchAssociateResource
func (c *FMS) BatchAssociateResourceRequest(input *BatchAssociateResourceInput) (req *request.Request, output *BatchAssociateResourceOutput)
BatchAssociateResourceRequest generates a "aws/request.Request" representing the client's request for the BatchAssociateResource 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 BatchAssociateResource for more information on using the BatchAssociateResource 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 BatchAssociateResourceRequest method. req, resp := client.BatchAssociateResourceRequest(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/BatchAssociateResource
func (c *FMS) BatchAssociateResourceWithContext(ctx aws.Context, input *BatchAssociateResourceInput, opts ...request.Option) (*BatchAssociateResourceOutput, error)
BatchAssociateResourceWithContext is the same as BatchAssociateResource with the addition of the ability to pass a context and additional request options.
See BatchAssociateResource 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 (c *FMS) BatchDisassociateResource(input *BatchDisassociateResourceInput) (*BatchDisassociateResourceOutput, error)
BatchDisassociateResource API operation for Firewall Management Service.
Disassociates resources from a Firewall Manager resource set.
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 BatchDisassociateResource 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 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 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.
ResourceNotFoundException The specified resource was not found.
See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/BatchDisassociateResource
func (c *FMS) BatchDisassociateResourceRequest(input *BatchDisassociateResourceInput) (req *request.Request, output *BatchDisassociateResourceOutput)
BatchDisassociateResourceRequest generates a "aws/request.Request" representing the client's request for the BatchDisassociateResource 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 BatchDisassociateResource for more information on using the BatchDisassociateResource 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 BatchDisassociateResourceRequest method. req, resp := client.BatchDisassociateResourceRequest(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/BatchDisassociateResource
func (c *FMS) BatchDisassociateResourceWithContext(ctx aws.Context, input *BatchDisassociateResourceInput, opts ...request.Option) (*BatchDisassociateResourceOutput, error)
BatchDisassociateResourceWithContext is the same as BatchDisassociateResource with the addition of the ability to pass a context and additional request options.
See BatchDisassociateResource 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 (c *FMS) DeleteAppsList(input *DeleteAppsListInput) (*DeleteAppsListOutput, error)
DeleteAppsList API operation for Firewall Management Service.
Permanently deletes an 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 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 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 (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 (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 (c *FMS) DeleteNotificationChannel(input *DeleteNotificationChannelInput) (*DeleteNotificationChannelOutput, error)
DeleteNotificationChannel API operation for Firewall Management Service.
Deletes an Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record 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 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 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 (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 (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 (c *FMS) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error)
DeletePolicy API operation for Firewall Management Service.
Permanently deletes an 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 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 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 Amazon Web Services account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the WAF Developer Guide.
See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeletePolicy
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 (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 (c *FMS) DeleteProtocolsList(input *DeleteProtocolsListInput) (*DeleteProtocolsListOutput, error)
DeleteProtocolsList API operation for Firewall Management Service.
Permanently deletes an 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 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 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 (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 (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 (c *FMS) DeleteResourceSet(input *DeleteResourceSetInput) (*DeleteResourceSetOutput, error)
DeleteResourceSet API operation for Firewall Management Service.
Deletes the specified ResourceSet.
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 DeleteResourceSet 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 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 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/DeleteResourceSet
func (c *FMS) DeleteResourceSetRequest(input *DeleteResourceSetInput) (req *request.Request, output *DeleteResourceSetOutput)
DeleteResourceSetRequest generates a "aws/request.Request" representing the client's request for the DeleteResourceSet 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 DeleteResourceSet for more information on using the DeleteResourceSet 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 DeleteResourceSetRequest method. req, resp := client.DeleteResourceSetRequest(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/DeleteResourceSet
func (c *FMS) DeleteResourceSetWithContext(ctx aws.Context, input *DeleteResourceSetInput, opts ...request.Option) (*DeleteResourceSetOutput, error)
DeleteResourceSetWithContext is the same as DeleteResourceSet with the addition of the ability to pass a context and additional request options.
See DeleteResourceSet 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 (c *FMS) DisassociateAdminAccount(input *DisassociateAdminAccountInput) (*DisassociateAdminAccountOutput, error)
DisassociateAdminAccount API operation for Firewall Management Service.
Disassociates an Firewall Manager administrator account. To set a different account as an Firewall Manager administrator, submit a PutAdminAccount request. To set an account as a default administrator account, you must submit an AssociateAdminAccount request.
Disassociation of the default administrator account follows the first in, last out principle. If you are the default administrator, all Firewall Manager administrators within the organization must first disassociate their accounts before you can disassociate your 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 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 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 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 (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 (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 (c *FMS) DisassociateThirdPartyFirewall(input *DisassociateThirdPartyFirewallInput) (*DisassociateThirdPartyFirewallOutput, error)
DisassociateThirdPartyFirewall API operation for Firewall Management Service.
Disassociates a Firewall Manager policy administrator from a third-party firewall tenant. When you call DisassociateThirdPartyFirewall, the third-party firewall vendor deletes all of the firewalls that are associated with the 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 DisassociateThirdPartyFirewall 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 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 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/DisassociateThirdPartyFirewall
func (c *FMS) DisassociateThirdPartyFirewallRequest(input *DisassociateThirdPartyFirewallInput) (req *request.Request, output *DisassociateThirdPartyFirewallOutput)
DisassociateThirdPartyFirewallRequest generates a "aws/request.Request" representing the client's request for the DisassociateThirdPartyFirewall 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 DisassociateThirdPartyFirewall for more information on using the DisassociateThirdPartyFirewall 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 DisassociateThirdPartyFirewallRequest method. req, resp := client.DisassociateThirdPartyFirewallRequest(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/DisassociateThirdPartyFirewall
func (c *FMS) DisassociateThirdPartyFirewallWithContext(ctx aws.Context, input *DisassociateThirdPartyFirewallInput, opts ...request.Option) (*DisassociateThirdPartyFirewallOutput, error)
DisassociateThirdPartyFirewallWithContext is the same as DisassociateThirdPartyFirewall with the addition of the ability to pass a context and additional request options.
See DisassociateThirdPartyFirewall 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 (c *FMS) GetAdminAccount(input *GetAdminAccountInput) (*GetAdminAccountOutput, error)
GetAdminAccount API operation for Firewall Management Service.
Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default 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 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 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 (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 (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 (c *FMS) GetAdminScope(input *GetAdminScopeInput) (*GetAdminScopeOutput, error)
GetAdminScope API operation for Firewall Management Service.
Returns information about the specified account's administrative scope. The administrative scope defines the resources that an Firewall Manager administrator can manage.
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 GetAdminScope 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 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 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.
LimitExceededException The operation exceeds a resource limit, for example, the maximum number of policy objects that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the WAF Developer Guide.
See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetAdminScope
func (c *FMS) GetAdminScopeRequest(input *GetAdminScopeInput) (req *request.Request, output *GetAdminScopeOutput)
GetAdminScopeRequest generates a "aws/request.Request" representing the client's request for the GetAdminScope 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 GetAdminScope for more information on using the GetAdminScope 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 GetAdminScopeRequest method. req, resp := client.GetAdminScopeRequest(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/GetAdminScope
func (c *FMS) GetAdminScopeWithContext(ctx aws.Context, input *GetAdminScopeInput, opts ...request.Option) (*GetAdminScopeOutput, error)
GetAdminScopeWithContext is the same as GetAdminScope with the addition of the ability to pass a context and additional request options.
See GetAdminScope 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 (c *FMS) GetAppsList(input *GetAppsListInput) (*GetAppsListOutput, error)
GetAppsList API operation for Firewall Management Service.
Returns information about the specified 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 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 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 (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 (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 (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.
The reasons for resources being considered compliant depend on the Firewall Manager policy type.
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 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 Organizations before you can access it.
See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetComplianceDetail
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 (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 (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 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 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 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 (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 (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 (c *FMS) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error)
GetPolicy API operation for Firewall Management Service.
Returns information about the specified 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 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 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 (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 (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 (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 (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 (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 (c *FMS) GetProtocolsList(input *GetProtocolsListInput) (*GetProtocolsListOutput, error)
GetProtocolsList API operation for Firewall Management Service.
Returns information about the specified 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 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 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 (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 (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 (c *FMS) GetResourceSet(input *GetResourceSetInput) (*GetResourceSetOutput, error)
GetResourceSet API operation for Firewall Management Service.
Gets information about a specific resource set.
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 GetResourceSet 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 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 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/GetResourceSet
func (c *FMS) GetResourceSetRequest(input *GetResourceSetInput) (req *request.Request, output *GetResourceSetOutput)
GetResourceSetRequest generates a "aws/request.Request" representing the client's request for the GetResourceSet 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 GetResourceSet for more information on using the GetResourceSet 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 GetResourceSetRequest method. req, resp := client.GetResourceSetRequest(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/GetResourceSet
func (c *FMS) GetResourceSetWithContext(ctx aws.Context, input *GetResourceSetInput, opts ...request.Option) (*GetResourceSetOutput, error)
GetResourceSetWithContext is the same as GetResourceSet with the addition of the ability to pass a context and additional request options.
See GetResourceSet 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 (c *FMS) GetThirdPartyFirewallAssociationStatus(input *GetThirdPartyFirewallAssociationStatusInput) (*GetThirdPartyFirewallAssociationStatusOutput, error)
GetThirdPartyFirewallAssociationStatus API operation for Firewall Management Service.
The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
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 GetThirdPartyFirewallAssociationStatus 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 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 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/GetThirdPartyFirewallAssociationStatus
func (c *FMS) GetThirdPartyFirewallAssociationStatusRequest(input *GetThirdPartyFirewallAssociationStatusInput) (req *request.Request, output *GetThirdPartyFirewallAssociationStatusOutput)
GetThirdPartyFirewallAssociationStatusRequest generates a "aws/request.Request" representing the client's request for the GetThirdPartyFirewallAssociationStatus 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 GetThirdPartyFirewallAssociationStatus for more information on using the GetThirdPartyFirewallAssociationStatus 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 GetThirdPartyFirewallAssociationStatusRequest method. req, resp := client.GetThirdPartyFirewallAssociationStatusRequest(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/GetThirdPartyFirewallAssociationStatus
func (c *FMS) GetThirdPartyFirewallAssociationStatusWithContext(ctx aws.Context, input *GetThirdPartyFirewallAssociationStatusInput, opts ...request.Option) (*GetThirdPartyFirewallAssociationStatusOutput, error)
GetThirdPartyFirewallAssociationStatusWithContext is the same as GetThirdPartyFirewallAssociationStatus with the addition of the ability to pass a context and additional request options.
See GetThirdPartyFirewallAssociationStatus 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 (c *FMS) GetViolationDetails(input *GetViolationDetailsInput) (*GetViolationDetailsOutput, error)
GetViolationDetails API operation for Firewall Management Service.
Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services 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 (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 (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 (c *FMS) ListAdminAccountsForOrganization(input *ListAdminAccountsForOrganizationInput) (*ListAdminAccountsForOrganizationOutput, error)
ListAdminAccountsForOrganization API operation for Firewall Management Service.
Returns a AdminAccounts object that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by AssociateAdminAccount.
This operation can be called only from the organization's management 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 ListAdminAccountsForOrganization 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 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 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.
LimitExceededException The operation exceeds a resource limit, for example, the maximum number of policy objects that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the WAF Developer Guide.
See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListAdminAccountsForOrganization
func (c *FMS) ListAdminAccountsForOrganizationPages(input *ListAdminAccountsForOrganizationInput, fn func(*ListAdminAccountsForOrganizationOutput, bool) bool) error
ListAdminAccountsForOrganizationPages iterates over the pages of a ListAdminAccountsForOrganization operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListAdminAccountsForOrganization 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 ListAdminAccountsForOrganization operation. pageNum := 0 err := client.ListAdminAccountsForOrganizationPages(params, func(page *fms.ListAdminAccountsForOrganizationOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FMS) ListAdminAccountsForOrganizationPagesWithContext(ctx aws.Context, input *ListAdminAccountsForOrganizationInput, fn func(*ListAdminAccountsForOrganizationOutput, bool) bool, opts ...request.Option) error
ListAdminAccountsForOrganizationPagesWithContext same as ListAdminAccountsForOrganizationPages 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 (c *FMS) ListAdminAccountsForOrganizationRequest(input *ListAdminAccountsForOrganizationInput) (req *request.Request, output *ListAdminAccountsForOrganizationOutput)
ListAdminAccountsForOrganizationRequest generates a "aws/request.Request" representing the client's request for the ListAdminAccountsForOrganization 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 ListAdminAccountsForOrganization for more information on using the ListAdminAccountsForOrganization 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 ListAdminAccountsForOrganizationRequest method. req, resp := client.ListAdminAccountsForOrganizationRequest(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/ListAdminAccountsForOrganization
func (c *FMS) ListAdminAccountsForOrganizationWithContext(ctx aws.Context, input *ListAdminAccountsForOrganizationInput, opts ...request.Option) (*ListAdminAccountsForOrganizationOutput, error)
ListAdminAccountsForOrganizationWithContext is the same as ListAdminAccountsForOrganization with the addition of the ability to pass a context and additional request options.
See ListAdminAccountsForOrganization 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 (c *FMS) ListAdminsManagingAccount(input *ListAdminsManagingAccountInput) (*ListAdminsManagingAccountOutput, error)
ListAdminsManagingAccount API operation for Firewall Management Service.
Lists the accounts that are managing the specified Organizations member account. This is useful for any member account so that they can view the accounts who are managing their account. This operation only returns the managing administrators that have the requested account within their AdminScope.
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 ListAdminsManagingAccount 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/ListAdminsManagingAccount
func (c *FMS) ListAdminsManagingAccountPages(input *ListAdminsManagingAccountInput, fn func(*ListAdminsManagingAccountOutput, bool) bool) error
ListAdminsManagingAccountPages iterates over the pages of a ListAdminsManagingAccount operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListAdminsManagingAccount 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 ListAdminsManagingAccount operation. pageNum := 0 err := client.ListAdminsManagingAccountPages(params, func(page *fms.ListAdminsManagingAccountOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FMS) ListAdminsManagingAccountPagesWithContext(ctx aws.Context, input *ListAdminsManagingAccountInput, fn func(*ListAdminsManagingAccountOutput, bool) bool, opts ...request.Option) error
ListAdminsManagingAccountPagesWithContext same as ListAdminsManagingAccountPages 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 (c *FMS) ListAdminsManagingAccountRequest(input *ListAdminsManagingAccountInput) (req *request.Request, output *ListAdminsManagingAccountOutput)
ListAdminsManagingAccountRequest generates a "aws/request.Request" representing the client's request for the ListAdminsManagingAccount 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 ListAdminsManagingAccount for more information on using the ListAdminsManagingAccount 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 ListAdminsManagingAccountRequest method. req, resp := client.ListAdminsManagingAccountRequest(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/ListAdminsManagingAccount
func (c *FMS) ListAdminsManagingAccountWithContext(ctx aws.Context, input *ListAdminsManagingAccountInput, opts ...request.Option) (*ListAdminsManagingAccountOutput, error)
ListAdminsManagingAccountWithContext is the same as ListAdminsManagingAccount with the addition of the ability to pass a context and additional request options.
See ListAdminsManagingAccount 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 (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 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 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 Amazon Web Services account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the 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 (c *FMS) ListAppsListsPages(input *ListAppsListsInput, fn func(*ListAppsListsOutput, bool) bool) error
ListAppsListsPages iterates over the pages of a ListAppsLists operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListAppsLists 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 ListAppsLists operation. pageNum := 0 err := client.ListAppsListsPages(params, func(page *fms.ListAppsListsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FMS) ListAppsListsPagesWithContext(ctx aws.Context, input *ListAppsListsInput, fn func(*ListAppsListsOutput, bool) bool, opts ...request.Option) error
ListAppsListsPagesWithContext same as ListAppsListsPages 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 (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 (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 (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 (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 (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 (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 (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 (c *FMS) ListDiscoveredResources(input *ListDiscoveredResourcesInput) (*ListDiscoveredResourcesOutput, error)
ListDiscoveredResources API operation for Firewall Management Service.
Returns an array of resources in the organization's accounts that are available to be associated with a resource set.
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 ListDiscoveredResources 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 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 Organizations before you can access it.
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/ListDiscoveredResources
func (c *FMS) ListDiscoveredResourcesRequest(input *ListDiscoveredResourcesInput) (req *request.Request, output *ListDiscoveredResourcesOutput)
ListDiscoveredResourcesRequest generates a "aws/request.Request" representing the client's request for the ListDiscoveredResources 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 ListDiscoveredResources for more information on using the ListDiscoveredResources 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 ListDiscoveredResourcesRequest method. req, resp := client.ListDiscoveredResourcesRequest(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/ListDiscoveredResources
func (c *FMS) ListDiscoveredResourcesWithContext(ctx aws.Context, input *ListDiscoveredResourcesInput, opts ...request.Option) (*ListDiscoveredResourcesOutput, error)
ListDiscoveredResourcesWithContext is the same as ListDiscoveredResources with the addition of the ability to pass a context and additional request options.
See ListDiscoveredResources 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 (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 Amazon Web Services organization.
Either an Firewall Manager administrator or the organization's management account can make this 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 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 (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 (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 (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 (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 (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 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 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 Amazon Web Services account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the 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 (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 (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 (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 (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 (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 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 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 (c *FMS) ListProtocolsListsPages(input *ListProtocolsListsInput, fn func(*ListProtocolsListsOutput, bool) bool) error
ListProtocolsListsPages iterates over the pages of a ListProtocolsLists operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListProtocolsLists 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 ListProtocolsLists operation. pageNum := 0 err := client.ListProtocolsListsPages(params, func(page *fms.ListProtocolsListsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FMS) ListProtocolsListsPagesWithContext(ctx aws.Context, input *ListProtocolsListsInput, fn func(*ListProtocolsListsOutput, bool) bool, opts ...request.Option) error
ListProtocolsListsPagesWithContext same as ListProtocolsListsPages 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 (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 (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 (c *FMS) ListResourceSetResources(input *ListResourceSetResourcesInput) (*ListResourceSetResourcesOutput, error)
ListResourceSetResources API operation for Firewall Management Service.
Returns an array of resources that are currently associated to a resource set.
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 ListResourceSetResources 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 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 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.
ResourceNotFoundException The specified resource was not found.
See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListResourceSetResources
func (c *FMS) ListResourceSetResourcesRequest(input *ListResourceSetResourcesInput) (req *request.Request, output *ListResourceSetResourcesOutput)
ListResourceSetResourcesRequest generates a "aws/request.Request" representing the client's request for the ListResourceSetResources 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 ListResourceSetResources for more information on using the ListResourceSetResources 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 ListResourceSetResourcesRequest method. req, resp := client.ListResourceSetResourcesRequest(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/ListResourceSetResources
func (c *FMS) ListResourceSetResourcesWithContext(ctx aws.Context, input *ListResourceSetResourcesInput, opts ...request.Option) (*ListResourceSetResourcesOutput, error)
ListResourceSetResourcesWithContext is the same as ListResourceSetResources with the addition of the ability to pass a context and additional request options.
See ListResourceSetResources 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 (c *FMS) ListResourceSets(input *ListResourceSetsInput) (*ListResourceSetsOutput, error)
ListResourceSets API operation for Firewall Management Service.
Returns an array of ResourceSetSummary 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 ListResourceSets 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 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 Organizations before you can access it.
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/ListResourceSets
func (c *FMS) ListResourceSetsRequest(input *ListResourceSetsInput) (req *request.Request, output *ListResourceSetsOutput)
ListResourceSetsRequest generates a "aws/request.Request" representing the client's request for the ListResourceSets 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 ListResourceSets for more information on using the ListResourceSets 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 ListResourceSetsRequest method. req, resp := client.ListResourceSetsRequest(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/ListResourceSets
func (c *FMS) ListResourceSetsWithContext(ctx aws.Context, input *ListResourceSetsInput, opts ...request.Option) (*ListResourceSetsOutput, error)
ListResourceSetsWithContext is the same as ListResourceSets with the addition of the ability to pass a context and additional request options.
See ListResourceSets 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 (c *FMS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for Firewall Management Service.
Retrieves the list of tags for the specified Amazon Web Services 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 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 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 (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 (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 (c *FMS) ListThirdPartyFirewallFirewallPolicies(input *ListThirdPartyFirewallFirewallPoliciesInput) (*ListThirdPartyFirewallFirewallPoliciesOutput, error)
ListThirdPartyFirewallFirewallPolicies API operation for Firewall Management Service.
Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's 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 ListThirdPartyFirewallFirewallPolicies 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 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 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/ListThirdPartyFirewallFirewallPolicies
func (c *FMS) ListThirdPartyFirewallFirewallPoliciesPages(input *ListThirdPartyFirewallFirewallPoliciesInput, fn func(*ListThirdPartyFirewallFirewallPoliciesOutput, bool) bool) error
ListThirdPartyFirewallFirewallPoliciesPages iterates over the pages of a ListThirdPartyFirewallFirewallPolicies operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListThirdPartyFirewallFirewallPolicies 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 ListThirdPartyFirewallFirewallPolicies operation. pageNum := 0 err := client.ListThirdPartyFirewallFirewallPoliciesPages(params, func(page *fms.ListThirdPartyFirewallFirewallPoliciesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *FMS) ListThirdPartyFirewallFirewallPoliciesPagesWithContext(ctx aws.Context, input *ListThirdPartyFirewallFirewallPoliciesInput, fn func(*ListThirdPartyFirewallFirewallPoliciesOutput, bool) bool, opts ...request.Option) error
ListThirdPartyFirewallFirewallPoliciesPagesWithContext same as ListThirdPartyFirewallFirewallPoliciesPages 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 (c *FMS) ListThirdPartyFirewallFirewallPoliciesRequest(input *ListThirdPartyFirewallFirewallPoliciesInput) (req *request.Request, output *ListThirdPartyFirewallFirewallPoliciesOutput)
ListThirdPartyFirewallFirewallPoliciesRequest generates a "aws/request.Request" representing the client's request for the ListThirdPartyFirewallFirewallPolicies 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 ListThirdPartyFirewallFirewallPolicies for more information on using the ListThirdPartyFirewallFirewallPolicies 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 ListThirdPartyFirewallFirewallPoliciesRequest method. req, resp := client.ListThirdPartyFirewallFirewallPoliciesRequest(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/ListThirdPartyFirewallFirewallPolicies
func (c *FMS) ListThirdPartyFirewallFirewallPoliciesWithContext(ctx aws.Context, input *ListThirdPartyFirewallFirewallPoliciesInput, opts ...request.Option) (*ListThirdPartyFirewallFirewallPoliciesOutput, error)
ListThirdPartyFirewallFirewallPoliciesWithContext is the same as ListThirdPartyFirewallFirewallPolicies with the addition of the ability to pass a context and additional request options.
See ListThirdPartyFirewallFirewallPolicies 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 (c *FMS) PutAdminAccount(input *PutAdminAccountInput) (*PutAdminAccountOutput, error)
PutAdminAccount API operation for Firewall Management Service.
Creates or updates an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount. Only the organization's management account can create an Firewall Manager administrator account. When you create an Firewall Manager administrator account, the service checks to see if the account is already a delegated administrator within Organizations. If the account isn't a delegated administrator, Firewall Manager calls Organizations to delegate the account within Organizations. For more information about administrator accounts within Organizations, see Managing the Amazon Web Services Accounts in Your Organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts.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 PutAdminAccount 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 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 Organizations before you can access it.
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.
LimitExceededException The operation exceeds a resource limit, for example, the maximum number of policy objects that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the WAF Developer Guide.
See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutAdminAccount
func (c *FMS) PutAdminAccountRequest(input *PutAdminAccountInput) (req *request.Request, output *PutAdminAccountOutput)
PutAdminAccountRequest generates a "aws/request.Request" representing the client's request for the PutAdminAccount 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 PutAdminAccount for more information on using the PutAdminAccount 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 PutAdminAccountRequest method. req, resp := client.PutAdminAccountRequest(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/PutAdminAccount
func (c *FMS) PutAdminAccountWithContext(ctx aws.Context, input *PutAdminAccountInput, opts ...request.Option) (*PutAdminAccountOutput, error)
PutAdminAccountWithContext is the same as PutAdminAccount with the addition of the ability to pass a context and additional request options.
See PutAdminAccount 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 (c *FMS) PutAppsList(input *PutAppsListInput) (*PutAppsListOutput, error)
PutAppsList API operation for Firewall Management Service.
Creates an 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 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 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 Amazon Web Services account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the 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 (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 (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 (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 Firewall Manager uses to record SNS logs.
To perform this action outside of the console, you must first configure the SNS topic's access policy to allow the SnsRoleName to publish SNS logs. If the SnsRoleName provided is a role other than the AWSServiceRoleForFMS service-linked role, this role must have a trust relationship configured to allow the Firewall Manager service principal fms.amazonaws.com to assume this role. For information about configuring an SNS access policy, see Service roles for Firewall Manager (https://docs.aws.amazon.com/waf/latest/developerguide/fms-security_iam_service-with-iam.html#fms-security_iam_service-with-iam-roles-service) in the 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 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 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 (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 (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 (c *FMS) PutPolicy(input *PutPolicyInput) (*PutPolicyOutput, error)
PutPolicy API operation for Firewall Management Service.
Creates an Firewall Manager policy.
A Firewall Manager policy is specific to the individual policy type. If you want to enforce multiple policy types across accounts, you can create multiple policies. You can create more than one policy for each type.
If you add a new account to an organization that you created with Organizations, Firewall Manager automatically applies the policy to the resources in that account that are within scope of the policy.
Firewall Manager provides the following types of policies:
WAF policy - This policy applies WAF web ACL protections to specified accounts and resources.
Shield Advanced policy - This policy applies Shield Advanced protection to specified accounts and resources.
Security Groups policy - This type of policy gives you control over security groups that are in use throughout your organization in Organizations and lets you enforce a baseline set of rules across your organization.
Network ACL policy - This type of policy gives you control over the network ACLs that are in use throughout your organization in Organizations and lets you enforce a baseline set of first and last network ACL rules across your organization.
Network Firewall policy - This policy applies Network Firewall protection to your organization's VPCs.
DNS Firewall policy - This policy applies Amazon Route 53 Resolver DNS Firewall protections to your organization's VPCs.
Third-party firewall policy - This policy applies third-party firewall protections. Third-party firewalls are available by subscription through the Amazon Web Services Marketplace console at Amazon Web Services Marketplace (http://aws.amazon.com/marketplace). Palo Alto Networks Cloud NGFW policy
This policy applies Palo Alto Networks Cloud Next Generation Firewall (NGFW) protections and Palo Alto Networks Cloud NGFW rulestacks to your organization's VPCs. Fortigate CNF policy - This policy applies Fortigate Cloud Native Firewall (CNF) protections. Fortigate CNF is a cloud-centered solution that blocks Zero-Day threats and secures cloud infrastructures with industry-leading advanced threat prevention, smart web application firewalls (WAF), and API protection.
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 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 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 Amazon Web Services account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the 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 (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 (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 (c *FMS) PutProtocolsList(input *PutProtocolsListInput) (*PutProtocolsListOutput, error)
PutProtocolsList API operation for Firewall Management Service.
Creates an 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 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 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 Amazon Web Services account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the 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 (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 (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 (c *FMS) PutResourceSet(input *PutResourceSetInput) (*PutResourceSetOutput, error)
PutResourceSet API operation for Firewall Management Service.
Creates the resource set.
An Firewall Manager resource set defines the resources to import into an Firewall Manager policy from another Amazon Web Services service.
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 PutResourceSet 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 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 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 Amazon Web Services account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the 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/PutResourceSet
func (c *FMS) PutResourceSetRequest(input *PutResourceSetInput) (req *request.Request, output *PutResourceSetOutput)
PutResourceSetRequest generates a "aws/request.Request" representing the client's request for the PutResourceSet 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 PutResourceSet for more information on using the PutResourceSet 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 PutResourceSetRequest method. req, resp := client.PutResourceSetRequest(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/PutResourceSet
func (c *FMS) PutResourceSetWithContext(ctx aws.Context, input *PutResourceSetInput, opts ...request.Option) (*PutResourceSetOutput, error)
PutResourceSetWithContext is the same as PutResourceSet with the addition of the ability to pass a context and additional request options.
See PutResourceSet 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 (c *FMS) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for Firewall Management Service.
Adds one or more tags to an Amazon Web Services 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 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 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 Amazon Web Services account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the WAF Developer Guide.
See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/TagResource
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 (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 (c *FMS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for Firewall Management Service.
Removes one or more tags from an Amazon Web Services 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 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 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 (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 (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 FMSPolicyUpdateFirewallCreationConfigAction struct { // Describes the remedial action. Description *string `type:"string"` // A FirewallCreationConfig that you can copy into your current policy's SecurityServiceData // (https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_SecurityServicePolicyData.html) // in order to remedy scope violations. FirewallCreationConfig *string `min:"1" type:"string"` // contains filtered or unexported fields }
Contains information about the actions that you can take to remediate scope violations caused by your policy's FirewallCreationConfig. FirewallCreationConfig is an optional configuration that you can use to choose which Availability Zones Firewall Manager creates Network Firewall endpoints in.
func (s FMSPolicyUpdateFirewallCreationConfigAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FMSPolicyUpdateFirewallCreationConfigAction) SetDescription(v string) *FMSPolicyUpdateFirewallCreationConfigAction
SetDescription sets the Description field's value.
func (s *FMSPolicyUpdateFirewallCreationConfigAction) SetFirewallCreationConfig(v string) *FMSPolicyUpdateFirewallCreationConfigAction
SetFirewallCreationConfig sets the FirewallCreationConfig field's value.
func (s FMSPolicyUpdateFirewallCreationConfigAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FailedItem struct { // The reason the resource's association could not be updated. Reason *string `type:"string" enum:"FailedItemReason"` // The univeral resource indicator (URI) of the resource that failed. URI *string `min:"1" type:"string"` // contains filtered or unexported fields }
Details of a resource that failed when trying to update it's association to a resource set.
func (s FailedItem) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FailedItem) SetReason(v string) *FailedItem
SetReason sets the Reason field's value.
func (s *FailedItem) SetURI(v string) *FailedItem
SetURI sets the URI field's value.
func (s FailedItem) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FirewallSubnetIsOutOfScopeViolation struct { // The ID of the firewall subnet that violates the policy scope. FirewallSubnetId *string `min:"1" type:"string"` // The Availability Zone of the firewall subnet that violates the policy scope. SubnetAvailabilityZone *string `type:"string"` // The Availability Zone ID of the firewall subnet that violates the policy // scope. SubnetAvailabilityZoneId *string `type:"string"` // The VPC endpoint ID of the firewall subnet that violates the policy scope. VpcEndpointId *string `min:"1" type:"string"` // The VPC ID of the firewall subnet that violates the policy scope. VpcId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Contains details about the firewall subnet that violates the policy scope.
func (s FirewallSubnetIsOutOfScopeViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FirewallSubnetIsOutOfScopeViolation) SetFirewallSubnetId(v string) *FirewallSubnetIsOutOfScopeViolation
SetFirewallSubnetId sets the FirewallSubnetId field's value.
func (s *FirewallSubnetIsOutOfScopeViolation) SetSubnetAvailabilityZone(v string) *FirewallSubnetIsOutOfScopeViolation
SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value.
func (s *FirewallSubnetIsOutOfScopeViolation) SetSubnetAvailabilityZoneId(v string) *FirewallSubnetIsOutOfScopeViolation
SetSubnetAvailabilityZoneId sets the SubnetAvailabilityZoneId field's value.
func (s *FirewallSubnetIsOutOfScopeViolation) SetVpcEndpointId(v string) *FirewallSubnetIsOutOfScopeViolation
SetVpcEndpointId sets the VpcEndpointId field's value.
func (s *FirewallSubnetIsOutOfScopeViolation) SetVpcId(v string) *FirewallSubnetIsOutOfScopeViolation
SetVpcId sets the VpcId field's value.
func (s FirewallSubnetIsOutOfScopeViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FirewallSubnetMissingVPCEndpointViolation struct { // The ID of the firewall that this VPC endpoint is associated with. FirewallSubnetId *string `min:"1" type:"string"` // The name of the Availability Zone of the deleted VPC subnet. SubnetAvailabilityZone *string `type:"string"` // The ID of the Availability Zone of the deleted VPC subnet. SubnetAvailabilityZoneId *string `type:"string"` // The resource ID of the VPC associated with the deleted VPC subnet. VpcId *string `min:"1" type:"string"` // contains filtered or unexported fields }
The violation details for a firewall subnet's VPC endpoint that's deleted or missing.
func (s FirewallSubnetMissingVPCEndpointViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FirewallSubnetMissingVPCEndpointViolation) SetFirewallSubnetId(v string) *FirewallSubnetMissingVPCEndpointViolation
SetFirewallSubnetId sets the FirewallSubnetId field's value.
func (s *FirewallSubnetMissingVPCEndpointViolation) SetSubnetAvailabilityZone(v string) *FirewallSubnetMissingVPCEndpointViolation
SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value.
func (s *FirewallSubnetMissingVPCEndpointViolation) SetSubnetAvailabilityZoneId(v string) *FirewallSubnetMissingVPCEndpointViolation
SetSubnetAvailabilityZoneId sets the SubnetAvailabilityZoneId field's value.
func (s *FirewallSubnetMissingVPCEndpointViolation) SetVpcId(v string) *FirewallSubnetMissingVPCEndpointViolation
SetVpcId sets the VpcId field's value.
func (s FirewallSubnetMissingVPCEndpointViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetAdminAccountInput struct {
// contains filtered or unexported fields
}
func (s GetAdminAccountInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s GetAdminAccountInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetAdminAccountOutput struct { // The account that is set as the Firewall Manager default administrator. AdminAccount *string `min:"1" type:"string"` // The status of the account that you set as the Firewall Manager default administrator. RoleStatus *string `type:"string" enum:"AccountRoleStatus"` // contains filtered or unexported fields }
func (s GetAdminAccountOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAdminAccountOutput) SetAdminAccount(v string) *GetAdminAccountOutput
SetAdminAccount sets the AdminAccount field's value.
func (s *GetAdminAccountOutput) SetRoleStatus(v string) *GetAdminAccountOutput
SetRoleStatus sets the RoleStatus field's value.
func (s GetAdminAccountOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetAdminScopeInput struct { // The administrator account that you want to get the details for. // // AdminAccount is a required field AdminAccount *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetAdminScopeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAdminScopeInput) SetAdminAccount(v string) *GetAdminScopeInput
SetAdminAccount sets the AdminAccount field's value.
func (s GetAdminScopeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAdminScopeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetAdminScopeOutput struct { // Contains details about the administrative scope of the requested account. AdminScope *AdminScope `type:"structure"` // The current status of the request to onboard a member account as an Firewall // Manager administrator. // // * ONBOARDING - The account is onboarding to Firewall Manager as an administrator. // // * ONBOARDING_COMPLETE - Firewall Manager The account is onboarded to Firewall // Manager as an administrator, and can perform actions on the resources // defined in their AdminScope. // // * OFFBOARDING - The account is being removed as an Firewall Manager administrator. // // * OFFBOARDING_COMPLETE - The account has been removed as an Firewall Manager // administrator. Status *string `type:"string" enum:"OrganizationStatus"` // contains filtered or unexported fields }
func (s GetAdminScopeOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAdminScopeOutput) SetAdminScope(v *AdminScope) *GetAdminScopeOutput
SetAdminScope sets the AdminScope field's value.
func (s *GetAdminScopeOutput) SetStatus(v string) *GetAdminScopeOutput
SetStatus sets the Status field's value.
func (s GetAdminScopeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetAppsListInput struct { // Specifies whether the list to retrieve is a default list owned by Firewall // Manager. DefaultList *bool `type:"boolean"` // The ID of the 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 (s GetAppsListInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAppsListInput) SetDefaultList(v bool) *GetAppsListInput
SetDefaultList sets the DefaultList field's value.
func (s *GetAppsListInput) SetListId(v string) *GetAppsListInput
SetListId sets the ListId field's value.
func (s GetAppsListInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAppsListInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetAppsListOutput struct { // Information about the specified 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 (s GetAppsListOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAppsListOutput) SetAppsList(v *AppsListData) *GetAppsListOutput
SetAppsList sets the AppsList field's value.
func (s *GetAppsListOutput) SetAppsListArn(v string) *GetAppsListOutput
SetAppsListArn sets the AppsListArn field's value.
func (s GetAppsListOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetComplianceDetailInput struct { // The Amazon Web Services 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 (s GetComplianceDetailInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetComplianceDetailInput) SetMemberAccount(v string) *GetComplianceDetailInput
SetMemberAccount sets the MemberAccount field's value.
func (s *GetComplianceDetailInput) SetPolicyId(v string) *GetComplianceDetailInput
SetPolicyId sets the PolicyId field's value.
func (s GetComplianceDetailInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetComplianceDetailInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s GetComplianceDetailOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetComplianceDetailOutput) SetPolicyComplianceDetail(v *PolicyComplianceDetail) *GetComplianceDetailOutput
SetPolicyComplianceDetail sets the PolicyComplianceDetail field's value.
func (s GetComplianceDetailOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetNotificationChannelInput struct {
// contains filtered or unexported fields
}
func (s GetNotificationChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s GetNotificationChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetNotificationChannelOutput struct { // The IAM role that is used by Firewall Manager to record activity to SNS. SnsRoleName *string `min:"1" type:"string"` // The SNS topic that records Firewall Manager activity. SnsTopicArn *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s GetNotificationChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetNotificationChannelOutput) SetSnsRoleName(v string) *GetNotificationChannelOutput
SetSnsRoleName sets the SnsRoleName field's value.
func (s *GetNotificationChannelOutput) SetSnsTopicArn(v string) *GetNotificationChannelOutput
SetSnsTopicArn sets the SnsTopicArn field's value.
func (s GetNotificationChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetPolicyInput struct { // The ID of the 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 (s GetPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetPolicyInput) SetPolicyId(v string) *GetPolicyInput
SetPolicyId sets the PolicyId field's value.
func (s GetPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetPolicyOutput struct { // Information about the specified 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 (s GetPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetPolicyOutput) SetPolicy(v *Policy) *GetPolicyOutput
SetPolicy sets the Policy field's value.
func (s *GetPolicyOutput) SetPolicyArn(v string) *GetPolicyOutput
SetPolicyArn sets the PolicyArn field's value.
func (s GetPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 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 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 Amazon Web Services 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, 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 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 (s GetProtectionStatusInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetProtectionStatusInput) SetEndTime(v time.Time) *GetProtectionStatusInput
SetEndTime sets the EndTime field's value.
func (s *GetProtectionStatusInput) SetMaxResults(v int64) *GetProtectionStatusInput
SetMaxResults sets the MaxResults field's value.
func (s *GetProtectionStatusInput) SetMemberAccountId(v string) *GetProtectionStatusInput
SetMemberAccountId sets the MemberAccountId field's value.
func (s *GetProtectionStatusInput) SetNextToken(v string) *GetProtectionStatusInput
SetNextToken sets the NextToken field's value.
func (s *GetProtectionStatusInput) SetPolicyId(v string) *GetProtectionStatusInput
SetPolicyId sets the PolicyId field's value.
func (s *GetProtectionStatusInput) SetStartTime(v time.Time) *GetProtectionStatusInput
SetStartTime sets the StartTime field's value.
func (s GetProtectionStatusInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetProtectionStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetProtectionStatusOutput struct { // The ID of the Firewall Manager 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. // // Amazon Web Services 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 (s GetProtectionStatusOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetProtectionStatusOutput) SetAdminAccountId(v string) *GetProtectionStatusOutput
SetAdminAccountId sets the AdminAccountId field's value.
func (s *GetProtectionStatusOutput) SetData(v string) *GetProtectionStatusOutput
SetData sets the Data field's value.
func (s *GetProtectionStatusOutput) SetNextToken(v string) *GetProtectionStatusOutput
SetNextToken sets the NextToken field's value.
func (s *GetProtectionStatusOutput) SetServiceType(v string) *GetProtectionStatusOutput
SetServiceType sets the ServiceType field's value.
func (s GetProtectionStatusOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetProtocolsListInput struct { // Specifies whether the list to retrieve is a default list owned by Firewall // Manager. DefaultList *bool `type:"boolean"` // The ID of the 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 (s GetProtocolsListInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetProtocolsListInput) SetDefaultList(v bool) *GetProtocolsListInput
SetDefaultList sets the DefaultList field's value.
func (s *GetProtocolsListInput) SetListId(v string) *GetProtocolsListInput
SetListId sets the ListId field's value.
func (s GetProtocolsListInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetProtocolsListInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetProtocolsListOutput struct { // Information about the specified 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 (s GetProtocolsListOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetProtocolsListOutput) SetProtocolsList(v *ProtocolsListData) *GetProtocolsListOutput
SetProtocolsList sets the ProtocolsList field's value.
func (s *GetProtocolsListOutput) SetProtocolsListArn(v string) *GetProtocolsListOutput
SetProtocolsListArn sets the ProtocolsListArn field's value.
func (s GetProtocolsListOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetResourceSetInput struct { // A unique identifier for the resource set, used in a request to refer to the // resource set. // // Identifier is a required field Identifier *string `min:"22" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetResourceSetInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetResourceSetInput) SetIdentifier(v string) *GetResourceSetInput
SetIdentifier sets the Identifier field's value.
func (s GetResourceSetInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetResourceSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResourceSetOutput struct { // Information about the specified resource set. // // ResourceSet is a required field ResourceSet *ResourceSet `type:"structure" required:"true"` // The Amazon Resource Name (ARN) of the resource set. // // ResourceSetArn is a required field ResourceSetArn *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetResourceSetOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetResourceSetOutput) SetResourceSet(v *ResourceSet) *GetResourceSetOutput
SetResourceSet sets the ResourceSet field's value.
func (s *GetResourceSetOutput) SetResourceSetArn(v string) *GetResourceSetOutput
SetResourceSetArn sets the ResourceSetArn field's value.
func (s GetResourceSetOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetThirdPartyFirewallAssociationStatusInput struct { // The name of the third-party firewall vendor. // // ThirdPartyFirewall is a required field ThirdPartyFirewall *string `type:"string" required:"true" enum:"ThirdPartyFirewall"` // contains filtered or unexported fields }
func (s GetThirdPartyFirewallAssociationStatusInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetThirdPartyFirewallAssociationStatusInput) SetThirdPartyFirewall(v string) *GetThirdPartyFirewallAssociationStatusInput
SetThirdPartyFirewall sets the ThirdPartyFirewall field's value.
func (s GetThirdPartyFirewallAssociationStatusInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetThirdPartyFirewallAssociationStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetThirdPartyFirewallAssociationStatusOutput struct { // The status for subscribing to the third-party firewall vendor in the Amazon // Web Services Marketplace. // // * NO_SUBSCRIPTION - The Firewall Manager policy administrator isn't subscribed // to the third-party firewall service in the Amazon Web Services Marketplace. // // * NOT_COMPLETE - The Firewall Manager policy administrator is in the process // of subscribing to the third-party firewall service in the Amazon Web Services // Marketplace, but doesn't yet have an active subscription. // // * COMPLETE - The Firewall Manager policy administrator has an active subscription // to the third-party firewall service in the Amazon Web Services Marketplace. MarketplaceOnboardingStatus *string `type:"string" enum:"MarketplaceSubscriptionOnboardingStatus"` // The current status for setting a Firewall Manager policy administrators account // as an administrator of the third-party firewall tenant. // // * ONBOARDING - The Firewall Manager policy administrator is being designated // as a tenant administrator. // // * ONBOARD_COMPLETE - The Firewall Manager policy administrator is designated // as a tenant administrator. // // * OFFBOARDING - The Firewall Manager policy administrator is being removed // as a tenant administrator. // // * OFFBOARD_COMPLETE - The Firewall Manager policy administrator has been // removed as a tenant administrator. // // * NOT_EXIST - The Firewall Manager policy administrator doesn't exist // as a tenant administrator. ThirdPartyFirewallStatus *string `type:"string" enum:"ThirdPartyFirewallAssociationStatus"` // contains filtered or unexported fields }
func (s GetThirdPartyFirewallAssociationStatusOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetThirdPartyFirewallAssociationStatusOutput) SetMarketplaceOnboardingStatus(v string) *GetThirdPartyFirewallAssociationStatusOutput
SetMarketplaceOnboardingStatus sets the MarketplaceOnboardingStatus field's value.
func (s *GetThirdPartyFirewallAssociationStatusOutput) SetThirdPartyFirewallStatus(v string) *GetThirdPartyFirewallAssociationStatusOutput
SetThirdPartyFirewallStatus sets the ThirdPartyFirewallStatus field's value.
func (s GetThirdPartyFirewallAssociationStatusOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetViolationDetailsInput struct { // The Amazon Web Services 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 Firewall Manager policy that you want the details for. You // can get violation details for the following policy types: // // * DNS Firewall // // * Imported Network Firewall // // * Network Firewall // // * Security group content audit // // * Network ACL // // * Third-party firewall // // 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 Amazon Web Services // 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 (s GetViolationDetailsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetViolationDetailsInput) SetMemberAccount(v string) *GetViolationDetailsInput
SetMemberAccount sets the MemberAccount field's value.
func (s *GetViolationDetailsInput) SetPolicyId(v string) *GetViolationDetailsInput
SetPolicyId sets the PolicyId field's value.
func (s *GetViolationDetailsInput) SetResourceId(v string) *GetViolationDetailsInput
SetResourceId sets the ResourceId field's value.
func (s *GetViolationDetailsInput) SetResourceType(v string) *GetViolationDetailsInput
SetResourceType sets the ResourceType field's value.
func (s GetViolationDetailsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetViolationDetailsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetViolationDetailsOutput struct { // Violation detail for a resource. ViolationDetail *ViolationDetail `type:"structure"` // contains filtered or unexported fields }
func (s GetViolationDetailsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetViolationDetailsOutput) SetViolationDetail(v *ViolationDetail) *GetViolationDetailsOutput
SetViolationDetail sets the ViolationDetail field's value.
func (s GetViolationDetailsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s *InternalErrorException) Code() string
Code returns the exception type name.
func (s *InternalErrorException) Error() string
func (s InternalErrorException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InternalErrorException) Message() string
Message returns the exception's message.
func (s *InternalErrorException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalErrorException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalErrorException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InternalErrorException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s *InvalidInputException) Code() string
Code returns the exception type name.
func (s *InvalidInputException) Error() string
func (s InvalidInputException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InvalidInputException) Message() string
Message returns the exception's message.
func (s *InvalidInputException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InvalidInputException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InvalidInputException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InvalidInputException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidNetworkAclEntriesViolation struct { // The network ACL containing the entry violations. CurrentAssociatedNetworkAcl *string `min:"1" type:"string"` // Detailed information about the entry violations in the network ACL. EntryViolations []*EntryViolation `type:"list"` // The subnet that's associated with the network ACL. Subnet *string `min:"1" type:"string"` // The Availability Zone where the network ACL is in use. SubnetAvailabilityZone *string `type:"string"` // The VPC where the violation was found. Vpc *string `min:"1" type:"string"` // contains filtered or unexported fields }
Violation detail for the entries in a network ACL resource.
func (s InvalidNetworkAclEntriesViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InvalidNetworkAclEntriesViolation) SetCurrentAssociatedNetworkAcl(v string) *InvalidNetworkAclEntriesViolation
SetCurrentAssociatedNetworkAcl sets the CurrentAssociatedNetworkAcl field's value.
func (s *InvalidNetworkAclEntriesViolation) SetEntryViolations(v []*EntryViolation) *InvalidNetworkAclEntriesViolation
SetEntryViolations sets the EntryViolations field's value.
func (s *InvalidNetworkAclEntriesViolation) SetSubnet(v string) *InvalidNetworkAclEntriesViolation
SetSubnet sets the Subnet field's value.
func (s *InvalidNetworkAclEntriesViolation) SetSubnetAvailabilityZone(v string) *InvalidNetworkAclEntriesViolation
SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value.
func (s *InvalidNetworkAclEntriesViolation) SetVpc(v string) *InvalidNetworkAclEntriesViolation
SetVpc sets the Vpc field's value.
func (s InvalidNetworkAclEntriesViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 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 Organizations before you can access it.
func (s *InvalidOperationException) Code() string
Code returns the exception type name.
func (s *InvalidOperationException) Error() string
func (s InvalidOperationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InvalidOperationException) Message() string
Message returns the exception's message.
func (s *InvalidOperationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InvalidOperationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InvalidOperationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InvalidOperationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s *InvalidTypeException) Code() string
Code returns the exception type name.
func (s *InvalidTypeException) Error() string
func (s InvalidTypeException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InvalidTypeException) Message() string
Message returns the exception's message.
func (s *InvalidTypeException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InvalidTypeException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InvalidTypeException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InvalidTypeException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the WAF Developer Guide.
func (s *LimitExceededException) Code() string
Code returns the exception type name.
func (s *LimitExceededException) Error() string
func (s LimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LimitExceededException) Message() string
Message returns the exception's message.
func (s *LimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *LimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *LimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s LimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListAdminAccountsForOrganizationInput struct { // The maximum number of objects that you want Firewall Manager to return for // this request. If more objects are available, in the response, Firewall Manager // provides a NextToken value that you can use in a subsequent call to get the // next batch of objects. MaxResults *int64 `min:"1" type:"integer"` // When you request a list of objects with a MaxResults setting, if the number // of objects that are still available for retrieval exceeds the maximum you // requested, Firewall Manager returns a NextToken value in the response. To // retrieve the next batch of objects, use the token returned from the prior // request in your next request. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListAdminAccountsForOrganizationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAdminAccountsForOrganizationInput) SetMaxResults(v int64) *ListAdminAccountsForOrganizationInput
SetMaxResults sets the MaxResults field's value.
func (s *ListAdminAccountsForOrganizationInput) SetNextToken(v string) *ListAdminAccountsForOrganizationInput
SetNextToken sets the NextToken field's value.
func (s ListAdminAccountsForOrganizationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAdminAccountsForOrganizationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAdminAccountsForOrganizationOutput struct { // A list of Firewall Manager administrator accounts within the organization // that were onboarded as administrators by AssociateAdminAccount or PutAdminAccount. AdminAccounts []*AdminAccountSummary `type:"list"` // When you request a list of objects with a MaxResults setting, if the number // of objects that are still available for retrieval exceeds the maximum you // requested, Firewall Manager returns a NextToken value in the response. To // retrieve the next batch of objects, use the token returned from the prior // request in your next request. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListAdminAccountsForOrganizationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAdminAccountsForOrganizationOutput) SetAdminAccounts(v []*AdminAccountSummary) *ListAdminAccountsForOrganizationOutput
SetAdminAccounts sets the AdminAccounts field's value.
func (s *ListAdminAccountsForOrganizationOutput) SetNextToken(v string) *ListAdminAccountsForOrganizationOutput
SetNextToken sets the NextToken field's value.
func (s ListAdminAccountsForOrganizationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListAdminsManagingAccountInput struct { // The maximum number of objects that you want Firewall Manager to return for // this request. If more objects are available, in the response, Firewall Manager // provides a NextToken value that you can use in a subsequent call to get the // next batch of objects. MaxResults *int64 `min:"1" type:"integer"` // When you request a list of objects with a MaxResults setting, if the number // of objects that are still available for retrieval exceeds the maximum you // requested, Firewall Manager returns a NextToken value in the response. To // retrieve the next batch of objects, use the token returned from the prior // request in your next request. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListAdminsManagingAccountInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAdminsManagingAccountInput) SetMaxResults(v int64) *ListAdminsManagingAccountInput
SetMaxResults sets the MaxResults field's value.
func (s *ListAdminsManagingAccountInput) SetNextToken(v string) *ListAdminsManagingAccountInput
SetNextToken sets the NextToken field's value.
func (s ListAdminsManagingAccountInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAdminsManagingAccountInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAdminsManagingAccountOutput struct { // The list of accounts who manage member accounts within their AdminScope. AdminAccounts []*string `type:"list"` // When you request a list of objects with a MaxResults setting, if the number // of objects that are still available for retrieval exceeds the maximum you // requested, Firewall Manager returns a NextToken value in the response. To // retrieve the next batch of objects, use the token returned from the prior // request in your next request. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListAdminsManagingAccountOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAdminsManagingAccountOutput) SetAdminAccounts(v []*string) *ListAdminsManagingAccountOutput
SetAdminAccounts sets the AdminAccounts field's value.
func (s *ListAdminsManagingAccountOutput) SetNextToken(v string) *ListAdminsManagingAccountOutput
SetNextToken sets the NextToken field's value.
func (s ListAdminsManagingAccountOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListAppsListsInput struct { // Specifies whether the lists to retrieve are default lists owned by Firewall // Manager. DefaultLists *bool `type:"boolean"` // The maximum number of objects that you want Firewall Manager to return for // this request. If more objects are available, in the response, 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, 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, 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 (s ListAppsListsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAppsListsInput) SetDefaultLists(v bool) *ListAppsListsInput
SetDefaultLists sets the DefaultLists field's value.
func (s *ListAppsListsInput) SetMaxResults(v int64) *ListAppsListsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListAppsListsInput) SetNextToken(v string) *ListAppsListsInput
SetNextToken sets the NextToken field's value.
func (s ListAppsListsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAppsListsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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, 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 (s ListAppsListsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAppsListsOutput) SetAppsLists(v []*AppsListDataSummary) *ListAppsListsOutput
SetAppsLists sets the AppsLists field's value.
func (s *ListAppsListsOutput) SetNextToken(v string) *ListAppsListsOutput
SetNextToken sets the NextToken field's value.
func (s ListAppsListsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListComplianceStatusInput struct { // Specifies the number of PolicyComplianceStatus objects that you want 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, 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 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 (s ListComplianceStatusInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListComplianceStatusInput) SetMaxResults(v int64) *ListComplianceStatusInput
SetMaxResults sets the MaxResults field's value.
func (s *ListComplianceStatusInput) SetNextToken(v string) *ListComplianceStatusInput
SetNextToken sets the NextToken field's value.
func (s *ListComplianceStatusInput) SetPolicyId(v string) *ListComplianceStatusInput
SetPolicyId sets the PolicyId field's value.
func (s ListComplianceStatusInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListComplianceStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListComplianceStatusOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListComplianceStatusOutput) SetNextToken(v string) *ListComplianceStatusOutput
SetNextToken sets the NextToken field's value.
func (s *ListComplianceStatusOutput) SetPolicyComplianceStatusList(v []*PolicyComplianceStatus) *ListComplianceStatusOutput
SetPolicyComplianceStatusList sets the PolicyComplianceStatusList field's value.
func (s ListComplianceStatusOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListDiscoveredResourcesInput struct { // The maximum number of objects that you want Firewall Manager to return for // this request. If more objects are available, in the response, Firewall Manager // provides a NextToken value that you can use in a subsequent call to get the // next batch of objects. MaxResults *int64 `min:"1" type:"integer"` // The Amazon Web Services account IDs to discover resources in. Only one account // is supported per request. The account must be a member of your organization. // // MemberAccountIds is a required field MemberAccountIds []*string `type:"list" required:"true"` // When you request a list of objects with a MaxResults setting, if the number // of objects that are still available for retrieval exceeds the maximum you // requested, Firewall Manager returns a NextToken value in the response. To // retrieve the next batch of objects, use the token returned from the prior // request in your next request. NextToken *string `min:"1" type:"string"` // The type of resources to discover. // // ResourceType is a required field ResourceType *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ListDiscoveredResourcesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListDiscoveredResourcesInput) SetMaxResults(v int64) *ListDiscoveredResourcesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListDiscoveredResourcesInput) SetMemberAccountIds(v []*string) *ListDiscoveredResourcesInput
SetMemberAccountIds sets the MemberAccountIds field's value.
func (s *ListDiscoveredResourcesInput) SetNextToken(v string) *ListDiscoveredResourcesInput
SetNextToken sets the NextToken field's value.
func (s *ListDiscoveredResourcesInput) SetResourceType(v string) *ListDiscoveredResourcesInput
SetResourceType sets the ResourceType field's value.
func (s ListDiscoveredResourcesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListDiscoveredResourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDiscoveredResourcesOutput struct { // Details of the resources that were discovered. Items []*DiscoveredResource `type:"list"` // When you request a list of objects with a MaxResults setting, if the number // of objects that are still available for retrieval exceeds the maximum you // requested, Firewall Manager returns a NextToken value in the response. To // retrieve the next batch of objects, use the token returned from the prior // request in your next request. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListDiscoveredResourcesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListDiscoveredResourcesOutput) SetItems(v []*DiscoveredResource) *ListDiscoveredResourcesOutput
SetItems sets the Items field's value.
func (s *ListDiscoveredResourcesOutput) SetNextToken(v string) *ListDiscoveredResourcesOutput
SetNextToken sets the NextToken field's value.
func (s ListDiscoveredResourcesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListMemberAccountsInput struct { // Specifies the number of member account IDs that you want 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, 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 (s ListMemberAccountsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListMemberAccountsInput) SetMaxResults(v int64) *ListMemberAccountsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListMemberAccountsInput) SetNextToken(v string) *ListMemberAccountsInput
SetNextToken sets the NextToken field's value.
func (s ListMemberAccountsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListMemberAccountsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListMemberAccountsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListMemberAccountsOutput) SetMemberAccounts(v []*string) *ListMemberAccountsOutput
SetMemberAccounts sets the MemberAccounts field's value.
func (s *ListMemberAccountsOutput) SetNextToken(v string) *ListMemberAccountsOutput
SetNextToken sets the NextToken field's value.
func (s ListMemberAccountsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListPoliciesInput struct { // Specifies the number of PolicySummary objects that you want 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, 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 (s ListPoliciesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListPoliciesInput) SetMaxResults(v int64) *ListPoliciesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListPoliciesInput) SetNextToken(v string) *ListPoliciesInput
SetNextToken sets the NextToken field's value.
func (s ListPoliciesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListPoliciesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListPoliciesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListPoliciesOutput) SetNextToken(v string) *ListPoliciesOutput
SetNextToken sets the NextToken field's value.
func (s *ListPoliciesOutput) SetPolicyList(v []*PolicySummary) *ListPoliciesOutput
SetPolicyList sets the PolicyList field's value.
func (s ListPoliciesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListProtocolsListsInput struct { // Specifies whether the lists to retrieve are default lists owned by Firewall // Manager. DefaultLists *bool `type:"boolean"` // The maximum number of objects that you want Firewall Manager to return for // this request. If more objects are available, in the response, 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, 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, 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 (s ListProtocolsListsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListProtocolsListsInput) SetDefaultLists(v bool) *ListProtocolsListsInput
SetDefaultLists sets the DefaultLists field's value.
func (s *ListProtocolsListsInput) SetMaxResults(v int64) *ListProtocolsListsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListProtocolsListsInput) SetNextToken(v string) *ListProtocolsListsInput
SetNextToken sets the NextToken field's value.
func (s ListProtocolsListsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListProtocolsListsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListProtocolsListsOutput struct { // If you specify a value for MaxResults in your list request, and you have // more objects than the maximum, 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 (s ListProtocolsListsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListProtocolsListsOutput) SetNextToken(v string) *ListProtocolsListsOutput
SetNextToken sets the NextToken field's value.
func (s *ListProtocolsListsOutput) SetProtocolsLists(v []*ProtocolsListDataSummary) *ListProtocolsListsOutput
SetProtocolsLists sets the ProtocolsLists field's value.
func (s ListProtocolsListsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListResourceSetResourcesInput struct { // A unique identifier for the resource set, used in a request to refer to the // resource set. // // Identifier is a required field Identifier *string `min:"1" type:"string" required:"true"` // The maximum number of objects that you want Firewall Manager to return for // this request. If more objects are available, in the response, Firewall Manager // provides a NextToken value that you can use in a subsequent call to get the // next batch of objects. MaxResults *int64 `min:"1" type:"integer"` // When you request a list of objects with a MaxResults setting, if the number // of objects that are still available for retrieval exceeds the maximum you // requested, Firewall Manager returns a NextToken value in the response. To // retrieve the next batch of objects, use the token returned from the prior // request in your next request. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListResourceSetResourcesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListResourceSetResourcesInput) SetIdentifier(v string) *ListResourceSetResourcesInput
SetIdentifier sets the Identifier field's value.
func (s *ListResourceSetResourcesInput) SetMaxResults(v int64) *ListResourceSetResourcesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListResourceSetResourcesInput) SetNextToken(v string) *ListResourceSetResourcesInput
SetNextToken sets the NextToken field's value.
func (s ListResourceSetResourcesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListResourceSetResourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResourceSetResourcesOutput struct { // An array of the associated resources' uniform resource identifiers (URI). // // Items is a required field Items []*Resource `type:"list" required:"true"` // When you request a list of objects with a MaxResults setting, if the number // of objects that are still available for retrieval exceeds the maximum you // requested, Firewall Manager returns a NextToken value in the response. To // retrieve the next batch of objects, use the token returned from the prior // request in your next request. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListResourceSetResourcesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListResourceSetResourcesOutput) SetItems(v []*Resource) *ListResourceSetResourcesOutput
SetItems sets the Items field's value.
func (s *ListResourceSetResourcesOutput) SetNextToken(v string) *ListResourceSetResourcesOutput
SetNextToken sets the NextToken field's value.
func (s ListResourceSetResourcesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListResourceSetsInput struct { // The maximum number of objects that you want Firewall Manager to return for // this request. If more objects are available, in the response, Firewall Manager // provides a NextToken value that you can use in a subsequent call to get the // next batch of objects. MaxResults *int64 `min:"1" type:"integer"` // When you request a list of objects with a MaxResults setting, if the number // of objects that are still available for retrieval exceeds the maximum you // requested, Firewall Manager returns a NextToken value in the response. To // retrieve the next batch of objects, use the token returned from the prior // request in your next request. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListResourceSetsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListResourceSetsInput) SetMaxResults(v int64) *ListResourceSetsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListResourceSetsInput) SetNextToken(v string) *ListResourceSetsInput
SetNextToken sets the NextToken field's value.
func (s ListResourceSetsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListResourceSetsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResourceSetsOutput struct { // When you request a list of objects with a MaxResults setting, if the number // of objects that are still available for retrieval exceeds the maximum you // requested, Firewall Manager returns a NextToken value in the response. To // retrieve the next batch of objects, use the token returned from the prior // request in your next request. NextToken *string `min:"1" type:"string"` // An array of ResourceSetSummary objects. ResourceSets []*ResourceSetSummary `type:"list"` // contains filtered or unexported fields }
func (s ListResourceSetsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListResourceSetsOutput) SetNextToken(v string) *ListResourceSetsOutput
SetNextToken sets the NextToken field's value.
func (s *ListResourceSetsOutput) SetResourceSets(v []*ResourceSetSummary) *ListResourceSetsOutput
SetResourceSets sets the ResourceSets field's value.
func (s ListResourceSetsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the resource to return tags for. The 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 (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput struct { // The tags associated with the resource. TagList []*Tag `type:"list"` // contains filtered or unexported fields }
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceOutput) SetTagList(v []*Tag) *ListTagsForResourceOutput
SetTagList sets the TagList field's value.
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListThirdPartyFirewallFirewallPoliciesInput struct { // The maximum number of third-party firewall policies that you want Firewall // Manager to return. If the specified third-party firewall vendor is associated // with more than MaxResults firewall policies, the response includes a NextToken // element. NextToken contains an encrypted token that identifies the first // third-party firewall policies that Firewall Manager will return if you submit // another request. // // MaxResults is a required field MaxResults *int64 `min:"1" type:"integer" required:"true"` // If the previous response included a NextToken element, the specified third-party // firewall vendor is associated with more third-party firewall policies. To // get more third-party firewall policies, submit another ListThirdPartyFirewallFirewallPoliciesRequest // request. // // For the value of NextToken, specify the value of NextToken from the previous // response. If the previous response didn't include a NextToken element, there // are no more third-party firewall policies to get. NextToken *string `min:"1" type:"string"` // The name of the third-party firewall vendor. // // ThirdPartyFirewall is a required field ThirdPartyFirewall *string `type:"string" required:"true" enum:"ThirdPartyFirewall"` // contains filtered or unexported fields }
func (s ListThirdPartyFirewallFirewallPoliciesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListThirdPartyFirewallFirewallPoliciesInput) SetMaxResults(v int64) *ListThirdPartyFirewallFirewallPoliciesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListThirdPartyFirewallFirewallPoliciesInput) SetNextToken(v string) *ListThirdPartyFirewallFirewallPoliciesInput
SetNextToken sets the NextToken field's value.
func (s *ListThirdPartyFirewallFirewallPoliciesInput) SetThirdPartyFirewall(v string) *ListThirdPartyFirewallFirewallPoliciesInput
SetThirdPartyFirewall sets the ThirdPartyFirewall field's value.
func (s ListThirdPartyFirewallFirewallPoliciesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListThirdPartyFirewallFirewallPoliciesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListThirdPartyFirewallFirewallPoliciesOutput struct { // The value that you will use for NextToken in the next ListThirdPartyFirewallFirewallPolicies // request. NextToken *string `min:"1" type:"string"` // A list that contains one ThirdPartyFirewallFirewallPolicies element for each // third-party firewall policies that the specified third-party firewall vendor // is associated with. Each ThirdPartyFirewallFirewallPolicies element contains // the firewall policy name and ID. ThirdPartyFirewallFirewallPolicies []*ThirdPartyFirewallFirewallPolicy `type:"list"` // contains filtered or unexported fields }
func (s ListThirdPartyFirewallFirewallPoliciesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListThirdPartyFirewallFirewallPoliciesOutput) SetNextToken(v string) *ListThirdPartyFirewallFirewallPoliciesOutput
SetNextToken sets the NextToken field's value.
func (s *ListThirdPartyFirewallFirewallPoliciesOutput) SetThirdPartyFirewallFirewallPolicies(v []*ThirdPartyFirewallFirewallPolicy) *ListThirdPartyFirewallFirewallPoliciesOutput
SetThirdPartyFirewallFirewallPolicies sets the ThirdPartyFirewallFirewallPolicies field's value.
func (s ListThirdPartyFirewallFirewallPoliciesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkAclCommonPolicy struct { // The definition of the first and last rules for the network ACL policy. // // NetworkAclEntrySet is a required field NetworkAclEntrySet *NetworkAclEntrySet `type:"structure" required:"true"` // contains filtered or unexported fields }
Defines a Firewall Manager network ACL policy. This is used in the PolicyOption of a SecurityServicePolicyData for a Policy, when the SecurityServicePolicyData type is set to NETWORK_ACL_COMMON.
For information about network ACLs, see Control traffic to subnets using network ACLs (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html) in the Amazon Virtual Private Cloud User Guide.
func (s NetworkAclCommonPolicy) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkAclCommonPolicy) SetNetworkAclEntrySet(v *NetworkAclEntrySet) *NetworkAclCommonPolicy
SetNetworkAclEntrySet sets the NetworkAclEntrySet field's value.
func (s NetworkAclCommonPolicy) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkAclCommonPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NetworkAclEntry struct { // The IPv4 network range to allow or deny, in CIDR notation. CidrBlock *string `min:"1" type:"string"` // Indicates whether the rule is an egress, or outbound, rule (applied to traffic // leaving the subnet). If it's not an egress rule, then it's an ingress, or // inbound, rule. // // Egress is a required field Egress *bool `type:"boolean" required:"true"` // ICMP protocol: The ICMP type and code. IcmpTypeCode *NetworkAclIcmpTypeCode `type:"structure"` // The IPv6 network range to allow or deny, in CIDR notation. Ipv6CidrBlock *string `min:"1" type:"string"` // TCP or UDP protocols: The range of ports the rule applies to. PortRange *NetworkAclPortRange `type:"structure"` // The protocol number. A value of "-1" means all protocols. // // Protocol is a required field Protocol *string `type:"string" required:"true"` // Indicates whether to allow or deny the traffic that matches the rule. // // RuleAction is a required field RuleAction *string `type:"string" required:"true" enum:"NetworkAclRuleAction"` // contains filtered or unexported fields }
Describes a rule in a network ACL.
Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the network ACL, Amazon Web Services processes the entries in the network ACL according to the rule numbers, in ascending order.
When you manage an individual network ACL, you explicitly specify the rule numbers. When you specify the network ACL rules in a Firewall Manager policy, you provide the rules to run first, in the order that you want them to run, and the rules to run last, in the order that you want them to run. Firewall Manager assigns the rule numbers for you when you save the network ACL policy specification.
func (s NetworkAclEntry) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkAclEntry) SetCidrBlock(v string) *NetworkAclEntry
SetCidrBlock sets the CidrBlock field's value.
func (s *NetworkAclEntry) SetEgress(v bool) *NetworkAclEntry
SetEgress sets the Egress field's value.
func (s *NetworkAclEntry) SetIcmpTypeCode(v *NetworkAclIcmpTypeCode) *NetworkAclEntry
SetIcmpTypeCode sets the IcmpTypeCode field's value.
func (s *NetworkAclEntry) SetIpv6CidrBlock(v string) *NetworkAclEntry
SetIpv6CidrBlock sets the Ipv6CidrBlock field's value.
func (s *NetworkAclEntry) SetPortRange(v *NetworkAclPortRange) *NetworkAclEntry
SetPortRange sets the PortRange field's value.
func (s *NetworkAclEntry) SetProtocol(v string) *NetworkAclEntry
SetProtocol sets the Protocol field's value.
func (s *NetworkAclEntry) SetRuleAction(v string) *NetworkAclEntry
SetRuleAction sets the RuleAction field's value.
func (s NetworkAclEntry) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkAclEntry) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NetworkAclEntrySet struct { // The rules that you want to run first in the Firewall Manager managed network // ACLs. // // Provide these in the order in which you want them to run. Firewall Manager // will assign the specific rule numbers for you, in the network ACLs that it // creates. // // You must specify at least one first entry or one last entry in any network // ACL policy. FirstEntries []*NetworkAclEntry `type:"list"` // Applies only when remediation is enabled for the policy as a whole. Firewall // Manager uses this setting when it finds policy violations that involve conflicts // between the custom entries and the policy entries. // // If forced remediation is disabled, Firewall Manager marks the network ACL // as noncompliant and does not try to remediate. For more information about // the remediation behavior, see Remediation for managed network ACLs (https://docs.aws.amazon.com/waf/latest/developerguide/network-acl-policies.html#network-acls-remediation) // in the Firewall Manager Developer Guide. // // ForceRemediateForFirstEntries is a required field ForceRemediateForFirstEntries *bool `type:"boolean" required:"true"` // Applies only when remediation is enabled for the policy as a whole. Firewall // Manager uses this setting when it finds policy violations that involve conflicts // between the custom entries and the policy entries. // // If forced remediation is disabled, Firewall Manager marks the network ACL // as noncompliant and does not try to remediate. For more information about // the remediation behavior, see Remediation for managed network ACLs (https://docs.aws.amazon.com/waf/latest/developerguide/network-acl-policies.html#network-acls-remediation) // in the Firewall Manager Developer Guide. // // ForceRemediateForLastEntries is a required field ForceRemediateForLastEntries *bool `type:"boolean" required:"true"` // The rules that you want to run last in the Firewall Manager managed network // ACLs. // // Provide these in the order in which you want them to run. Firewall Manager // will assign the specific rule numbers for you, in the network ACLs that it // creates. // // You must specify at least one first entry or one last entry in any network // ACL policy. LastEntries []*NetworkAclEntry `type:"list"` // contains filtered or unexported fields }
The configuration of the first and last rules for the network ACL policy, and the remediation settings for each.
func (s NetworkAclEntrySet) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkAclEntrySet) SetFirstEntries(v []*NetworkAclEntry) *NetworkAclEntrySet
SetFirstEntries sets the FirstEntries field's value.
func (s *NetworkAclEntrySet) SetForceRemediateForFirstEntries(v bool) *NetworkAclEntrySet
SetForceRemediateForFirstEntries sets the ForceRemediateForFirstEntries field's value.
func (s *NetworkAclEntrySet) SetForceRemediateForLastEntries(v bool) *NetworkAclEntrySet
SetForceRemediateForLastEntries sets the ForceRemediateForLastEntries field's value.
func (s *NetworkAclEntrySet) SetLastEntries(v []*NetworkAclEntry) *NetworkAclEntrySet
SetLastEntries sets the LastEntries field's value.
func (s NetworkAclEntrySet) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkAclEntrySet) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NetworkAclIcmpTypeCode struct { // ICMP code. Code *int64 `type:"integer"` // ICMP type. Type *int64 `type:"integer"` // contains filtered or unexported fields }
ICMP protocol: The ICMP type and code.
func (s NetworkAclIcmpTypeCode) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkAclIcmpTypeCode) SetCode(v int64) *NetworkAclIcmpTypeCode
SetCode sets the Code field's value.
func (s *NetworkAclIcmpTypeCode) SetType(v int64) *NetworkAclIcmpTypeCode
SetType sets the Type field's value.
func (s NetworkAclIcmpTypeCode) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkAclIcmpTypeCode) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NetworkAclPortRange struct { // The beginning port number of the range. From *int64 `type:"integer"` // The ending port number of the range. To *int64 `type:"integer"` // contains filtered or unexported fields }
TCP or UDP protocols: The range of ports the rule applies to.
func (s NetworkAclPortRange) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkAclPortRange) SetFrom(v int64) *NetworkAclPortRange
SetFrom sets the From field's value.
func (s *NetworkAclPortRange) SetTo(v int64) *NetworkAclPortRange
SetTo sets the To field's value.
func (s NetworkAclPortRange) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkFirewallBlackHoleRouteDetectedViolation struct { // Information about the route table ID. RouteTableId *string `min:"1" type:"string"` // Information about the route or routes that are in violation. ViolatingRoutes []*Route `type:"list"` // The subnet that has an inactive state. ViolationTarget *string `type:"string"` // Information about the VPC ID. VpcId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Violation detail for an internet gateway route with an inactive state in the customer subnet route table or Network Firewall subnet route table.
func (s NetworkFirewallBlackHoleRouteDetectedViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFirewallBlackHoleRouteDetectedViolation) SetRouteTableId(v string) *NetworkFirewallBlackHoleRouteDetectedViolation
SetRouteTableId sets the RouteTableId field's value.
func (s *NetworkFirewallBlackHoleRouteDetectedViolation) SetViolatingRoutes(v []*Route) *NetworkFirewallBlackHoleRouteDetectedViolation
SetViolatingRoutes sets the ViolatingRoutes field's value.
func (s *NetworkFirewallBlackHoleRouteDetectedViolation) SetViolationTarget(v string) *NetworkFirewallBlackHoleRouteDetectedViolation
SetViolationTarget sets the ViolationTarget field's value.
func (s *NetworkFirewallBlackHoleRouteDetectedViolation) SetVpcId(v string) *NetworkFirewallBlackHoleRouteDetectedViolation
SetVpcId sets the VpcId field's value.
func (s NetworkFirewallBlackHoleRouteDetectedViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkFirewallInternetTrafficNotInspectedViolation struct { // The actual firewall subnet routes. ActualFirewallSubnetRoutes []*Route `type:"list"` // The actual internet gateway routes. ActualInternetGatewayRoutes []*Route `type:"list"` // Information about the subnet route table for the current firewall. CurrentFirewallSubnetRouteTable *string `min:"1" type:"string"` // The current route table for the internet gateway. CurrentInternetGatewayRouteTable *string `min:"1" type:"string"` // The expected endpoint for the current firewall. ExpectedFirewallEndpoint *string `min:"1" type:"string"` // The firewall subnet routes that are expected. ExpectedFirewallSubnetRoutes []*ExpectedRoute `type:"list"` // The internet gateway routes that are expected. ExpectedInternetGatewayRoutes []*ExpectedRoute `type:"list"` // The firewall subnet ID. FirewallSubnetId *string `min:"1" type:"string"` // The internet gateway ID. InternetGatewayId *string `min:"1" type:"string"` // Information about whether the route table is used in another Availability // Zone. IsRouteTableUsedInDifferentAZ *bool `type:"boolean"` // Information about the route table ID. RouteTableId *string `min:"1" type:"string"` // The subnet Availability Zone. SubnetAvailabilityZone *string `type:"string"` // The subnet ID. SubnetId *string `min:"1" type:"string"` // The route or routes that are in violation. ViolatingRoutes []*Route `type:"list"` // Information about the VPC ID. VpcId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Violation detail for the subnet for which internet traffic that hasn't been inspected.
func (s NetworkFirewallInternetTrafficNotInspectedViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFirewallInternetTrafficNotInspectedViolation) SetActualFirewallSubnetRoutes(v []*Route) *NetworkFirewallInternetTrafficNotInspectedViolation
SetActualFirewallSubnetRoutes sets the ActualFirewallSubnetRoutes field's value.
func (s *NetworkFirewallInternetTrafficNotInspectedViolation) SetActualInternetGatewayRoutes(v []*Route) *NetworkFirewallInternetTrafficNotInspectedViolation
SetActualInternetGatewayRoutes sets the ActualInternetGatewayRoutes field's value.
func (s *NetworkFirewallInternetTrafficNotInspectedViolation) SetCurrentFirewallSubnetRouteTable(v string) *NetworkFirewallInternetTrafficNotInspectedViolation
SetCurrentFirewallSubnetRouteTable sets the CurrentFirewallSubnetRouteTable field's value.
func (s *NetworkFirewallInternetTrafficNotInspectedViolation) SetCurrentInternetGatewayRouteTable(v string) *NetworkFirewallInternetTrafficNotInspectedViolation
SetCurrentInternetGatewayRouteTable sets the CurrentInternetGatewayRouteTable field's value.
func (s *NetworkFirewallInternetTrafficNotInspectedViolation) SetExpectedFirewallEndpoint(v string) *NetworkFirewallInternetTrafficNotInspectedViolation
SetExpectedFirewallEndpoint sets the ExpectedFirewallEndpoint field's value.
func (s *NetworkFirewallInternetTrafficNotInspectedViolation) SetExpectedFirewallSubnetRoutes(v []*ExpectedRoute) *NetworkFirewallInternetTrafficNotInspectedViolation
SetExpectedFirewallSubnetRoutes sets the ExpectedFirewallSubnetRoutes field's value.
func (s *NetworkFirewallInternetTrafficNotInspectedViolation) SetExpectedInternetGatewayRoutes(v []*ExpectedRoute) *NetworkFirewallInternetTrafficNotInspectedViolation
SetExpectedInternetGatewayRoutes sets the ExpectedInternetGatewayRoutes field's value.
func (s *NetworkFirewallInternetTrafficNotInspectedViolation) SetFirewallSubnetId(v string) *NetworkFirewallInternetTrafficNotInspectedViolation
SetFirewallSubnetId sets the FirewallSubnetId field's value.
func (s *NetworkFirewallInternetTrafficNotInspectedViolation) SetInternetGatewayId(v string) *NetworkFirewallInternetTrafficNotInspectedViolation
SetInternetGatewayId sets the InternetGatewayId field's value.
func (s *NetworkFirewallInternetTrafficNotInspectedViolation) SetIsRouteTableUsedInDifferentAZ(v bool) *NetworkFirewallInternetTrafficNotInspectedViolation
SetIsRouteTableUsedInDifferentAZ sets the IsRouteTableUsedInDifferentAZ field's value.
func (s *NetworkFirewallInternetTrafficNotInspectedViolation) SetRouteTableId(v string) *NetworkFirewallInternetTrafficNotInspectedViolation
SetRouteTableId sets the RouteTableId field's value.
func (s *NetworkFirewallInternetTrafficNotInspectedViolation) SetSubnetAvailabilityZone(v string) *NetworkFirewallInternetTrafficNotInspectedViolation
SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value.
func (s *NetworkFirewallInternetTrafficNotInspectedViolation) SetSubnetId(v string) *NetworkFirewallInternetTrafficNotInspectedViolation
SetSubnetId sets the SubnetId field's value.
func (s *NetworkFirewallInternetTrafficNotInspectedViolation) SetViolatingRoutes(v []*Route) *NetworkFirewallInternetTrafficNotInspectedViolation
SetViolatingRoutes sets the ViolatingRoutes field's value.
func (s *NetworkFirewallInternetTrafficNotInspectedViolation) SetVpcId(v string) *NetworkFirewallInternetTrafficNotInspectedViolation
SetVpcId sets the VpcId field's value.
func (s NetworkFirewallInternetTrafficNotInspectedViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkFirewallInvalidRouteConfigurationViolation struct { // The actual firewall endpoint. ActualFirewallEndpoint *string `min:"1" type:"string"` // The actual subnet ID for the firewall. ActualFirewallSubnetId *string `min:"1" type:"string"` // The actual firewall subnet routes that are expected. ActualFirewallSubnetRoutes []*Route `type:"list"` // The actual internet gateway routes. ActualInternetGatewayRoutes []*Route `type:"list"` // The subnets that are affected. AffectedSubnets []*string `type:"list"` // The subnet route table for the current firewall. CurrentFirewallSubnetRouteTable *string `min:"1" type:"string"` // The route table for the current internet gateway. CurrentInternetGatewayRouteTable *string `min:"1" type:"string"` // The firewall endpoint that's expected. ExpectedFirewallEndpoint *string `min:"1" type:"string"` // The expected subnet ID for the firewall. ExpectedFirewallSubnetId *string `min:"1" type:"string"` // The firewall subnet routes that are expected. ExpectedFirewallSubnetRoutes []*ExpectedRoute `type:"list"` // The expected routes for the internet gateway. ExpectedInternetGatewayRoutes []*ExpectedRoute `type:"list"` // The internet gateway ID. InternetGatewayId *string `min:"1" type:"string"` // Information about whether the route table is used in another Availability // Zone. IsRouteTableUsedInDifferentAZ *bool `type:"boolean"` // The route table ID. RouteTableId *string `min:"1" type:"string"` // The route that's in violation. ViolatingRoute *Route `type:"structure"` // Information about the VPC ID. VpcId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Violation detail for the improperly configured subnet route. It's possible there is a missing route table route, or a configuration that causes traffic to cross an Availability Zone boundary.
func (s NetworkFirewallInvalidRouteConfigurationViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetActualFirewallEndpoint(v string) *NetworkFirewallInvalidRouteConfigurationViolation
SetActualFirewallEndpoint sets the ActualFirewallEndpoint field's value.
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetActualFirewallSubnetId(v string) *NetworkFirewallInvalidRouteConfigurationViolation
SetActualFirewallSubnetId sets the ActualFirewallSubnetId field's value.
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetActualFirewallSubnetRoutes(v []*Route) *NetworkFirewallInvalidRouteConfigurationViolation
SetActualFirewallSubnetRoutes sets the ActualFirewallSubnetRoutes field's value.
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetActualInternetGatewayRoutes(v []*Route) *NetworkFirewallInvalidRouteConfigurationViolation
SetActualInternetGatewayRoutes sets the ActualInternetGatewayRoutes field's value.
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetAffectedSubnets(v []*string) *NetworkFirewallInvalidRouteConfigurationViolation
SetAffectedSubnets sets the AffectedSubnets field's value.
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetCurrentFirewallSubnetRouteTable(v string) *NetworkFirewallInvalidRouteConfigurationViolation
SetCurrentFirewallSubnetRouteTable sets the CurrentFirewallSubnetRouteTable field's value.
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetCurrentInternetGatewayRouteTable(v string) *NetworkFirewallInvalidRouteConfigurationViolation
SetCurrentInternetGatewayRouteTable sets the CurrentInternetGatewayRouteTable field's value.
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetExpectedFirewallEndpoint(v string) *NetworkFirewallInvalidRouteConfigurationViolation
SetExpectedFirewallEndpoint sets the ExpectedFirewallEndpoint field's value.
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetExpectedFirewallSubnetId(v string) *NetworkFirewallInvalidRouteConfigurationViolation
SetExpectedFirewallSubnetId sets the ExpectedFirewallSubnetId field's value.
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetExpectedFirewallSubnetRoutes(v []*ExpectedRoute) *NetworkFirewallInvalidRouteConfigurationViolation
SetExpectedFirewallSubnetRoutes sets the ExpectedFirewallSubnetRoutes field's value.
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetExpectedInternetGatewayRoutes(v []*ExpectedRoute) *NetworkFirewallInvalidRouteConfigurationViolation
SetExpectedInternetGatewayRoutes sets the ExpectedInternetGatewayRoutes field's value.
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetInternetGatewayId(v string) *NetworkFirewallInvalidRouteConfigurationViolation
SetInternetGatewayId sets the InternetGatewayId field's value.
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetIsRouteTableUsedInDifferentAZ(v bool) *NetworkFirewallInvalidRouteConfigurationViolation
SetIsRouteTableUsedInDifferentAZ sets the IsRouteTableUsedInDifferentAZ field's value.
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetRouteTableId(v string) *NetworkFirewallInvalidRouteConfigurationViolation
SetRouteTableId sets the RouteTableId field's value.
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetViolatingRoute(v *Route) *NetworkFirewallInvalidRouteConfigurationViolation
SetViolatingRoute sets the ViolatingRoute field's value.
func (s *NetworkFirewallInvalidRouteConfigurationViolation) SetVpcId(v string) *NetworkFirewallInvalidRouteConfigurationViolation
SetVpcId sets the VpcId field's value.
func (s NetworkFirewallInvalidRouteConfigurationViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Network Firewall or VPC resource that's in violation. ViolationTarget *string `type:"string"` // contains filtered or unexported fields }
Violation detail for Network Firewall for a subnet that's not associated to the expected Firewall Manager managed route table.
func (s NetworkFirewallMissingExpectedRTViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFirewallMissingExpectedRTViolation) SetAvailabilityZone(v string) *NetworkFirewallMissingExpectedRTViolation
SetAvailabilityZone sets the AvailabilityZone field's value.
func (s *NetworkFirewallMissingExpectedRTViolation) SetCurrentRouteTable(v string) *NetworkFirewallMissingExpectedRTViolation
SetCurrentRouteTable sets the CurrentRouteTable field's value.
func (s *NetworkFirewallMissingExpectedRTViolation) SetExpectedRouteTable(v string) *NetworkFirewallMissingExpectedRTViolation
SetExpectedRouteTable sets the ExpectedRouteTable field's value.
func (s *NetworkFirewallMissingExpectedRTViolation) SetVPC(v string) *NetworkFirewallMissingExpectedRTViolation
SetVPC sets the VPC field's value.
func (s *NetworkFirewallMissingExpectedRTViolation) SetViolationTarget(v string) *NetworkFirewallMissingExpectedRTViolation
SetViolationTarget sets the ViolationTarget field's value.
func (s NetworkFirewallMissingExpectedRTViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkFirewallMissingExpectedRoutesViolation struct { // The expected routes. ExpectedRoutes []*ExpectedRoute `type:"list"` // The target of the violation. ViolationTarget *string `type:"string"` // Information about the VPC ID. VpcId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Violation detail for an expected route missing in Network Firewall.
func (s NetworkFirewallMissingExpectedRoutesViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFirewallMissingExpectedRoutesViolation) SetExpectedRoutes(v []*ExpectedRoute) *NetworkFirewallMissingExpectedRoutesViolation
SetExpectedRoutes sets the ExpectedRoutes field's value.
func (s *NetworkFirewallMissingExpectedRoutesViolation) SetViolationTarget(v string) *NetworkFirewallMissingExpectedRoutesViolation
SetViolationTarget sets the ViolationTarget field's value.
func (s *NetworkFirewallMissingExpectedRoutesViolation) SetVpcId(v string) *NetworkFirewallMissingExpectedRoutesViolation
SetVpcId sets the VpcId field's value.
func (s NetworkFirewallMissingExpectedRoutesViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Network Firewall or VPC resource that's in violation. ViolationTarget *string `type:"string"` // contains filtered or unexported fields }
Violation detail for Network Firewall for a subnet that doesn't have a Firewall Manager managed firewall in its VPC.
func (s NetworkFirewallMissingFirewallViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFirewallMissingFirewallViolation) SetAvailabilityZone(v string) *NetworkFirewallMissingFirewallViolation
SetAvailabilityZone sets the AvailabilityZone field's value.
func (s *NetworkFirewallMissingFirewallViolation) SetTargetViolationReason(v string) *NetworkFirewallMissingFirewallViolation
SetTargetViolationReason sets the TargetViolationReason field's value.
func (s *NetworkFirewallMissingFirewallViolation) SetVPC(v string) *NetworkFirewallMissingFirewallViolation
SetVPC sets the VPC field's value.
func (s *NetworkFirewallMissingFirewallViolation) SetViolationTarget(v string) *NetworkFirewallMissingFirewallViolation
SetViolationTarget sets the ViolationTarget field's value.
func (s NetworkFirewallMissingFirewallViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Network Firewall or VPC resource that's in violation. ViolationTarget *string `type:"string"` // contains filtered or unexported fields }
Violation detail for Network Firewall for an Availability Zone that's missing the expected Firewall Manager managed subnet.
func (s NetworkFirewallMissingSubnetViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFirewallMissingSubnetViolation) SetAvailabilityZone(v string) *NetworkFirewallMissingSubnetViolation
SetAvailabilityZone sets the AvailabilityZone field's value.
func (s *NetworkFirewallMissingSubnetViolation) SetTargetViolationReason(v string) *NetworkFirewallMissingSubnetViolation
SetTargetViolationReason sets the TargetViolationReason field's value.
func (s *NetworkFirewallMissingSubnetViolation) SetVPC(v string) *NetworkFirewallMissingSubnetViolation
SetVPC sets the VPC field's value.
func (s *NetworkFirewallMissingSubnetViolation) SetViolationTarget(v string) *NetworkFirewallMissingSubnetViolation
SetViolationTarget sets the ViolationTarget field's value.
func (s NetworkFirewallMissingSubnetViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkFirewallPolicy struct { // Defines the deployment model to use for the firewall policy. To use a distributed // model, set PolicyOption (https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_PolicyOption.html) // to NULL. FirewallDeploymentModel *string `type:"string" enum:"FirewallDeploymentModel"` // contains filtered or unexported fields }
Configures the firewall policy deployment model of Network Firewall. For information about Network Firewall deployment models, see Network Firewall example architectures with routing (https://docs.aws.amazon.com/network-firewall/latest/developerguide/architectures.html) in the Network Firewall Developer Guide.
func (s NetworkFirewallPolicy) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFirewallPolicy) SetFirewallDeploymentModel(v string) *NetworkFirewallPolicy
SetFirewallDeploymentModel sets the FirewallDeploymentModel field's value.
func (s NetworkFirewallPolicy) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkFirewallPolicyDescription struct { // The default actions to take on a packet that doesn't match any stateful rules. // The stateful default action is optional, and is only valid when using the // strict rule order. // // Valid values of the stateful default action: // // * aws:drop_strict // // * aws:drop_established // // * aws:alert_strict // // * aws:alert_established StatefulDefaultActions []*string `type:"list"` // Additional options governing how Network Firewall handles stateful rules. // The stateful rule groups that you use in your policy must have stateful rule // options settings that are compatible with these settings. StatefulEngineOptions *StatefulEngineOptions `type:"structure"` // 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 Network Firewall firewall policy.
func (s NetworkFirewallPolicyDescription) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFirewallPolicyDescription) SetStatefulDefaultActions(v []*string) *NetworkFirewallPolicyDescription
SetStatefulDefaultActions sets the StatefulDefaultActions field's value.
func (s *NetworkFirewallPolicyDescription) SetStatefulEngineOptions(v *StatefulEngineOptions) *NetworkFirewallPolicyDescription
SetStatefulEngineOptions sets the StatefulEngineOptions field's value.
func (s *NetworkFirewallPolicyDescription) SetStatefulRuleGroups(v []*StatefulRuleGroup) *NetworkFirewallPolicyDescription
SetStatefulRuleGroups sets the StatefulRuleGroups field's value.
func (s *NetworkFirewallPolicyDescription) SetStatelessCustomActions(v []*string) *NetworkFirewallPolicyDescription
SetStatelessCustomActions sets the StatelessCustomActions field's value.
func (s *NetworkFirewallPolicyDescription) SetStatelessDefaultActions(v []*string) *NetworkFirewallPolicyDescription
SetStatelessDefaultActions sets the StatelessDefaultActions field's value.
func (s *NetworkFirewallPolicyDescription) SetStatelessFragmentDefaultActions(v []*string) *NetworkFirewallPolicyDescription
SetStatelessFragmentDefaultActions sets the StatelessFragmentDefaultActions field's value.
func (s *NetworkFirewallPolicyDescription) SetStatelessRuleGroups(v []*StatelessRuleGroup) *NetworkFirewallPolicyDescription
SetStatelessRuleGroups sets the StatelessRuleGroups field's value.
func (s NetworkFirewallPolicyDescription) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Network Firewall or VPC resource that's in violation. ViolationTarget *string `type:"string"` // contains filtered or unexported fields }
Violation detail for Network Firewall for a firewall policy that has a different NetworkFirewallPolicyDescription than is required by the Firewall Manager policy.
func (s NetworkFirewallPolicyModifiedViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFirewallPolicyModifiedViolation) SetCurrentPolicyDescription(v *NetworkFirewallPolicyDescription) *NetworkFirewallPolicyModifiedViolation
SetCurrentPolicyDescription sets the CurrentPolicyDescription field's value.
func (s *NetworkFirewallPolicyModifiedViolation) SetExpectedPolicyDescription(v *NetworkFirewallPolicyDescription) *NetworkFirewallPolicyModifiedViolation
SetExpectedPolicyDescription sets the ExpectedPolicyDescription field's value.
func (s *NetworkFirewallPolicyModifiedViolation) SetViolationTarget(v string) *NetworkFirewallPolicyModifiedViolation
SetViolationTarget sets the ViolationTarget field's value.
func (s NetworkFirewallPolicyModifiedViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkFirewallStatefulRuleGroupOverride struct { // The action that changes the rule group from DROP to ALERT. This only applies // to managed rule groups. Action *string `type:"string" enum:"NetworkFirewallOverrideAction"` // contains filtered or unexported fields }
The setting that allows the policy owner to change the behavior of the rule group within a policy.
func (s NetworkFirewallStatefulRuleGroupOverride) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFirewallStatefulRuleGroupOverride) SetAction(v string) *NetworkFirewallStatefulRuleGroupOverride
SetAction sets the Action field's value.
func (s NetworkFirewallStatefulRuleGroupOverride) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkFirewallUnexpectedFirewallRoutesViolation struct { // The endpoint of the firewall. FirewallEndpoint *string `min:"1" type:"string"` // The subnet ID for the firewall. FirewallSubnetId *string `min:"1" type:"string"` // The ID of the route table. RouteTableId *string `min:"1" type:"string"` // The routes that are in violation. ViolatingRoutes []*Route `type:"list"` // Information about the VPC ID. VpcId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Violation detail for an unexpected route that's present in a route table.
func (s NetworkFirewallUnexpectedFirewallRoutesViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFirewallUnexpectedFirewallRoutesViolation) SetFirewallEndpoint(v string) *NetworkFirewallUnexpectedFirewallRoutesViolation
SetFirewallEndpoint sets the FirewallEndpoint field's value.
func (s *NetworkFirewallUnexpectedFirewallRoutesViolation) SetFirewallSubnetId(v string) *NetworkFirewallUnexpectedFirewallRoutesViolation
SetFirewallSubnetId sets the FirewallSubnetId field's value.
func (s *NetworkFirewallUnexpectedFirewallRoutesViolation) SetRouteTableId(v string) *NetworkFirewallUnexpectedFirewallRoutesViolation
SetRouteTableId sets the RouteTableId field's value.
func (s *NetworkFirewallUnexpectedFirewallRoutesViolation) SetViolatingRoutes(v []*Route) *NetworkFirewallUnexpectedFirewallRoutesViolation
SetViolatingRoutes sets the ViolatingRoutes field's value.
func (s *NetworkFirewallUnexpectedFirewallRoutesViolation) SetVpcId(v string) *NetworkFirewallUnexpectedFirewallRoutesViolation
SetVpcId sets the VpcId field's value.
func (s NetworkFirewallUnexpectedFirewallRoutesViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkFirewallUnexpectedGatewayRoutesViolation struct { // Information about the gateway ID. GatewayId *string `min:"1" type:"string"` // Information about the route table. RouteTableId *string `min:"1" type:"string"` // The routes that are in violation. ViolatingRoutes []*Route `type:"list"` // Information about the VPC ID. VpcId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Violation detail for an unexpected gateway route that’s present in a route table.
func (s NetworkFirewallUnexpectedGatewayRoutesViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFirewallUnexpectedGatewayRoutesViolation) SetGatewayId(v string) *NetworkFirewallUnexpectedGatewayRoutesViolation
SetGatewayId sets the GatewayId field's value.
func (s *NetworkFirewallUnexpectedGatewayRoutesViolation) SetRouteTableId(v string) *NetworkFirewallUnexpectedGatewayRoutesViolation
SetRouteTableId sets the RouteTableId field's value.
func (s *NetworkFirewallUnexpectedGatewayRoutesViolation) SetViolatingRoutes(v []*Route) *NetworkFirewallUnexpectedGatewayRoutesViolation
SetViolatingRoutes sets the ViolatingRoutes field's value.
func (s *NetworkFirewallUnexpectedGatewayRoutesViolation) SetVpcId(v string) *NetworkFirewallUnexpectedGatewayRoutesViolation
SetVpcId sets the VpcId field's value.
func (s NetworkFirewallUnexpectedGatewayRoutesViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type OrganizationalUnitScope struct { // A boolean value that indicates if the administrator can apply policies to // all OUs within an organization. If true, the administrator can manage all // OUs within the organization. You can either enable management of all OUs // through this operation, or you can specify OUs to manage in OrganizationalUnitScope$OrganizationalUnits. // You cannot specify both. AllOrganizationalUnitsEnabled *bool `type:"boolean"` // A boolean value that excludes the OUs in OrganizationalUnitScope$OrganizationalUnits // from the administrator's scope. If true, the Firewall Manager administrator // can apply policies to all OUs in the organization except for the OUs listed // in OrganizationalUnitScope$OrganizationalUnits. You can either specify a // list of OUs to exclude by OrganizationalUnitScope$OrganizationalUnits, or // you can enable management of all OUs by OrganizationalUnitScope$AllOrganizationalUnitsEnabled. // You cannot specify both. ExcludeSpecifiedOrganizationalUnits *bool `type:"boolean"` // The list of OUs within the organization that the specified Firewall Manager // administrator either can or cannot apply policies to, based on the value // of OrganizationalUnitScope$ExcludeSpecifiedOrganizationalUnits. If OrganizationalUnitScope$ExcludeSpecifiedOrganizationalUnits // is set to true, then the Firewall Manager administrator can apply policies // to all OUs in the organization except for the OUs in this list. If OrganizationalUnitScope$ExcludeSpecifiedOrganizationalUnits // is set to false, then the Firewall Manager administrator can only apply policies // to the OUs in this list. OrganizationalUnits []*string `type:"list"` // contains filtered or unexported fields }
Defines the Organizations organizational units (OUs) that the specified Firewall Manager administrator can apply policies to. For more information about OUs in Organizations, see Managing organizational units (OUs) (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_ous.html) in the Organizations User Guide.
func (s OrganizationalUnitScope) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *OrganizationalUnitScope) SetAllOrganizationalUnitsEnabled(v bool) *OrganizationalUnitScope
SetAllOrganizationalUnitsEnabled sets the AllOrganizationalUnitsEnabled field's value.
func (s *OrganizationalUnitScope) SetExcludeSpecifiedOrganizationalUnits(v bool) *OrganizationalUnitScope
SetExcludeSpecifiedOrganizationalUnits sets the ExcludeSpecifiedOrganizationalUnits field's value.
func (s *OrganizationalUnitScope) SetOrganizationalUnits(v []*string) *OrganizationalUnitScope
SetOrganizationalUnits sets the OrganizationalUnits field's value.
func (s OrganizationalUnitScope) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PartialMatch struct { // The reference rule from the primary security group of the 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 (s PartialMatch) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PartialMatch) SetReference(v string) *PartialMatch
SetReference sets the Reference field's value.
func (s *PartialMatch) SetTargetViolationReasons(v []*string) *PartialMatch
SetTargetViolationReasons sets the TargetViolationReasons field's value.
func (s PartialMatch) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Policy struct { // Indicates whether Firewall Manager should automatically remove protections // from resources that leave the policy scope and clean up resources that Firewall // Manager is managing for accounts when those accounts leave policy scope. // For example, Firewall Manager will disassociate a Firewall Manager managed // web ACL from a protected customer resource when the customer resource leaves // policy scope. // // By default, Firewall Manager doesn't remove protections or delete Firewall // Manager managed resources. // // This option is not available for Shield Advanced or WAF Classic policies. DeleteUnusedFMManagedResources *bool `type:"boolean"` // Specifies the Amazon Web Services account IDs and 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, 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 Amazon Web Services account IDs and 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, 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"` // Your description of the Firewall Manager policy. PolicyDescription *string `type:"string"` // The ID of the Firewall Manager policy. PolicyId *string `min:"36" type:"string"` // The name of the Firewall Manager policy. // // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` // Indicates whether the policy is in or out of an admin's policy or Region // scope. // // * ACTIVE - The administrator can manage and delete the policy. // // * OUT_OF_ADMIN_SCOPE - The administrator can view the policy, but they // can't edit or delete the policy. Existing policy protections stay in place. // Any new resources that come into scope of the policy won't be protected. PolicyStatus *string `type:"string" enum:"CustomerPolicyStatus"` // 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"` // The unique identifiers of the resource sets used by the policy. ResourceSetIds []*string `type:"list"` // 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 Amazon Web Services Resource Types Reference (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html). // To apply this policy to multiple resource types, specify a resource type // of ResourceTypeList and then specify the resource types in a ResourceTypeList. // // The following are valid resource types for each Firewall Manager policy type: // // * Amazon Web Services WAF Classic - AWS::ApiGateway::Stage, AWS::CloudFront::Distribution, // and AWS::ElasticLoadBalancingV2::LoadBalancer. // // * WAF - AWS::ApiGateway::Stage, AWS::ElasticLoadBalancingV2::LoadBalancer, // and AWS::CloudFront::Distribution. // // * Shield Advanced - AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::ElasticLoadBalancing::LoadBalancer, // AWS::EC2::EIP, and AWS::CloudFront::Distribution. // // * Network ACL - AWS::EC2::Subnet. // // * Security group usage audit - AWS::EC2::SecurityGroup. // // * Security group content audit - AWS::EC2::SecurityGroup, AWS::EC2::NetworkInterface, // and AWS::EC2::Instance. // // * DNS Firewall, Network Firewall, and third-party firewall - AWS::EC2::VPC. // // ResourceType is a required field ResourceType *string `min:"1" type:"string" required:"true"` // An array of ResourceType objects. Use this only to specify multiple resource // types. To specify a single resource type, use 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 Firewall Manager policy.
func (s Policy) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Policy) SetDeleteUnusedFMManagedResources(v bool) *Policy
SetDeleteUnusedFMManagedResources sets the DeleteUnusedFMManagedResources field's value.
func (s *Policy) SetExcludeMap(v map[string][]*string) *Policy
SetExcludeMap sets the ExcludeMap field's value.
func (s *Policy) SetExcludeResourceTags(v bool) *Policy
SetExcludeResourceTags sets the ExcludeResourceTags field's value.
func (s *Policy) SetIncludeMap(v map[string][]*string) *Policy
SetIncludeMap sets the IncludeMap field's value.
func (s *Policy) SetPolicyDescription(v string) *Policy
SetPolicyDescription sets the PolicyDescription field's value.
func (s *Policy) SetPolicyId(v string) *Policy
SetPolicyId sets the PolicyId field's value.
func (s *Policy) SetPolicyName(v string) *Policy
SetPolicyName sets the PolicyName field's value.
func (s *Policy) SetPolicyStatus(v string) *Policy
SetPolicyStatus sets the PolicyStatus field's value.
func (s *Policy) SetPolicyUpdateToken(v string) *Policy
SetPolicyUpdateToken sets the PolicyUpdateToken field's value.
func (s *Policy) SetRemediationEnabled(v bool) *Policy
SetRemediationEnabled sets the RemediationEnabled field's value.
func (s *Policy) SetResourceSetIds(v []*string) *Policy
SetResourceSetIds sets the ResourceSetIds field's value.
func (s *Policy) SetResourceTags(v []*ResourceTag) *Policy
SetResourceTags sets the ResourceTags field's value.
func (s *Policy) SetResourceType(v string) *Policy
SetResourceType sets the ResourceType field's value.
func (s *Policy) SetResourceTypeList(v []*string) *Policy
SetResourceTypeList sets the ResourceTypeList field's value.
func (s *Policy) SetSecurityServicePolicyData(v *SecurityServicePolicyData) *Policy
SetSecurityServicePolicyData sets the SecurityServicePolicyData field's value.
func (s Policy) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Policy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PolicyComplianceDetail struct { // Indicates if over 100 resources are noncompliant with the 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 WAF or Config, and // the error message received that indicates the problem with the service. IssueInfoMap map[string]*string `type:"map"` // The Amazon Web Services account ID. MemberAccount *string `min:"1" type:"string"` // The ID of the Firewall Manager policy. PolicyId *string `min:"36" type:"string"` // The Amazon Web Services account that created the Firewall Manager policy. PolicyOwner *string `min:"1" type:"string"` // An array of resources that aren't protected by the 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 Firewall Manager policy. A maximum of 100 entries are displayed. If more than 100 resources are noncompliant, EvaluationLimitExceeded is set to True.
func (s PolicyComplianceDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PolicyComplianceDetail) SetEvaluationLimitExceeded(v bool) *PolicyComplianceDetail
SetEvaluationLimitExceeded sets the EvaluationLimitExceeded field's value.
func (s *PolicyComplianceDetail) SetExpiredAt(v time.Time) *PolicyComplianceDetail
SetExpiredAt sets the ExpiredAt field's value.
func (s *PolicyComplianceDetail) SetIssueInfoMap(v map[string]*string) *PolicyComplianceDetail
SetIssueInfoMap sets the IssueInfoMap field's value.
func (s *PolicyComplianceDetail) SetMemberAccount(v string) *PolicyComplianceDetail
SetMemberAccount sets the MemberAccount field's value.
func (s *PolicyComplianceDetail) SetPolicyId(v string) *PolicyComplianceDetail
SetPolicyId sets the PolicyId field's value.
func (s *PolicyComplianceDetail) SetPolicyOwner(v string) *PolicyComplianceDetail
SetPolicyOwner sets the PolicyOwner field's value.
func (s *PolicyComplianceDetail) SetViolators(v []*ComplianceViolator) *PolicyComplianceDetail
SetViolators sets the Violators field's value.
func (s PolicyComplianceDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PolicyComplianceStatus struct { // An array of EvaluationResult objects. EvaluationResults []*EvaluationResult `type:"list"` // Details about problems with dependent services, such as WAF or Config, 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 Firewall Manager policy. PolicyId *string `min:"36" type:"string"` // The name of the Firewall Manager policy. PolicyName *string `min:"1" type:"string"` // The Amazon Web Services account that created the 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 WAF and Shield Advanced policies, or that are noncompliant with the policy, for security group policies.
func (s PolicyComplianceStatus) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PolicyComplianceStatus) SetEvaluationResults(v []*EvaluationResult) *PolicyComplianceStatus
SetEvaluationResults sets the EvaluationResults field's value.
func (s *PolicyComplianceStatus) SetIssueInfoMap(v map[string]*string) *PolicyComplianceStatus
SetIssueInfoMap sets the IssueInfoMap field's value.
func (s *PolicyComplianceStatus) SetLastUpdated(v time.Time) *PolicyComplianceStatus
SetLastUpdated sets the LastUpdated field's value.
func (s *PolicyComplianceStatus) SetMemberAccount(v string) *PolicyComplianceStatus
SetMemberAccount sets the MemberAccount field's value.
func (s *PolicyComplianceStatus) SetPolicyId(v string) *PolicyComplianceStatus
SetPolicyId sets the PolicyId field's value.
func (s *PolicyComplianceStatus) SetPolicyName(v string) *PolicyComplianceStatus
SetPolicyName sets the PolicyName field's value.
func (s *PolicyComplianceStatus) SetPolicyOwner(v string) *PolicyComplianceStatus
SetPolicyOwner sets the PolicyOwner field's value.
func (s PolicyComplianceStatus) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PolicyOption struct { // Defines a Firewall Manager network ACL policy. NetworkAclCommonPolicy *NetworkAclCommonPolicy `type:"structure"` // Defines the deployment model to use for the firewall policy. NetworkFirewallPolicy *NetworkFirewallPolicy `type:"structure"` // Defines the policy options for a third-party firewall policy. ThirdPartyFirewallPolicy *ThirdPartyFirewallPolicy `type:"structure"` // contains filtered or unexported fields }
Contains the settings to configure a network ACL policy, a Network Firewall firewall policy deployment model, or a third-party firewall policy.
func (s PolicyOption) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PolicyOption) SetNetworkAclCommonPolicy(v *NetworkAclCommonPolicy) *PolicyOption
SetNetworkAclCommonPolicy sets the NetworkAclCommonPolicy field's value.
func (s *PolicyOption) SetNetworkFirewallPolicy(v *NetworkFirewallPolicy) *PolicyOption
SetNetworkFirewallPolicy sets the NetworkFirewallPolicy field's value.
func (s *PolicyOption) SetThirdPartyFirewallPolicy(v *ThirdPartyFirewallPolicy) *PolicyOption
SetThirdPartyFirewallPolicy sets the ThirdPartyFirewallPolicy field's value.
func (s PolicyOption) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PolicyOption) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PolicySummary struct { // Indicates whether Firewall Manager should automatically remove protections // from resources that leave the policy scope and clean up resources that Firewall // Manager is managing for accounts when those accounts leave policy scope. // For example, Firewall Manager will disassociate a Firewall Manager managed // web ACL from a protected customer resource when the customer resource leaves // policy scope. // // By default, Firewall Manager doesn't remove protections or delete Firewall // Manager managed resources. // // This option is not available for Shield Advanced or WAF Classic policies. DeleteUnusedFMManagedResources *bool `type:"boolean"` // 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 whether the policy is in or out of an admin's policy or Region // scope. // // * ACTIVE - The administrator can manage and delete the policy. // // * OUT_OF_ADMIN_SCOPE - The administrator can view the policy, but they // can't edit or delete the policy. Existing policy protections stay in place. // Any new resources that come into scope of the policy won't be protected. PolicyStatus *string `type:"string" enum:"CustomerPolicyStatus"` // 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 Amazon Web Services Resource Types Reference (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html). 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 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 Firewall Manager policy.
func (s PolicySummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PolicySummary) SetDeleteUnusedFMManagedResources(v bool) *PolicySummary
SetDeleteUnusedFMManagedResources sets the DeleteUnusedFMManagedResources field's value.
func (s *PolicySummary) SetPolicyArn(v string) *PolicySummary
SetPolicyArn sets the PolicyArn field's value.
func (s *PolicySummary) SetPolicyId(v string) *PolicySummary
SetPolicyId sets the PolicyId field's value.
func (s *PolicySummary) SetPolicyName(v string) *PolicySummary
SetPolicyName sets the PolicyName field's value.
func (s *PolicySummary) SetPolicyStatus(v string) *PolicySummary
SetPolicyStatus sets the PolicyStatus field's value.
func (s *PolicySummary) SetRemediationEnabled(v bool) *PolicySummary
SetRemediationEnabled sets the RemediationEnabled field's value.
func (s *PolicySummary) SetResourceType(v string) *PolicySummary
SetResourceType sets the ResourceType field's value.
func (s *PolicySummary) SetSecurityServiceType(v string) *PolicySummary
SetSecurityServiceType sets the SecurityServiceType field's value.
func (s PolicySummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PolicyTypeScope struct { // Allows the specified Firewall Manager administrator to manage all Firewall // Manager policy types, except for third-party policy types. Third-party policy // types can only be managed by the Firewall Manager default administrator. AllPolicyTypesEnabled *bool `type:"boolean"` // The list of policy types that the specified Firewall Manager administrator // can manage. PolicyTypes []*string `type:"list" enum:"SecurityServiceType"` // contains filtered or unexported fields }
Defines the policy types that the specified Firewall Manager administrator can manage.
func (s PolicyTypeScope) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PolicyTypeScope) SetAllPolicyTypesEnabled(v bool) *PolicyTypeScope
SetAllPolicyTypesEnabled sets the AllPolicyTypesEnabled field's value.
func (s *PolicyTypeScope) SetPolicyTypes(v []*string) *PolicyTypeScope
SetPolicyTypes sets the PolicyTypes field's value.
func (s PolicyTypeScope) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PossibleRemediationAction struct { // A description of the list of remediation actions. Description *string `type:"string"` // Information about whether an action is taken by default. IsDefaultAction *bool `type:"boolean"` // The ordered list of remediation actions. // // OrderedRemediationActions is a required field OrderedRemediationActions []*RemediationActionWithOrder `type:"list" required:"true"` // contains filtered or unexported fields }
A list of remediation actions.
func (s PossibleRemediationAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PossibleRemediationAction) SetDescription(v string) *PossibleRemediationAction
SetDescription sets the Description field's value.
func (s *PossibleRemediationAction) SetIsDefaultAction(v bool) *PossibleRemediationAction
SetIsDefaultAction sets the IsDefaultAction field's value.
func (s *PossibleRemediationAction) SetOrderedRemediationActions(v []*RemediationActionWithOrder) *PossibleRemediationAction
SetOrderedRemediationActions sets the OrderedRemediationActions field's value.
func (s PossibleRemediationAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PossibleRemediationActions struct { // Information about the actions. Actions []*PossibleRemediationAction `type:"list"` // A description of the possible remediation actions list. Description *string `type:"string"` // contains filtered or unexported fields }
A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.
func (s PossibleRemediationActions) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PossibleRemediationActions) SetActions(v []*PossibleRemediationAction) *PossibleRemediationActions
SetActions sets the Actions field's value.
func (s *PossibleRemediationActions) SetDescription(v string) *PossibleRemediationActions
SetDescription sets the Description field's value.
func (s PossibleRemediationActions) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ProtocolsListData struct { // The time that the Firewall Manager protocols list was created. CreateTime *time.Time `type:"timestamp"` // The time that the Firewall Manager protocols list was last updated. LastUpdateTime *time.Time `type:"timestamp"` // The ID of the Firewall Manager protocols list. ListId *string `min:"36" type:"string"` // The name of the 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 Firewall Manager protocols list. // // ProtocolsList is a required field ProtocolsList []*string `type:"list" required:"true"` // contains filtered or unexported fields }
An Firewall Manager protocols list.
func (s ProtocolsListData) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ProtocolsListData) SetCreateTime(v time.Time) *ProtocolsListData
SetCreateTime sets the CreateTime field's value.
func (s *ProtocolsListData) SetLastUpdateTime(v time.Time) *ProtocolsListData
SetLastUpdateTime sets the LastUpdateTime field's value.
func (s *ProtocolsListData) SetListId(v string) *ProtocolsListData
SetListId sets the ListId field's value.
func (s *ProtocolsListData) SetListName(v string) *ProtocolsListData
SetListName sets the ListName field's value.
func (s *ProtocolsListData) SetListUpdateToken(v string) *ProtocolsListData
SetListUpdateToken sets the ListUpdateToken field's value.
func (s *ProtocolsListData) SetPreviousProtocolsList(v map[string][]*string) *ProtocolsListData
SetPreviousProtocolsList sets the PreviousProtocolsList field's value.
func (s *ProtocolsListData) SetProtocolsList(v []*string) *ProtocolsListData
SetProtocolsList sets the ProtocolsList field's value.
func (s ProtocolsListData) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ProtocolsListData) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 Firewall Manager protocols list. ProtocolsList []*string `type:"list"` // contains filtered or unexported fields }
Details of the Firewall Manager protocols list.
func (s ProtocolsListDataSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ProtocolsListDataSummary) SetListArn(v string) *ProtocolsListDataSummary
SetListArn sets the ListArn field's value.
func (s *ProtocolsListDataSummary) SetListId(v string) *ProtocolsListDataSummary
SetListId sets the ListId field's value.
func (s *ProtocolsListDataSummary) SetListName(v string) *ProtocolsListDataSummary
SetListName sets the ListName field's value.
func (s *ProtocolsListDataSummary) SetProtocolsList(v []*string) *ProtocolsListDataSummary
SetProtocolsList sets the ProtocolsList field's value.
func (s ProtocolsListDataSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutAdminAccountInput struct { // The Amazon Web Services account ID to add as an Firewall Manager administrator // account. The account must be a member of the organization that was onboarded // to Firewall Manager by AssociateAdminAccount. For more information about // Organizations, see Managing the Amazon Web Services 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"` // Configures the resources that the specified Firewall Manager administrator // can manage. As a best practice, set the administrative scope according to // the principles of least privilege. Only grant the administrator the specific // resources or permissions that they need to perform the duties of their role. AdminScope *AdminScope `type:"structure"` // contains filtered or unexported fields }
func (s PutAdminAccountInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutAdminAccountInput) SetAdminAccount(v string) *PutAdminAccountInput
SetAdminAccount sets the AdminAccount field's value.
func (s *PutAdminAccountInput) SetAdminScope(v *AdminScope) *PutAdminAccountInput
SetAdminScope sets the AdminScope field's value.
func (s PutAdminAccountInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutAdminAccountInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutAdminAccountOutput struct {
// contains filtered or unexported fields
}
func (s PutAdminAccountOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s PutAdminAccountOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutAppsListInput struct { // The details of the 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 (s PutAppsListInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutAppsListInput) SetAppsList(v *AppsListData) *PutAppsListInput
SetAppsList sets the AppsList field's value.
func (s *PutAppsListInput) SetTagList(v []*Tag) *PutAppsListInput
SetTagList sets the TagList field's value.
func (s PutAppsListInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutAppsListInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutAppsListOutput struct { // The details of the 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 (s PutAppsListOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutAppsListOutput) SetAppsList(v *AppsListData) *PutAppsListOutput
SetAppsList sets the AppsList field's value.
func (s *PutAppsListOutput) SetAppsListArn(v string) *PutAppsListOutput
SetAppsListArn sets the AppsListArn field's value.
func (s PutAppsListOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutNotificationChannelInput struct { // The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to // record 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 Firewall Manager. // // SnsTopicArn is a required field SnsTopicArn *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s PutNotificationChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutNotificationChannelInput) SetSnsRoleName(v string) *PutNotificationChannelInput
SetSnsRoleName sets the SnsRoleName field's value.
func (s *PutNotificationChannelInput) SetSnsTopicArn(v string) *PutNotificationChannelInput
SetSnsTopicArn sets the SnsTopicArn field's value.
func (s PutNotificationChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutNotificationChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutNotificationChannelOutput struct {
// contains filtered or unexported fields
}
func (s PutNotificationChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s PutNotificationChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutPolicyInput struct { // The details of the Firewall Manager policy to be created. // // Policy is a required field Policy *Policy `type:"structure" required:"true"` // The tags to add to the Amazon Web Services resource. TagList []*Tag `type:"list"` // contains filtered or unexported fields }
func (s PutPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutPolicyInput) SetPolicy(v *Policy) *PutPolicyInput
SetPolicy sets the Policy field's value.
func (s *PutPolicyInput) SetTagList(v []*Tag) *PutPolicyInput
SetTagList sets the TagList field's value.
func (s PutPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutPolicyOutput struct { // The details of the 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 (s PutPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutPolicyOutput) SetPolicy(v *Policy) *PutPolicyOutput
SetPolicy sets the Policy field's value.
func (s *PutPolicyOutput) SetPolicyArn(v string) *PutPolicyOutput
SetPolicyArn sets the PolicyArn field's value.
func (s PutPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutProtocolsListInput struct { // The details of the 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 (s PutProtocolsListInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutProtocolsListInput) SetProtocolsList(v *ProtocolsListData) *PutProtocolsListInput
SetProtocolsList sets the ProtocolsList field's value.
func (s *PutProtocolsListInput) SetTagList(v []*Tag) *PutProtocolsListInput
SetTagList sets the TagList field's value.
func (s PutProtocolsListInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutProtocolsListInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutProtocolsListOutput struct { // The details of the 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 (s PutProtocolsListOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutProtocolsListOutput) SetProtocolsList(v *ProtocolsListData) *PutProtocolsListOutput
SetProtocolsList sets the ProtocolsList field's value.
func (s *PutProtocolsListOutput) SetProtocolsListArn(v string) *PutProtocolsListOutput
SetProtocolsListArn sets the ProtocolsListArn field's value.
func (s PutProtocolsListOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutResourceSetInput struct { // Details about the resource set to be created or updated.> // // ResourceSet is a required field ResourceSet *ResourceSet `type:"structure" required:"true"` // Retrieves the tags associated with the specified resource set. Tags are key:value // pairs that you can use to categorize and manage your resources, for purposes // like billing. For example, you might set the tag key to "customer" and the // value to the customer name or ID. You can specify one or more tags to add // to each Amazon Web Services resource, up to 50 tags for a resource. TagList []*Tag `type:"list"` // contains filtered or unexported fields }
func (s PutResourceSetInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutResourceSetInput) SetResourceSet(v *ResourceSet) *PutResourceSetInput
SetResourceSet sets the ResourceSet field's value.
func (s *PutResourceSetInput) SetTagList(v []*Tag) *PutResourceSetInput
SetTagList sets the TagList field's value.
func (s PutResourceSetInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutResourceSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutResourceSetOutput struct { // Details about the resource set. // // ResourceSet is a required field ResourceSet *ResourceSet `type:"structure" required:"true"` // The Amazon Resource Name (ARN) of the resource set. // // ResourceSetArn is a required field ResourceSetArn *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s PutResourceSetOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutResourceSetOutput) SetResourceSet(v *ResourceSet) *PutResourceSetOutput
SetResourceSet sets the ResourceSet field's value.
func (s *PutResourceSetOutput) SetResourceSetArn(v string) *PutResourceSetOutput
SetResourceSetArn sets the ResourceSetArn field's value.
func (s PutResourceSetOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RegionScope struct { // Allows the specified Firewall Manager administrator to manage all Amazon // Web Services Regions. AllRegionsEnabled *bool `type:"boolean"` // The Amazon Web Services Regions that the specified Firewall Manager administrator // can perform actions in. Regions []*string `type:"list"` // contains filtered or unexported fields }
Defines the Amazon Web Services Regions that the specified Firewall Manager administrator can manage.
func (s RegionScope) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RegionScope) SetAllRegionsEnabled(v bool) *RegionScope
SetAllRegionsEnabled sets the AllRegionsEnabled field's value.
func (s *RegionScope) SetRegions(v []*string) *RegionScope
SetRegions sets the Regions field's value.
func (s RegionScope) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RemediationAction struct { // Information about the CreateNetworkAcl action in Amazon EC2. CreateNetworkAclAction *CreateNetworkAclAction `type:"structure"` // Information about the CreateNetworkAclEntries action in Amazon EC2. CreateNetworkAclEntriesAction *CreateNetworkAclEntriesAction `type:"structure"` // Information about the DeleteNetworkAclEntries action in Amazon EC2. DeleteNetworkAclEntriesAction *DeleteNetworkAclEntriesAction `type:"structure"` // A description of a remediation action. Description *string `type:"string"` // Information about the AssociateRouteTable action in the Amazon EC2 API. EC2AssociateRouteTableAction *EC2AssociateRouteTableAction `type:"structure"` // Information about the CopyRouteTable action in the Amazon EC2 API. EC2CopyRouteTableAction *EC2CopyRouteTableAction `type:"structure"` // Information about the CreateRoute action in the Amazon EC2 API. EC2CreateRouteAction *EC2CreateRouteAction `type:"structure"` // Information about the CreateRouteTable action in the Amazon EC2 API. EC2CreateRouteTableAction *EC2CreateRouteTableAction `type:"structure"` // Information about the DeleteRoute action in the Amazon EC2 API. EC2DeleteRouteAction *EC2DeleteRouteAction `type:"structure"` // Information about the ReplaceRoute action in the Amazon EC2 API. EC2ReplaceRouteAction *EC2ReplaceRouteAction `type:"structure"` // Information about the ReplaceRouteTableAssociation action in the Amazon EC2 // API. EC2ReplaceRouteTableAssociationAction *EC2ReplaceRouteTableAssociationAction `type:"structure"` // The remedial action to take when updating a firewall configuration. FMSPolicyUpdateFirewallCreationConfigAction *FMSPolicyUpdateFirewallCreationConfigAction `type:"structure"` // Information about the ReplaceNetworkAclAssociation action in Amazon EC2. ReplaceNetworkAclAssociationAction *ReplaceNetworkAclAssociationAction `type:"structure"` // contains filtered or unexported fields }
Information about an individual action you can take to remediate a violation.
func (s RemediationAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RemediationAction) SetCreateNetworkAclAction(v *CreateNetworkAclAction) *RemediationAction
SetCreateNetworkAclAction sets the CreateNetworkAclAction field's value.
func (s *RemediationAction) SetCreateNetworkAclEntriesAction(v *CreateNetworkAclEntriesAction) *RemediationAction
SetCreateNetworkAclEntriesAction sets the CreateNetworkAclEntriesAction field's value.
func (s *RemediationAction) SetDeleteNetworkAclEntriesAction(v *DeleteNetworkAclEntriesAction) *RemediationAction
SetDeleteNetworkAclEntriesAction sets the DeleteNetworkAclEntriesAction field's value.
func (s *RemediationAction) SetDescription(v string) *RemediationAction
SetDescription sets the Description field's value.
func (s *RemediationAction) SetEC2AssociateRouteTableAction(v *EC2AssociateRouteTableAction) *RemediationAction
SetEC2AssociateRouteTableAction sets the EC2AssociateRouteTableAction field's value.
func (s *RemediationAction) SetEC2CopyRouteTableAction(v *EC2CopyRouteTableAction) *RemediationAction
SetEC2CopyRouteTableAction sets the EC2CopyRouteTableAction field's value.
func (s *RemediationAction) SetEC2CreateRouteAction(v *EC2CreateRouteAction) *RemediationAction
SetEC2CreateRouteAction sets the EC2CreateRouteAction field's value.
func (s *RemediationAction) SetEC2CreateRouteTableAction(v *EC2CreateRouteTableAction) *RemediationAction
SetEC2CreateRouteTableAction sets the EC2CreateRouteTableAction field's value.
func (s *RemediationAction) SetEC2DeleteRouteAction(v *EC2DeleteRouteAction) *RemediationAction
SetEC2DeleteRouteAction sets the EC2DeleteRouteAction field's value.
func (s *RemediationAction) SetEC2ReplaceRouteAction(v *EC2ReplaceRouteAction) *RemediationAction
SetEC2ReplaceRouteAction sets the EC2ReplaceRouteAction field's value.
func (s *RemediationAction) SetEC2ReplaceRouteTableAssociationAction(v *EC2ReplaceRouteTableAssociationAction) *RemediationAction
SetEC2ReplaceRouteTableAssociationAction sets the EC2ReplaceRouteTableAssociationAction field's value.
func (s *RemediationAction) SetFMSPolicyUpdateFirewallCreationConfigAction(v *FMSPolicyUpdateFirewallCreationConfigAction) *RemediationAction
SetFMSPolicyUpdateFirewallCreationConfigAction sets the FMSPolicyUpdateFirewallCreationConfigAction field's value.
func (s *RemediationAction) SetReplaceNetworkAclAssociationAction(v *ReplaceNetworkAclAssociationAction) *RemediationAction
SetReplaceNetworkAclAssociationAction sets the ReplaceNetworkAclAssociationAction field's value.
func (s RemediationAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RemediationActionWithOrder struct { // The order of the remediation actions in the list. Order *int64 `type:"integer"` // Information about an action you can take to remediate a violation. RemediationAction *RemediationAction `type:"structure"` // contains filtered or unexported fields }
An ordered list of actions you can take to remediate a violation.
func (s RemediationActionWithOrder) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RemediationActionWithOrder) SetOrder(v int64) *RemediationActionWithOrder
SetOrder sets the Order field's value.
func (s *RemediationActionWithOrder) SetRemediationAction(v *RemediationAction) *RemediationActionWithOrder
SetRemediationAction sets the RemediationAction field's value.
func (s RemediationActionWithOrder) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ReplaceNetworkAclAssociationAction struct { // Describes a remediation action target. AssociationId *ActionTarget `type:"structure"` // Brief description of this remediation action. Description *string `type:"string"` // Indicates whether it is possible for Firewall Manager to perform this remediation // action. A false value indicates that auto remediation is disabled or Firewall // Manager is unable to perform the action due to a conflict of some kind. FMSCanRemediate *bool `type:"boolean"` // The network ACL that's associated with the remediation action. NetworkAclId *ActionTarget `type:"structure"` // contains filtered or unexported fields }
Information about the ReplaceNetworkAclAssociation action in Amazon EC2. This is a remediation option in RemediationAction.
func (s ReplaceNetworkAclAssociationAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ReplaceNetworkAclAssociationAction) SetAssociationId(v *ActionTarget) *ReplaceNetworkAclAssociationAction
SetAssociationId sets the AssociationId field's value.
func (s *ReplaceNetworkAclAssociationAction) SetDescription(v string) *ReplaceNetworkAclAssociationAction
SetDescription sets the Description field's value.
func (s *ReplaceNetworkAclAssociationAction) SetFMSCanRemediate(v bool) *ReplaceNetworkAclAssociationAction
SetFMSCanRemediate sets the FMSCanRemediate field's value.
func (s *ReplaceNetworkAclAssociationAction) SetNetworkAclId(v *ActionTarget) *ReplaceNetworkAclAssociationAction
SetNetworkAclId sets the NetworkAclId field's value.
func (s ReplaceNetworkAclAssociationAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Resource struct { // The Amazon Web Services account ID that the associated resource belongs to. AccountId *string `min:"1" type:"string"` // The resource's universal resource indicator (URI). // // URI is a required field URI *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Details of a resource that is associated to an Firewall Manager resource set.
func (s Resource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Resource) SetAccountId(v string) *Resource
SetAccountId sets the AccountId field's value.
func (s *Resource) SetURI(v string) *Resource
SetURI sets the URI field's value.
func (s Resource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (s *ResourceNotFoundException) Error() string
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceSet struct { // A description of the resource set. Description *string `type:"string"` // A unique identifier for the resource set. This ID is returned in the responses // to create and list commands. You provide it to operations like update and // delete. Id *string `min:"22" type:"string"` // The last time that the resource set was changed. LastUpdateTime *time.Time `type:"timestamp"` // The descriptive name of the resource set. You can't change the name of a // resource set after you create it. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // Indicates whether the resource set is in or out of an admin's Region scope. // // * ACTIVE - The administrator can manage and delete the resource set. // // * OUT_OF_ADMIN_SCOPE - The administrator can view the resource set, but // they can't edit or delete the resource set. Existing protections stay // in place. Any new resource that come into scope of the resource set won't // be protected. ResourceSetStatus *string `type:"string" enum:"ResourceSetStatus"` // Determines the resources that can be associated to the resource set. Depending // on your setting for max results and the number of resource sets, a single // call might not return the full list. // // ResourceTypeList is a required field ResourceTypeList []*string `type:"list" required:"true"` // An optional token that you can use for optimistic locking. Firewall Manager // returns a token to your requests that access the resource set. The token // marks the state of the resource set resource at the time of the request. // Update tokens are not allowed when creating a resource set. After creation, // each subsequent update call to the resource set requires the update token. // // To make an unconditional change to the resource set, omit the token in your // update request. Without the token, Firewall Manager performs your updates // regardless of whether the resource set has changed since you last retrieved // it. // // To make a conditional change to the resource set, provide the token in your // update request. Firewall Manager uses the token to ensure that the resource // set hasn't changed since you last retrieved it. If it has changed, the operation // fails with an InvalidTokenException. If this happens, retrieve the resource // set again to get a current copy of it with a new token. Reapply your changes // as needed, then try the operation again using the new token. UpdateToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
A set of resources to include in a policy.
func (s ResourceSet) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResourceSet) SetDescription(v string) *ResourceSet
SetDescription sets the Description field's value.
func (s *ResourceSet) SetId(v string) *ResourceSet
SetId sets the Id field's value.
func (s *ResourceSet) SetLastUpdateTime(v time.Time) *ResourceSet
SetLastUpdateTime sets the LastUpdateTime field's value.
func (s *ResourceSet) SetName(v string) *ResourceSet
SetName sets the Name field's value.
func (s *ResourceSet) SetResourceSetStatus(v string) *ResourceSet
SetResourceSetStatus sets the ResourceSetStatus field's value.
func (s *ResourceSet) SetResourceTypeList(v []*string) *ResourceSet
SetResourceTypeList sets the ResourceTypeList field's value.
func (s *ResourceSet) SetUpdateToken(v string) *ResourceSet
SetUpdateToken sets the UpdateToken field's value.
func (s ResourceSet) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResourceSet) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceSetSummary struct { // A description of the resource set. Description *string `type:"string"` // A unique identifier for the resource set. This ID is returned in the responses // to create and list commands. You provide it to operations like update and // delete. Id *string `min:"22" type:"string"` // The last time that the resource set was changed. LastUpdateTime *time.Time `type:"timestamp"` // The descriptive name of the resource set. You can't change the name of a // resource set after you create it. Name *string `min:"1" type:"string"` // Indicates whether the resource set is in or out of an admin's Region scope. // // * ACTIVE - The administrator can manage and delete the resource set. // // * OUT_OF_ADMIN_SCOPE - The administrator can view the resource set, but // they can't edit or delete the resource set. Existing protections stay // in place. Any new resource that come into scope of the resource set won't // be protected. ResourceSetStatus *string `type:"string" enum:"ResourceSetStatus"` // contains filtered or unexported fields }
Summarizes the resource sets used in a policy.
func (s ResourceSetSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResourceSetSummary) SetDescription(v string) *ResourceSetSummary
SetDescription sets the Description field's value.
func (s *ResourceSetSummary) SetId(v string) *ResourceSetSummary
SetId sets the Id field's value.
func (s *ResourceSetSummary) SetLastUpdateTime(v time.Time) *ResourceSetSummary
SetLastUpdateTime sets the LastUpdateTime field's value.
func (s *ResourceSetSummary) SetName(v string) *ResourceSetSummary
SetName sets the Name field's value.
func (s *ResourceSetSummary) SetResourceSetStatus(v string) *ResourceSetSummary
SetResourceSetStatus sets the ResourceSetStatus field's value.
func (s ResourceSetSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceTag struct { // The resource tag key. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The resource tag value. To specify an empty string value, either don't provide // this or specify it as "". Value *string `type:"string"` // contains filtered or unexported fields }
The resource tags that Firewall Manager uses to determine if a particular resource should be included or excluded from the Firewall Manager policy. Tags enable you to categorize your Amazon Web Services 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).
Every resource tag must have a string value, either a non-empty string or an empty string. If you don't provide a value for a resource tag, Firewall Manager saves the value as an empty string: "". When Firewall Manager compares tags, it only matches two tags if they have the same key and the same value. A tag with an empty string value only matches with tags that also have an empty string value.
func (s ResourceTag) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResourceTag) SetKey(v string) *ResourceTag
SetKey sets the Key field's value.
func (s *ResourceTag) SetValue(v string) *ResourceTag
SetValue sets the Value field's value.
func (s ResourceTag) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResourceTag) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceViolation struct { // Violation detail for an EC2 instance. AwsEc2InstanceViolation *AwsEc2InstanceViolation `type:"structure"` // Violation detail for a network interface. AwsEc2NetworkInterfaceViolation *AwsEc2NetworkInterfaceViolation `type:"structure"` // Violation detail 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 detail 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"` // Contains details about the firewall subnet that violates the policy scope. FirewallSubnetIsOutOfScopeViolation *FirewallSubnetIsOutOfScopeViolation `type:"structure"` // The violation details for a third-party firewall's VPC endpoint subnet that // was deleted. FirewallSubnetMissingVPCEndpointViolation *FirewallSubnetMissingVPCEndpointViolation `type:"structure"` // Violation detail for the entries in a network ACL resource. InvalidNetworkAclEntriesViolation *InvalidNetworkAclEntriesViolation `type:"structure"` // Violation detail for an internet gateway route with an inactive state in // the customer subnet route table or Network Firewall subnet route table. NetworkFirewallBlackHoleRouteDetectedViolation *NetworkFirewallBlackHoleRouteDetectedViolation `type:"structure"` // Violation detail for the subnet for which internet traffic hasn't been inspected. NetworkFirewallInternetTrafficNotInspectedViolation *NetworkFirewallInternetTrafficNotInspectedViolation `type:"structure"` // The route configuration is invalid. NetworkFirewallInvalidRouteConfigurationViolation *NetworkFirewallInvalidRouteConfigurationViolation `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"` // Expected routes are missing from Network Firewall. NetworkFirewallMissingExpectedRoutesViolation *NetworkFirewallMissingExpectedRoutesViolation `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"` // There's an unexpected firewall route. NetworkFirewallUnexpectedFirewallRoutesViolation *NetworkFirewallUnexpectedFirewallRoutesViolation `type:"structure"` // There's an unexpected gateway route. NetworkFirewallUnexpectedGatewayRoutesViolation *NetworkFirewallUnexpectedGatewayRoutesViolation `type:"structure"` // A list of possible remediation action lists. Each individual possible remediation // action is a list of individual remediation actions. PossibleRemediationActions *PossibleRemediationActions `type:"structure"` // Contains details about the route endpoint that violates the policy scope. RouteHasOutOfScopeEndpointViolation *RouteHasOutOfScopeEndpointViolation `type:"structure"` // The violation details for a third-party firewall that has the Firewall Manager // managed route table that was associated with the third-party firewall has // been deleted. ThirdPartyFirewallMissingExpectedRouteTableViolation *ThirdPartyFirewallMissingExpectedRouteTableViolation `type:"structure"` // The violation details for a third-party firewall that's been deleted. ThirdPartyFirewallMissingFirewallViolation *ThirdPartyFirewallMissingFirewallViolation `type:"structure"` // The violation details for a third-party firewall's subnet that's been deleted. ThirdPartyFirewallMissingSubnetViolation *ThirdPartyFirewallMissingSubnetViolation `type:"structure"` // contains filtered or unexported fields }
Violation detail based on resource type.
func (s ResourceViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResourceViolation) SetAwsEc2InstanceViolation(v *AwsEc2InstanceViolation) *ResourceViolation
SetAwsEc2InstanceViolation sets the AwsEc2InstanceViolation field's value.
func (s *ResourceViolation) SetAwsEc2NetworkInterfaceViolation(v *AwsEc2NetworkInterfaceViolation) *ResourceViolation
SetAwsEc2NetworkInterfaceViolation sets the AwsEc2NetworkInterfaceViolation field's value.
func (s *ResourceViolation) SetAwsVPCSecurityGroupViolation(v *AwsVPCSecurityGroupViolation) *ResourceViolation
SetAwsVPCSecurityGroupViolation sets the AwsVPCSecurityGroupViolation field's value.
func (s *ResourceViolation) SetDnsDuplicateRuleGroupViolation(v *DnsDuplicateRuleGroupViolation) *ResourceViolation
SetDnsDuplicateRuleGroupViolation sets the DnsDuplicateRuleGroupViolation field's value.
func (s *ResourceViolation) SetDnsRuleGroupLimitExceededViolation(v *DnsRuleGroupLimitExceededViolation) *ResourceViolation
SetDnsRuleGroupLimitExceededViolation sets the DnsRuleGroupLimitExceededViolation field's value.
func (s *ResourceViolation) SetDnsRuleGroupPriorityConflictViolation(v *DnsRuleGroupPriorityConflictViolation) *ResourceViolation
SetDnsRuleGroupPriorityConflictViolation sets the DnsRuleGroupPriorityConflictViolation field's value.
func (s *ResourceViolation) SetFirewallSubnetIsOutOfScopeViolation(v *FirewallSubnetIsOutOfScopeViolation) *ResourceViolation
SetFirewallSubnetIsOutOfScopeViolation sets the FirewallSubnetIsOutOfScopeViolation field's value.
func (s *ResourceViolation) SetFirewallSubnetMissingVPCEndpointViolation(v *FirewallSubnetMissingVPCEndpointViolation) *ResourceViolation
SetFirewallSubnetMissingVPCEndpointViolation sets the FirewallSubnetMissingVPCEndpointViolation field's value.
func (s *ResourceViolation) SetInvalidNetworkAclEntriesViolation(v *InvalidNetworkAclEntriesViolation) *ResourceViolation
SetInvalidNetworkAclEntriesViolation sets the InvalidNetworkAclEntriesViolation field's value.
func (s *ResourceViolation) SetNetworkFirewallBlackHoleRouteDetectedViolation(v *NetworkFirewallBlackHoleRouteDetectedViolation) *ResourceViolation
SetNetworkFirewallBlackHoleRouteDetectedViolation sets the NetworkFirewallBlackHoleRouteDetectedViolation field's value.
func (s *ResourceViolation) SetNetworkFirewallInternetTrafficNotInspectedViolation(v *NetworkFirewallInternetTrafficNotInspectedViolation) *ResourceViolation
SetNetworkFirewallInternetTrafficNotInspectedViolation sets the NetworkFirewallInternetTrafficNotInspectedViolation field's value.
func (s *ResourceViolation) SetNetworkFirewallInvalidRouteConfigurationViolation(v *NetworkFirewallInvalidRouteConfigurationViolation) *ResourceViolation
SetNetworkFirewallInvalidRouteConfigurationViolation sets the NetworkFirewallInvalidRouteConfigurationViolation field's value.
func (s *ResourceViolation) SetNetworkFirewallMissingExpectedRTViolation(v *NetworkFirewallMissingExpectedRTViolation) *ResourceViolation
SetNetworkFirewallMissingExpectedRTViolation sets the NetworkFirewallMissingExpectedRTViolation field's value.
func (s *ResourceViolation) SetNetworkFirewallMissingExpectedRoutesViolation(v *NetworkFirewallMissingExpectedRoutesViolation) *ResourceViolation
SetNetworkFirewallMissingExpectedRoutesViolation sets the NetworkFirewallMissingExpectedRoutesViolation field's value.
func (s *ResourceViolation) SetNetworkFirewallMissingFirewallViolation(v *NetworkFirewallMissingFirewallViolation) *ResourceViolation
SetNetworkFirewallMissingFirewallViolation sets the NetworkFirewallMissingFirewallViolation field's value.
func (s *ResourceViolation) SetNetworkFirewallMissingSubnetViolation(v *NetworkFirewallMissingSubnetViolation) *ResourceViolation
SetNetworkFirewallMissingSubnetViolation sets the NetworkFirewallMissingSubnetViolation field's value.
func (s *ResourceViolation) SetNetworkFirewallPolicyModifiedViolation(v *NetworkFirewallPolicyModifiedViolation) *ResourceViolation
SetNetworkFirewallPolicyModifiedViolation sets the NetworkFirewallPolicyModifiedViolation field's value.
func (s *ResourceViolation) SetNetworkFirewallUnexpectedFirewallRoutesViolation(v *NetworkFirewallUnexpectedFirewallRoutesViolation) *ResourceViolation
SetNetworkFirewallUnexpectedFirewallRoutesViolation sets the NetworkFirewallUnexpectedFirewallRoutesViolation field's value.
func (s *ResourceViolation) SetNetworkFirewallUnexpectedGatewayRoutesViolation(v *NetworkFirewallUnexpectedGatewayRoutesViolation) *ResourceViolation
SetNetworkFirewallUnexpectedGatewayRoutesViolation sets the NetworkFirewallUnexpectedGatewayRoutesViolation field's value.
func (s *ResourceViolation) SetPossibleRemediationActions(v *PossibleRemediationActions) *ResourceViolation
SetPossibleRemediationActions sets the PossibleRemediationActions field's value.
func (s *ResourceViolation) SetRouteHasOutOfScopeEndpointViolation(v *RouteHasOutOfScopeEndpointViolation) *ResourceViolation
SetRouteHasOutOfScopeEndpointViolation sets the RouteHasOutOfScopeEndpointViolation field's value.
func (s *ResourceViolation) SetThirdPartyFirewallMissingExpectedRouteTableViolation(v *ThirdPartyFirewallMissingExpectedRouteTableViolation) *ResourceViolation
SetThirdPartyFirewallMissingExpectedRouteTableViolation sets the ThirdPartyFirewallMissingExpectedRouteTableViolation field's value.
func (s *ResourceViolation) SetThirdPartyFirewallMissingFirewallViolation(v *ThirdPartyFirewallMissingFirewallViolation) *ResourceViolation
SetThirdPartyFirewallMissingFirewallViolation sets the ThirdPartyFirewallMissingFirewallViolation field's value.
func (s *ResourceViolation) SetThirdPartyFirewallMissingSubnetViolation(v *ThirdPartyFirewallMissingSubnetViolation) *ResourceViolation
SetThirdPartyFirewallMissingSubnetViolation sets the ThirdPartyFirewallMissingSubnetViolation field's value.
func (s ResourceViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Route struct { // The destination of the route. Destination *string `type:"string"` // The type of destination for the route. DestinationType *string `type:"string" enum:"DestinationType"` // The route's target. Target *string `type:"string"` // The type of target for the route. TargetType *string `type:"string" enum:"TargetType"` // contains filtered or unexported fields }
Describes a route in a route table.
func (s Route) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Route) SetDestination(v string) *Route
SetDestination sets the Destination field's value.
func (s *Route) SetDestinationType(v string) *Route
SetDestinationType sets the DestinationType field's value.
func (s *Route) SetTarget(v string) *Route
SetTarget sets the Target field's value.
func (s *Route) SetTargetType(v string) *Route
SetTargetType sets the TargetType field's value.
func (s Route) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RouteHasOutOfScopeEndpointViolation struct { // The route table associated with the current firewall subnet. CurrentFirewallSubnetRouteTable *string `min:"1" type:"string"` // The current route table associated with the Internet Gateway. CurrentInternetGatewayRouteTable *string `min:"1" type:"string"` // The ID of the firewall subnet. FirewallSubnetId *string `min:"1" type:"string"` // The list of firewall subnet routes. FirewallSubnetRoutes []*Route `type:"list"` // The ID of the Internet Gateway. InternetGatewayId *string `min:"1" type:"string"` // The routes in the route table associated with the Internet Gateway. InternetGatewayRoutes []*Route `type:"list"` // The ID of the route table. RouteTableId *string `min:"1" type:"string"` // The subnet's Availability Zone. SubnetAvailabilityZone *string `type:"string"` // The ID of the subnet's Availability Zone. SubnetAvailabilityZoneId *string `type:"string"` // The ID of the subnet associated with the route that violates the policy scope. SubnetId *string `min:"1" type:"string"` // The list of routes that violate the route table. ViolatingRoutes []*Route `type:"list"` // The VPC ID of the route that violates the policy scope. VpcId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Contains details about the route endpoint that violates the policy scope.
func (s RouteHasOutOfScopeEndpointViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RouteHasOutOfScopeEndpointViolation) SetCurrentFirewallSubnetRouteTable(v string) *RouteHasOutOfScopeEndpointViolation
SetCurrentFirewallSubnetRouteTable sets the CurrentFirewallSubnetRouteTable field's value.
func (s *RouteHasOutOfScopeEndpointViolation) SetCurrentInternetGatewayRouteTable(v string) *RouteHasOutOfScopeEndpointViolation
SetCurrentInternetGatewayRouteTable sets the CurrentInternetGatewayRouteTable field's value.
func (s *RouteHasOutOfScopeEndpointViolation) SetFirewallSubnetId(v string) *RouteHasOutOfScopeEndpointViolation
SetFirewallSubnetId sets the FirewallSubnetId field's value.
func (s *RouteHasOutOfScopeEndpointViolation) SetFirewallSubnetRoutes(v []*Route) *RouteHasOutOfScopeEndpointViolation
SetFirewallSubnetRoutes sets the FirewallSubnetRoutes field's value.
func (s *RouteHasOutOfScopeEndpointViolation) SetInternetGatewayId(v string) *RouteHasOutOfScopeEndpointViolation
SetInternetGatewayId sets the InternetGatewayId field's value.
func (s *RouteHasOutOfScopeEndpointViolation) SetInternetGatewayRoutes(v []*Route) *RouteHasOutOfScopeEndpointViolation
SetInternetGatewayRoutes sets the InternetGatewayRoutes field's value.
func (s *RouteHasOutOfScopeEndpointViolation) SetRouteTableId(v string) *RouteHasOutOfScopeEndpointViolation
SetRouteTableId sets the RouteTableId field's value.
func (s *RouteHasOutOfScopeEndpointViolation) SetSubnetAvailabilityZone(v string) *RouteHasOutOfScopeEndpointViolation
SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value.
func (s *RouteHasOutOfScopeEndpointViolation) SetSubnetAvailabilityZoneId(v string) *RouteHasOutOfScopeEndpointViolation
SetSubnetAvailabilityZoneId sets the SubnetAvailabilityZoneId field's value.
func (s *RouteHasOutOfScopeEndpointViolation) SetSubnetId(v string) *RouteHasOutOfScopeEndpointViolation
SetSubnetId sets the SubnetId field's value.
func (s *RouteHasOutOfScopeEndpointViolation) SetViolatingRoutes(v []*Route) *RouteHasOutOfScopeEndpointViolation
SetViolatingRoutes sets the ViolatingRoutes field's value.
func (s *RouteHasOutOfScopeEndpointViolation) SetVpcId(v string) *RouteHasOutOfScopeEndpointViolation
SetVpcId sets the VpcId field's value.
func (s RouteHasOutOfScopeEndpointViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s SecurityGroupRemediationAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SecurityGroupRemediationAction) SetDescription(v string) *SecurityGroupRemediationAction
SetDescription sets the Description field's value.
func (s *SecurityGroupRemediationAction) SetIsDefaultAction(v bool) *SecurityGroupRemediationAction
SetIsDefaultAction sets the IsDefaultAction field's value.
func (s *SecurityGroupRemediationAction) SetRemediationActionType(v string) *SecurityGroupRemediationAction
SetRemediationActionType sets the RemediationActionType field's value.
func (s *SecurityGroupRemediationAction) SetRemediationResult(v *SecurityGroupRuleDescription) *SecurityGroupRemediationAction
SetRemediationResult sets the RemediationResult field's value.
func (s SecurityGroupRemediationAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s SecurityGroupRuleDescription) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SecurityGroupRuleDescription) SetFromPort(v int64) *SecurityGroupRuleDescription
SetFromPort sets the FromPort field's value.
func (s *SecurityGroupRuleDescription) SetIPV4Range(v string) *SecurityGroupRuleDescription
SetIPV4Range sets the IPV4Range field's value.
func (s *SecurityGroupRuleDescription) SetIPV6Range(v string) *SecurityGroupRuleDescription
SetIPV6Range sets the IPV6Range field's value.
func (s *SecurityGroupRuleDescription) SetPrefixListId(v string) *SecurityGroupRuleDescription
SetPrefixListId sets the PrefixListId field's value.
func (s *SecurityGroupRuleDescription) SetProtocol(v string) *SecurityGroupRuleDescription
SetProtocol sets the Protocol field's value.
func (s *SecurityGroupRuleDescription) SetToPort(v int64) *SecurityGroupRuleDescription
SetToPort sets the ToPort field's value.
func (s SecurityGroupRuleDescription) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SecurityServicePolicyData struct { // Details about the service that are specific to the service type, in JSON // format. // // * Example: DNS_FIREWALL "{\"type\":\"DNS_FIREWALL\",\"preProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-1\",\"priority\":10}],\"postProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-2\",\"priority\":9911}]}" // Valid values for preProcessRuleGroups are between 1 and 99. Valid values // for postProcessRuleGroups are between 9901 and 10000. // // * Example: IMPORT_NETWORK_FIREWALL "{\"type\":\"IMPORT_NETWORK_FIREWALL\",\"awsNetworkFirewallConfig\":{\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-2:000000000000:stateless-rulegroup\/rg1\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:drop\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:pass\"],\"networkFirewallStatelessCustomActions\":[],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-2:aws-managed:stateful-rulegroup\/ThreatSignaturesEmergingEventsStrictOrder\",\"priority\":8}],\"networkFirewallStatefulEngineOptions\":{\"ruleOrder\":\"STRICT_ORDER\"},\"networkFirewallStatefulDefaultActions\":[\"aws:drop_strict\"]}}" // "{\"type\":\"DNS_FIREWALL\",\"preProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-1\",\"priority\":10}],\"postProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-2\",\"priority\":9911}]}" // Valid values for preProcessRuleGroups are between 1 and 99. Valid values // for postProcessRuleGroups are between 9901 and 10000. // // * Example: NETWORK_FIREWALL - Centralized deployment model "{\"type\":\"NETWORK_FIREWALL\",\"awsNetworkFirewallConfig\":{\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"customActionName\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"metricdimensionvalue\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\"}],\"networkFirewallLoggingConfiguration\":{\"logDestinationConfigs\":[{\"logDestinationType\":\"S3\",\"logType\":\"ALERT\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}},{\"logDestinationType\":\"S3\",\"logType\":\"FLOW\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}}],\"overrideExistingConfig\":true}},\"firewallDeploymentModel\":{\"centralizedFirewallDeploymentModel\":{\"centralizedFirewallOrchestrationConfig\":{\"inspectionVpcIds\":[{\"resourceId\":\"vpc-1234\",\"accountId\":\"123456789011\"}],\"firewallCreationConfig\":{\"endpointLocation\":{\"availabilityZoneConfigList\":[{\"availabilityZoneId\":null,\"availabilityZoneName\":\"us-east-1a\",\"allowedIPV4CidrList\":[\"10.0.0.0/28\"]}]}},\"allowedIPV4CidrList\":[]}}}}" // To use the centralized deployment model, you must set PolicyOption (https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_PolicyOption.html) // to CENTRALIZED. // // * Example: NETWORK_FIREWALL - Distributed deployment model with automatic // Availability Zone configuration "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"customActionName\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"metricdimensionvalue\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\"}],\"networkFirewallOrchestrationConfig\":{\"singleFirewallEndpointPerVPC\":false,\"allowedIPV4CidrList\":[\"10.0.0.0/28\",\"192.168.0.0/28\"],\"routeManagementAction\":\"OFF\"},\"networkFirewallLoggingConfiguration\":{\"logDestinationConfigs\":[{\"logDestinationType\":\"S3\",\"logType\":\"ALERT\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}},{\"logDestinationType\":\"S3\",\"logType\":\"FLOW\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}}],\"overrideExistingConfig\":true}}" // With automatic Availbility Zone configuration, Firewall Manager chooses // which Availability Zones to create the endpoints in. To use the distributed // deployment model, you must set PolicyOption (https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_PolicyOption.html) // to NULL. // // * Example: NETWORK_FIREWALL - Distributed deployment model with automatic // Availability Zone configuration and route management "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"customActionName\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"metricdimensionvalue\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\"}],\"networkFirewallOrchestrationConfig\":{\"singleFirewallEndpointPerVPC\":false,\"allowedIPV4CidrList\":[\"10.0.0.0/28\",\"192.168.0.0/28\"],\"routeManagementAction\":\"MONITOR\",\"routeManagementTargetTypes\":[\"InternetGateway\"]},\"networkFirewallLoggingConfiguration\":{\"logDestinationConfigs\":[{\"logDestinationType\":\"S3\",\"logType\":\"ALERT\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}},{\"logDestinationType\":\"S3\",\"logType\": // \"FLOW\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}}],\"overrideExistingConfig\":true}}" // To use the distributed deployment model, you must set PolicyOption (https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_PolicyOption.html) // to NULL. // // * Example: NETWORK_FIREWALL - Distributed deployment model with custom // Availability Zone configuration "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:forward_to_sfe\",\"fragmentcustomactionname\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"customActionName\", // \"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"metricdimensionvalue\"}]}}},{\"actionName\":\"fragmentcustomactionname\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"fragmentmetricdimensionvalue\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\"}],\"networkFirewallOrchestrationConfig\":{\"firewallCreationConfig\":{ // \"endpointLocation\":{\"availabilityZoneConfigList\":[{\"availabilityZoneName\":\"us-east-1a\",\"allowedIPV4CidrList\":[\"10.0.0.0/28\"]},{\"availabilityZoneName\":\"us-east-1b\",\"allowedIPV4CidrList\":[ // \"10.0.0.0/28\"]}]} },\"singleFirewallEndpointPerVPC\":false,\"allowedIPV4CidrList\":null,\"routeManagementAction\":\"OFF\",\"networkFirewallLoggingConfiguration\":{\"logDestinationConfigs\":[{\"logDestinationType\":\"S3\",\"logType\":\"ALERT\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}},{\"logDestinationType\":\"S3\",\"logType\":\"FLOW\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}}],\"overrideExistingConfig\":boolean}}" // With custom Availability Zone configuration, you define which specific // Availability Zones to create endpoints in by configuring firewallCreationConfig. // To configure the Availability Zones in firewallCreationConfig, specify // either the availabilityZoneName or availabilityZoneId parameter, not both // parameters. To use the distributed deployment model, you must set PolicyOption // (https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_PolicyOption.html) // to NULL. // // * Example: NETWORK_FIREWALL - Distributed deployment model with custom // Availability Zone configuration and route management "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:forward_to_sfe\",\"fragmentcustomactionname\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"customActionName\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"metricdimensionvalue\"}]}}},{\"actionName\":\"fragmentcustomactionname\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"fragmentmetricdimensionvalue\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\"}],\"networkFirewallOrchestrationConfig\":{\"firewallCreationConfig\":{\"endpointLocation\":{\"availabilityZoneConfigList\":[{\"availabilityZoneName\":\"us-east-1a\",\"allowedIPV4CidrList\":[\"10.0.0.0/28\"]},{\"availabilityZoneName\":\"us-east-1b\",\"allowedIPV4CidrList\":[\"10.0.0.0/28\"]}]}},\"singleFirewallEndpointPerVPC\":false,\"allowedIPV4CidrList\":null,\"routeManagementAction\":\"MONITOR\",\"routeManagementTargetTypes\":[\"InternetGateway\"],\"routeManagementConfig\":{\"allowCrossAZTrafficIfNoEndpoint\":true}},\"networkFirewallLoggingConfiguration\":{\"logDestinationConfigs\":[{\"logDestinationType\":\"S3\",\"logType\":\"ALERT\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}},{\"logDestinationType\":\"S3\",\"logType\":\"FLOW\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}}],\"overrideExistingConfig\":boolean}}" // To use the distributed deployment model, you must set PolicyOption (https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_PolicyOption.html) // to NULL. // // * Example: SECURITY_GROUPS_COMMON "{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, // \"applyToAllEC2InstanceENIs\":false,\"securityGroups\":[{\"id\":\" sg-000e55995d61a06bd\"}]}" // // * Example: SECURITY_GROUPS_COMMON - Security group tag distribution ""{\"type\":\"SECURITY_GROUPS_COMMON\",\"securityGroups\":[{\"id\":\"sg-000e55995d61a06bd\"}],\"revertManualSecurityGroupChanges\":true,\"exclusiveResourceSecurityGroupManagement\":false,\"applyToAllEC2InstanceENIs\":false,\"includeSharedVPC\":false,\"enableTagDistribution\":true}"" // Firewall Manager automatically distributes tags from the primary group // to the security groups created by this policy. To use security group tag // distribution, you must also set revertManualSecurityGroupChanges to true, // otherwise Firewall Manager won't be able to create the policy. When you // enable revertManualSecurityGroupChanges, Firewall Manager identifies and // reports when the security groups created by this policy become non-compliant. // Firewall Manager won't distribute system tags added by Amazon Web Services // services into the replica security groups. System tags begin with the // aws: prefix. // // * Example: Shared VPCs. Apply the preceding policy to resources in shared // VPCs as well as to those in VPCs that the account owns "{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, // \"applyToAllEC2InstanceENIs\":false,\"includeSharedVPC\":true,\"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}" // // * Example: SHIELD_ADVANCED with web ACL management "{\"type\":\"SHIELD_ADVANCED\",\"optimizeUnassociatedWebACL\":true}" // If you set optimizeUnassociatedWebACL to true, Firewall Manager creates // web ACLs in accounts within the policy scope if the web ACLs will be used // by at least one resource. Firewall Manager creates web ACLs in the accounts // within policy scope only if the web ACLs will be used by at least one // resource. If at any time an account comes into policy scope, Firewall // Manager automatically creates a web ACL in the account if at least one // resource will use the web ACL. Upon enablement, Firewall Manager performs // a one-time cleanup of unused web ACLs in your account. The cleanup process // can take several hours. If a resource leaves policy scope after Firewall // Manager creates a web ACL, Firewall Manager doesn't disassociate the resource // from the web ACL. If you want Firewall Manager to clean up the web ACL, // you must first manually disassociate the resources from the web ACL, and // then enable the manage unused web ACLs option in your policy. If you set // optimizeUnassociatedWebACL to false, and Firewall Manager automatically // creates an empty web ACL in each account that's within policy scope. // // * Specification for SHIELD_ADVANCED for Amazon CloudFront distributions // "{\"type\":\"SHIELD_ADVANCED\",\"automaticResponseConfiguration\": {\"automaticResponseStatus\":\"ENABLED|IGNORED|DISABLED\", // \"automaticResponseAction\":\"BLOCK|COUNT\"}, \"overrideCustomerWebaclClassic\":true|false, // \"optimizeUnassociatedWebACL\":true|false}" For example: "{\"type\":\"SHIELD_ADVANCED\",\"automaticResponseConfiguration\": // {\"automaticResponseStatus\":\"ENABLED\", \"automaticResponseAction\":\"COUNT\"}}" // The default value for automaticResponseStatus is IGNORED. The value for // automaticResponseAction is only required when automaticResponseStatus // is set to ENABLED. The default value for overrideCustomerWebaclClassic // is false. For other resource types that you can protect with a Shield // Advanced policy, this ManagedServiceData configuration is an empty string. // // * Example: THIRD_PARTY_FIREWALL Replace THIRD_PARTY_FIREWALL_NAME with // the name of the third-party firewall. "{ "type":"THIRD_PARTY_FIREWALL", // "thirdPartyFirewall":"THIRD_PARTY_FIREWALL_NAME", "thirdPartyFirewallConfig":{ // "thirdPartyFirewallPolicyList":["global-1"] }, "firewallDeploymentModel":{ // "distributedFirewallDeploymentModel":{ "distributedFirewallOrchestrationConfig":{ // "firewallCreationConfig":{ "endpointLocation":{ "availabilityZoneConfigList":[ // { "availabilityZoneName":"${AvailabilityZone}" } ] } }, "allowedIPV4CidrList":[ // ] } } } }" // // * Example: WAFV2 - Account takeover prevention, Bot Control managed rule // groups, optimize unassociated web ACL, and rule action override "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"versionEnabled\":null,\"version\":null,\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesATPRuleSet\",\"managedRuleGroupConfigs\":[{\"awsmanagedRulesATPRuleSet\":{\"loginPath\":\"/loginpath\",\"requestInspection\":{\"payloadType\":\"FORM_ENCODED|JSON\",\"usernameField\":{\"identifier\":\"/form/username\"},\"passwordField\":{\"identifier\":\"/form/password\"}}}}]},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[],\"sampledRequestsEnabled\":true},{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"versionEnabled\":null,\"version\":null,\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesBotControlRuleSet\",\"managedRuleGroupConfigs\":[{\"awsmanagedRulesBotControlRuleSet\":{\"inspectionLevel\":\"TARGETED|COMMON\"}}]},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[],\"sampledRequestsEnabled\":true,\"ruleActionOverrides\":[{\"name\":\"Rule1\",\"actionToUse\":{\"allow|block|count|captcha|challenge\":{}}},{\"name\":\"Rule2\",\"actionToUse\":{\"allow|block|count|captcha|challenge\":{}}}]}],\"postProcessRuleGroups\":[],\"defaultAction\":{\"type\":\"ALLOW\"},\"customRequestHandling\":null,\"customResponse\":null,\"overrideCustomerWebACLAssociation\":false,\"loggingConfiguration\":null,\"sampledRequestsEnabledForDefaultActions\":true,\"optimizeUnassociatedWebACL\":true}" // Bot Control - For information about AWSManagedRulesBotControlRuleSet managed // rule groups, see AWSManagedRulesBotControlRuleSet (https://docs.aws.amazon.com/waf/latest/APIReference/API_AWSManagedRulesBotControlRuleSet.html) // in the WAF API Reference. Fraud Control account takeover prevention (ATP) // - For information about the properties available for AWSManagedRulesATPRuleSet // managed rule groups, see AWSManagedRulesATPRuleSet (https://docs.aws.amazon.com/waf/latest/APIReference/API_AWSManagedRulesATPRuleSet.html) // in the WAF API Reference. Optimize unassociated web ACL - If you set optimizeUnassociatedWebACL // to true, Firewall Manager creates web ACLs in accounts within the policy // scope if the web ACLs will be used by at least one resource. Firewall // Manager creates web ACLs in the accounts within policy scope only if the // web ACLs will be used by at least one resource. If at any time an account // comes into policy scope, Firewall Manager automatically creates a web // ACL in the account if at least one resource will use the web ACL. Upon // enablement, Firewall Manager performs a one-time cleanup of unused web // ACLs in your account. The cleanup process can take several hours. If a // resource leaves policy scope after Firewall Manager creates a web ACL, // Firewall Manager disassociates the resource from the web ACL, but won't // clean up the unused web ACL. Firewall Manager only cleans up unused web // ACLs when you first enable management of unused web ACLs in a policy. // If you set optimizeUnassociatedWebACL to false Firewall Manager doesn't // manage unused web ACLs, and Firewall Manager automatically creates an // empty web ACL in each account that's within policy scope. Rule action // overrides - Firewall Manager supports rule action overrides only for managed // rule groups. To configure a RuleActionOverrides add the Name of the rule // to override, and ActionToUse, which is the new action to use for the rule. // For information about using rule action override, see RuleActionOverride // (https://docs.aws.amazon.com/waf/latest/APIReference/API_RuleActionOverride.html) // in the WAF API Reference. // // * Example: WAFV2 - CAPTCHA and Challenge configs "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"versionEnabled\":null,\"version\":null,\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesAdminProtectionRuleSet\"},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[],\"sampledRequestsEnabled\":true}],\"postProcessRuleGroups\":[],\"defaultAction\":{\"type\":\"ALLOW\"},\"customRequestHandling\":null,\"customResponse\":null,\"overrideCustomerWebACLAssociation\":false,\"loggingConfiguration\":null,\"sampledRequestsEnabledForDefaultActions\":true,\"captchaConfig\":{\"immunityTimeProperty\":{\"immunityTime\":500}},\"challengeConfig\":{\"immunityTimeProperty\":{\"immunityTime\":800}},\"tokenDomains\":[\"google.com\",\"amazon.com\"],\"associationConfig\":{\"requestBody\":{\"CLOUDFRONT\":{\"defaultSizeInspectionLimit\":\"KB_16\"}}}}" // CAPTCHA and Challenge configs - If you update the policy's values for // associationConfig, captchaConfig, challengeConfig, or tokenDomains, Firewall // Manager will overwrite your local web ACLs to contain the new value(s). // However, if you don't update the policy's associationConfig, captchaConfig, // challengeConfig, or tokenDomains values, the values in your local web // ACLs will remain unchanged. For information about association configs, // see AssociationConfig (https://docs.aws.amazon.com/waf/latest/APIReference/API_AssociationConfig.html). // For information about CAPTCHA and Challenge configs, see CaptchaConfig // (https://docs.aws.amazon.com/waf/latest/APIReference/API_CaptchaConfig.html) // and ChallengeConfig (https://docs.aws.amazon.com/waf/latest/APIReference/API_ChallengeConfig.html) // in the WAF API Reference. defaultSizeInspectionLimit - Specifies the maximum // size of the web request body component that an associated Amazon CloudFront // distribution should send to WAF for inspection. For more information, // see DefaultSizeInspectionLimit (https://docs.aws.amazon.com/waf/latest/APIReference/API_RequestBodyAssociatedResourceTypeConfig.html#WAF-Type-RequestBodyAssociatedResourceTypeConfig-DefaultSizeInspectionLimit) // in the WAF API Reference. // // * Example: WAFV2 - Firewall Manager support for WAF managed rule group // versioning "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"versionEnabled\":true,\"version\":\"Version_2.0\",\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesCommonRuleSet\"},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[{\"name\":\"NoUserAgent_HEADER\"}]}],\"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\"}]}}" // To use a specific version of a WAF managed rule group in your Firewall // Manager policy, you must set versionEnabled to true, and set version to // the version you'd like to use. If you don't set versionEnabled to true, // or if you omit versionEnabled, then Firewall Manager uses the default // version of the WAF managed rule group. // // * Example: WAFV2 - Logging configurations "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null, // \"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\": // {\"versionEnabled\":null,\"version\":null,\"vendorName\":\"AWS\", \"managedRuleGroupName\":\"AWSManagedRulesAdminProtectionRuleSet\"} // ,\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[], \"sampledRequestsEnabled\":true}],\"postProcessRuleGroups\":[], // \"defaultAction\":{\"type\":\"ALLOW\"},\"customRequestHandling\" :null,\"customResponse\":null,\"overrideCustomerWebACLAssociation\" // :false,\"loggingConfiguration\":{\"logDestinationConfigs\": [\"arn:aws:s3:::aws-waf-logs-example-bucket\"] // ,\"redactedFields\":[],\"loggingFilterConfigs\":{\"defaultBehavior\":\"KEEP\", // \"filters\":[{\"behavior\":\"KEEP\",\"requirement\":\"MEETS_ALL\", \"conditions\":[{\"actionCondition\":\"CAPTCHA\"},{\"actionCondition\": // \"CHALLENGE\"}, {\"actionCondition\":\"EXCLUDED_AS_COUNT\"}]}]}},\"sampledRequestsEnabledForDefaultActions\":true}" // Firewall Manager supports Amazon Kinesis Data Firehose and Amazon S3 as // the logDestinationConfigs in your loggingConfiguration. For information // about WAF logging configurations, see LoggingConfiguration (https://docs.aws.amazon.com/waf/latest/APIReference/API_LoggingConfiguration.html) // in the WAF API Reference In the loggingConfiguration, you can specify // one logDestinationConfigs. Optionally provide as many as 20 redactedFields. // 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\"}}" ManagedServiceData *string `min:"1" type:"string"` // Contains the settings to configure a network ACL policy, a Network Firewall // firewall policy deployment model, or a third-party firewall policy. PolicyOption *PolicyOption `type:"structure"` // The service that the policy is using to protect the resources. This specifies // the type of policy that is created, either an 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 // Amazon Web Services 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 (s SecurityServicePolicyData) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SecurityServicePolicyData) SetManagedServiceData(v string) *SecurityServicePolicyData
SetManagedServiceData sets the ManagedServiceData field's value.
func (s *SecurityServicePolicyData) SetPolicyOption(v *PolicyOption) *SecurityServicePolicyData
SetPolicyOption sets the PolicyOption field's value.
func (s *SecurityServicePolicyData) SetType(v string) *SecurityServicePolicyData
SetType sets the Type field's value.
func (s SecurityServicePolicyData) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SecurityServicePolicyData) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StatefulEngineOptions struct { // Indicates how to manage the order of stateful rule evaluation for the policy. // Stateful rules are provided to the rule engine as Suricata compatible strings, // and Suricata evaluates them based on certain settings. For more information, // see Evaluation order for stateful rules (https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html) // in the Network Firewall Developer Guide. // // Default: DEFAULT_ACTION_ORDER RuleOrder *string `type:"string" enum:"RuleOrder"` // Indicates how Network Firewall should handle traffic when a network connection // breaks midstream. // // * DROP - Fail closed and drop all subsequent traffic going to the firewall. // // * CONTINUE - Continue to apply rules to subsequent traffic without context // from traffic before the break. This impacts the behavior of rules that // depend on context. For example, with a stateful rule that drops HTTP traffic, // Network Firewall won't match subsequent traffic because the it won't have // the context from session initialization, which defines the application // layer protocol as HTTP. However, a TCP-layer rule using a flow:stateless // rule would still match, and so would the aws:drop_strict default action. // // * REJECT - Fail closed and drop all subsequent traffic going to the firewall. // With this option, Network Firewall also sends a TCP reject packet back // to the client so the client can immediately establish a new session. With // the new session, Network Firewall will have context and will apply rules // appropriately. For applications that are reliant on long-lived TCP connections // that trigger Gateway Load Balancer idle timeouts, this is the recommended // setting. // // * FMS_IGNORE - Firewall Manager doesn't monitor or modify the Network // Firewall stream exception policy settings. // // For more information, see Stream exception policy in your firewall policy // (https://docs.aws.amazon.com/network-firewall/latest/developerguide/stream-exception-policy.html) // in the Network Firewall Developer Guide. // // Default: FMS_IGNORE StreamExceptionPolicy *string `type:"string" enum:"StreamExceptionPolicy"` // contains filtered or unexported fields }
Configuration settings for the handling of the stateful rule groups in a Network Firewall firewall policy.
func (s StatefulEngineOptions) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StatefulEngineOptions) SetRuleOrder(v string) *StatefulEngineOptions
SetRuleOrder sets the RuleOrder field's value.
func (s *StatefulEngineOptions) SetStreamExceptionPolicy(v string) *StatefulEngineOptions
SetStreamExceptionPolicy sets the StreamExceptionPolicy field's value.
func (s StatefulEngineOptions) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StatefulRuleGroup struct { // The action that allows the policy owner to override the behavior of the rule // group within a policy. Override *NetworkFirewallStatefulRuleGroupOverride `type:"structure"` // An integer setting that indicates the order in which to run the stateful // rule groups in a single Network Firewall firewall policy. This setting only // applies to firewall policies that specify the STRICT_ORDER rule order in // the stateful engine options settings. // // Network Firewall evalutes each stateful rule group against a packet starting // with the group that has the lowest priority setting. You must ensure that // the priority settings are unique within each policy. For information about // // You can change the priority settings of your rule groups at any time. To // make it easier to insert rule groups later, number them so there's a wide // range in between, for example use 100, 200, and so on. Priority *int64 `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 }
Network Firewall stateful rule group, used in a NetworkFirewallPolicyDescription.
func (s StatefulRuleGroup) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StatefulRuleGroup) SetOverride(v *NetworkFirewallStatefulRuleGroupOverride) *StatefulRuleGroup
SetOverride sets the Override field's value.
func (s *StatefulRuleGroup) SetPriority(v int64) *StatefulRuleGroup
SetPriority sets the Priority field's value.
func (s *StatefulRuleGroup) SetResourceId(v string) *StatefulRuleGroup
SetResourceId sets the ResourceId field's value.
func (s *StatefulRuleGroup) SetRuleGroupName(v string) *StatefulRuleGroup
SetRuleGroupName sets the RuleGroupName field's value.
func (s StatefulRuleGroup) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StatelessRuleGroup struct { // The priority of the rule group. 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 }
Network Firewall stateless rule group, used in a NetworkFirewallPolicyDescription.
func (s StatelessRuleGroup) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StatelessRuleGroup) SetPriority(v int64) *StatelessRuleGroup
SetPriority sets the Priority field's value.
func (s *StatelessRuleGroup) SetResourceId(v string) *StatelessRuleGroup
SetResourceId sets the ResourceId field's value.
func (s *StatelessRuleGroup) SetRuleGroupName(v string) *StatelessRuleGroup
SetRuleGroupName sets the RuleGroupName field's value.
func (s StatelessRuleGroup) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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 Amazon Web Services resource.
func (s Tag) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Tag) SetKey(v string) *Tag
SetKey sets the Key field's value.
func (s *Tag) SetValue(v string) *Tag
SetValue sets the Value field's value.
func (s Tag) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Tag) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the resource to return tags for. The 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 (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *TagResourceInput) SetTagList(v []*Tag) *TagResourceInput
SetTagList sets the TagList field's value.
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ThirdPartyFirewallFirewallPolicy struct { // The ID of the specified firewall policy. FirewallPolicyId *string `min:"1" type:"string"` // The name of the specified firewall policy. FirewallPolicyName *string `min:"1" type:"string"` // contains filtered or unexported fields }
Configures the third-party firewall's firewall policy.
func (s ThirdPartyFirewallFirewallPolicy) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ThirdPartyFirewallFirewallPolicy) SetFirewallPolicyId(v string) *ThirdPartyFirewallFirewallPolicy
SetFirewallPolicyId sets the FirewallPolicyId field's value.
func (s *ThirdPartyFirewallFirewallPolicy) SetFirewallPolicyName(v string) *ThirdPartyFirewallFirewallPolicy
SetFirewallPolicyName sets the FirewallPolicyName field's value.
func (s ThirdPartyFirewallFirewallPolicy) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ThirdPartyFirewallMissingExpectedRouteTableViolation struct { // The Availability Zone of the firewall subnet that's causing the violation. 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 fireawll subnet that's causing // the violation. VPC *string `min:"1" type:"string"` // The ID of the third-party firewall or VPC resource that's causing the violation. ViolationTarget *string `type:"string"` // contains filtered or unexported fields }
The violation details for a third-party firewall that's not associated with an Firewall Manager managed route table.
func (s ThirdPartyFirewallMissingExpectedRouteTableViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ThirdPartyFirewallMissingExpectedRouteTableViolation) SetAvailabilityZone(v string) *ThirdPartyFirewallMissingExpectedRouteTableViolation
SetAvailabilityZone sets the AvailabilityZone field's value.
func (s *ThirdPartyFirewallMissingExpectedRouteTableViolation) SetCurrentRouteTable(v string) *ThirdPartyFirewallMissingExpectedRouteTableViolation
SetCurrentRouteTable sets the CurrentRouteTable field's value.
func (s *ThirdPartyFirewallMissingExpectedRouteTableViolation) SetExpectedRouteTable(v string) *ThirdPartyFirewallMissingExpectedRouteTableViolation
SetExpectedRouteTable sets the ExpectedRouteTable field's value.
func (s *ThirdPartyFirewallMissingExpectedRouteTableViolation) SetVPC(v string) *ThirdPartyFirewallMissingExpectedRouteTableViolation
SetVPC sets the VPC field's value.
func (s *ThirdPartyFirewallMissingExpectedRouteTableViolation) SetViolationTarget(v string) *ThirdPartyFirewallMissingExpectedRouteTableViolation
SetViolationTarget sets the ViolationTarget field's value.
func (s ThirdPartyFirewallMissingExpectedRouteTableViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ThirdPartyFirewallMissingFirewallViolation struct { // The Availability Zone of the third-party firewall that's causing the violation. AvailabilityZone *string `type:"string"` // The reason the resource is causing this violation, if a reason is available. TargetViolationReason *string `type:"string"` // The resource ID of the VPC associated with a third-party firewall. VPC *string `min:"1" type:"string"` // The ID of the third-party firewall that's causing the violation. ViolationTarget *string `type:"string"` // contains filtered or unexported fields }
The violation details about a third-party firewall's subnet that doesn't have a Firewall Manager managed firewall in its VPC.
func (s ThirdPartyFirewallMissingFirewallViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ThirdPartyFirewallMissingFirewallViolation) SetAvailabilityZone(v string) *ThirdPartyFirewallMissingFirewallViolation
SetAvailabilityZone sets the AvailabilityZone field's value.
func (s *ThirdPartyFirewallMissingFirewallViolation) SetTargetViolationReason(v string) *ThirdPartyFirewallMissingFirewallViolation
SetTargetViolationReason sets the TargetViolationReason field's value.
func (s *ThirdPartyFirewallMissingFirewallViolation) SetVPC(v string) *ThirdPartyFirewallMissingFirewallViolation
SetVPC sets the VPC field's value.
func (s *ThirdPartyFirewallMissingFirewallViolation) SetViolationTarget(v string) *ThirdPartyFirewallMissingFirewallViolation
SetViolationTarget sets the ViolationTarget field's value.
func (s ThirdPartyFirewallMissingFirewallViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ThirdPartyFirewallMissingSubnetViolation struct { // The Availability Zone of a subnet that's causing the violation. AvailabilityZone *string `type:"string"` // The reason the resource is causing the violation, if a reason is available. TargetViolationReason *string `type:"string"` // The resource ID of the VPC associated with a subnet that's causing the violation. VPC *string `min:"1" type:"string"` // The ID of the third-party firewall or VPC resource that's causing the violation. ViolationTarget *string `type:"string"` // contains filtered or unexported fields }
The violation details for a third-party firewall for an Availability Zone that's missing the Firewall Manager managed subnet.
func (s ThirdPartyFirewallMissingSubnetViolation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ThirdPartyFirewallMissingSubnetViolation) SetAvailabilityZone(v string) *ThirdPartyFirewallMissingSubnetViolation
SetAvailabilityZone sets the AvailabilityZone field's value.
func (s *ThirdPartyFirewallMissingSubnetViolation) SetTargetViolationReason(v string) *ThirdPartyFirewallMissingSubnetViolation
SetTargetViolationReason sets the TargetViolationReason field's value.
func (s *ThirdPartyFirewallMissingSubnetViolation) SetVPC(v string) *ThirdPartyFirewallMissingSubnetViolation
SetVPC sets the VPC field's value.
func (s *ThirdPartyFirewallMissingSubnetViolation) SetViolationTarget(v string) *ThirdPartyFirewallMissingSubnetViolation
SetViolationTarget sets the ViolationTarget field's value.
func (s ThirdPartyFirewallMissingSubnetViolation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ThirdPartyFirewallPolicy struct { // Defines the deployment model to use for the third-party firewall policy. FirewallDeploymentModel *string `type:"string" enum:"FirewallDeploymentModel"` // contains filtered or unexported fields }
Configures the deployment model for the third-party firewall.
func (s ThirdPartyFirewallPolicy) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ThirdPartyFirewallPolicy) SetFirewallDeploymentModel(v string) *ThirdPartyFirewallPolicy
SetFirewallDeploymentModel sets the FirewallDeploymentModel field's value.
func (s ThirdPartyFirewallPolicy) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the resource to return tags for. The 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 (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ViolationDetail struct { // The Amazon Web Services 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 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 Firewall Manager policy and Amazon Web Services account.
func (s ViolationDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ViolationDetail) SetMemberAccount(v string) *ViolationDetail
SetMemberAccount sets the MemberAccount field's value.
func (s *ViolationDetail) SetPolicyId(v string) *ViolationDetail
SetPolicyId sets the PolicyId field's value.
func (s *ViolationDetail) SetResourceDescription(v string) *ViolationDetail
SetResourceDescription sets the ResourceDescription field's value.
func (s *ViolationDetail) SetResourceId(v string) *ViolationDetail
SetResourceId sets the ResourceId field's value.
func (s *ViolationDetail) SetResourceTags(v []*Tag) *ViolationDetail
SetResourceTags sets the ResourceTags field's value.
func (s *ViolationDetail) SetResourceType(v string) *ViolationDetail
SetResourceType sets the ResourceType field's value.
func (s *ViolationDetail) SetResourceViolations(v []*ResourceViolation) *ViolationDetail
SetResourceViolations sets the ResourceViolations field's value.
func (s ViolationDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".