Skip to content

Commit

Permalink
feat(client-iottwinmaker): General availability (GA) for AWS IoT Twin…
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Apr 21, 2022
1 parent 546dab6 commit 1103688
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 11 deletions.
58 changes: 54 additions & 4 deletions clients/client-iottwinmaker/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,9 @@ export namespace GetWorkspaceResponse {

/**
* <p>An object that filters items in a list of component types.</p>
* <note>
* <p>Only one object is accepted as a valid input.</p>
* </note>
*/
export type ListComponentTypesFilter =
| ListComponentTypesFilter.ExtendsFromMember
Expand Down Expand Up @@ -1263,6 +1266,9 @@ export interface ListEntitiesRequest {

/**
* <p>A list of objects that filter the request.</p>
* <note>
* <p>Only one object is accepted as a valid input.</p>
* </note>
*/
filters?: ListEntitiesFilter[];

Expand Down Expand Up @@ -1979,7 +1985,49 @@ export interface PropertyValue {
value: DataValue | undefined;

/**
* Timestamp represented in ISO 8601 format
* <p>ISO8601 DateTime of a value for a time series property.</p>
* <p>The time for when the property value was recorded in ISO 8601 format: <i>YYYY-MM-DDThh:mm:ss[.SSSSSSSSS][Z/±HH:mm]</i>.</p>
* <ul>
* <li>
* <p>
* <i>[YYYY]</i>: year</p>
* </li>
* <li>
* <p>
* <i>[MM]</i>: month</p>
* </li>
* <li>
* <p>
* <i>[DD]</i>: day</p>
* </li>
* <li>
* <p>
* <i>[hh]</i>: hour</p>
* </li>
* <li>
* <p>
* <i>[mm]</i>: minute</p>
* </li>
* <li>
* <p>
* <i>[ss]</i>: seconds</p>
* </li>
* <li>
* <p>
* <i>[.SSSSSSSSS]</i>: additional precision, where precedence is maintained. For
* example: [.573123] is equal to 573123000 nanoseconds.</p>
* </li>
* <li>
* <p>
* <i>Z</i>: default timezone UTC</p>
* </li>
* <li>
* <p>
* <i>± HH:mm</i>: time zone offset in Hours and Minutes.</p>
* </li>
* </ul>
* <p>
* <i>Required sub-fields</i>: YYYY-MM-DDThh:mm:ss and [Z/±HH:mm]</p>
*/
time?: string;
}
Expand Down Expand Up @@ -2098,12 +2146,14 @@ export interface GetPropertyValueHistoryRequest {
orderByTime?: OrderByTime | string;

/**
* Timestamp represented in ISO 8601 format
* <p>The ISO8601 DateTime of the earliest property value to return.</p>
* <p>For more information about the ISO8601 DateTime format, see the data type <a href="https://docs.aws.amazon.com/roci/latest/roci-api/API_PropertyValue.html">PropertyValue</a>.</p>
*/
startTime?: string;

/**
* Timestamp represented in ISO 8601 format
* <p>The ISO8601 DateTime of the latest property value to return.</p>
* <p>For more information about the ISO8601 DateTime format, see the data type <a href="https://docs.aws.amazon.com/roci/latest/roci-api/API_PropertyValue.html">PropertyValue</a>.</p>
*/
endTime?: string;
}
Expand Down Expand Up @@ -2135,7 +2185,7 @@ export namespace GetPropertyValueResponse {
}

/**
* <p>An object that specifies information about time series property values.</p>
* <p>An object that specifies information about time series property values. This object is used and consumed by the <a href="https://docs.aws.amazon.com/iot-twinmaker/latest/apireference/API_BatchPutPropertyValues.html">BatchPutPropertyValues</a> action.</p>
*/
export interface PropertyValueEntry {
/**
Expand Down
23 changes: 16 additions & 7 deletions codegen/sdk-codegen/aws-models/iottwinmaker.json
Original file line number Diff line number Diff line change
Expand Up @@ -2132,10 +2132,16 @@
}
},
"startTime": {
"target": "com.amazonaws.iottwinmaker#Time"
"target": "com.amazonaws.iottwinmaker#Time",
"traits": {
"smithy.api#documentation": "<p>The ISO8601 DateTime of the earliest property value to return.</p>\n <p>For more information about the ISO8601 DateTime format, see the data type <a href=\"https://docs.aws.amazon.com/roci/latest/roci-api/API_PropertyValue.html\">PropertyValue</a>.</p>"
}
},
"endTime": {
"target": "com.amazonaws.iottwinmaker#Time"
"target": "com.amazonaws.iottwinmaker#Time",
"traits": {
"smithy.api#documentation": "<p>The ISO8601 DateTime of the latest property value to return.</p>\n <p>For more information about the ISO8601 DateTime format, see the data type <a href=\"https://docs.aws.amazon.com/roci/latest/roci-api/API_PropertyValue.html\">PropertyValue</a>.</p>"
}
}
}
},
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -2590,7 +2596,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>An object that filters items in a list of component types.</p>"
"smithy.api#documentation": "<p>An object that filters items in a list of component types.</p>\n <note>\n <p>Only one object is accepted as a valid input.</p>\n </note>"
}
},
"com.amazonaws.iottwinmaker#ListComponentTypesFilters": {
Expand Down Expand Up @@ -2746,7 +2752,7 @@
"filters": {
"target": "com.amazonaws.iottwinmaker#ListEntitiesFilters",
"traits": {
"smithy.api#documentation": "<p>A list of objects that filter the request.</p>"
"smithy.api#documentation": "<p>A list of objects that filter the request.</p>\n <note>\n <p>Only one object is accepted as a valid input.</p>\n </note>"
}
},
"maxResults": {
Expand Down Expand Up @@ -3415,7 +3421,10 @@
}
},
"time": {
"target": "com.amazonaws.iottwinmaker#Time"
"target": "com.amazonaws.iottwinmaker#Time",
"traits": {
"smithy.api#documentation": "<p>ISO8601 DateTime of a value for a time series property.</p>\n <p>The time for when the property value was recorded in ISO 8601 format: <i>YYYY-MM-DDThh:mm:ss[.SSSSSSSSS][Z/±HH:mm]</i>.</p> \n <ul>\n <li>\n <p>\n <i>[YYYY]</i>: year</p>\n </li>\n <li>\n <p>\n <i>[MM]</i>: month</p>\n </li>\n <li>\n <p>\n <i>[DD]</i>: day</p>\n </li>\n <li>\n <p>\n <i>[hh]</i>: hour</p>\n </li>\n <li>\n <p>\n <i>[mm]</i>: minute</p>\n </li>\n <li>\n <p>\n <i>[ss]</i>: seconds</p>\n </li>\n <li>\n <p>\n <i>[.SSSSSSSSS]</i>: additional precision, where precedence is maintained. For\n example: [.573123] is equal to 573123000 nanoseconds.</p>\n </li>\n <li>\n <p>\n <i>Z</i>: default timezone UTC</p>\n </li>\n <li>\n <p>\n <i>± HH:mm</i>: time zone offset in Hours and Minutes.</p>\n </li>\n </ul>\n <p>\n <i>Required sub-fields</i>: YYYY-MM-DDThh:mm:ss and [Z/±HH:mm]</p>"
}
}
},
"traits": {
Expand All @@ -3440,7 +3449,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>An object that specifies information about time series property values.</p>"
"smithy.api#documentation": "<p>An object that specifies information about time series property values. This object is used and consumed by the <a href=\"https://docs.aws.amazon.com/iot-twinmaker/latest/apireference/API_BatchPutPropertyValues.html\">BatchPutPropertyValues</a> action.</p>"
}
},
"com.amazonaws.iottwinmaker#PropertyValueHistory": {
Expand Down

0 comments on commit 1103688

Please sign in to comment.