Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AwsS3BucketWebsiteConfigurationRoutingRuleCondition = AwsS3BucketWebsiteConfigurationRoutingRuleCondition' {}
- newAwsS3BucketWebsiteConfigurationRoutingRuleCondition :: AwsS3BucketWebsiteConfigurationRoutingRuleCondition
- awsS3BucketWebsiteConfigurationRoutingRuleCondition_keyPrefixEquals :: Lens' AwsS3BucketWebsiteConfigurationRoutingRuleCondition (Maybe Text)
- awsS3BucketWebsiteConfigurationRoutingRuleCondition_httpErrorCodeReturnedEquals :: Lens' AwsS3BucketWebsiteConfigurationRoutingRuleCondition (Maybe Text)
Documentation
data AwsS3BucketWebsiteConfigurationRoutingRuleCondition Source #
The condition that must be met in order to apply the routing rule.
See: newAwsS3BucketWebsiteConfigurationRoutingRuleCondition
smart constructor.
AwsS3BucketWebsiteConfigurationRoutingRuleCondition' | |
|
Instances
newAwsS3BucketWebsiteConfigurationRoutingRuleCondition :: AwsS3BucketWebsiteConfigurationRoutingRuleCondition Source #
Create a value of AwsS3BucketWebsiteConfigurationRoutingRuleCondition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:keyPrefixEquals:AwsS3BucketWebsiteConfigurationRoutingRuleCondition'
, awsS3BucketWebsiteConfigurationRoutingRuleCondition_keyPrefixEquals
- Indicates to redirect the request if the key prefix matches this value.
$sel:httpErrorCodeReturnedEquals:AwsS3BucketWebsiteConfigurationRoutingRuleCondition'
, awsS3BucketWebsiteConfigurationRoutingRuleCondition_httpErrorCodeReturnedEquals
- Indicates to redirect the request if the HTTP error code matches this
value.
awsS3BucketWebsiteConfigurationRoutingRuleCondition_keyPrefixEquals :: Lens' AwsS3BucketWebsiteConfigurationRoutingRuleCondition (Maybe Text) Source #
Indicates to redirect the request if the key prefix matches this value.
awsS3BucketWebsiteConfigurationRoutingRuleCondition_httpErrorCodeReturnedEquals :: Lens' AwsS3BucketWebsiteConfigurationRoutingRuleCondition (Maybe Text) Source #
Indicates to redirect the request if the HTTP error code matches this value.