|
5 | 5 | "endpointPrefix":"iotsitewise",
|
6 | 6 | "jsonVersion":"1.1",
|
7 | 7 | "protocol":"rest-json",
|
| 8 | + "protocols":["rest-json"], |
8 | 9 | "serviceFullName":"AWS IoT SiteWise",
|
9 | 10 | "serviceId":"IoTSiteWise",
|
10 | 11 | "signatureVersion":"v4",
|
11 | 12 | "signingName":"iotsitewise",
|
12 |
| - "uid":"iotsitewise-2019-12-02" |
| 13 | + "uid":"iotsitewise-2019-12-02", |
| 14 | + "auth":["aws.auth#sigv4"] |
13 | 15 | },
|
14 | 16 | "operations":{
|
15 | 17 | "AssociateAssets":{
|
|
438 | 440 | "errors":[
|
439 | 441 | {"shape":"InvalidRequestException"},
|
440 | 442 | {"shape":"ResourceNotFoundException"},
|
| 443 | + {"shape":"ConflictingOperationException"}, |
441 | 444 | {"shape":"InternalFailureException"},
|
442 | 445 | {"shape":"ThrottlingException"}
|
443 | 446 | ],
|
|
1398 | 1401 | {"shape":"ThrottlingException"},
|
1399 | 1402 | {"shape":"ConflictingOperationException"}
|
1400 | 1403 | ],
|
1401 |
| - "documentation":"<p>Updates an asset model and all of the assets that were created from the model. Each asset created from the model inherits the updated asset model's property and hierarchy definitions. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/userguide/update-assets-and-models.html\">Updating assets and models</a> in the <i>IoT SiteWise User Guide</i>.</p> <important> <p>This operation overwrites the existing model with the provided model. To avoid deleting your asset model's properties or hierarchies, you must include their IDs and definitions in the updated asset model payload. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeAssetModel.html\">DescribeAssetModel</a>.</p> <p>If you remove a property from an asset model, IoT SiteWise deletes all previous data for that property. If you remove a hierarchy definition from an asset model, IoT SiteWise disassociates every asset associated with that hierarchy. You can't change the type or data type of an existing property.</p> </important>", |
| 1404 | + "documentation":"<p>Updates an asset model and all of the assets that were created from the model. Each asset created from the model inherits the updated asset model's property and hierarchy definitions. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/userguide/update-assets-and-models.html\">Updating assets and models</a> in the <i>IoT SiteWise User Guide</i>.</p> <important> <p>If you remove a property from an asset model, IoT SiteWise deletes all previous data for that property. You can’t change the type or data type of an existing property.</p> <p>To replace an existing asset model property with a new one with the same <code>name</code>, do the following:</p> <ol> <li> <p>Submit an <code>UpdateAssetModel</code> request with the entire existing property removed.</p> </li> <li> <p>Submit a second <code>UpdateAssetModel</code> request that includes the new property. The new asset property will have the same <code>name</code> as the previous one and IoT SiteWise will generate a new unique <code>id</code>.</p> </li> </ol> </important>", |
1402 | 1405 | "endpoint":{"hostPrefix":"api."}
|
1403 | 1406 | },
|
1404 | 1407 | "UpdateAssetModelCompositeModel":{
|
|
2017 | 2020 | "members":{
|
2018 | 2021 | "id":{
|
2019 | 2022 | "shape":"ID",
|
2020 |
| - "documentation":"<p>The ID of the the composite model that this summary describes..</p>" |
| 2023 | + "documentation":"<p>The ID of the composite model that this summary describes..</p>" |
2021 | 2024 | },
|
2022 | 2025 | "externalId":{
|
2023 | 2026 | "shape":"ExternalId",
|
2024 | 2027 | "documentation":"<p>The external ID of a composite model on this asset model. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids\">Using external IDs</a> in the <i>IoT SiteWise User Guide</i>.</p>"
|
2025 | 2028 | },
|
2026 | 2029 | "name":{
|
2027 | 2030 | "shape":"Name",
|
2028 |
| - "documentation":"<p>The name of the the composite model that this summary describes..</p>" |
| 2031 | + "documentation":"<p>The name of the composite model that this summary describes..</p>" |
2029 | 2032 | },
|
2030 | 2033 | "type":{
|
2031 | 2034 | "shape":"Name",
|
2032 |
| - "documentation":"<p>The type of asset model.</p> <ul> <li> <p> <b>ASSET_MODEL</b> – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.</p> </li> <li> <p> <b>COMPONENT_MODEL</b> – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model. </p> </li> </ul>" |
| 2035 | + "documentation":"<p>The composite model type. Valid values are <code>AWS/ALARM</code>, <code>CUSTOM</code>, or <code> AWS/L4E_ANOMALY</code>.</p>" |
2033 | 2036 | },
|
2034 | 2037 | "description":{
|
2035 | 2038 | "shape":"Description",
|
2036 |
| - "documentation":"<p>The description of the the composite model that this summary describes..</p>" |
| 2039 | + "documentation":"<p>The description of the composite model that this summary describes..</p>" |
2037 | 2040 | },
|
2038 | 2041 | "path":{
|
2039 | 2042 | "shape":"AssetModelCompositeModelPath",
|
|
3469 | 3472 | },
|
3470 | 3473 | "CapabilityConfiguration":{
|
3471 | 3474 | "type":"string",
|
3472 |
| - "max":104857600, |
| 3475 | + "max":10000000, |
3473 | 3476 | "min":1
|
3474 | 3477 | },
|
3475 | 3478 | "CapabilityNamespace":{
|
|
3484 | 3487 | "IN_SYNC",
|
3485 | 3488 | "OUT_OF_SYNC",
|
3486 | 3489 | "SYNC_FAILED",
|
3487 |
| - "UNKNOWN" |
| 3490 | + "UNKNOWN", |
| 3491 | + "NOT_APPLICABLE" |
3488 | 3492 | ]
|
3489 | 3493 | },
|
3490 | 3494 | "ClientToken":{
|
|
3690 | 3694 | "CoreDeviceThingName":{
|
3691 | 3695 | "type":"string",
|
3692 | 3696 | "max":128,
|
3693 |
| - "min":1 |
| 3697 | + "min":1, |
| 3698 | + "pattern":"^[a-zA-Z0-9:_-]+$" |
3694 | 3699 | },
|
3695 | 3700 | "CreateAccessPolicyRequest":{
|
3696 | 3701 | "type":"structure",
|
|
3772 | 3777 | },
|
3773 | 3778 | "assetModelCompositeModelName":{
|
3774 | 3779 | "shape":"Name",
|
3775 |
| - "documentation":"<p>A unique, friendly name for the composite model.</p>" |
| 3780 | + "documentation":"<p>A unique name for the composite model.</p>" |
3776 | 3781 | },
|
3777 | 3782 | "assetModelCompositeModelType":{
|
3778 | 3783 | "shape":"Name",
|
|
3785 | 3790 | },
|
3786 | 3791 | "composedAssetModelId":{
|
3787 | 3792 | "shape":"CustomID",
|
3788 |
| - "documentation":"<p>The ID of a composite model on this asset.</p>" |
| 3793 | + "documentation":"<p>The ID of a component model which is reused to create this composite model.</p>" |
3789 | 3794 | },
|
3790 | 3795 | "assetModelCompositeModelProperties":{
|
3791 | 3796 | "shape":"AssetModelPropertyDefinitions",
|
3792 |
| - "documentation":"<p>The property definitions of the composite model. For more information, see <LINK>.</p> <p>You can specify up to 200 properties per composite model. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html\">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p>" |
| 3797 | + "documentation":"<p>The property definitions of the composite model. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/userguide/custom-composite-models.html#inline-composite-models\"> Inline custom composite models</a> in the <i>IoT SiteWise User Guide</i>.</p> <p>You can specify up to 200 properties per composite model. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html\">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p>" |
3793 | 3798 | }
|
3794 | 3799 | }
|
3795 | 3800 | },
|
|
3818 | 3823 | "members":{
|
3819 | 3824 | "assetModelName":{
|
3820 | 3825 | "shape":"Name",
|
3821 |
| - "documentation":"<p>A unique, friendly name for the asset model.</p>" |
| 3826 | + "documentation":"<p>A unique name for the asset model.</p>" |
3822 | 3827 | },
|
3823 | 3828 | "assetModelDescription":{
|
3824 | 3829 | "shape":"Description",
|
|
3834 | 3839 | },
|
3835 | 3840 | "assetModelCompositeModels":{
|
3836 | 3841 | "shape":"AssetModelCompositeModelDefinitions",
|
3837 |
| - "documentation":"<p>The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model.</p> <note> <p>When creating custom composite models, you need to use <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModelCompositeModel.html\">CreateAssetModelCompositeModel</a>. For more information, see <LINK>.</p> </note>" |
| 3842 | + "documentation":"<p>The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model.</p> <note> <p>When creating custom composite models, you need to use <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModelCompositeModel.html\">CreateAssetModelCompositeModel</a>. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-custom-composite-models.html\">Creating custom composite models (Components)</a> in the <i>IoT SiteWise User Guide</i>.</p> </note>" |
3838 | 3843 | },
|
3839 | 3844 | "clientToken":{
|
3840 | 3845 | "shape":"ClientToken",
|
|
4063 | 4068 | ],
|
4064 | 4069 | "members":{
|
4065 | 4070 | "gatewayName":{
|
4066 |
| - "shape":"Name", |
4067 |
| - "documentation":"<p>A unique, friendly name for the gateway.</p>" |
| 4071 | + "shape":"GatewayName", |
| 4072 | + "documentation":"<p>A unique name for the gateway.</p>" |
4068 | 4073 | },
|
4069 | 4074 | "gatewayPlatform":{
|
4070 | 4075 | "shape":"GatewayPlatform",
|
|
5276 | 5281 | "documentation":"<p>The ID of the gateway device.</p>"
|
5277 | 5282 | },
|
5278 | 5283 | "gatewayName":{
|
5279 |
| - "shape":"Name", |
| 5284 | + "shape":"GatewayName", |
5280 | 5285 | "documentation":"<p>The name of the gateway.</p>"
|
5281 | 5286 | },
|
5282 | 5287 | "gatewayArn":{
|
|
5938 | 5943 | },
|
5939 | 5944 | "documentation":"<p>Contains a summary of a gateway capability configuration.</p>"
|
5940 | 5945 | },
|
| 5946 | + "GatewayName":{ |
| 5947 | + "type":"string", |
| 5948 | + "max":256, |
| 5949 | + "min":1, |
| 5950 | + "pattern":"[^\\u0000-\\u001F\\u007F]+" |
| 5951 | + }, |
5941 | 5952 | "GatewayPlatform":{
|
5942 | 5953 | "type":"structure",
|
5943 | 5954 | "members":{
|
|
5948 | 5959 | "greengrassV2":{
|
5949 | 5960 | "shape":"GreengrassV2",
|
5950 | 5961 | "documentation":"<p>A gateway that runs on IoT Greengrass V2.</p>"
|
| 5962 | + }, |
| 5963 | + "siemensIE":{ |
| 5964 | + "shape":"SiemensIE", |
| 5965 | + "documentation":"<p>A SiteWise Edge gateway that runs on a Siemens Industrial Edge Device.</p>" |
5951 | 5966 | }
|
5952 | 5967 | },
|
5953 | 5968 | "documentation":"<p>Contains a gateway's platform information.</p>"
|
|
5970 | 5985 | "documentation":"<p>The ID of the gateway device.</p>"
|
5971 | 5986 | },
|
5972 | 5987 | "gatewayName":{
|
5973 |
| - "shape":"Name", |
5974 |
| - "documentation":"<p>The name of the asset.</p>" |
| 5988 | + "shape":"GatewayName", |
| 5989 | + "documentation":"<p>The name of the gateway.</p>" |
5975 | 5990 | },
|
5976 | 5991 | "gatewayPlatform":{"shape":"GatewayPlatform"},
|
5977 | 5992 | "gatewayCapabilitySummaries":{
|
|
6303 | 6318 | "members":{
|
6304 | 6319 | "groupArn":{
|
6305 | 6320 | "shape":"ARN",
|
6306 |
| - "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the Greengrass group. For more information about how to find a group's ARN, see <a href=\"https://docs.aws.amazon.com/greengrass/latest/apireference/listgroups-get.html\">ListGroups</a> and <a href=\"https://docs.aws.amazon.com/greengrass/latest/apireference/getgroup-get.html\">GetGroup</a> in the <i>IoT Greengrass API Reference</i>.</p>" |
| 6321 | + "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the Greengrass group. For more information about how to find a group's ARN, see <a href=\"https://docs.aws.amazon.com/greengrass/v1/apireference/listgroups-get.html\">ListGroups</a> and <a href=\"https://docs.aws.amazon.com/greengrass/v1/apireference/getgroup-get.html\">GetGroup</a> in the <i>IoT Greengrass V1 API Reference</i>.</p>" |
6307 | 6322 | }
|
6308 | 6323 | },
|
6309 | 6324 | "documentation":"<p>Contains details for a gateway that runs on IoT Greengrass. To create a gateway that runs on IoT Greengrass, you must add the IoT SiteWise connector to a Greengrass group and deploy it. Your Greengrass group must also have permissions to upload data to IoT SiteWise. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/userguide/gateway-connector.html\">Ingesting data using a gateway</a> in the <i>IoT SiteWise User Guide</i>.</p>"
|
|
6513 | 6528 | "error":{"httpStatusCode":400},
|
6514 | 6529 | "exception":true
|
6515 | 6530 | },
|
| 6531 | + "IotCoreThingName":{ |
| 6532 | + "type":"string", |
| 6533 | + "max":128, |
| 6534 | + "min":1, |
| 6535 | + "pattern":"^[a-zA-Z0-9:_-]+$" |
| 6536 | + }, |
6516 | 6537 | "JobConfiguration":{
|
6517 | 6538 | "type":"structure",
|
6518 | 6539 | "required":["fileFormat"],
|
|
8075 | 8096 | "exception":true,
|
8076 | 8097 | "fault":true
|
8077 | 8098 | },
|
| 8099 | + "SiemensIE":{ |
| 8100 | + "type":"structure", |
| 8101 | + "required":["iotCoreThingName"], |
| 8102 | + "members":{ |
| 8103 | + "iotCoreThingName":{ |
| 8104 | + "shape":"IotCoreThingName", |
| 8105 | + "documentation":"<p>The name of the IoT Thing for your SiteWise Edge gateway.</p>" |
| 8106 | + } |
| 8107 | + }, |
| 8108 | + "documentation":"<p>Contains details for a SiteWise Edge gateway that runs on a Siemens Industrial Edge Device.</p>" |
| 8109 | + }, |
8078 | 8110 | "StorageType":{
|
8079 | 8111 | "type":"string",
|
8080 | 8112 | "enum":[
|
|
8424 | 8456 | },
|
8425 | 8457 | "assetModelCompositeModelName":{
|
8426 | 8458 | "shape":"Name",
|
8427 |
| - "documentation":"<p>A unique, friendly name for the composite model.</p>" |
| 8459 | + "documentation":"<p>A unique name for the composite model.</p>" |
8428 | 8460 | },
|
8429 | 8461 | "clientToken":{
|
8430 | 8462 | "shape":"ClientToken",
|
|
8433 | 8465 | },
|
8434 | 8466 | "assetModelCompositeModelProperties":{
|
8435 | 8467 | "shape":"AssetModelProperties",
|
8436 |
| - "documentation":"<p>The property definitions of the composite model. For more information, see <LINK>.</p> <p>You can specify up to 200 properties per composite model. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html\">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p>" |
| 8468 | + "documentation":"<p>The property definitions of the composite model. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/userguide/custom-composite-models.html#inline-composite-models\"> Inline custom composite models</a> in the <i>IoT SiteWise User Guide</i>.</p> <p>You can specify up to 200 properties per composite model. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html\">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p>" |
8437 | 8469 | }
|
8438 | 8470 | }
|
8439 | 8471 | },
|
|
8466 | 8498 | },
|
8467 | 8499 | "assetModelName":{
|
8468 | 8500 | "shape":"Name",
|
8469 |
| - "documentation":"<p>A unique, friendly name for the asset model.</p>" |
| 8501 | + "documentation":"<p>A unique name for the asset model.</p>" |
8470 | 8502 | },
|
8471 | 8503 | "assetModelDescription":{
|
8472 | 8504 | "shape":"Description",
|
|
8482 | 8514 | },
|
8483 | 8515 | "assetModelCompositeModels":{
|
8484 | 8516 | "shape":"AssetModelCompositeModels",
|
8485 |
| - "documentation":"<p>The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model.</p> <note> <p>When creating custom composite models, you need to use <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModelCompositeModel.html\">CreateAssetModelCompositeModel</a>. For more information, see <LINK>.</p> </note>" |
| 8517 | + "documentation":"<p>The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model.</p> <note> <p>When creating custom composite models, you need to use <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModelCompositeModel.html\">CreateAssetModelCompositeModel</a>. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-custom-composite-models.html\">Creating custom composite models (Components)</a> in the <i>IoT SiteWise User Guide</i>.</p> </note>" |
8486 | 8518 | },
|
8487 | 8519 | "clientToken":{
|
8488 | 8520 | "shape":"ClientToken",
|
|
8678 | 8710 | "locationName":"gatewayId"
|
8679 | 8711 | },
|
8680 | 8712 | "gatewayName":{
|
8681 |
| - "shape":"Name", |
8682 |
| - "documentation":"<p>A unique, friendly name for the gateway.</p>" |
| 8713 | + "shape":"GatewayName", |
| 8714 | + "documentation":"<p>A unique name for the gateway.</p>" |
8683 | 8715 | }
|
8684 | 8716 | }
|
8685 | 8717 | },
|
|
8832 | 8864 | },
|
8833 | 8865 | "integerValue":{
|
8834 | 8866 | "shape":"PropertyValueIntegerValue",
|
8835 |
| - "documentation":"<p>Asset property data of type integer (number that's greater than or equal to zero).</p>" |
| 8867 | + "documentation":"<p>Asset property data of type integer (whole number).</p>" |
8836 | 8868 | },
|
8837 | 8869 | "doubleValue":{
|
8838 | 8870 | "shape":"PropertyValueDoubleValue",
|
|
0 commit comments