diff --git a/clients/client-s3/src/commands/GetBucketLifecycleConfigurationCommand.ts b/clients/client-s3/src/commands/GetBucketLifecycleConfigurationCommand.ts
index a794e79620b3..2c147d18db10 100644
--- a/clients/client-s3/src/commands/GetBucketLifecycleConfigurationCommand.ts
+++ b/clients/client-s3/src/commands/GetBucketLifecycleConfigurationCommand.ts
@@ -113,7 +113,7 @@ export interface GetBucketLifecycleConfigurationCommandOutput
* // },
* // ID: "STRING_VALUE",
* // Prefix: "STRING_VALUE",
- * // Filter: { // LifecycleRuleFilter Union: only one key present
+ * // Filter: { // LifecycleRuleFilter
* // Prefix: "STRING_VALUE",
* // Tag: { // Tag
* // Key: "STRING_VALUE", // required
diff --git a/clients/client-s3/src/commands/GetBucketReplicationCommand.ts b/clients/client-s3/src/commands/GetBucketReplicationCommand.ts
index ce59e93a4690..6bd7801297e3 100644
--- a/clients/client-s3/src/commands/GetBucketReplicationCommand.ts
+++ b/clients/client-s3/src/commands/GetBucketReplicationCommand.ts
@@ -82,7 +82,7 @@ export interface GetBucketReplicationCommandOutput extends GetBucketReplicationO
* // ID: "STRING_VALUE",
* // Priority: Number("int"),
* // Prefix: "STRING_VALUE",
- * // Filter: { // ReplicationRuleFilter Union: only one key present
+ * // Filter: { // ReplicationRuleFilter
* // Prefix: "STRING_VALUE",
* // Tag: { // Tag
* // Key: "STRING_VALUE", // required
diff --git a/clients/client-s3/src/commands/PutBucketLifecycleConfigurationCommand.ts b/clients/client-s3/src/commands/PutBucketLifecycleConfigurationCommand.ts
index b7875795e033..12cf74649215 100644
--- a/clients/client-s3/src/commands/PutBucketLifecycleConfigurationCommand.ts
+++ b/clients/client-s3/src/commands/PutBucketLifecycleConfigurationCommand.ts
@@ -144,7 +144,7 @@ export interface PutBucketLifecycleConfigurationCommandOutput
* },
* ID: "STRING_VALUE",
* Prefix: "STRING_VALUE",
- * Filter: { // LifecycleRuleFilter Union: only one key present
+ * Filter: { // LifecycleRuleFilter
* Prefix: "STRING_VALUE",
* Tag: { // Tag
* Key: "STRING_VALUE", // required
diff --git a/clients/client-s3/src/commands/PutBucketReplicationCommand.ts b/clients/client-s3/src/commands/PutBucketReplicationCommand.ts
index ab5541dfaa1d..641379180e0f 100644
--- a/clients/client-s3/src/commands/PutBucketReplicationCommand.ts
+++ b/clients/client-s3/src/commands/PutBucketReplicationCommand.ts
@@ -120,7 +120,7 @@ export interface PutBucketReplicationCommandOutput extends __MetadataBearer {}
* ID: "STRING_VALUE",
* Priority: Number("int"),
* Prefix: "STRING_VALUE",
- * Filter: { // ReplicationRuleFilter Union: only one key present
+ * Filter: { // ReplicationRuleFilter
* Prefix: "STRING_VALUE",
* Tag: { // Tag
* Key: "STRING_VALUE", // required
diff --git a/clients/client-s3/src/models/models_0.ts b/clients/client-s3/src/models/models_0.ts
index 03b2fd9f5dcb..1e283d351136 100644
--- a/clients/client-s3/src/models/models_0.ts
+++ b/clients/client-s3/src/models/models_0.ts
@@ -1,6 +1,5 @@
// smithy-typescript generated code
import { ExceptionOptionType as __ExceptionOptionType, SENSITIVE_STRING } from "@smithy/smithy-client";
-
import { StreamingBlobTypes } from "@smithy/types";
import { S3ServiceException as __BaseException } from "./S3ServiceException";
@@ -6874,18 +6873,7 @@ export interface LifecycleRuleAndOperator {
* And
specified. If the Filter
element is left empty, the Lifecycle Rule applies to all objects in the bucket.
Prefix identifying one or more objects to which the rule applies.
*This tag must exist in the object's tag set in order for the rule to apply.
* @public */ - export interface TagMember { - Prefix?: never; - Tag: Tag; - ObjectSizeGreaterThan?: never; - ObjectSizeLessThan?: never; - And?: never; - $unknown?: never; - } + Tag?: Tag; /** *Minimum object size to which the rule applies.
* @public */ - export interface ObjectSizeGreaterThanMember { - Prefix?: never; - Tag?: never; - ObjectSizeGreaterThan: number; - ObjectSizeLessThan?: never; - And?: never; - $unknown?: never; - } + ObjectSizeGreaterThan?: number; /** *Maximum object size to which the rule applies.
* @public */ - export interface ObjectSizeLessThanMember { - Prefix?: never; - Tag?: never; - ObjectSizeGreaterThan?: never; - ObjectSizeLessThan: number; - And?: never; - $unknown?: never; - } + ObjectSizeLessThan?: number; /** *This is used in a Lifecycle Rule Filter to apply a logical AND to two or more @@ -6949,44 +6909,7 @@ export namespace LifecycleRuleFilter { * configured inside the And operator.
* @public */ - export interface AndMember { - Prefix?: never; - Tag?: never; - ObjectSizeGreaterThan?: never; - ObjectSizeLessThan?: never; - And: LifecycleRuleAndOperator; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - Prefix?: never; - Tag?: never; - ObjectSizeGreaterThan?: never; - ObjectSizeLessThan?: never; - And?: never; - $unknown: [string, any]; - } - - export interface VisitorAnd
child element.
* @public
*/
-export type ReplicationRuleFilter =
- | ReplicationRuleFilter.AndMember
- | ReplicationRuleFilter.PrefixMember
- | ReplicationRuleFilter.TagMember
- | ReplicationRuleFilter.$UnknownMember;
-
-/**
- * @public
- */
-export namespace ReplicationRuleFilter {
+export interface ReplicationRuleFilter {
/**
* An object key name prefix that identifies the subset of objects to which the rule * applies.
@@ -8406,24 +8320,14 @@ export namespace ReplicationRuleFilter { * * @public */ - export interface PrefixMember { - Prefix: string; - Tag?: never; - And?: never; - $unknown?: never; - } + Prefix?: string; /** *A container for specifying a tag key and value.
*The rule applies only to objects that have the tag in their tag set.
* @public */ - export interface TagMember { - Prefix?: never; - Tag: Tag; - And?: never; - $unknown?: never; - } + Tag?: Tag; /** *A container for specifying rule filters. The filters determine the subset of objects to
@@ -8441,36 +8345,7 @@ export namespace ReplicationRuleFilter {
*
* @public
*/
- export interface AndMember {
- Prefix?: never;
- Tag?: never;
- And: ReplicationRuleAndOperator;
- $unknown?: never;
- }
-
- /**
- * @public
- */
- export interface $UnknownMember {
- Prefix?: never;
- Tag?: never;
- And?: never;
- $unknown: [string, any];
- }
-
- export interface Visitor