From 110368884c53331c9a15d6af9b57697aa282fe84 Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 21 Apr 2022 18:17:53 +0000 Subject: [PATCH] feat(client-iottwinmaker): General availability (GA) for AWS IoT TwinMaker. For more information, see https://docs.aws.amazon.com/iot-twinmaker/latest/apireference/Welcome.html --- .../src/models/models_0.ts | 58 +++++++++++++++++-- .../sdk-codegen/aws-models/iottwinmaker.json | 23 +++++--- 2 files changed, 70 insertions(+), 11 deletions(-) diff --git a/clients/client-iottwinmaker/src/models/models_0.ts b/clients/client-iottwinmaker/src/models/models_0.ts index 1619798e920e..a530a22c6ae1 100644 --- a/clients/client-iottwinmaker/src/models/models_0.ts +++ b/clients/client-iottwinmaker/src/models/models_0.ts @@ -1006,6 +1006,9 @@ export namespace GetWorkspaceResponse { /** *

An object that filters items in a list of component types.

+ * + *

Only one object is accepted as a valid input.

+ *
*/ export type ListComponentTypesFilter = | ListComponentTypesFilter.ExtendsFromMember @@ -1263,6 +1266,9 @@ export interface ListEntitiesRequest { /** *

A list of objects that filter the request.

+ * + *

Only one object is accepted as a valid input.

+ *
*/ filters?: ListEntitiesFilter[]; @@ -1979,7 +1985,49 @@ export interface PropertyValue { value: DataValue | undefined; /** - * Timestamp represented in ISO 8601 format + *

ISO8601 DateTime of a value for a time series property.

+ *

The time for when the property value was recorded in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.SSSSSSSSS][Z/±HH:mm].

+ * + *

+ * Required sub-fields: YYYY-MM-DDThh:mm:ss and [Z/±HH:mm]

*/ time?: string; } @@ -2098,12 +2146,14 @@ export interface GetPropertyValueHistoryRequest { orderByTime?: OrderByTime | string; /** - * Timestamp represented in ISO 8601 format + *

The ISO8601 DateTime of the earliest property value to return.

+ *

For more information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ startTime?: string; /** - * Timestamp represented in ISO 8601 format + *

The ISO8601 DateTime of the latest property value to return.

+ *

For more information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ endTime?: string; } @@ -2135,7 +2185,7 @@ export namespace GetPropertyValueResponse { } /** - *

An object that specifies information about time series property values.

+ *

An object that specifies information about time series property values. This object is used and consumed by the BatchPutPropertyValues action.

*/ export interface PropertyValueEntry { /** diff --git a/codegen/sdk-codegen/aws-models/iottwinmaker.json b/codegen/sdk-codegen/aws-models/iottwinmaker.json index 96d1159cdcb6..2ebc8efc83c8 100644 --- a/codegen/sdk-codegen/aws-models/iottwinmaker.json +++ b/codegen/sdk-codegen/aws-models/iottwinmaker.json @@ -2132,10 +2132,16 @@ } }, "startTime": { - "target": "com.amazonaws.iottwinmaker#Time" + "target": "com.amazonaws.iottwinmaker#Time", + "traits": { + "smithy.api#documentation": "

The ISO8601 DateTime of the earliest property value to return.

\n

For more information about the ISO8601 DateTime format, see the data type PropertyValue.

" + } }, "endTime": { - "target": "com.amazonaws.iottwinmaker#Time" + "target": "com.amazonaws.iottwinmaker#Time", + "traits": { + "smithy.api#documentation": "

The ISO8601 DateTime of the latest property value to return.

\n

For more information about the ISO8601 DateTime format, see the data type PropertyValue.

" + } } } }, @@ -2444,7 +2450,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "^[a-zA-Z][a-zA-Z_\\-0-9]*[a-zA-Z0-9]+$|^arn:((aws)|(aws-cn)|(aws-us-gov)):iottwinmaker:[a-z0-9-]+:[0-9]{12}:[\\/a-zA-Z0-9_-]+$" + "smithy.api#pattern": "^[a-zA-Z_0-9][a-zA-Z_\\-0-9]*[a-zA-Z0-9]+$|^arn:((aws)|(aws-cn)|(aws-us-gov)):iottwinmaker:[a-z0-9-]+:[0-9]{12}:[\\/a-zA-Z0-9_-]+$" } }, "com.amazonaws.iottwinmaker#Integer": { @@ -2590,7 +2596,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object that filters items in a list of component types.

" + "smithy.api#documentation": "

An object that filters items in a list of component types.

\n \n

Only one object is accepted as a valid input.

\n
" } }, "com.amazonaws.iottwinmaker#ListComponentTypesFilters": { @@ -2746,7 +2752,7 @@ "filters": { "target": "com.amazonaws.iottwinmaker#ListEntitiesFilters", "traits": { - "smithy.api#documentation": "

A list of objects that filter the request.

" + "smithy.api#documentation": "

A list of objects that filter the request.

\n \n

Only one object is accepted as a valid input.

\n
" } }, "maxResults": { @@ -3415,7 +3421,10 @@ } }, "time": { - "target": "com.amazonaws.iottwinmaker#Time" + "target": "com.amazonaws.iottwinmaker#Time", + "traits": { + "smithy.api#documentation": "

ISO8601 DateTime of a value for a time series property.

\n

The time for when the property value was recorded in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.SSSSSSSSS][Z/±HH:mm].

\n \n

\n Required sub-fields: YYYY-MM-DDThh:mm:ss and [Z/±HH:mm]

" + } } }, "traits": { @@ -3440,7 +3449,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object that specifies information about time series property values.

" + "smithy.api#documentation": "

An object that specifies information about time series property values. This object is used and consumed by the BatchPutPropertyValues action.

" } }, "com.amazonaws.iottwinmaker#PropertyValueHistory": {