Skip to content

Commit 14cff2e

Browse files
author
awstools
committed
feat(client-s3-control): Fix ListStorageLensConfigurations and ListStorageLensGroups deserialization for Smithy SDKs.
1 parent 4c78745 commit 14cff2e

File tree

3 files changed

+19236
-19413
lines changed

3 files changed

+19236
-19413
lines changed

clients/client-s3-control/src/models/models_0.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ export interface AccessPoint {
326326
* <p>The virtual private cloud (VPC) configuration for this access point, if one exists.</p>
327327
* <note>
328328
* <p>This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other
329-
* Amazon Web Servicesservices.</p>
329+
* Amazon Web Services services.</p>
330330
* </note>
331331
* @public
332332
*/
@@ -712,7 +712,7 @@ export interface PublicAccessBlockConfiguration {
712712
/**
713713
* <p>Specifies whether Amazon S3 should restrict public bucket policies for buckets in this
714714
* account. Setting this element to <code>TRUE</code> restricts access to buckets with public
715-
* policies to only Amazon Web Servicesservice principals and authorized users within this
715+
* policies to only Amazon Web Services service principals and authorized users within this
716716
* account.</p>
717717
* <p>Enabling this setting doesn't affect previously stored bucket policies, except that
718718
* public and cross-account access within any public bucket policy, including non-public
@@ -4560,7 +4560,7 @@ export interface GetAccessPointResult {
45604560
* <p>Contains the virtual private cloud (VPC) configuration for the specified access point.</p>
45614561
* <note>
45624562
* <p>This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other
4563-
* Amazon Web Servicesservices.</p>
4563+
* Amazon Web Services services.</p>
45644564
* </note>
45654565
* @public
45664566
*/

clients/client-s3-control/src/protocols/Aws_restXml.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -5145,10 +5145,10 @@ export const de_ListStorageLensConfigurationsCommand = async (
51455145
if (data[_NT] != null) {
51465146
contents[_NT] = __expectString(data[_NT]);
51475147
}
5148-
if (data.StorageLensConfigurationList === "") {
5148+
if (data.StorageLensConfiguration === "") {
51495149
contents[_SLCL] = [];
5150-
} else if (data[_SLCL] != null) {
5151-
contents[_SLCL] = de_StorageLensConfigurationList(__getArrayIfSingleItem(data[_SLCL]), context);
5150+
} else if (data[_SLC] != null) {
5151+
contents[_SLCL] = de_StorageLensConfigurationList(__getArrayIfSingleItem(data[_SLC]), context);
51525152
}
51535153
return contents;
51545154
};
@@ -5170,10 +5170,10 @@ export const de_ListStorageLensGroupsCommand = async (
51705170
if (data[_NT] != null) {
51715171
contents[_NT] = __expectString(data[_NT]);
51725172
}
5173-
if (data.StorageLensGroupList === "") {
5173+
if (data.StorageLensGroup === "") {
51745174
contents[_SLGL] = [];
5175-
} else if (data[_SLGL] != null) {
5176-
contents[_SLGL] = de_StorageLensGroupList(__getArrayIfSingleItem(data[_SLGL]), context);
5175+
} else if (data[_SLG] != null) {
5176+
contents[_SLGL] = de_StorageLensGroupList(__getArrayIfSingleItem(data[_SLG]), context);
51775177
}
51785178
return contents;
51795179
};

0 commit comments

Comments
 (0)