This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// extensions to: https://docs.aws.amazon.com/sdk-for-go/api/service/s3/ | |
type RGWNotificationConfigurationFilter struct { | |
// A container for object key name prefix and suffix filtering rules. | |
Key *KeyFilter `locationName:"S3Key" type:"structure"` | |
Metadata *RGWMapFilter `locationName:"RGWMetadata" type:"structure"` | |
Tag *RGWMapFilter `locationName:"RGWTag" type:"structure"` | |
// contains filtered or unexported fields | |
} | |
type RGWMapFilter struct { | |
// A list of containers for the key-value pair that defines the criteria for | |
// the filter rule. | |
FilterRules []*MapFilterRule `locationName:"MapFilterRule" type:"list" flattened:"true"` | |
// contains filtered or unexported fields | |
} | |
type RGWFilterRule struct { | |
// name of attribute or tag | |
Name *string `type:"string"` | |
// value of attribute or tag | |
Value *string `type:"string"` | |
} | |
const ( | |
// FilterRuleNamePrefix is a FilterRuleName enum value | |
FilterRuleNamePrefix = "prefix" | |
// FilterRuleNameSuffix is a FilterRuleName enum value | |
FilterRuleNameSuffix = "suffix" | |
// FilterRuleNameRegex is a FilterRuleName enum value | |
FilterRuleNameRegex = "regex" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment