|
722 | 722 | "attributes": {
|
723 | 723 | "target": "com.amazonaws.greengrassv2#PlatformAttributesMap",
|
724 | 724 | "traits": {
|
725 |
| - "smithy.api#documentation": "<p>A dictionary of attributes for the platform. The IoT Greengrass Core software defines the\n <code>os</code> and <code>platform</code> by default. You can specify additional platform\n attributes for a core device when you deploy the Greengrass nucleus component. For more information,\n see the <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html\">Greengrass nucleus\n component</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>" |
| 725 | + "smithy.api#documentation": "<p>A dictionary of attributes for the platform. The IoT Greengrass Core software defines the\n <code>os</code> and <code>architecture</code> by default. You can specify additional\n platform attributes for a core device when you deploy the Greengrass nucleus component. For more\n information, see the <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html\">Greengrass nucleus\n component</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>" |
726 | 726 | }
|
727 | 727 | }
|
728 | 728 | },
|
|
1133 | 1133 | }
|
1134 | 1134 | },
|
1135 | 1135 | "deploymentName": {
|
1136 |
| - "target": "com.amazonaws.greengrassv2#NonEmptyString", |
| 1136 | + "target": "com.amazonaws.greengrassv2#DeploymentNameString", |
1137 | 1137 | "traits": {
|
1138 | 1138 | "smithy.api#documentation": "<p>The name of the deployment.</p>"
|
1139 | 1139 | }
|
|
1522 | 1522 | "com.amazonaws.greengrassv2#DeploymentName": {
|
1523 | 1523 | "type": "string"
|
1524 | 1524 | },
|
| 1525 | + "com.amazonaws.greengrassv2#DeploymentNameString": { |
| 1526 | + "type": "string", |
| 1527 | + "traits": { |
| 1528 | + "smithy.api#length": { |
| 1529 | + "min": 1, |
| 1530 | + "max": 256 |
| 1531 | + } |
| 1532 | + } |
| 1533 | + }, |
1525 | 1534 | "com.amazonaws.greengrassv2#DeploymentPolicies": {
|
1526 | 1535 | "type": "structure",
|
1527 | 1536 | "members": {
|
|
1955 | 1964 | }
|
1956 | 1965 | ],
|
1957 | 1966 | "traits": {
|
1958 |
| - "smithy.api#documentation": "<p>Gets the recipe for a version of a component. Core devices can call this operation to\n identify the artifacts and requirements to install a component.</p>", |
| 1967 | + "smithy.api#documentation": "<p>Gets the recipe for a version of a component.</p>", |
1959 | 1968 | "smithy.api#http": {
|
1960 | 1969 | "method": "GET",
|
1961 | 1970 | "uri": "/greengrass/v2/components/{arn}",
|
|
2158 | 2167 | }
|
2159 | 2168 | ],
|
2160 | 2169 | "traits": {
|
2161 |
| - "smithy.api#documentation": "<p>Retrieves metadata for a Greengrass core device.</p>\n <note>\n <p>IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core\n software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then\n the reported status of that device might not reflect its current status. The status timestamp\n indicates when the device status was last updated.</p>\n <p>Core devices send status updates at the following times:</p>\n <ul>\n <li>\n <p>When the IoT Greengrass Core software starts</p>\n </li>\n <li>\n <p>When the core device receives a deployment from the Amazon Web Services Cloud</p>\n </li>\n <li>\n <p>When the status of any component on the core device becomes <code>BROKEN</code>\n </p>\n </li>\n <li>\n <p>At a <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss\">regular interval\n that you can configure</a>, which defaults to 24 hours</p>\n </li>\n </ul>\n </note>", |
| 2170 | + "smithy.api#documentation": "<p>Retrieves metadata for a Greengrass core device.</p>\n <note>\n <p>IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core\n software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then\n the reported status of that device might not reflect its current status. The status timestamp\n indicates when the device status was last updated.</p>\n <p>Core devices send status updates at the following times:</p>\n <ul>\n <li>\n <p>When the IoT Greengrass Core software starts</p>\n </li>\n <li>\n <p>When the core device receives a deployment from the Amazon Web Services Cloud</p>\n </li>\n <li>\n <p>When the status of any component on the core device becomes <code>BROKEN</code>\n </p>\n </li>\n <li>\n <p>At a <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss\">regular interval\n that you can configure</a>, which defaults to 24 hours</p>\n </li>\n <li>\n <p>For IoT Greengrass Core v2.7.0, the core device sends status updates upon local deployment and\n cloud deployment</p>\n </li>\n </ul>\n </note>", |
2162 | 2171 | "smithy.api#http": {
|
2163 | 2172 | "method": "GET",
|
2164 | 2173 | "uri": "/greengrass/v2/coreDevices/{coreDeviceThingName}",
|
|
2541 | 2550 | "traits": {
|
2542 | 2551 | "smithy.api#documentation": "<p>Whether or not the component is a root component.</p>"
|
2543 | 2552 | }
|
| 2553 | + }, |
| 2554 | + "lastStatusChangeTimestamp": { |
| 2555 | + "target": "com.amazonaws.greengrassv2#Timestamp", |
| 2556 | + "traits": { |
| 2557 | + "smithy.api#documentation": "<p>The status of how current the data is.</p>\n <p>This response is based off of component state changes. The status reflects component\n disruptions and deployments. If a component only sees a configuration update during a\n deployment, it might not undergo a state change and this status would not be updated.</p>" |
| 2558 | + } |
2544 | 2559 | }
|
2545 | 2560 | },
|
2546 | 2561 | "traits": {
|
|
2592 | 2607 | "target": "com.amazonaws.greengrassv2#InstalledComponent"
|
2593 | 2608 | }
|
2594 | 2609 | },
|
| 2610 | + "com.amazonaws.greengrassv2#InstalledComponentTopologyFilter": { |
| 2611 | + "type": "string", |
| 2612 | + "traits": { |
| 2613 | + "smithy.api#enum": [ |
| 2614 | + { |
| 2615 | + "value": "ALL", |
| 2616 | + "name": "ALL" |
| 2617 | + }, |
| 2618 | + { |
| 2619 | + "value": "ROOT", |
| 2620 | + "name": "ROOT" |
| 2621 | + } |
| 2622 | + ] |
| 2623 | + } |
| 2624 | + }, |
2595 | 2625 | "com.amazonaws.greengrassv2#InternalServerException": {
|
2596 | 2626 | "type": "structure",
|
2597 | 2627 | "members": {
|
|
3106 | 3136 | ]
|
3107 | 3137 | }
|
3108 | 3138 | },
|
3109 |
| - "com.amazonaws.greengrassv2#LambdaFunctionARNWithVersionNumber": { |
3110 |
| - "type": "string", |
3111 |
| - "traits": { |
3112 |
| - "smithy.api#pattern": "^arn:[^:]*:lambda:[^:]+:[0-9]+:function:[a-zA-Z0-9-_]+:[0-9]+$" |
3113 |
| - } |
3114 |
| - }, |
3115 | 3139 | "com.amazonaws.greengrassv2#LambdaFunctionRecipeSource": {
|
3116 | 3140 | "type": "structure",
|
3117 | 3141 | "members": {
|
3118 | 3142 | "lambdaArn": {
|
3119 |
| - "target": "com.amazonaws.greengrassv2#LambdaFunctionARNWithVersionNumber", |
| 3143 | + "target": "com.amazonaws.greengrassv2#NonEmptyString", |
3120 | 3144 | "traits": {
|
3121 | 3145 | "smithy.api#documentation": "<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the Lambda function. The ARN must include the version of the function to\n import. You can't use version aliases like <code>$LATEST</code>.</p>",
|
3122 | 3146 | "smithy.api#required": {}
|
|
3534 | 3558 | }
|
3535 | 3559 | ],
|
3536 | 3560 | "traits": {
|
3537 |
| - "smithy.api#documentation": "<p>Retrieves a paginated list of Greengrass core devices.</p>\n <note>\n <p>IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core\n software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then\n the reported status of that device might not reflect its current status. The status timestamp\n indicates when the device status was last updated.</p>\n <p>Core devices send status updates at the following times:</p>\n <ul>\n <li>\n <p>When the IoT Greengrass Core software starts</p>\n </li>\n <li>\n <p>When the core device receives a deployment from the Amazon Web Services Cloud</p>\n </li>\n <li>\n <p>When the status of any component on the core device becomes <code>BROKEN</code>\n </p>\n </li>\n <li>\n <p>At a <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss\">regular interval\n that you can configure</a>, which defaults to 24 hours</p>\n </li>\n </ul>\n </note>", |
| 3561 | + "smithy.api#documentation": "<p>Retrieves a paginated list of Greengrass core devices.</p>\n <note>\n <p>IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core\n software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then\n the reported status of that device might not reflect its current status. The status timestamp\n indicates when the device status was last updated.</p>\n <p>Core devices send status updates at the following times:</p>\n <ul>\n <li>\n <p>When the IoT Greengrass Core software starts</p>\n </li>\n <li>\n <p>When the core device receives a deployment from the Amazon Web Services Cloud</p>\n </li>\n <li>\n <p>When the status of any component on the core device becomes <code>BROKEN</code>\n </p>\n </li>\n <li>\n <p>At a <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss\">regular interval\n that you can configure</a>, which defaults to 24 hours</p>\n </li>\n <li>\n <p>For IoT Greengrass Core v2.7.0, the core device sends status updates upon local deployment and\n cloud deployment</p>\n </li>\n </ul>\n </note>", |
3538 | 3562 | "smithy.api#http": {
|
3539 | 3563 | "method": "GET",
|
3540 | 3564 | "uri": "/greengrass/v2/coreDevices",
|
|
3798 | 3822 | }
|
3799 | 3823 | ],
|
3800 | 3824 | "traits": {
|
3801 |
| - "smithy.api#documentation": "<p>Retrieves a paginated list of the components that a Greengrass core device runs.\n This list doesn't include components that are deployed from local deployments or\n components that are deployed as dependencies of other components.</p>\n <note>\n <p>IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core\n software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then\n the reported status of that device might not reflect its current status. The status timestamp\n indicates when the device status was last updated.</p>\n <p>Core devices send status updates at the following times:</p>\n <ul>\n <li>\n <p>When the IoT Greengrass Core software starts</p>\n </li>\n <li>\n <p>When the core device receives a deployment from the Amazon Web Services Cloud</p>\n </li>\n <li>\n <p>When the status of any component on the core device becomes <code>BROKEN</code>\n </p>\n </li>\n <li>\n <p>At a <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss\">regular interval\n that you can configure</a>, which defaults to 24 hours</p>\n </li>\n </ul>\n </note>", |
| 3825 | + "smithy.api#documentation": "<p>Retrieves a paginated list of the components that a Greengrass core device runs. By default,\n this list doesn't include components that are deployed as dependencies of other components. To\n include dependencies in the response, set the <code>topologyFilter</code> parameter to\n <code>ALL</code>.</p>\n <note>\n <p>IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core\n software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then\n the reported status of that device might not reflect its current status. The status timestamp\n indicates when the device status was last updated.</p>\n <p>Core devices send status updates at the following times:</p>\n <ul>\n <li>\n <p>When the IoT Greengrass Core software starts</p>\n </li>\n <li>\n <p>When the core device receives a deployment from the Amazon Web Services Cloud</p>\n </li>\n <li>\n <p>When the status of any component on the core device becomes <code>BROKEN</code>\n </p>\n </li>\n <li>\n <p>At a <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss\">regular interval that you can configure</a>, which defaults to 24 hours</p>\n </li>\n <li>\n <p>For IoT Greengrass Core v2.7.0, the core device sends status updates upon local deployment and\n cloud deployment</p>\n </li>\n </ul>\n </note>", |
3802 | 3826 | "smithy.api#http": {
|
3803 | 3827 | "method": "GET",
|
3804 | 3828 | "uri": "/greengrass/v2/coreDevices/{coreDeviceThingName}/installedComponents",
|
|
3837 | 3861 | "smithy.api#documentation": "<p>The token to be used for the next set of paginated results.</p>",
|
3838 | 3862 | "smithy.api#httpQuery": "nextToken"
|
3839 | 3863 | }
|
| 3864 | + }, |
| 3865 | + "topologyFilter": { |
| 3866 | + "target": "com.amazonaws.greengrassv2#InstalledComponentTopologyFilter", |
| 3867 | + "traits": { |
| 3868 | + "smithy.api#documentation": "<p>The filter for the list of components. Choose from the following options:</p>\n <ul>\n <li>\n <p>\n <code>ALL</code> – The list includes all components installed on the core\n device.</p>\n </li>\n <li>\n <p>\n <code>ROOT</code> – The list includes only <i>root</i>\n components, which are components that you specify in a deployment. When you choose this\n option, the list doesn't include components that the core device installs as dependencies\n of other components.</p>\n </li>\n </ul>\n <p>Default: <code>ROOT</code>\n </p>", |
| 3869 | + "smithy.api#httpQuery": "topologyFilter" |
| 3870 | + } |
3840 | 3871 | }
|
3841 | 3872 | }
|
3842 | 3873 | },
|
|
3846 | 3877 | "installedComponents": {
|
3847 | 3878 | "target": "com.amazonaws.greengrassv2#InstalledComponentList",
|
3848 | 3879 | "traits": {
|
3849 |
| - "smithy.api#documentation": "<p>A list that summarizes each component on the core device.</p>" |
| 3880 | + "smithy.api#documentation": "<p>A list that summarizes each component on the core device.</p>\n <note>\n <p>Accuracy of the <code>lastStatusChangeTimestamp</code> response depends on Greengrass nucleus\n v2.7.0. It performs best on Greengrass nucleus v2.7.0 and can be inaccurate on earlier\n versions.</p>\n </note>" |
3850 | 3881 | }
|
3851 | 3882 | },
|
3852 | 3883 | "nextToken": {
|
|
0 commit comments