Skip to content

Commit d9cb698

Browse files
author
awstools
committed
feat(client-guardduty): Update JSON target for Kubernetes workload resource type.
1 parent c366275 commit d9cb698

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clients/client-guardduty/src/protocols/Aws_restJson1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5694,7 +5694,7 @@ const de_KubernetesUserDetails = (output: any, context: __SerdeContext): Kuberne
56945694
const de_KubernetesWorkload = (output: any, context: __SerdeContext): KubernetesWorkload => {
56955695
return take(output, {
56965696
ContainerUids: [, _json, `containerUids`],
5697-
KubernetesResourcesTypes: [, __expectString, `kubernetesResourcesTypes`],
5697+
KubernetesResourcesTypes: [, __expectString, `type`],
56985698
Namespace: [, __expectString, `namespace`],
56995699
}) as any;
57005700
};

codegen/sdk-codegen/aws-models/guardduty.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9884,7 +9884,7 @@
98849884
"target": "com.amazonaws.guardduty#KubernetesResourcesTypes",
98859885
"traits": {
98869886
"smithy.api#documentation": "<p>The types of Kubernetes resources involved in the workload.</p>",
9887-
"smithy.api#jsonName": "kubernetesResourcesTypes"
9887+
"smithy.api#jsonName": "type"
98889888
}
98899889
}
98909890
},

0 commit comments

Comments
 (0)