8069 lines
339 KiB
JSON
8069 lines
339 KiB
JSON
{
|
|
"smithy": "1.0",
|
|
"metadata": {
|
|
"suppressions": [
|
|
{
|
|
"id": "HttpMethodSemantics",
|
|
"namespace": "*"
|
|
},
|
|
{
|
|
"id": "HttpResponseCodeSemantics",
|
|
"namespace": "*"
|
|
},
|
|
{
|
|
"id": "PaginatedTrait",
|
|
"namespace": "*"
|
|
},
|
|
{
|
|
"id": "HttpHeaderTrait",
|
|
"namespace": "*"
|
|
},
|
|
{
|
|
"id": "HttpUriConflict",
|
|
"namespace": "*"
|
|
},
|
|
{
|
|
"id": "Service",
|
|
"namespace": "*"
|
|
}
|
|
]
|
|
},
|
|
"shapes": {
|
|
"com.amazonaws.greengrass#AssociateRoleToGroup": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#AssociateRoleToGroupRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#AssociateRoleToGroupResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Associates a role with a group. Your Greengrass core will use the role to access AWS cloud services. The role's permissions should allow Greengrass core Lambda functions to perform actions against the cloud.",
|
|
"smithy.api#http": {
|
|
"method": "PUT",
|
|
"uri": "/greengrass/groups/{GroupId}/role",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#AssociateRoleToGroupRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"RoleArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the role you wish to associate with this group. The existence of the role is not validated.",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#AssociateRoleToGroupResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AssociatedAt": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the role ARN was associated with the group."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#AssociateServiceRoleToAccount": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#AssociateServiceRoleToAccountRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#AssociateServiceRoleToAccountResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Associates a role with your account. AWS IoT Greengrass will use the role to access your Lambda functions and AWS IoT resources. This is necessary for deployments to succeed. The role must have at least minimum permissions in the policy ''AWSGreengrassResourceAccessRolePolicy''.",
|
|
"smithy.api#http": {
|
|
"method": "PUT",
|
|
"uri": "/greengrass/servicerole",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#AssociateServiceRoleToAccountRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"RoleArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the service role you wish to associate with your account.",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#AssociateServiceRoleToAccountResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AssociatedAt": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time when the service role was associated with the account."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#BadRequestException": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ErrorDetails": {
|
|
"target": "com.amazonaws.greengrass#ErrorDetails",
|
|
"traits": {
|
|
"smithy.api#documentation": "Details about the error."
|
|
}
|
|
},
|
|
"Message": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A message containing information about the error."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "General error information.",
|
|
"smithy.api#error": "client",
|
|
"smithy.api#httpError": 400
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#BulkDeployment": {
|
|
"type": "structure",
|
|
"members": {
|
|
"BulkDeploymentArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the bulk deployment."
|
|
}
|
|
},
|
|
"BulkDeploymentId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the bulk deployment."
|
|
}
|
|
},
|
|
"CreatedAt": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in ISO format, when the deployment was created."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a bulk deployment. You cannot start a new bulk deployment while another one is still running or in a non-terminal state."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#BulkDeploymentMetrics": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InvalidInputRecords": {
|
|
"target": "com.amazonaws.greengrass#__integer",
|
|
"traits": {
|
|
"smithy.api#documentation": "The total number of records that returned a non-retryable error. For example, this can occur if a group record from the input file uses an invalid format or specifies a nonexistent group version, or if the execution role doesn't grant permission to deploy a group or group version."
|
|
}
|
|
},
|
|
"RecordsProcessed": {
|
|
"target": "com.amazonaws.greengrass#__integer",
|
|
"traits": {
|
|
"smithy.api#documentation": "The total number of group records from the input file that have been processed so far, or attempted."
|
|
}
|
|
},
|
|
"RetryAttempts": {
|
|
"target": "com.amazonaws.greengrass#__integer",
|
|
"traits": {
|
|
"smithy.api#documentation": "The total number of deployment attempts that returned a retryable error. For example, a retry is triggered if the attempt to deploy a group returns a throttling error. ''StartBulkDeployment'' retries a group deployment up to five times."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Relevant metrics on input records processed during bulk deployment."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#BulkDeploymentResult": {
|
|
"type": "structure",
|
|
"members": {
|
|
"CreatedAt": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in ISO format, when the deployment was created."
|
|
}
|
|
},
|
|
"DeploymentArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the group deployment."
|
|
}
|
|
},
|
|
"DeploymentId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the group deployment."
|
|
}
|
|
},
|
|
"DeploymentStatus": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The current status of the group deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''."
|
|
}
|
|
},
|
|
"DeploymentType": {
|
|
"target": "com.amazonaws.greengrass#DeploymentType",
|
|
"traits": {
|
|
"smithy.api#documentation": "The type of the deployment."
|
|
}
|
|
},
|
|
"ErrorDetails": {
|
|
"target": "com.amazonaws.greengrass#ErrorDetails",
|
|
"traits": {
|
|
"smithy.api#documentation": "Details about the error."
|
|
}
|
|
},
|
|
"ErrorMessage": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The error message for a failed deployment"
|
|
}
|
|
},
|
|
"GroupArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the Greengrass group."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about an individual group deployment in a bulk deployment operation."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#BulkDeploymentResults": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#BulkDeploymentResult"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#BulkDeploymentStatus": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The current status of the bulk deployment.",
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "Initializing",
|
|
"name": "Initializing"
|
|
},
|
|
{
|
|
"value": "Running",
|
|
"name": "Running"
|
|
},
|
|
{
|
|
"value": "Completed",
|
|
"name": "Completed"
|
|
},
|
|
{
|
|
"value": "Stopping",
|
|
"name": "Stopping"
|
|
},
|
|
{
|
|
"value": "Stopped",
|
|
"name": "Stopped"
|
|
},
|
|
{
|
|
"value": "Failed",
|
|
"name": "Failed"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#BulkDeployments": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#BulkDeployment"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ConfigurationSyncStatus": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "InSync",
|
|
"name": "InSync"
|
|
},
|
|
{
|
|
"value": "OutOfSync",
|
|
"name": "OutOfSync"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ConnectivityInfo": {
|
|
"type": "structure",
|
|
"members": {
|
|
"HostAddress": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The endpoint for the Greengrass core. Can be an IP address or DNS."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the connectivity information."
|
|
}
|
|
},
|
|
"Metadata": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "Metadata for this endpoint."
|
|
}
|
|
},
|
|
"PortNumber": {
|
|
"target": "com.amazonaws.greengrass#__integer",
|
|
"traits": {
|
|
"smithy.api#documentation": "The port of the Greengrass core. Usually 8883."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a Greengrass core's connectivity."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#Connector": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ConnectorArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the connector.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A descriptive or arbitrary ID for the connector. This value must be unique within the connector definition version. Max length is 128 characters with pattern [a-zA-Z0-9:_-]+.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Parameters": {
|
|
"target": "com.amazonaws.greengrass#__mapOf__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The parameters or configuration that the connector uses."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a connector. Connectors run on the Greengrass core and contain built-in integration with local infrastructure, device protocols, AWS, and other cloud services."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ConnectorDefinitionVersion": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Connectors": {
|
|
"target": "com.amazonaws.greengrass#__listOfConnector",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of references to connectors in this version, with their corresponding configuration settings."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the connector definition version, which is a container for connectors."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#Core": {
|
|
"type": "structure",
|
|
"members": {
|
|
"CertificateArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the certificate associated with the core.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A descriptive or arbitrary ID for the core. This value must be unique within the core definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"SyncShadow": {
|
|
"target": "com.amazonaws.greengrass#__boolean",
|
|
"traits": {
|
|
"smithy.api#documentation": "If true, the core's local shadow is automatically synced with the cloud."
|
|
}
|
|
},
|
|
"ThingArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the thing which is the core.",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a core."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CoreDefinitionVersion": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Cores": {
|
|
"target": "com.amazonaws.greengrass#__listOfCore",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of cores in the core definition version."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a core definition version."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateConnectorDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateConnectorDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateConnectorDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a connector definition. You may provide the initial version of the connector definition now or use ''CreateConnectorDefinitionVersion'' at a later time.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/definition/connectors",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateConnectorDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"InitialVersion": {
|
|
"target": "com.amazonaws.greengrass#ConnectorDefinitionVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the initial version of the connector definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the connector definition."
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) to add to the new resource."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateConnectorDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateConnectorDefinitionVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateConnectorDefinitionVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateConnectorDefinitionVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a version of a connector definition which has already been defined.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateConnectorDefinitionVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"ConnectorDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the connector definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Connectors": {
|
|
"target": "com.amazonaws.greengrass#__listOfConnector",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of references to connectors in this version, with their corresponding configuration settings."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateConnectorDefinitionVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the version was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the parent definition that the version is associated with."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateCoreDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateCoreDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateCoreDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a core definition. You may provide the initial version of the core definition now or use ''CreateCoreDefinitionVersion'' at a later time. Greengrass groups must each contain exactly one Greengrass core.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/definition/cores",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateCoreDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"InitialVersion": {
|
|
"target": "com.amazonaws.greengrass#CoreDefinitionVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the initial version of the core definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the core definition."
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) to add to the new resource."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information needed to create a core definition."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateCoreDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateCoreDefinitionVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateCoreDefinitionVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateCoreDefinitionVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a version of a core definition that has already been defined. Greengrass groups must each contain exactly one Greengrass core.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/definition/cores/{CoreDefinitionId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateCoreDefinitionVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"CoreDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the core definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Cores": {
|
|
"target": "com.amazonaws.greengrass#__listOfCore",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of cores in the core definition version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateCoreDefinitionVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the version was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the parent definition that the version is associated with."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateDeployment": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateDeploymentRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateDeploymentResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a deployment. ''CreateDeployment'' requests are idempotent with respect to the ''X-Amzn-Client-Token'' token and the request parameters.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/groups/{GroupId}/deployments",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateDeploymentRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"DeploymentId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the deployment if you wish to redeploy a previous deployment."
|
|
}
|
|
},
|
|
"DeploymentType": {
|
|
"target": "com.amazonaws.greengrass#DeploymentType",
|
|
"traits": {
|
|
"smithy.api#documentation": "The type of deployment. When used for ''CreateDeployment'', only ''NewDeployment'' and ''Redeployment'' are valid.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"GroupVersionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the group version to be deployed."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateDeploymentResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DeploymentArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the deployment."
|
|
}
|
|
},
|
|
"DeploymentId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the deployment."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateDeviceDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateDeviceDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateDeviceDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a device definition. You may provide the initial version of the device definition now or use ''CreateDeviceDefinitionVersion'' at a later time.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/definition/devices",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateDeviceDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"InitialVersion": {
|
|
"target": "com.amazonaws.greengrass#DeviceDefinitionVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the initial version of the device definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the device definition."
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) to add to the new resource."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateDeviceDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateDeviceDefinitionVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateDeviceDefinitionVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateDeviceDefinitionVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a version of a device definition that has already been defined.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/definition/devices/{DeviceDefinitionId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateDeviceDefinitionVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"DeviceDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the device definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Devices": {
|
|
"target": "com.amazonaws.greengrass#__listOfDevice",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of devices in the definition version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateDeviceDefinitionVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the version was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the parent definition that the version is associated with."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateFunctionDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateFunctionDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateFunctionDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group. You can create an initial version of the definition by providing a list of Lambda functions and their configurations now, or use ''CreateFunctionDefinitionVersion'' later.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/definition/functions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateFunctionDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"InitialVersion": {
|
|
"target": "com.amazonaws.greengrass#FunctionDefinitionVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the initial version of the function definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the function definition."
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) to add to the new resource."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateFunctionDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateFunctionDefinitionVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateFunctionDefinitionVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateFunctionDefinitionVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a version of a Lambda function definition that has already been defined.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/definition/functions/{FunctionDefinitionId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateFunctionDefinitionVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"DefaultConfig": {
|
|
"target": "com.amazonaws.greengrass#FunctionDefaultConfig",
|
|
"traits": {
|
|
"smithy.api#documentation": "The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings."
|
|
}
|
|
},
|
|
"FunctionDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Lambda function definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Functions": {
|
|
"target": "com.amazonaws.greengrass#__listOfFunction",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of Lambda functions in this function definition version."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information needed to create a function definition version."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateFunctionDefinitionVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the version was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the parent definition that the version is associated with."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateGroup": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateGroupRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateGroupResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a group. You may provide the initial version of the group or use ''CreateGroupVersion'' at a later time. Tip: You can use the ''gg_group_setup'' package (https://github.com/awslabs/aws-greengrass-group-setup) as a library or command-line application to create and deploy Greengrass groups.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/groups",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateGroupCertificateAuthority": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateGroupCertificateAuthorityRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateGroupCertificateAuthorityResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a CA for the group. If a CA already exists, it will rotate the existing CA.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/groups/{GroupId}/certificateauthorities",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateGroupCertificateAuthorityRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateGroupCertificateAuthorityResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupCertificateAuthorityArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the group certificate authority."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateGroupRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"InitialVersion": {
|
|
"target": "com.amazonaws.greengrass#GroupVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the initial version of the group."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the group.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) to add to the new resource."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateGroupResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateGroupVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateGroupVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateGroupVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a version of a group which has already been defined.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/groups/{GroupId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateGroupVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"ConnectorDefinitionVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the connector definition version for this group."
|
|
}
|
|
},
|
|
"CoreDefinitionVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the core definition version for this group."
|
|
}
|
|
},
|
|
"DeviceDefinitionVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the device definition version for this group."
|
|
}
|
|
},
|
|
"FunctionDefinitionVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the function definition version for this group."
|
|
}
|
|
},
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LoggerDefinitionVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the logger definition version for this group."
|
|
}
|
|
},
|
|
"ResourceDefinitionVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the resource definition version for this group."
|
|
}
|
|
},
|
|
"SubscriptionDefinitionVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the subscription definition version for this group."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateGroupVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the version was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the parent definition that the version is associated with."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateLoggerDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateLoggerDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateLoggerDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a logger definition. You may provide the initial version of the logger definition now or use ''CreateLoggerDefinitionVersion'' at a later time.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/definition/loggers",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateLoggerDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"InitialVersion": {
|
|
"target": "com.amazonaws.greengrass#LoggerDefinitionVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the initial version of the logger definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the logger definition."
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) to add to the new resource."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateLoggerDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateLoggerDefinitionVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateLoggerDefinitionVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateLoggerDefinitionVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a version of a logger definition that has already been defined.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/definition/loggers/{LoggerDefinitionId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateLoggerDefinitionVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"LoggerDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the logger definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Loggers": {
|
|
"target": "com.amazonaws.greengrass#__listOfLogger",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of loggers."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateLoggerDefinitionVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the version was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the parent definition that the version is associated with."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateResourceDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateResourceDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateResourceDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a resource definition which contains a list of resources to be used in a group. You can create an initial version of the definition by providing a list of resources now, or use ''CreateResourceDefinitionVersion'' later.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/definition/resources",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateResourceDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"InitialVersion": {
|
|
"target": "com.amazonaws.greengrass#ResourceDefinitionVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the initial version of the resource definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the resource definition."
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) to add to the new resource."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateResourceDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateResourceDefinitionVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateResourceDefinitionVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateResourceDefinitionVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a version of a resource definition that has already been defined.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/definition/resources/{ResourceDefinitionId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateResourceDefinitionVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"ResourceDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the resource definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Resources": {
|
|
"target": "com.amazonaws.greengrass#__listOfResource",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of resources."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateResourceDefinitionVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the version was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the parent definition that the version is associated with."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateSoftwareUpdateJob": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateSoftwareUpdateJobRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateSoftwareUpdateJobResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a software update for a core or group of cores (specified as an IoT thing group.) Use this to update the OTA Agent as well as the Greengrass core software. It makes use of the IoT Jobs feature which provides additional commands to manage a Greengrass core software update job.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/updates",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateSoftwareUpdateJobRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"S3UrlSignerRole": {
|
|
"target": "com.amazonaws.greengrass#S3UrlSignerRole",
|
|
"traits": {
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"SoftwareToUpdate": {
|
|
"target": "com.amazonaws.greengrass#SoftwareToUpdate",
|
|
"traits": {
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"UpdateAgentLogLevel": {
|
|
"target": "com.amazonaws.greengrass#UpdateAgentLogLevel"
|
|
},
|
|
"UpdateTargets": {
|
|
"target": "com.amazonaws.greengrass#UpdateTargets",
|
|
"traits": {
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"UpdateTargetsArchitecture": {
|
|
"target": "com.amazonaws.greengrass#UpdateTargetsArchitecture",
|
|
"traits": {
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"UpdateTargetsOperatingSystem": {
|
|
"target": "com.amazonaws.greengrass#UpdateTargetsOperatingSystem",
|
|
"traits": {
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateSoftwareUpdateJobResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"IotJobArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The IoT Job ARN corresponding to this update."
|
|
}
|
|
},
|
|
"IotJobId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The IoT Job Id corresponding to this update."
|
|
}
|
|
},
|
|
"PlatformSoftwareVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The software version installed on the device or devices after the update."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateSubscriptionDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateSubscriptionDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateSubscriptionDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a subscription definition. You may provide the initial version of the subscription definition now or use ''CreateSubscriptionDefinitionVersion'' at a later time.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/definition/subscriptions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateSubscriptionDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"InitialVersion": {
|
|
"target": "com.amazonaws.greengrass#SubscriptionDefinitionVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the initial version of the subscription definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the subscription definition."
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) to add to the new resource."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateSubscriptionDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateSubscriptionDefinitionVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#CreateSubscriptionDefinitionVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#CreateSubscriptionDefinitionVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Creates a version of a subscription definition which has already been defined.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateSubscriptionDefinitionVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"SubscriptionDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the subscription definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Subscriptions": {
|
|
"target": "com.amazonaws.greengrass#__listOfSubscription",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of subscriptions."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#CreateSubscriptionDefinitionVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the version was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the parent definition that the version is associated with."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DefinitionInformation": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
},
|
|
"Tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) attached to the resource arn.",
|
|
"smithy.api#jsonName": "tags"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a definition."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteConnectorDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#DeleteConnectorDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#DeleteConnectorDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Deletes a connector definition.",
|
|
"smithy.api#http": {
|
|
"method": "DELETE",
|
|
"uri": "/greengrass/definition/connectors/{ConnectorDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteConnectorDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ConnectorDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the connector definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteConnectorDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteCoreDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#DeleteCoreDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#DeleteCoreDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Deletes a core definition.",
|
|
"smithy.api#http": {
|
|
"method": "DELETE",
|
|
"uri": "/greengrass/definition/cores/{CoreDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteCoreDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"CoreDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the core definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteCoreDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteDeviceDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#DeleteDeviceDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#DeleteDeviceDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Deletes a device definition.",
|
|
"smithy.api#http": {
|
|
"method": "DELETE",
|
|
"uri": "/greengrass/definition/devices/{DeviceDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteDeviceDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DeviceDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the device definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteDeviceDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteFunctionDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#DeleteFunctionDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#DeleteFunctionDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Deletes a Lambda function definition.",
|
|
"smithy.api#http": {
|
|
"method": "DELETE",
|
|
"uri": "/greengrass/definition/functions/{FunctionDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteFunctionDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"FunctionDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Lambda function definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteFunctionDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteGroup": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#DeleteGroupRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#DeleteGroupResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Deletes a group.",
|
|
"smithy.api#http": {
|
|
"method": "DELETE",
|
|
"uri": "/greengrass/groups/{GroupId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteGroupRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteGroupResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteLoggerDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#DeleteLoggerDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#DeleteLoggerDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Deletes a logger definition.",
|
|
"smithy.api#http": {
|
|
"method": "DELETE",
|
|
"uri": "/greengrass/definition/loggers/{LoggerDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteLoggerDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LoggerDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the logger definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteLoggerDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteResourceDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#DeleteResourceDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#DeleteResourceDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Deletes a resource definition.",
|
|
"smithy.api#http": {
|
|
"method": "DELETE",
|
|
"uri": "/greengrass/definition/resources/{ResourceDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteResourceDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ResourceDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the resource definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteResourceDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteSubscriptionDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#DeleteSubscriptionDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#DeleteSubscriptionDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Deletes a subscription definition.",
|
|
"smithy.api#http": {
|
|
"method": "DELETE",
|
|
"uri": "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteSubscriptionDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"SubscriptionDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the subscription definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeleteSubscriptionDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#Deployment": {
|
|
"type": "structure",
|
|
"members": {
|
|
"CreatedAt": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the deployment was created."
|
|
}
|
|
},
|
|
"DeploymentArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the deployment."
|
|
}
|
|
},
|
|
"DeploymentId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the deployment."
|
|
}
|
|
},
|
|
"DeploymentType": {
|
|
"target": "com.amazonaws.greengrass#DeploymentType",
|
|
"traits": {
|
|
"smithy.api#documentation": "The type of the deployment."
|
|
}
|
|
},
|
|
"GroupArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the group for this deployment."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a deployment."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeploymentType": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The type of deployment. When used for ''CreateDeployment'', only ''NewDeployment'' and ''Redeployment'' are valid.",
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "NewDeployment",
|
|
"name": "NewDeployment"
|
|
},
|
|
{
|
|
"value": "Redeployment",
|
|
"name": "Redeployment"
|
|
},
|
|
{
|
|
"value": "ResetDeployment",
|
|
"name": "ResetDeployment"
|
|
},
|
|
{
|
|
"value": "ForceResetDeployment",
|
|
"name": "ForceResetDeployment"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#Deployments": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#Deployment"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#Device": {
|
|
"type": "structure",
|
|
"members": {
|
|
"CertificateArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the certificate associated with the device.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A descriptive or arbitrary ID for the device. This value must be unique within the device definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"SyncShadow": {
|
|
"target": "com.amazonaws.greengrass#__boolean",
|
|
"traits": {
|
|
"smithy.api#documentation": "If true, the device's local shadow will be automatically synced with the cloud."
|
|
}
|
|
},
|
|
"ThingArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The thing ARN of the device.",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a device."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DeviceDefinitionVersion": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Devices": {
|
|
"target": "com.amazonaws.greengrass#__listOfDevice",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of devices in the definition version."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a device definition version."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DisassociateRoleFromGroup": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#DisassociateRoleFromGroupRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#DisassociateRoleFromGroupResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Disassociates the role from a group.",
|
|
"smithy.api#http": {
|
|
"method": "DELETE",
|
|
"uri": "/greengrass/groups/{GroupId}/role",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DisassociateRoleFromGroupRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DisassociateRoleFromGroupResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DisassociatedAt": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the role was disassociated from the group."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DisassociateServiceRoleFromAccount": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#DisassociateServiceRoleFromAccountRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#DisassociateServiceRoleFromAccountResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Disassociates the service role from your account. Without a service role, deployments will not work.",
|
|
"smithy.api#http": {
|
|
"method": "DELETE",
|
|
"uri": "/greengrass/servicerole",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#DisassociateServiceRoleFromAccountRequest": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#DisassociateServiceRoleFromAccountResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DisassociatedAt": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time when the service role was disassociated from the account."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#EncodingType": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "binary",
|
|
"name": "binary"
|
|
},
|
|
{
|
|
"value": "json",
|
|
"name": "json"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ErrorDetail": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DetailedErrorCode": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A detailed error code."
|
|
}
|
|
},
|
|
"DetailedErrorMessage": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A detailed error message."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Details about the error."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ErrorDetails": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#ErrorDetail"
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of error details."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#Function": {
|
|
"type": "structure",
|
|
"members": {
|
|
"FunctionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the Lambda function."
|
|
}
|
|
},
|
|
"FunctionConfiguration": {
|
|
"target": "com.amazonaws.greengrass#FunctionConfiguration",
|
|
"traits": {
|
|
"smithy.api#documentation": "The configuration of the Lambda function."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A descriptive or arbitrary ID for the function. This value must be unique within the function definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a Lambda function."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#FunctionConfiguration": {
|
|
"type": "structure",
|
|
"members": {
|
|
"EncodingType": {
|
|
"target": "com.amazonaws.greengrass#EncodingType",
|
|
"traits": {
|
|
"smithy.api#documentation": "The expected encoding type of the input payload for the function. The default is ''json''."
|
|
}
|
|
},
|
|
"Environment": {
|
|
"target": "com.amazonaws.greengrass#FunctionConfigurationEnvironment",
|
|
"traits": {
|
|
"smithy.api#documentation": "The environment configuration of the function."
|
|
}
|
|
},
|
|
"ExecArgs": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The execution arguments."
|
|
}
|
|
},
|
|
"Executable": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the function executable."
|
|
}
|
|
},
|
|
"MemorySize": {
|
|
"target": "com.amazonaws.greengrass#__integer",
|
|
"traits": {
|
|
"smithy.api#documentation": "The memory size, in KB, which the function requires. This setting is not applicable and should be cleared when you run the Lambda function without containerization."
|
|
}
|
|
},
|
|
"Pinned": {
|
|
"target": "com.amazonaws.greengrass#__boolean",
|
|
"traits": {
|
|
"smithy.api#documentation": "True if the function is pinned. Pinned means the function is long-lived and starts when the core starts."
|
|
}
|
|
},
|
|
"Timeout": {
|
|
"target": "com.amazonaws.greengrass#__integer",
|
|
"traits": {
|
|
"smithy.api#documentation": "The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned Lambda functions for each request."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "The configuration of the Lambda function."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#FunctionConfigurationEnvironment": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AccessSysfs": {
|
|
"target": "com.amazonaws.greengrass#__boolean",
|
|
"traits": {
|
|
"smithy.api#documentation": "If true, the Lambda function is allowed to access the host's /sys folder. Use this when the Lambda function needs to read device information from /sys. This setting applies only when you run the Lambda function in a Greengrass container."
|
|
}
|
|
},
|
|
"Execution": {
|
|
"target": "com.amazonaws.greengrass#FunctionExecutionConfig",
|
|
"traits": {
|
|
"smithy.api#documentation": "Configuration related to executing the Lambda function"
|
|
}
|
|
},
|
|
"ResourceAccessPolicies": {
|
|
"target": "com.amazonaws.greengrass#__listOfResourceAccessPolicy",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of the resources, with their permissions, to which the Lambda function will be granted access. A Lambda function can have at most 10 resources. ResourceAccessPolicies apply only when you run the Lambda function in a Greengrass container."
|
|
}
|
|
},
|
|
"Variables": {
|
|
"target": "com.amazonaws.greengrass#__mapOf__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "Environment variables for the Lambda function's configuration."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "The environment configuration of the function."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#FunctionDefaultConfig": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Execution": {
|
|
"target": "com.amazonaws.greengrass#FunctionDefaultExecutionConfig"
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "The default configuration that applies to all Lambda functions in the group. Individual Lambda functions can override these settings."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#FunctionDefaultExecutionConfig": {
|
|
"type": "structure",
|
|
"members": {
|
|
"IsolationMode": {
|
|
"target": "com.amazonaws.greengrass#FunctionIsolationMode"
|
|
},
|
|
"RunAs": {
|
|
"target": "com.amazonaws.greengrass#FunctionRunAsConfig"
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Configuration information that specifies how a Lambda function runs."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#FunctionDefinitionVersion": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DefaultConfig": {
|
|
"target": "com.amazonaws.greengrass#FunctionDefaultConfig",
|
|
"traits": {
|
|
"smithy.api#documentation": "The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings."
|
|
}
|
|
},
|
|
"Functions": {
|
|
"target": "com.amazonaws.greengrass#__listOfFunction",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of Lambda functions in this function definition version."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a function definition version."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#FunctionExecutionConfig": {
|
|
"type": "structure",
|
|
"members": {
|
|
"IsolationMode": {
|
|
"target": "com.amazonaws.greengrass#FunctionIsolationMode"
|
|
},
|
|
"RunAs": {
|
|
"target": "com.amazonaws.greengrass#FunctionRunAsConfig"
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Configuration information that specifies how a Lambda function runs."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#FunctionIsolationMode": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#documentation": "Specifies whether the Lambda function runs in a Greengrass container (default) or without containerization. Unless your scenario requires that you run without containerization, we recommend that you run in a Greengrass container. Omit this value to run the Lambda function with the default containerization for the group.",
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "GreengrassContainer",
|
|
"name": "GreengrassContainer"
|
|
},
|
|
{
|
|
"value": "NoContainer",
|
|
"name": "NoContainer"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#FunctionRunAsConfig": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Gid": {
|
|
"target": "com.amazonaws.greengrass#__integer",
|
|
"traits": {
|
|
"smithy.api#documentation": "The group ID whose permissions are used to run a Lambda function."
|
|
}
|
|
},
|
|
"Uid": {
|
|
"target": "com.amazonaws.greengrass#__integer",
|
|
"traits": {
|
|
"smithy.api#documentation": "The user ID whose permissions are used to run a Lambda function."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Specifies the user and group whose permissions are used when running the Lambda function. You can specify one or both values to override the default values. We recommend that you avoid running as root unless absolutely necessary to minimize the risk of unintended changes or malicious attacks. To run as root, you must set ''IsolationMode'' to ''NoContainer'' and update config.json in ''greengrass-root/config'' to set ''allowFunctionsToRunAsRoot'' to ''yes''."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetAssociatedRole": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetAssociatedRoleRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetAssociatedRoleResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves the role associated with a particular group.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/groups/{GroupId}/role",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetAssociatedRoleRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetAssociatedRoleResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AssociatedAt": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time when the role was associated with the group."
|
|
}
|
|
},
|
|
"RoleArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the role that is associated with the group."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetBulkDeploymentStatus": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetBulkDeploymentStatusRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetBulkDeploymentStatusResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Returns the status of a bulk deployment.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/bulk/deployments/{BulkDeploymentId}/status",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetBulkDeploymentStatusRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"BulkDeploymentId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the bulk deployment.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetBulkDeploymentStatusResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"BulkDeploymentMetrics": {
|
|
"target": "com.amazonaws.greengrass#BulkDeploymentMetrics",
|
|
"traits": {
|
|
"smithy.api#documentation": "Relevant metrics on input records processed during bulk deployment."
|
|
}
|
|
},
|
|
"BulkDeploymentStatus": {
|
|
"target": "com.amazonaws.greengrass#BulkDeploymentStatus",
|
|
"traits": {
|
|
"smithy.api#documentation": "The status of the bulk deployment."
|
|
}
|
|
},
|
|
"CreatedAt": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in ISO format, when the deployment was created."
|
|
}
|
|
},
|
|
"ErrorDetails": {
|
|
"target": "com.amazonaws.greengrass#ErrorDetails",
|
|
"traits": {
|
|
"smithy.api#documentation": "Error details"
|
|
}
|
|
},
|
|
"ErrorMessage": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "Error message"
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) attached to the resource arn."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetConnectivityInfo": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetConnectivityInfoRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetConnectivityInfoResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves the connectivity information for a core.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/things/{ThingName}/connectivityInfo",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetConnectivityInfoRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ThingName": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The thing name.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetConnectivityInfoResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ConnectivityInfo": {
|
|
"target": "com.amazonaws.greengrass#__listOfConnectivityInfo",
|
|
"traits": {
|
|
"smithy.api#documentation": "Connectivity info list."
|
|
}
|
|
},
|
|
"Message": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A message about the connectivity info request.",
|
|
"smithy.api#jsonName": "message"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetConnectorDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetConnectorDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetConnectorDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a connector definition.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/connectors/{ConnectorDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetConnectorDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ConnectorDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the connector definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetConnectorDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) attached to the resource arn."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetConnectorDefinitionVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetConnectorDefinitionVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetConnectorDefinitionVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a connector definition version, including the connectors that the version contains. Connectors are prebuilt modules that interact with local infrastructure, device protocols, AWS, and other cloud services.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions/{ConnectorDefinitionVersionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetConnectorDefinitionVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ConnectorDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the connector definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ConnectorDefinitionVersionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the connector definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListConnectorDefinitionVersions'' requests. If the version is the last one that was associated with a connector definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetConnectorDefinitionVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the connector definition version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the connector definition version was created."
|
|
}
|
|
},
|
|
"Definition": {
|
|
"target": "com.amazonaws.greengrass#ConnectorDefinitionVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the connector definition version."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the connector definition version."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The version of the connector definition version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetCoreDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetCoreDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetCoreDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a core definition version.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/cores/{CoreDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetCoreDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"CoreDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the core definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetCoreDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) attached to the resource arn."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetCoreDefinitionVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetCoreDefinitionVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetCoreDefinitionVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a core definition version.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/cores/{CoreDefinitionId}/versions/{CoreDefinitionVersionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetCoreDefinitionVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"CoreDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the core definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"CoreDefinitionVersionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the core definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListCoreDefinitionVersions'' requests. If the version is the last one that was associated with a core definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetCoreDefinitionVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the core definition version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the core definition version was created."
|
|
}
|
|
},
|
|
"Definition": {
|
|
"target": "com.amazonaws.greengrass#CoreDefinitionVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the core definition version."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the core definition version."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The version of the core definition version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetDeploymentStatus": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetDeploymentStatusRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetDeploymentStatusResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Returns the status of a deployment.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/groups/{GroupId}/deployments/{DeploymentId}/status",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetDeploymentStatusRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DeploymentId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the deployment.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetDeploymentStatusResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DeploymentStatus": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The status of the deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''."
|
|
}
|
|
},
|
|
"DeploymentType": {
|
|
"target": "com.amazonaws.greengrass#DeploymentType",
|
|
"traits": {
|
|
"smithy.api#documentation": "The type of the deployment."
|
|
}
|
|
},
|
|
"ErrorDetails": {
|
|
"target": "com.amazonaws.greengrass#ErrorDetails",
|
|
"traits": {
|
|
"smithy.api#documentation": "Error details"
|
|
}
|
|
},
|
|
"ErrorMessage": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "Error message"
|
|
}
|
|
},
|
|
"UpdatedAt": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the deployment status was updated."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetDeviceDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetDeviceDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetDeviceDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a device definition.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/devices/{DeviceDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetDeviceDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DeviceDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the device definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetDeviceDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) attached to the resource arn."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetDeviceDefinitionVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetDeviceDefinitionVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetDeviceDefinitionVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a device definition version.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/devices/{DeviceDefinitionId}/versions/{DeviceDefinitionVersionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetDeviceDefinitionVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DeviceDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the device definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"DeviceDefinitionVersionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the device definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListDeviceDefinitionVersions'' requests. If the version is the last one that was associated with a device definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetDeviceDefinitionVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the device definition version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the device definition version was created."
|
|
}
|
|
},
|
|
"Definition": {
|
|
"target": "com.amazonaws.greengrass#DeviceDefinitionVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the device definition version."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the device definition version."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The version of the device definition version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetFunctionDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetFunctionDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetFunctionDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a Lambda function definition, including its creation time and latest version.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/functions/{FunctionDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetFunctionDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"FunctionDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Lambda function definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetFunctionDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) attached to the resource arn."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetFunctionDefinitionVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetFunctionDefinitionVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetFunctionDefinitionVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/functions/{FunctionDefinitionId}/versions/{FunctionDefinitionVersionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetFunctionDefinitionVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"FunctionDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Lambda function definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"FunctionDefinitionVersionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the function definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListFunctionDefinitionVersions'' requests. If the version is the last one that was associated with a function definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetFunctionDefinitionVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the function definition version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the function definition version was created."
|
|
}
|
|
},
|
|
"Definition": {
|
|
"target": "com.amazonaws.greengrass#FunctionDefinitionVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information on the definition."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the function definition version."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The version of the function definition version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetGroup": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetGroupRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetGroupResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a group.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/groups/{GroupId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetGroupCertificateAuthority": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetGroupCertificateAuthorityRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetGroupCertificateAuthorityResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retreives the CA associated with a group. Returns the public key of the CA.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/groups/{GroupId}/certificateauthorities/{CertificateAuthorityId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetGroupCertificateAuthorityRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"CertificateAuthorityId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the certificate authority.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#pattern": "^(?!configuration).*$",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetGroupCertificateAuthorityResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupCertificateAuthorityArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the certificate authority for the group."
|
|
}
|
|
},
|
|
"GroupCertificateAuthorityId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the certificate authority for the group."
|
|
}
|
|
},
|
|
"PemEncodedCertificate": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The PEM encoded certificate for the group."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetGroupCertificateConfiguration": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetGroupCertificateConfigurationRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetGroupCertificateConfigurationResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves the current configuration for the CA used by the group.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetGroupCertificateConfigurationRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetGroupCertificateConfigurationResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"CertificateAuthorityExpiryInMilliseconds": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The amount of time remaining before the certificate authority expires, in milliseconds."
|
|
}
|
|
},
|
|
"CertificateExpiryInMilliseconds": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The amount of time remaining before the certificate expires, in milliseconds."
|
|
}
|
|
},
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the group certificate configuration."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetGroupRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetGroupResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) attached to the resource arn."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetGroupVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetGroupVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetGroupVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a group version.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/groups/{GroupId}/versions/{GroupVersionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetGroupVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"GroupVersionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the group version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListGroupVersions'' requests. If the version is the last one that was associated with a group, the value also maps to the ''LatestVersion'' property of the corresponding ''GroupInformation'' object.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetGroupVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the group version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the group version was created."
|
|
}
|
|
},
|
|
"Definition": {
|
|
"target": "com.amazonaws.greengrass#GroupVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the group version definition."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the group that the version is associated with."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the group version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetLoggerDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetLoggerDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetLoggerDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a logger definition.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/loggers/{LoggerDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetLoggerDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LoggerDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the logger definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetLoggerDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) attached to the resource arn."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetLoggerDefinitionVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetLoggerDefinitionVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetLoggerDefinitionVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a logger definition version.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/loggers/{LoggerDefinitionId}/versions/{LoggerDefinitionVersionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetLoggerDefinitionVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LoggerDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the logger definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LoggerDefinitionVersionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the logger definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListLoggerDefinitionVersions'' requests. If the version is the last one that was associated with a logger definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetLoggerDefinitionVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the logger definition version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the logger definition version was created."
|
|
}
|
|
},
|
|
"Definition": {
|
|
"target": "com.amazonaws.greengrass#LoggerDefinitionVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the logger definition version."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the logger definition version."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The version of the logger definition version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetResourceDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetResourceDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetResourceDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a resource definition, including its creation time and latest version.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/resources/{ResourceDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetResourceDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ResourceDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the resource definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetResourceDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) attached to the resource arn."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetResourceDefinitionVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetResourceDefinitionVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetResourceDefinitionVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a resource definition version, including which resources are included in the version.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/resources/{ResourceDefinitionId}/versions/{ResourceDefinitionVersionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetResourceDefinitionVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ResourceDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the resource definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ResourceDefinitionVersionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the resource definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListResourceDefinitionVersions'' requests. If the version is the last one that was associated with a resource definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetResourceDefinitionVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "Arn of the resource definition version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the resource definition version was created."
|
|
}
|
|
},
|
|
"Definition": {
|
|
"target": "com.amazonaws.greengrass#ResourceDefinitionVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the definition."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the resource definition version."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The version of the resource definition version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetServiceRoleForAccount": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetServiceRoleForAccountRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetServiceRoleForAccountResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves the service role that is attached to your account.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/servicerole",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetServiceRoleForAccountRequest": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#GetServiceRoleForAccountResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AssociatedAt": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time when the service role was associated with the account."
|
|
}
|
|
},
|
|
"RoleArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the role which is associated with the account."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetSubscriptionDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetSubscriptionDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetSubscriptionDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a subscription definition.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetSubscriptionDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"SubscriptionDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the subscription definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetSubscriptionDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the definition."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the definition."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the definition was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the definition."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) attached to the resource arn."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetSubscriptionDefinitionVersion": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetSubscriptionDefinitionVersionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetSubscriptionDefinitionVersionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves information about a subscription definition version.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions/{SubscriptionDefinitionVersionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetSubscriptionDefinitionVersionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
},
|
|
"SubscriptionDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the subscription definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"SubscriptionDefinitionVersionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the subscription definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListSubscriptionDefinitionVersions'' requests. If the version is the last one that was associated with a subscription definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetSubscriptionDefinitionVersionResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the subscription definition version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the subscription definition version was created."
|
|
}
|
|
},
|
|
"Definition": {
|
|
"target": "com.amazonaws.greengrass#SubscriptionDefinitionVersion",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about the subscription definition version."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the subscription definition version."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The version of the subscription definition version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetThingRuntimeConfiguration": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#GetThingRuntimeConfigurationRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#GetThingRuntimeConfigurationResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Get the runtime configuration of a thing.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/things/{ThingName}/runtimeconfig",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetThingRuntimeConfigurationRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ThingName": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The thing name.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GetThingRuntimeConfigurationResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"RuntimeConfiguration": {
|
|
"target": "com.amazonaws.greengrass#RuntimeConfiguration",
|
|
"traits": {
|
|
"smithy.api#documentation": "Runtime configuration for a thing."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#Greengrass": {
|
|
"type": "service",
|
|
"version": "2017-06-07",
|
|
"operations": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#AssociateRoleToGroup"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#AssociateServiceRoleToAccount"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateConnectorDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateConnectorDefinitionVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateCoreDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateCoreDefinitionVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateDeployment"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateDeviceDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateDeviceDefinitionVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateFunctionDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateFunctionDefinitionVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateGroup"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateGroupCertificateAuthority"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateGroupVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateLoggerDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateLoggerDefinitionVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateResourceDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateResourceDefinitionVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateSoftwareUpdateJob"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateSubscriptionDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#CreateSubscriptionDefinitionVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#DeleteConnectorDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#DeleteCoreDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#DeleteDeviceDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#DeleteFunctionDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#DeleteGroup"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#DeleteLoggerDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#DeleteResourceDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#DeleteSubscriptionDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#DisassociateRoleFromGroup"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#DisassociateServiceRoleFromAccount"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetAssociatedRole"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetBulkDeploymentStatus"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetConnectivityInfo"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetConnectorDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetConnectorDefinitionVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetCoreDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetCoreDefinitionVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetDeploymentStatus"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetDeviceDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetDeviceDefinitionVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetFunctionDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetFunctionDefinitionVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetGroup"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetGroupCertificateAuthority"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetGroupCertificateConfiguration"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetGroupVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetLoggerDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetLoggerDefinitionVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetResourceDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetResourceDefinitionVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetServiceRoleForAccount"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetSubscriptionDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetSubscriptionDefinitionVersion"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#GetThingRuntimeConfiguration"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListBulkDeploymentDetailedReports"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListBulkDeployments"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListConnectorDefinitions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListConnectorDefinitionVersions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListCoreDefinitions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListCoreDefinitionVersions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListDeployments"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListDeviceDefinitions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListDeviceDefinitionVersions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListFunctionDefinitions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListFunctionDefinitionVersions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListGroupCertificateAuthorities"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListGroups"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListGroupVersions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListLoggerDefinitions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListLoggerDefinitionVersions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListResourceDefinitions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListResourceDefinitionVersions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListSubscriptionDefinitions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListSubscriptionDefinitionVersions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ListTagsForResource"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#ResetDeployments"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#StartBulkDeployment"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#StopBulkDeployment"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#TagResource"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#UntagResource"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#UpdateConnectivityInfo"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#UpdateConnectorDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#UpdateCoreDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#UpdateDeviceDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#UpdateFunctionDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#UpdateGroup"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#UpdateGroupCertificateConfiguration"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#UpdateLoggerDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#UpdateResourceDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#UpdateSubscriptionDefinition"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#UpdateThingRuntimeConfiguration"
|
|
}
|
|
],
|
|
"traits": {
|
|
"aws.api#service": {
|
|
"sdkId": "Greengrass",
|
|
"arnNamespace": "greengrass",
|
|
"cloudFormationName": "Greengrass",
|
|
"cloudTrailEventSource": "greengrass.amazonaws.com",
|
|
"endpointPrefix": "greengrass"
|
|
},
|
|
"aws.auth#sigv4": {
|
|
"name": "greengrass"
|
|
},
|
|
"aws.protocols#restJson1": {},
|
|
"smithy.api#documentation": "AWS IoT Greengrass seamlessly extends AWS onto physical devices so they can act locally on the data they generate, while still using the cloud for management, analytics, and durable storage. AWS IoT Greengrass ensures your devices can respond quickly to local events and operate with intermittent connectivity. AWS IoT Greengrass minimizes the cost of transmitting data to the cloud by allowing you to author AWS Lambda functions that execute locally.",
|
|
"smithy.api#title": "AWS Greengrass"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GroupCertificateAuthorityProperties": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupCertificateAuthorityArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the certificate authority for the group."
|
|
}
|
|
},
|
|
"GroupCertificateAuthorityId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the certificate authority for the group."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a certificate authority for a group."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GroupInformation": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the group."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the group was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the group."
|
|
}
|
|
},
|
|
"LastUpdatedTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the group was last updated."
|
|
}
|
|
},
|
|
"LatestVersion": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the latest version associated with the group."
|
|
}
|
|
},
|
|
"LatestVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the latest version associated with the group."
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the group."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a group."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GroupOwnerSetting": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoAddGroupOwner": {
|
|
"target": "com.amazonaws.greengrass#__boolean",
|
|
"traits": {
|
|
"smithy.api#documentation": "If true, AWS IoT Greengrass automatically adds the specified Linux OS group owner of the resource to the Lambda process privileges. Thus the Lambda process will have the file access permissions of the added Linux group."
|
|
}
|
|
},
|
|
"GroupOwner": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the Linux OS group whose privileges will be added to the Lambda process. This field is optional."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Group owner related settings for local resources."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#GroupVersion": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ConnectorDefinitionVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the connector definition version for this group."
|
|
}
|
|
},
|
|
"CoreDefinitionVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the core definition version for this group."
|
|
}
|
|
},
|
|
"DeviceDefinitionVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the device definition version for this group."
|
|
}
|
|
},
|
|
"FunctionDefinitionVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the function definition version for this group."
|
|
}
|
|
},
|
|
"LoggerDefinitionVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the logger definition version for this group."
|
|
}
|
|
},
|
|
"ResourceDefinitionVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the resource definition version for this group."
|
|
}
|
|
},
|
|
"SubscriptionDefinitionVersionArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the subscription definition version for this group."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a group version."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#InternalServerErrorException": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ErrorDetails": {
|
|
"target": "com.amazonaws.greengrass#ErrorDetails",
|
|
"traits": {
|
|
"smithy.api#documentation": "Details about the error."
|
|
}
|
|
},
|
|
"Message": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A message containing information about the error."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "General error information.",
|
|
"smithy.api#error": "server",
|
|
"smithy.api#httpError": 500
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListBulkDeploymentDetailedReports": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListBulkDeploymentDetailedReportsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListBulkDeploymentDetailedReportsResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Gets a paginated list of the deployments that have been started in a bulk deployment operation, and their current deployment status.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/bulk/deployments/{BulkDeploymentId}/detailed-reports",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListBulkDeploymentDetailedReportsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"BulkDeploymentId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the bulk deployment.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListBulkDeploymentDetailedReportsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Deployments": {
|
|
"target": "com.amazonaws.greengrass#BulkDeploymentResults",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of the individual group deployments in the bulk deployment operation."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListBulkDeployments": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListBulkDeploymentsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListBulkDeploymentsResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Returns a list of bulk deployments.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/bulk/deployments",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListBulkDeploymentsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListBulkDeploymentsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"BulkDeployments": {
|
|
"target": "com.amazonaws.greengrass#BulkDeployments",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of bulk deployments."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListConnectorDefinitionVersions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListConnectorDefinitionVersionsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListConnectorDefinitionVersionsResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Lists the versions of a connector definition, which are containers for connectors. Connectors run on the Greengrass core and contain built-in integration with local infrastructure, device protocols, AWS, and other cloud services.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListConnectorDefinitionVersionsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ConnectorDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the connector definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListConnectorDefinitionVersionsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
},
|
|
"Versions": {
|
|
"target": "com.amazonaws.greengrass#__listOfVersionInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListConnectorDefinitions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListConnectorDefinitionsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListConnectorDefinitionsResponse"
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves a list of connector definitions.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/connectors",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListConnectorDefinitionsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListConnectorDefinitionsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Definitions": {
|
|
"target": "com.amazonaws.greengrass#__listOfDefinitionInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a definition."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListCoreDefinitionVersions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListCoreDefinitionVersionsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListCoreDefinitionVersionsResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Lists the versions of a core definition.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/cores/{CoreDefinitionId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListCoreDefinitionVersionsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"CoreDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the core definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListCoreDefinitionVersionsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
},
|
|
"Versions": {
|
|
"target": "com.amazonaws.greengrass#__listOfVersionInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListCoreDefinitions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListCoreDefinitionsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListCoreDefinitionsResponse"
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves a list of core definitions.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/cores",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListCoreDefinitionsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListCoreDefinitionsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Definitions": {
|
|
"target": "com.amazonaws.greengrass#__listOfDefinitionInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a definition."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListDeployments": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListDeploymentsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListDeploymentsResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Returns a history of deployments for the group.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/groups/{GroupId}/deployments",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListDeploymentsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListDeploymentsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Deployments": {
|
|
"target": "com.amazonaws.greengrass#Deployments",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of deployments for the requested groups."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListDeviceDefinitionVersions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListDeviceDefinitionVersionsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListDeviceDefinitionVersionsResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Lists the versions of a device definition.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/devices/{DeviceDefinitionId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListDeviceDefinitionVersionsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DeviceDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the device definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListDeviceDefinitionVersionsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
},
|
|
"Versions": {
|
|
"target": "com.amazonaws.greengrass#__listOfVersionInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListDeviceDefinitions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListDeviceDefinitionsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListDeviceDefinitionsResponse"
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves a list of device definitions.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/devices",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListDeviceDefinitionsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListDeviceDefinitionsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Definitions": {
|
|
"target": "com.amazonaws.greengrass#__listOfDefinitionInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a definition."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListFunctionDefinitionVersions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListFunctionDefinitionVersionsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListFunctionDefinitionVersionsResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Lists the versions of a Lambda function definition.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/functions/{FunctionDefinitionId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListFunctionDefinitionVersionsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"FunctionDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Lambda function definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListFunctionDefinitionVersionsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
},
|
|
"Versions": {
|
|
"target": "com.amazonaws.greengrass#__listOfVersionInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListFunctionDefinitions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListFunctionDefinitionsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListFunctionDefinitionsResponse"
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves a list of Lambda function definitions.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/functions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListFunctionDefinitionsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListFunctionDefinitionsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Definitions": {
|
|
"target": "com.amazonaws.greengrass#__listOfDefinitionInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a definition."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListGroupCertificateAuthorities": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListGroupCertificateAuthoritiesRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListGroupCertificateAuthoritiesResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves the current CAs for a group.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/groups/{GroupId}/certificateauthorities",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListGroupCertificateAuthoritiesRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListGroupCertificateAuthoritiesResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupCertificateAuthorities": {
|
|
"target": "com.amazonaws.greengrass#__listOfGroupCertificateAuthorityProperties",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of certificate authorities associated with the group."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListGroupVersions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListGroupVersionsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListGroupVersionsResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Lists the versions of a group.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/groups/{GroupId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListGroupVersionsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListGroupVersionsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
},
|
|
"Versions": {
|
|
"target": "com.amazonaws.greengrass#__listOfVersionInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListGroups": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListGroupsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListGroupsResponse"
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves a list of groups.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/groups",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListGroupsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListGroupsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Groups": {
|
|
"target": "com.amazonaws.greengrass#__listOfGroupInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a group."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListLoggerDefinitionVersions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListLoggerDefinitionVersionsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListLoggerDefinitionVersionsResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Lists the versions of a logger definition.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/loggers/{LoggerDefinitionId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListLoggerDefinitionVersionsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LoggerDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the logger definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListLoggerDefinitionVersionsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
},
|
|
"Versions": {
|
|
"target": "com.amazonaws.greengrass#__listOfVersionInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListLoggerDefinitions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListLoggerDefinitionsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListLoggerDefinitionsResponse"
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves a list of logger definitions.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/loggers",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListLoggerDefinitionsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListLoggerDefinitionsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Definitions": {
|
|
"target": "com.amazonaws.greengrass#__listOfDefinitionInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a definition."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListResourceDefinitionVersions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListResourceDefinitionVersionsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListResourceDefinitionVersionsResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Lists the versions of a resource definition.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/resources/{ResourceDefinitionId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListResourceDefinitionVersionsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
},
|
|
"ResourceDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the resource definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListResourceDefinitionVersionsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
},
|
|
"Versions": {
|
|
"target": "com.amazonaws.greengrass#__listOfVersionInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListResourceDefinitions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListResourceDefinitionsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListResourceDefinitionsResponse"
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves a list of resource definitions.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/resources",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListResourceDefinitionsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListResourceDefinitionsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Definitions": {
|
|
"target": "com.amazonaws.greengrass#__listOfDefinitionInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a definition."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListSubscriptionDefinitionVersions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListSubscriptionDefinitionVersionsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListSubscriptionDefinitionVersionsResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Lists the versions of a subscription definition.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListSubscriptionDefinitionVersionsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
},
|
|
"SubscriptionDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the subscription definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListSubscriptionDefinitionVersionsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
},
|
|
"Versions": {
|
|
"target": "com.amazonaws.greengrass#__listOfVersionInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a version."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListSubscriptionDefinitions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListSubscriptionDefinitionsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListSubscriptionDefinitionsResponse"
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves a list of subscription definitions.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/greengrass/definition/subscriptions",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListSubscriptionDefinitionsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MaxResults": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The maximum number of results to be returned per request.",
|
|
"smithy.api#httpQuery": "MaxResults"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results.",
|
|
"smithy.api#httpQuery": "NextToken"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListSubscriptionDefinitionsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Definitions": {
|
|
"target": "com.amazonaws.greengrass#__listOfDefinitionInformation",
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a definition."
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The token for the next set of results, or ''null'' if there are no additional results."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListTagsForResource": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ListTagsForResourceRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ListTagsForResourceResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Retrieves a list of resource tags for a resource arn.",
|
|
"smithy.api#http": {
|
|
"method": "GET",
|
|
"uri": "/tags/{ResourceArn}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListTagsForResourceRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ResourceArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ListTagsForResourceResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags"
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#LocalDeviceResourceData": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupOwnerSetting": {
|
|
"target": "com.amazonaws.greengrass#GroupOwnerSetting",
|
|
"traits": {
|
|
"smithy.api#documentation": "Group/owner related settings for local resources."
|
|
}
|
|
},
|
|
"SourcePath": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The local absolute path of the device resource. The source path for a device resource can refer only to a character device or block device under ''/dev''."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Attributes that define a local device resource."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#LocalVolumeResourceData": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DestinationPath": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The absolute local path of the resource inside the Lambda environment."
|
|
}
|
|
},
|
|
"GroupOwnerSetting": {
|
|
"target": "com.amazonaws.greengrass#GroupOwnerSetting",
|
|
"traits": {
|
|
"smithy.api#documentation": "Allows you to configure additional group privileges for the Lambda process. This field is optional."
|
|
}
|
|
},
|
|
"SourcePath": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The local absolute path of the volume resource on the host. The source path for a volume resource type cannot start with ''/sys''."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Attributes that define a local volume resource."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#Logger": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Component": {
|
|
"target": "com.amazonaws.greengrass#LoggerComponent",
|
|
"traits": {
|
|
"smithy.api#documentation": "The component that will be subject to logging.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A descriptive or arbitrary ID for the logger. This value must be unique within the logger definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Level": {
|
|
"target": "com.amazonaws.greengrass#LoggerLevel",
|
|
"traits": {
|
|
"smithy.api#documentation": "The level of the logs.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Space": {
|
|
"target": "com.amazonaws.greengrass#__integer",
|
|
"traits": {
|
|
"smithy.api#documentation": "The amount of file space, in KB, to use if the local file system is used for logging purposes."
|
|
}
|
|
},
|
|
"Type": {
|
|
"target": "com.amazonaws.greengrass#LoggerType",
|
|
"traits": {
|
|
"smithy.api#documentation": "The type of log output which will be used.",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a logger"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#LoggerComponent": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "GreengrassSystem",
|
|
"name": "GreengrassSystem"
|
|
},
|
|
{
|
|
"value": "Lambda",
|
|
"name": "Lambda"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#LoggerDefinitionVersion": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Loggers": {
|
|
"target": "com.amazonaws.greengrass#__listOfLogger",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of loggers."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a logger definition version."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#LoggerLevel": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "DEBUG",
|
|
"name": "DEBUG"
|
|
},
|
|
{
|
|
"value": "INFO",
|
|
"name": "INFO"
|
|
},
|
|
{
|
|
"value": "WARN",
|
|
"name": "WARN"
|
|
},
|
|
{
|
|
"value": "ERROR",
|
|
"name": "ERROR"
|
|
},
|
|
{
|
|
"value": "FATAL",
|
|
"name": "FATAL"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#LoggerType": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "FileSystem",
|
|
"name": "FileSystem"
|
|
},
|
|
{
|
|
"value": "AWSCloudWatch",
|
|
"name": "AWSCloudWatch"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#Permission": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The type of permission a function has to access a resource.",
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "ro",
|
|
"name": "ro"
|
|
},
|
|
{
|
|
"value": "rw",
|
|
"name": "rw"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ResetDeployments": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#ResetDeploymentsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#ResetDeploymentsResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Resets a group's deployments.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/groups/{GroupId}/deployments/$reset",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ResetDeploymentsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"Force": {
|
|
"target": "com.amazonaws.greengrass#__boolean",
|
|
"traits": {
|
|
"smithy.api#documentation": "If true, performs a best-effort only core reset."
|
|
}
|
|
},
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information needed to reset deployments."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ResetDeploymentsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DeploymentArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the deployment."
|
|
}
|
|
},
|
|
"DeploymentId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the deployment."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#Resource": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The resource ID, used to refer to a resource in the Lambda function configuration. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The descriptive resource name, which is displayed on the AWS IoT Greengrass console. Max length 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ResourceDataContainer": {
|
|
"target": "com.amazonaws.greengrass#ResourceDataContainer",
|
|
"traits": {
|
|
"smithy.api#documentation": "A container of data for all resource types.",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a resource."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ResourceAccessPolicy": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Permission": {
|
|
"target": "com.amazonaws.greengrass#Permission",
|
|
"traits": {
|
|
"smithy.api#documentation": "The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only)."
|
|
}
|
|
},
|
|
"ResourceId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "A policy used by the function to access a resource."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ResourceDataContainer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LocalDeviceResourceData": {
|
|
"target": "com.amazonaws.greengrass#LocalDeviceResourceData",
|
|
"traits": {
|
|
"smithy.api#documentation": "Attributes that define the local device resource."
|
|
}
|
|
},
|
|
"LocalVolumeResourceData": {
|
|
"target": "com.amazonaws.greengrass#LocalVolumeResourceData",
|
|
"traits": {
|
|
"smithy.api#documentation": "Attributes that define the local volume resource."
|
|
}
|
|
},
|
|
"S3MachineLearningModelResourceData": {
|
|
"target": "com.amazonaws.greengrass#S3MachineLearningModelResourceData",
|
|
"traits": {
|
|
"smithy.api#documentation": "Attributes that define an Amazon S3 machine learning resource."
|
|
}
|
|
},
|
|
"SageMakerMachineLearningModelResourceData": {
|
|
"target": "com.amazonaws.greengrass#SageMakerMachineLearningModelResourceData",
|
|
"traits": {
|
|
"smithy.api#documentation": "Attributes that define an Amazon SageMaker machine learning resource."
|
|
}
|
|
},
|
|
"SecretsManagerSecretResourceData": {
|
|
"target": "com.amazonaws.greengrass#SecretsManagerSecretResourceData",
|
|
"traits": {
|
|
"smithy.api#documentation": "Attributes that define a secret resource, which references a secret from AWS Secrets Manager."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "A container for resource data. The container takes only one of the following supported resource data types: ''LocalDeviceResourceData'', ''LocalVolumeResourceData'', ''SageMakerMachineLearningModelResourceData'', ''S3MachineLearningModelResourceData'', ''SecretsManagerSecretResourceData''."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ResourceDefinitionVersion": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Resources": {
|
|
"target": "com.amazonaws.greengrass#__listOfResource",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of resources."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a resource definition version."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#ResourceDownloadOwnerSetting": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupOwner": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The group owner of the resource. This is the name of an existing Linux OS group on the system or a GID. The group's permissions are added to the Lambda process.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"GroupPermission": {
|
|
"target": "com.amazonaws.greengrass#Permission",
|
|
"traits": {
|
|
"smithy.api#documentation": "The permissions that the group owner has to the resource. Valid values are ''rw'' (read/write) or ''ro'' (read-only).",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "The owner setting for downloaded machine learning resources."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#RuntimeConfiguration": {
|
|
"type": "structure",
|
|
"members": {
|
|
"TelemetryConfiguration": {
|
|
"target": "com.amazonaws.greengrass#TelemetryConfiguration",
|
|
"traits": {
|
|
"smithy.api#documentation": "Configuration for telemetry service."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Runtime configuration for a thing."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#S3MachineLearningModelResourceData": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DestinationPath": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The absolute local path of the resource inside the Lambda environment."
|
|
}
|
|
},
|
|
"OwnerSetting": {
|
|
"target": "com.amazonaws.greengrass#ResourceDownloadOwnerSetting"
|
|
},
|
|
"S3Uri": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The URI of the source model in an S3 bucket. The model package must be in tar.gz or .zip format."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Attributes that define an Amazon S3 machine learning resource."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#S3UrlSignerRole": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The IAM Role that Greengrass will use to create pre-signed URLs pointing towards the update artifact."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#SageMakerMachineLearningModelResourceData": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DestinationPath": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The absolute local path of the resource inside the Lambda environment."
|
|
}
|
|
},
|
|
"OwnerSetting": {
|
|
"target": "com.amazonaws.greengrass#ResourceDownloadOwnerSetting"
|
|
},
|
|
"SageMakerJobArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the Amazon SageMaker training job that represents the source model."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Attributes that define an Amazon SageMaker machine learning resource."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#SecretsManagerSecretResourceData": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ARN": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the Secrets Manager secret to make available on the core. The value of the secret's latest version (represented by the ''AWSCURRENT'' staging label) is included by default."
|
|
}
|
|
},
|
|
"AdditionalStagingLabelsToDownload": {
|
|
"target": "com.amazonaws.greengrass#__listOf__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "Optional. The staging labels whose values you want to make available on the core, in addition to ''AWSCURRENT''."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Attributes that define a secret resource, which references a secret from AWS Secrets Manager. AWS IoT Greengrass stores a local, encrypted copy of the secret on the Greengrass core, where it can be securely accessed by connectors and Lambda functions."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#SoftwareToUpdate": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The piece of software on the Greengrass core that will be updated.",
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "core",
|
|
"name": "core"
|
|
},
|
|
{
|
|
"value": "ota_agent",
|
|
"name": "ota_agent"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#StartBulkDeployment": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#StartBulkDeploymentRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#StartBulkDeploymentResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Deploys multiple groups in one operation. This action starts the bulk deployment of a specified set of group versions. Each group version deployment will be triggered with an adaptive rate that has a fixed upper limit. We recommend that you include an ''X-Amzn-Client-Token'' token in every ''StartBulkDeployment'' request. These requests are idempotent with respect to the token and the request parameters.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/greengrass/bulk/deployments",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#StartBulkDeploymentRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AmznClientToken": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A client token used to correlate requests and responses.",
|
|
"smithy.api#httpHeader": "X-Amzn-Client-Token"
|
|
}
|
|
},
|
|
"ExecutionRoleArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the execution role to associate with the bulk deployment operation. This IAM role must allow the ''greengrass:CreateDeployment'' action for all group versions that are listed in the input file. This IAM role must have access to the S3 bucket containing the input file.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"InputFileUri": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The URI of the input file contained in the S3 bucket. The execution role must have ''getObject'' permissions on this bucket to access the input file. The input file is a JSON-serialized, line delimited file with UTF-8 encoding that provides a list of group and version IDs and the deployment type. This file must be less than 100 MB. Currently, AWS IoT Greengrass supports only ''NewDeployment'' deployment types.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "Tag(s) to add to the new resource."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#StartBulkDeploymentResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"BulkDeploymentArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the bulk deployment."
|
|
}
|
|
},
|
|
"BulkDeploymentId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the bulk deployment."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#StopBulkDeployment": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#StopBulkDeploymentRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#StopBulkDeploymentResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Stops the execution of a bulk deployment. This action returns a status of ''Stopping'' until the deployment is stopped. You cannot start a new bulk deployment while a previous deployment is in the ''Stopping'' state. This action doesn't rollback completed deployments or cancel pending deployments.",
|
|
"smithy.api#http": {
|
|
"method": "PUT",
|
|
"uri": "/greengrass/bulk/deployments/{BulkDeploymentId}/$stop",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#StopBulkDeploymentRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"BulkDeploymentId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the bulk deployment.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#StopBulkDeploymentResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#Subscription": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Source": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Subject": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The MQTT topic used to route the message.",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Target": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a subscription."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#SubscriptionDefinitionVersion": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Subscriptions": {
|
|
"target": "com.amazonaws.greengrass#__listOfSubscription",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of subscriptions."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a subscription definition version."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#TagResource": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#TagResourceRequest"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Adds tags to a Greengrass resource. Valid resources are 'Group', 'ConnectorDefinition', 'CoreDefinition', 'DeviceDefinition', 'FunctionDefinition', 'LoggerDefinition', 'SubscriptionDefinition', 'ResourceDefinition', and 'BulkDeployment'.",
|
|
"smithy.api#http": {
|
|
"method": "POST",
|
|
"uri": "/tags/{ResourceArn}",
|
|
"code": 204
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#TagResourceRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ResourceArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"tags": {
|
|
"target": "com.amazonaws.greengrass#Tags"
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "A map of the key-value pairs for the resource tag."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#Tags": {
|
|
"type": "map",
|
|
"key": {
|
|
"target": "com.amazonaws.greengrass#__string"
|
|
},
|
|
"value": {
|
|
"target": "com.amazonaws.greengrass#__string"
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "The key-value pair for the resource tag."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#Telemetry": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "On",
|
|
"name": "On"
|
|
},
|
|
{
|
|
"value": "Off",
|
|
"name": "Off"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#TelemetryConfiguration": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ConfigurationSyncStatus": {
|
|
"target": "com.amazonaws.greengrass#ConfigurationSyncStatus",
|
|
"traits": {
|
|
"smithy.api#documentation": "Synchronization status of the device reported configuration with the desired configuration."
|
|
}
|
|
},
|
|
"Telemetry": {
|
|
"target": "com.amazonaws.greengrass#Telemetry",
|
|
"traits": {
|
|
"smithy.api#documentation": "Configure telemetry to be on or off.",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Configuration settings for running telemetry."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#TelemetryConfigurationUpdate": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Telemetry": {
|
|
"target": "com.amazonaws.greengrass#Telemetry",
|
|
"traits": {
|
|
"smithy.api#documentation": "Configure telemetry to be on or off.",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Configuration settings for running telemetry."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UntagResource": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#UntagResourceRequest"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Remove resource tags from a Greengrass Resource.",
|
|
"smithy.api#http": {
|
|
"method": "DELETE",
|
|
"uri": "/tags/{ResourceArn}",
|
|
"code": 204
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UntagResourceRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ResourceArn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"TagKeys": {
|
|
"target": "com.amazonaws.greengrass#__listOf__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "An array of tag keys to delete",
|
|
"smithy.api#httpQuery": "tagKeys",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateAgentLogLevel": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The minimum level of log statements that should be logged by the OTA Agent during an update.",
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "NONE",
|
|
"name": "NONE"
|
|
},
|
|
{
|
|
"value": "TRACE",
|
|
"name": "TRACE"
|
|
},
|
|
{
|
|
"value": "DEBUG",
|
|
"name": "DEBUG"
|
|
},
|
|
{
|
|
"value": "VERBOSE",
|
|
"name": "VERBOSE"
|
|
},
|
|
{
|
|
"value": "INFO",
|
|
"name": "INFO"
|
|
},
|
|
{
|
|
"value": "WARN",
|
|
"name": "WARN"
|
|
},
|
|
{
|
|
"value": "ERROR",
|
|
"name": "ERROR"
|
|
},
|
|
{
|
|
"value": "FATAL",
|
|
"name": "FATAL"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateConnectivityInfo": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#UpdateConnectivityInfoRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#UpdateConnectivityInfoResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Updates the connectivity information for the core. Any devices that belong to the group which has this core will receive this information in order to find the location of the core and connect to it.",
|
|
"smithy.api#http": {
|
|
"method": "PUT",
|
|
"uri": "/greengrass/things/{ThingName}/connectivityInfo",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateConnectivityInfoRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ConnectivityInfo": {
|
|
"target": "com.amazonaws.greengrass#__listOfConnectivityInfo",
|
|
"traits": {
|
|
"smithy.api#documentation": "A list of connectivity info."
|
|
}
|
|
},
|
|
"ThingName": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The thing name.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Connectivity information."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateConnectivityInfoResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Message": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "A message about the connectivity info update request.",
|
|
"smithy.api#jsonName": "message"
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The new version of the connectivity info."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateConnectorDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#UpdateConnectorDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#UpdateConnectorDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Updates a connector definition.",
|
|
"smithy.api#http": {
|
|
"method": "PUT",
|
|
"uri": "/greengrass/definition/connectors/{ConnectorDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateConnectorDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ConnectorDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the connector definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateConnectorDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateCoreDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#UpdateCoreDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#UpdateCoreDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Updates a core definition.",
|
|
"smithy.api#http": {
|
|
"method": "PUT",
|
|
"uri": "/greengrass/definition/cores/{CoreDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateCoreDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"CoreDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the core definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateCoreDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateDeviceDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#UpdateDeviceDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#UpdateDeviceDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Updates a device definition.",
|
|
"smithy.api#http": {
|
|
"method": "PUT",
|
|
"uri": "/greengrass/definition/devices/{DeviceDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateDeviceDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DeviceDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the device definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateDeviceDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateFunctionDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#UpdateFunctionDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#UpdateFunctionDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Updates a Lambda function definition.",
|
|
"smithy.api#http": {
|
|
"method": "PUT",
|
|
"uri": "/greengrass/definition/functions/{FunctionDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateFunctionDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"FunctionDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Lambda function definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateFunctionDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateGroup": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#UpdateGroupRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#UpdateGroupResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Updates a group.",
|
|
"smithy.api#http": {
|
|
"method": "PUT",
|
|
"uri": "/greengrass/groups/{GroupId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateGroupCertificateConfiguration": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#UpdateGroupCertificateConfigurationRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#UpdateGroupCertificateConfigurationResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Updates the Certificate expiry time for a group.",
|
|
"smithy.api#http": {
|
|
"method": "PUT",
|
|
"uri": "/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateGroupCertificateConfigurationRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"CertificateExpiryInMilliseconds": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The amount of time remaining before the certificate expires, in milliseconds."
|
|
}
|
|
},
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateGroupCertificateConfigurationResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"CertificateAuthorityExpiryInMilliseconds": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The amount of time remaining before the certificate authority expires, in milliseconds."
|
|
}
|
|
},
|
|
"CertificateExpiryInMilliseconds": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The amount of time remaining before the certificate expires, in milliseconds."
|
|
}
|
|
},
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the group certificate configuration."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateGroupRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GroupId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the Greengrass group.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateGroupResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateLoggerDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#UpdateLoggerDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#UpdateLoggerDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Updates a logger definition.",
|
|
"smithy.api#http": {
|
|
"method": "PUT",
|
|
"uri": "/greengrass/definition/loggers/{LoggerDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateLoggerDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LoggerDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the logger definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateLoggerDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateResourceDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#UpdateResourceDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#UpdateResourceDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Updates a resource definition.",
|
|
"smithy.api#http": {
|
|
"method": "PUT",
|
|
"uri": "/greengrass/definition/resources/{ResourceDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateResourceDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
},
|
|
"ResourceDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the resource definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateResourceDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateSubscriptionDefinition": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#UpdateSubscriptionDefinitionRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#UpdateSubscriptionDefinitionResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Updates a subscription definition.",
|
|
"smithy.api#http": {
|
|
"method": "PUT",
|
|
"uri": "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateSubscriptionDefinitionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Name": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The name of the definition."
|
|
}
|
|
},
|
|
"SubscriptionDefinitionId": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the subscription definition.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateSubscriptionDefinitionResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateTargets": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#__string"
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARNs of the targets (IoT things or IoT thing groups) that this update will be applied to."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateTargetsArchitecture": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The architecture of the cores which are the targets of an update.",
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "armv6l",
|
|
"name": "armv6l"
|
|
},
|
|
{
|
|
"value": "armv7l",
|
|
"name": "armv7l"
|
|
},
|
|
{
|
|
"value": "x86_64",
|
|
"name": "x86_64"
|
|
},
|
|
{
|
|
"value": "aarch64",
|
|
"name": "aarch64"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateTargetsOperatingSystem": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The operating system of the cores which are the targets of an update.",
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "ubuntu",
|
|
"name": "ubuntu"
|
|
},
|
|
{
|
|
"value": "raspbian",
|
|
"name": "raspbian"
|
|
},
|
|
{
|
|
"value": "amazon_linux",
|
|
"name": "amazon_linux"
|
|
},
|
|
{
|
|
"value": "openwrt",
|
|
"name": "openwrt"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateThingRuntimeConfiguration": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.greengrass#UpdateThingRuntimeConfigurationRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.greengrass#UpdateThingRuntimeConfigurationResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.greengrass#BadRequestException"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.greengrass#InternalServerErrorException"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "Updates the runtime configuration of a thing.",
|
|
"smithy.api#http": {
|
|
"method": "PUT",
|
|
"uri": "/greengrass/things/{ThingName}/runtimeconfig",
|
|
"code": 200
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateThingRuntimeConfigurationRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"TelemetryConfiguration": {
|
|
"target": "com.amazonaws.greengrass#TelemetryConfigurationUpdate",
|
|
"traits": {
|
|
"smithy.api#documentation": "Configuration for telemetry service."
|
|
}
|
|
},
|
|
"ThingName": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The thing name.",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#UpdateThingRuntimeConfigurationResponse": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.greengrass#VersionInformation": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ARN of the version."
|
|
}
|
|
},
|
|
"CreationTimestamp": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The time, in milliseconds since the epoch, when the version was created."
|
|
}
|
|
},
|
|
"Id": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the parent definition that the version is associated with."
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.greengrass#__string",
|
|
"traits": {
|
|
"smithy.api#documentation": "The ID of the version."
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "Information about a version."
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__boolean": {
|
|
"type": "boolean"
|
|
},
|
|
"com.amazonaws.greengrass#__integer": {
|
|
"type": "integer"
|
|
},
|
|
"com.amazonaws.greengrass#__listOfConnectivityInfo": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#ConnectivityInfo"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__listOfConnector": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#Connector"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__listOfCore": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#Core"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__listOfDefinitionInformation": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#DefinitionInformation"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__listOfDevice": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#Device"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__listOfFunction": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#Function"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__listOfGroupCertificateAuthorityProperties": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#GroupCertificateAuthorityProperties"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__listOfGroupInformation": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#GroupInformation"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__listOfLogger": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#Logger"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__listOfResource": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#Resource"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__listOfResourceAccessPolicy": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#ResourceAccessPolicy"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__listOfSubscription": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#Subscription"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__listOfVersionInformation": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#VersionInformation"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__listOf__string": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.greengrass#__string"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__mapOf__string": {
|
|
"type": "map",
|
|
"key": {
|
|
"target": "com.amazonaws.greengrass#__string"
|
|
},
|
|
"value": {
|
|
"target": "com.amazonaws.greengrass#__string"
|
|
}
|
|
},
|
|
"com.amazonaws.greengrass#__string": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|