diff --git a/clients/client-guardduty/src/commands/GetFindingsCommand.ts b/clients/client-guardduty/src/commands/GetFindingsCommand.ts index b044f85225a2f..84c582451e005 100644 --- a/clients/client-guardduty/src/commands/GetFindingsCommand.ts +++ b/clients/client-guardduty/src/commands/GetFindingsCommand.ts @@ -324,6 +324,7 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat * // }, * // ], * // Group: "STRING_VALUE", + * // LaunchType: "STRING_VALUE", * // }, * // }, * // ContainerDetails: { diff --git a/clients/client-guardduty/src/models/models_0.ts b/clients/client-guardduty/src/models/models_0.ts index 8c5bd6794dc23..f6340058f8206 100644 --- a/clients/client-guardduty/src/models/models_0.ts +++ b/clients/client-guardduty/src/models/models_0.ts @@ -5087,6 +5087,12 @@ export interface EcsTaskDetails { * @public */ Group?: string; + + /** + *

A capacity on which the task is running. For example, Fargate and EC2.

+ * @public + */ + LaunchType?: string; } /** diff --git a/clients/client-guardduty/src/protocols/Aws_restJson1.ts b/clients/client-guardduty/src/protocols/Aws_restJson1.ts index 189d96dc57ae7..009fab62adb4d 100644 --- a/clients/client-guardduty/src/protocols/Aws_restJson1.ts +++ b/clients/client-guardduty/src/protocols/Aws_restJson1.ts @@ -5041,6 +5041,7 @@ const de_EcsTaskDetails = (output: any, context: __SerdeContext): EcsTaskDetails Containers: [, (_: any) => de_Containers(_, context), `containers`], DefinitionArn: [, __expectString, `definitionArn`], Group: [, __expectString, `group`], + LaunchType: [, __expectString, `launchType`], StartedAt: [, (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `startedAt`], StartedBy: [, __expectString, `startedBy`], Tags: [, (_: any) => de_Tags(_, context), `tags`], @@ -5407,7 +5408,7 @@ const de_KubernetesApiCallAction = (output: any, context: __SerdeContext): Kuber RequestUri: [, __expectString, `requestUri`], Resource: [, __expectString, `resource`], ResourceName: [, __expectString, `resourceName`], - SourceIps: [, _json, `sourceIps`], + SourceIps: [, _json, `sourceIPs`], StatusCode: [, __expectInt32, `statusCode`], Subresource: [, __expectString, `subresource`], UserAgent: [, __expectString, `userAgent`], diff --git a/codegen/sdk-codegen/aws-models/guardduty.json b/codegen/sdk-codegen/aws-models/guardduty.json index a5a91da00f321..0bea544774fba 100644 --- a/codegen/sdk-codegen/aws-models/guardduty.json +++ b/codegen/sdk-codegen/aws-models/guardduty.json @@ -4674,6 +4674,13 @@ "smithy.api#documentation": "

The name of the task group that's associated with the task.

", "smithy.api#jsonName": "group" } + }, + "LaunchType": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

A capacity on which the task is running. For example, Fargate and EC2.

", + "smithy.api#jsonName": "launchType" + } } }, "traits": { @@ -8774,7 +8781,7 @@ "target": "com.amazonaws.guardduty#SourceIps", "traits": { "smithy.api#documentation": "

The IP of the Kubernetes API caller and the IPs of any proxies or load balancers between\n the caller and the API endpoint.

", - "smithy.api#jsonName": "sourceIps" + "smithy.api#jsonName": "sourceIPs" } }, "UserAgent": {