Skip to content

Commit b60f809

Browse files
Update JSON target for Kubernetes workload resource type.
1 parent ba4da6e commit b60f809

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

generator/ServiceModels/guardduty/guardduty-2017-11-28.api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5179,7 +5179,7 @@
51795179
},
51805180
"KubernetesResourcesTypes":{
51815181
"shape":"KubernetesResourcesTypes",
5182-
"locationName":"kubernetesResourcesTypes"
5182+
"locationName":"type"
51835183
}
51845184
}
51855185
},

generator/ServiceModels/guardduty/guardduty-2017-11-28.normal.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5899,7 +5899,7 @@
58995899
"KubernetesResourcesTypes":{
59005900
"shape":"KubernetesResourcesTypes",
59015901
"documentation":"<p>The types of Kubernetes resources involved in the workload.</p>",
5902-
"locationName":"kubernetesResourcesTypes"
5902+
"locationName":"type"
59035903
}
59045904
},
59055905
"documentation":"<p>Contains information about Kubernetes workloads involved in a GuardDuty finding, including pods, deployments, and other Kubernetes resources.</p>"

sdk/src/Services/GuardDuty/Generated/Model/Internal/MarshallTransformations/KubernetesWorkloadUnmarshaller.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public KubernetesWorkload Unmarshall(JsonUnmarshallerContext context)
7272
unmarshalledObject.ContainerUids = unmarshaller.Unmarshall(context);
7373
continue;
7474
}
75-
if (context.TestExpression("kubernetesResourcesTypes", targetDepth))
75+
if (context.TestExpression("type", targetDepth))
7676
{
7777
var unmarshaller = StringUnmarshaller.Instance;
7878
unmarshalledObject.KubernetesResourcesTypes = unmarshaller.Unmarshall(context);

0 commit comments

Comments
 (0)