diff --git a/clients/client-iotfleetwise/src/commands/ListCampaignsCommand.ts b/clients/client-iotfleetwise/src/commands/ListCampaignsCommand.ts index 585a33080019..3df2afbacec4 100644 --- a/clients/client-iotfleetwise/src/commands/ListCampaignsCommand.ts +++ b/clients/client-iotfleetwise/src/commands/ListCampaignsCommand.ts @@ -42,6 +42,7 @@ export interface ListCampaignsCommandOutput extends ListCampaignsResponse, __Met * nextToken: "STRING_VALUE", * maxResults: Number("int"), * status: "STRING_VALUE", + * listResponseScope: "METADATA_ONLY", * }; * const command = new ListCampaignsCommand(input); * const response = await client.send(command); diff --git a/clients/client-iotfleetwise/src/commands/ListDecoderManifestsCommand.ts b/clients/client-iotfleetwise/src/commands/ListDecoderManifestsCommand.ts index c86917b378c5..eeebb718b121 100644 --- a/clients/client-iotfleetwise/src/commands/ListDecoderManifestsCommand.ts +++ b/clients/client-iotfleetwise/src/commands/ListDecoderManifestsCommand.ts @@ -42,6 +42,7 @@ export interface ListDecoderManifestsCommandOutput extends ListDecoderManifestsR * modelManifestArn: "STRING_VALUE", * nextToken: "STRING_VALUE", * maxResults: Number("int"), + * listResponseScope: "METADATA_ONLY", * }; * const command = new ListDecoderManifestsCommand(input); * const response = await client.send(command); diff --git a/clients/client-iotfleetwise/src/commands/ListFleetsCommand.ts b/clients/client-iotfleetwise/src/commands/ListFleetsCommand.ts index 4973241df621..ecea31eb97cf 100644 --- a/clients/client-iotfleetwise/src/commands/ListFleetsCommand.ts +++ b/clients/client-iotfleetwise/src/commands/ListFleetsCommand.ts @@ -41,6 +41,7 @@ export interface ListFleetsCommandOutput extends ListFleetsResponse, __MetadataB * const input = { // ListFleetsRequest * nextToken: "STRING_VALUE", * maxResults: Number("int"), + * listResponseScope: "METADATA_ONLY", * }; * const command = new ListFleetsCommand(input); * const response = await client.send(command); diff --git a/clients/client-iotfleetwise/src/commands/ListModelManifestsCommand.ts b/clients/client-iotfleetwise/src/commands/ListModelManifestsCommand.ts index 5ca43ba8bcda..7b1db1e74857 100644 --- a/clients/client-iotfleetwise/src/commands/ListModelManifestsCommand.ts +++ b/clients/client-iotfleetwise/src/commands/ListModelManifestsCommand.ts @@ -42,6 +42,7 @@ export interface ListModelManifestsCommandOutput extends ListModelManifestsRespo * signalCatalogArn: "STRING_VALUE", * nextToken: "STRING_VALUE", * maxResults: Number("int"), + * listResponseScope: "METADATA_ONLY", * }; * const command = new ListModelManifestsCommand(input); * const response = await client.send(command); diff --git a/clients/client-iotfleetwise/src/commands/ListStateTemplatesCommand.ts b/clients/client-iotfleetwise/src/commands/ListStateTemplatesCommand.ts index 7ff8014a789a..0de080463265 100644 --- a/clients/client-iotfleetwise/src/commands/ListStateTemplatesCommand.ts +++ b/clients/client-iotfleetwise/src/commands/ListStateTemplatesCommand.ts @@ -41,6 +41,7 @@ export interface ListStateTemplatesCommandOutput extends ListStateTemplatesRespo * const input = { // ListStateTemplatesRequest * nextToken: "STRING_VALUE", * maxResults: Number("int"), + * listResponseScope: "METADATA_ONLY", * }; * const command = new ListStateTemplatesCommand(input); * const response = await client.send(command); diff --git a/clients/client-iotfleetwise/src/commands/ListVehiclesCommand.ts b/clients/client-iotfleetwise/src/commands/ListVehiclesCommand.ts index 186345ac5a77..b5e85af8db32 100644 --- a/clients/client-iotfleetwise/src/commands/ListVehiclesCommand.ts +++ b/clients/client-iotfleetwise/src/commands/ListVehiclesCommand.ts @@ -48,6 +48,7 @@ export interface ListVehiclesCommandOutput extends ListVehiclesResponse, __Metad * ], * nextToken: "STRING_VALUE", * maxResults: Number("int"), + * listResponseScope: "METADATA_ONLY", * }; * const command = new ListVehiclesCommand(input); * const response = await client.send(command); diff --git a/clients/client-iotfleetwise/src/models/models_0.ts b/clients/client-iotfleetwise/src/models/models_0.ts index c12e1fe81fb2..0592081802cc 100644 --- a/clients/client-iotfleetwise/src/models/models_0.ts +++ b/clients/client-iotfleetwise/src/models/models_0.ts @@ -585,7 +585,7 @@ export namespace StateTemplateUpdateStrategy { */ export interface StateTemplateAssociation { /** - *

A unique, service-generated identifier.

+ *

The unique ID of the state template.

* @public */ identifier: string | undefined; @@ -2047,6 +2047,19 @@ export interface GetCampaignResponse { signalsToFetch?: SignalFetchInformation[] | undefined; } +/** + * @public + * @enum + */ +export const ListResponseScope = { + METADATA_ONLY: "METADATA_ONLY", +} as const; + +/** + * @public + */ +export type ListResponseScope = (typeof ListResponseScope)[keyof typeof ListResponseScope]; + /** * @public */ @@ -2072,6 +2085,12 @@ export interface ListCampaignsRequest { * @public */ status?: string | undefined; + + /** + *

When you set the listResponseScope parameter to METADATA_ONLY, the list response includes: campaign name, Amazon Resource Name (ARN), creation time, and last modification time.

+ * @public + */ + listResponseScope?: ListResponseScope | undefined; } /** @@ -3919,6 +3938,12 @@ export interface ListDecoderManifestsRequest { * @public */ maxResults?: number | undefined; + + /** + *

When you set the listResponseScope parameter to METADATA_ONLY, the list response includes: decoder manifest name, Amazon Resource Name (ARN), creation time, and last modification time.

+ * @public + */ + listResponseScope?: ListResponseScope | undefined; } /** @@ -4131,7 +4156,7 @@ export interface DeleteSignalCatalogResponse { */ export interface DeleteStateTemplateRequest { /** - *

A unique, service-generated identifier.

+ *

The unique ID of the state template.

* @public */ identifier: string | undefined; @@ -4350,6 +4375,12 @@ export interface ListFleetsRequest { * @public */ maxResults?: number | undefined; + + /** + *

When you set the listResponseScope parameter to METADATA_ONLY, the list response includes: fleet ID, Amazon Resource Name (ARN), creation time, and last modification time.

+ * @public + */ + listResponseScope?: ListResponseScope | undefined; } /** @@ -4916,7 +4947,7 @@ export interface GetSignalCatalogResponse { */ export interface GetStateTemplateRequest { /** - *

A unique, service-generated identifier.

+ *

The unique ID of the state template.

* @public */ identifier: string | undefined; @@ -5320,6 +5351,12 @@ export interface ListModelManifestsRequest { * @public */ maxResults?: number | undefined; + + /** + *

When you set the listResponseScope parameter to METADATA_ONLY, the list response includes: model manifest name, Amazon Resource Name (ARN), creation time, and last modification time.

+ * @public + */ + listResponseScope?: ListResponseScope | undefined; } /** @@ -5786,6 +5823,12 @@ export interface ListStateTemplatesRequest { * @public */ maxResults?: number | undefined; + + /** + *

When you set the listResponseScope parameter to METADATA_ONLY, the list response includes: state template ID, Amazon Resource Name (ARN), creation time, and last modification time.

+ * @public + */ + listResponseScope?: ListResponseScope | undefined; } /** @@ -5861,7 +5904,7 @@ export interface ListStateTemplatesResponse { */ export interface UpdateStateTemplateRequest { /** - *

A unique, service-generated identifier.

+ *

The unique ID of the state template.

* @public */ identifier: string | undefined; @@ -6026,6 +6069,12 @@ export interface ListVehiclesRequest { * @public */ maxResults?: number | undefined; + + /** + *

When you set the listResponseScope parameter to METADATA_ONLY, the list response includes: vehicle name, Amazon Resource Name (ARN), creation time, and last modification time.

+ * @public + */ + listResponseScope?: ListResponseScope | undefined; } /** @@ -6604,9 +6653,7 @@ export const CreateCampaignRequestFilterSensitiveLog = (obj: CreateCampaignReque ...(obj.dataPartitions && { dataPartitions: obj.dataPartitions.map((item) => DataPartitionFilterSensitiveLog(item)), }), - ...(obj.signalsToFetch && { - signalsToFetch: obj.signalsToFetch.map((item) => SignalFetchInformationFilterSensitiveLog(item)), - }), + ...(obj.signalsToFetch && { signalsToFetch: SENSITIVE_STRING }), }); /** @@ -6621,9 +6668,7 @@ export const GetCampaignResponseFilterSensitiveLog = (obj: GetCampaignResponse): ...(obj.dataPartitions && { dataPartitions: obj.dataPartitions.map((item) => DataPartitionFilterSensitiveLog(item)), }), - ...(obj.signalsToFetch && { - signalsToFetch: obj.signalsToFetch.map((item) => SignalFetchInformationFilterSensitiveLog(item)), - }), + ...(obj.signalsToFetch && { signalsToFetch: SENSITIVE_STRING }), }); /** diff --git a/codegen/sdk-codegen/aws-models/iotfleetwise.json b/codegen/sdk-codegen/aws-models/iotfleetwise.json index dda5311e50c5..f250cc3cde2f 100644 --- a/codegen/sdk-codegen/aws-models/iotfleetwise.json +++ b/codegen/sdk-codegen/aws-models/iotfleetwise.json @@ -1896,7 +1896,7 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 1 + "max": 3 } } }, @@ -2528,7 +2528,7 @@ "identifier": { "target": "com.amazonaws.iotfleetwise#ResourceIdentifier", "traits": { - "smithy.api#documentation": "

A unique, service-generated identifier.

", + "smithy.api#documentation": "

The unique ID of the state template.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3700,7 +3700,7 @@ "identifier": { "target": "com.amazonaws.iotfleetwise#ResourceIdentifier", "traits": { - "smithy.api#documentation": "

A unique, service-generated identifier.

", + "smithy.api#documentation": "

The unique ID of the state template.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5175,6 +5175,13 @@ "smithy.api#documentation": "

An optional parameter to filter the results by the status of each created campaign in\n your account. The status can be one of: CREATING,\n WAITING_FOR_APPROVAL, RUNNING, or\n SUSPENDED.

", "smithy.api#httpQuery": "status" } + }, + "listResponseScope": { + "target": "com.amazonaws.iotfleetwise#ListResponseScope", + "traits": { + "smithy.api#documentation": "

When you set the listResponseScope parameter to METADATA_ONLY, the list response includes: campaign name, Amazon Resource Name (ARN), creation time, and last modification time.

", + "smithy.api#httpQuery": "listResponseScope" + } } } }, @@ -5426,6 +5433,13 @@ "smithy.api#documentation": "

The maximum number of items to return, between 1 and 100, inclusive.

", "smithy.api#httpQuery": "maxResults" } + }, + "listResponseScope": { + "target": "com.amazonaws.iotfleetwise#ListResponseScope", + "traits": { + "smithy.api#documentation": "

When you set the listResponseScope parameter to METADATA_ONLY, the list response includes: decoder manifest name, Amazon Resource Name (ARN), creation time, and last modification time.

", + "smithy.api#httpQuery": "listResponseScope" + } } } }, @@ -5588,6 +5602,13 @@ "smithy.api#documentation": "

The maximum number of items to return, between 1 and 100, inclusive.

", "smithy.api#httpQuery": "maxResults" } + }, + "listResponseScope": { + "target": "com.amazonaws.iotfleetwise#ListResponseScope", + "traits": { + "smithy.api#documentation": "

When you set the listResponseScope parameter to METADATA_ONLY, the list response includes: fleet ID, Amazon Resource Name (ARN), creation time, and last modification time.

", + "smithy.api#httpQuery": "listResponseScope" + } } } }, @@ -5757,6 +5778,13 @@ "smithy.api#documentation": "

The maximum number of items to return, between 1 and 100, inclusive.

", "smithy.api#httpQuery": "maxResults" } + }, + "listResponseScope": { + "target": "com.amazonaws.iotfleetwise#ListResponseScope", + "traits": { + "smithy.api#documentation": "

When you set the listResponseScope parameter to METADATA_ONLY, the list response includes: model manifest name, Amazon Resource Name (ARN), creation time, and last modification time.

", + "smithy.api#httpQuery": "listResponseScope" + } } } }, @@ -5777,6 +5805,17 @@ } } }, + "com.amazonaws.iotfleetwise#ListResponseScope": { + "type": "enum", + "members": { + "METADATA_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "METADATA_ONLY" + } + } + } + }, "com.amazonaws.iotfleetwise#ListSignalCatalogNodes": { "type": "operation", "input": { @@ -6000,6 +6039,13 @@ "smithy.api#documentation": "

The maximum number of items to return, between 1 and 100, inclusive.

", "smithy.api#httpQuery": "maxResults" } + }, + "listResponseScope": { + "target": "com.amazonaws.iotfleetwise#ListResponseScope", + "traits": { + "smithy.api#documentation": "

When you set the listResponseScope parameter to METADATA_ONLY, the list response includes: state template ID, Amazon Resource Name (ARN), creation time, and last modification time.

", + "smithy.api#httpQuery": "listResponseScope" + } } }, "traits": { @@ -6245,6 +6291,13 @@ "smithy.api#documentation": "

The maximum number of items to return, between 1 and 100, inclusive.

", "smithy.api#httpQuery": "maxResults" } + }, + "listResponseScope": { + "target": "com.amazonaws.iotfleetwise#ListResponseScope", + "traits": { + "smithy.api#documentation": "

When you set the listResponseScope parameter to METADATA_ONLY, the list response includes: vehicle name, Amazon Resource Name (ARN), creation time, and last modification time.

", + "smithy.api#httpQuery": "listResponseScope" + } } } }, @@ -8085,10 +8138,12 @@ "target": "com.amazonaws.iotfleetwise#SignalFetchInformation" }, "traits": { + "aws.api#data": "content", "smithy.api#length": { "min": 1, "max": 2 - } + }, + "smithy.api#sensitive": {} } }, "com.amazonaws.iotfleetwise#SignalInformation": { @@ -8202,7 +8257,7 @@ "identifier": { "target": "com.amazonaws.iotfleetwise#ResourceIdentifier", "traits": { - "smithy.api#documentation": "

A unique, service-generated identifier.

", + "smithy.api#documentation": "

The unique ID of the state template.

", "smithy.api#required": {} } }, @@ -9672,7 +9727,7 @@ "identifier": { "target": "com.amazonaws.iotfleetwise#ResourceIdentifier", "traits": { - "smithy.api#documentation": "

A unique, service-generated identifier.

", + "smithy.api#documentation": "

The unique ID of the state template.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} }