Skip to content

Commit

Permalink
feat(client-s3-control): Fix ListStorageLensConfigurations and ListSt…
Browse files Browse the repository at this point in the history
…orageLensGroups deserialization for Smithy SDKs.
  • Loading branch information
awstools committed Nov 6, 2024
1 parent 4c78745 commit 14cff2e
Show file tree
Hide file tree
Showing 3 changed files with 19,236 additions and 19,413 deletions.
6 changes: 3 additions & 3 deletions clients/client-s3-control/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export interface AccessPoint {
* <p>The virtual private cloud (VPC) configuration for this access point, if one exists.</p>
* <note>
* <p>This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other
* Amazon Web Servicesservices.</p>
* Amazon Web Services services.</p>
* </note>
* @public
*/
Expand Down Expand Up @@ -712,7 +712,7 @@ export interface PublicAccessBlockConfiguration {
/**
* <p>Specifies whether Amazon S3 should restrict public bucket policies for buckets in this
* account. Setting this element to <code>TRUE</code> restricts access to buckets with public
* policies to only Amazon Web Servicesservice principals and authorized users within this
* policies to only Amazon Web Services service principals and authorized users within this
* account.</p>
* <p>Enabling this setting doesn't affect previously stored bucket policies, except that
* public and cross-account access within any public bucket policy, including non-public
Expand Down Expand Up @@ -4560,7 +4560,7 @@ export interface GetAccessPointResult {
* <p>Contains the virtual private cloud (VPC) configuration for the specified access point.</p>
* <note>
* <p>This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other
* Amazon Web Servicesservices.</p>
* Amazon Web Services services.</p>
* </note>
* @public
*/
Expand Down
12 changes: 6 additions & 6 deletions clients/client-s3-control/src/protocols/Aws_restXml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5145,10 +5145,10 @@ export const de_ListStorageLensConfigurationsCommand = async (
if (data[_NT] != null) {
contents[_NT] = __expectString(data[_NT]);
}
if (data.StorageLensConfigurationList === "") {
if (data.StorageLensConfiguration === "") {
contents[_SLCL] = [];
} else if (data[_SLCL] != null) {
contents[_SLCL] = de_StorageLensConfigurationList(__getArrayIfSingleItem(data[_SLCL]), context);
} else if (data[_SLC] != null) {
contents[_SLCL] = de_StorageLensConfigurationList(__getArrayIfSingleItem(data[_SLC]), context);
}
return contents;
};
Expand All @@ -5170,10 +5170,10 @@ export const de_ListStorageLensGroupsCommand = async (
if (data[_NT] != null) {
contents[_NT] = __expectString(data[_NT]);
}
if (data.StorageLensGroupList === "") {
if (data.StorageLensGroup === "") {
contents[_SLGL] = [];
} else if (data[_SLGL] != null) {
contents[_SLGL] = de_StorageLensGroupList(__getArrayIfSingleItem(data[_SLGL]), context);
} else if (data[_SLG] != null) {
contents[_SLGL] = de_StorageLensGroupList(__getArrayIfSingleItem(data[_SLG]), context);
}
return contents;
};
Expand Down
Loading

0 comments on commit 14cff2e

Please # to comment.