openapi: 3.0.0
info:
version: '2019-12-02'
x-release: v4
title: AWS IoT SiteWise Access Policies Configuration API
description: Welcome to the IoT SiteWise API Reference. IoT SiteWise is an Amazon Web Services service that connects Industrial Internet of Things (IIoT) devices to the power of the Amazon Web Services Cloud. For more information, see the IoT SiteWise User Guide. For information about IoT SiteWise quotas, see Quotas in the IoT SiteWise User Guide.
x-logo:
url: https://twitter.com/awscloud/profile_image?size=original
backgroundColor: '#FFFFFF'
termsOfService: https://aws.amazon.com/service-terms/
contact:
name: Mike Ralphson
email: mike.ralphson@gmail.com
url: https://github.com/mermade/aws2openapi
x-twitter: PermittedSoc
license:
name: Apache 2.0 License
url: http://www.apache.org/licenses/
x-providerName: amazonaws.com
x-serviceName: iotsitewise
x-aws-signingName: iotsitewise
x-origin:
- contentType: application/json
url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/iotsitewise-2019-12-02.normal.json
converter:
url: https://github.com/mermade/aws2openapi
version: 1.0.0
x-apisguru-driver: external
x-apiClientRegistration:
url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct
x-apisguru-categories:
- cloud
x-preferred: true
servers:
- url: http://iotsitewise.{region}.amazonaws.com
variables:
region:
description: The AWS region
enum:
- us-east-1
- us-east-2
- us-west-1
- us-west-2
- us-gov-west-1
- us-gov-east-1
- ca-central-1
- eu-north-1
- eu-west-1
- eu-west-2
- eu-west-3
- eu-central-1
- eu-south-1
- af-south-1
- ap-northeast-1
- ap-northeast-2
- ap-northeast-3
- ap-southeast-1
- ap-southeast-2
- ap-east-1
- ap-south-1
- sa-east-1
- me-south-1
default: us-east-1
description: The AWS IoT SiteWise multi-region endpoint
- url: https://iotsitewise.{region}.amazonaws.com
variables:
region:
description: The AWS region
enum:
- us-east-1
- us-east-2
- us-west-1
- us-west-2
- us-gov-west-1
- us-gov-east-1
- ca-central-1
- eu-north-1
- eu-west-1
- eu-west-2
- eu-west-3
- eu-central-1
- eu-south-1
- af-south-1
- ap-northeast-1
- ap-northeast-2
- ap-northeast-3
- ap-southeast-1
- ap-southeast-2
- ap-east-1
- ap-south-1
- sa-east-1
- me-south-1
default: us-east-1
description: The AWS IoT SiteWise multi-region endpoint
- url: http://iotsitewise.{region}.amazonaws.com.cn
variables:
region:
description: The AWS region
enum:
- cn-north-1
- cn-northwest-1
default: cn-north-1
description: The AWS IoT SiteWise endpoint for China (Beijing) and China (Ningxia)
- url: https://iotsitewise.{region}.amazonaws.com.cn
variables:
region:
description: The AWS region
enum:
- cn-north-1
- cn-northwest-1
default: cn-north-1
description: The AWS IoT SiteWise endpoint for China (Beijing) and China (Ningxia)
security:
- hmac: []
tags:
- name: Configuration
paths:
/configuration/account/encryption:
parameters:
- $ref: '#/components/parameters/X-Amz-Content-Sha256'
- $ref: '#/components/parameters/X-Amz-Date'
- $ref: '#/components/parameters/X-Amz-Algorithm'
- $ref: '#/components/parameters/X-Amz-Credential'
- $ref: '#/components/parameters/X-Amz-Security-Token'
- $ref: '#/components/parameters/X-Amz-Signature'
- $ref: '#/components/parameters/X-Amz-SignedHeaders'
get:
operationId: DescribeDefaultEncryptionConfiguration
description: Retrieves information about the default encryption configuration for the Amazon Web Services account in the default or specified Region. For more information, see Key management in the IoT SiteWise User Guide.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DescribeDefaultEncryptionConfigurationResponse'
'480':
description: InvalidRequestException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidRequestException'
'481':
description: InternalFailureException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalFailureException'
'482':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
parameters: []
summary: Amazon IoT SiteWise Describe Default Encryption Configuration
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
tags:
- Configuration
post:
operationId: PutDefaultEncryptionConfiguration
description: Sets the default encryption configuration for the Amazon Web Services account. For more information, see Key management in the IoT SiteWise User Guide.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/PutDefaultEncryptionConfigurationResponse'
'480':
description: InvalidRequestException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidRequestException'
'481':
description: InternalFailureException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalFailureException'
'482':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
'483':
description: LimitExceededException
content:
application/json:
schema:
$ref: '#/components/schemas/LimitExceededException'
'484':
description: ConflictingOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictingOperationException'
parameters: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- encryptionType
properties:
encryptionType:
description: The type of encryption used for the encryption configuration.
type: string
enum:
- SITEWISE_DEFAULT_ENCRYPTION
- KMS_BASED_ENCRYPTION
kmsKeyId:
description: The Key ID of the customer managed key used for KMS encryption. This is required if you use KMS_BASED_ENCRYPTION.
type: string
minLength: 1
maxLength: 2048
summary: Amazon IoT SiteWise Put Default Encryption Configuration
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
tags:
- Configuration
/configuration/account/storage:
parameters:
- $ref: '#/components/parameters/X-Amz-Content-Sha256'
- $ref: '#/components/parameters/X-Amz-Date'
- $ref: '#/components/parameters/X-Amz-Algorithm'
- $ref: '#/components/parameters/X-Amz-Credential'
- $ref: '#/components/parameters/X-Amz-Security-Token'
- $ref: '#/components/parameters/X-Amz-Signature'
- $ref: '#/components/parameters/X-Amz-SignedHeaders'
get:
operationId: DescribeStorageConfiguration
description: Retrieves information about the storage configuration for IoT SiteWise.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DescribeStorageConfigurationResponse'
'480':
description: InvalidRequestException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidRequestException'
'481':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'482':
description: InternalFailureException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalFailureException'
'483':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
'484':
description: LimitExceededException
content:
application/json:
schema:
$ref: '#/components/schemas/LimitExceededException'
'485':
description: ConflictingOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictingOperationException'
parameters: []
summary: Amazon IoT SiteWise Describe Storage Configuration
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
tags:
- Configuration
post:
operationId: PutStorageConfiguration
description: Configures storage settings for IoT SiteWise.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/PutStorageConfigurationResponse'
'480':
description: InvalidRequestException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidRequestException'
'481':
description: ResourceAlreadyExistsException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceAlreadyExistsException'
'482':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'483':
description: InternalFailureException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalFailureException'
'484':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
'485':
description: LimitExceededException
content:
application/json:
schema:
$ref: '#/components/schemas/LimitExceededException'
'486':
description: ConflictingOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictingOperationException'
parameters: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- storageType
properties:
storageType:
description:
The storage tier that you specified for your data. The storageType parameter can be one of the following values:
SITEWISE_DEFAULT_STORAGE – IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database.
MULTI_LAYER_STORAGE – IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The disassociatedDataStorage can be one of the following values:
ENABLED – IoT SiteWise accepts time series that aren't associated with asset properties.
After the disassociatedDataStorage is enabled, you can't disable it.
DISABLED – IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.
For more information, see Data streams in the IoT SiteWise User Guide.
type: string enum: - ENABLED - DISABLED retentionPeriod: description: How many days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier. type: object properties: numberOfDays: allOf: - $ref: '#/components/schemas/NumberOfDays' - description:The number of days that your data is kept.
If you specified a value for this parameter, the unlimited parameter must be false.
If true, your data is kept indefinitely.
If configured to true, you must not specify a value for the numberOfDays parameter.
The number of days that your data is kept.
If you specified a value for this parameter, the unlimited parameter must be false.
If true, your data is kept indefinitely.
If configured to true, you must not specify a value for the numberOfDays parameter.
KMS_BASED_ENCRYPTION.
configurationStatus:
allOf:
- $ref: '#/components/schemas/ConfigurationStatus'
- description: The status of the account configuration. This contains the ConfigurationState. If there is an error, it also contains the ErrorDetails.
DescribeDefaultEncryptionConfigurationResponse:
type: object
required:
- encryptionType
- configurationStatus
properties:
encryptionType:
allOf:
- $ref: '#/components/schemas/EncryptionType'
- description: The type of encryption used for the encryption configuration.
kmsKeyArn:
allOf:
- $ref: '#/components/schemas/ARN'
- description: The key ARN of the customer managed key used for KMS encryption if you use KMS_BASED_ENCRYPTION.
configurationStatus:
allOf:
- $ref: '#/components/schemas/ConfigurationStatus'
- description: The status of the account configuration. This contains the ConfigurationState. If there's an error, it also contains the ErrorDetails.
ConfigurationErrorDetails:
type: object
required:
- code
- message
properties:
code:
allOf:
- $ref: '#/components/schemas/ErrorCode'
- description: The error code.
message:
allOf:
- $ref: '#/components/schemas/ErrorMessage'
- description: The error message.
description: Contains the details of an IoT SiteWise configuration error.
DisassociatedDataStorageState:
type: string
enum:
- ENABLED
- DISABLED
InvalidRequestException: {}
ConflictingOperationException: {}
LimitExceededException: {}
PutStorageConfigurationResponse:
type: object
required:
- storageType
- configurationStatus
properties:
storageType:
allOf:
- $ref: '#/components/schemas/StorageType'
- description: The storage tier that you specified for your data. The storageType parameter can be one of the following values:
SITEWISE_DEFAULT_STORAGE – IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database.
MULTI_LAYER_STORAGE – IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The disassociatedDataStorage can be one of the following values:
ENABLED – IoT SiteWise accepts time series that aren't associated with asset properties.
After the disassociatedDataStorage is enabled, you can't disable it.
DISABLED – IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.
For more information, see Data streams in the IoT SiteWise User Guide.
retentionPeriod: $ref: '#/components/schemas/RetentionPeriod' configurationStatus: $ref: '#/components/schemas/ConfigurationStatus' NumberOfDays: type: integer minimum: 30 ThrottlingException: {} EncryptionType: type: string enum: - SITEWISE_DEFAULT_ENCRYPTION - KMS_BASED_ENCRYPTION ResourceAlreadyExistsException: {} ErrorMessage: type: string DescribeStorageConfigurationResponse: type: object required: - storageType - configurationStatus properties: storageType: allOf: - $ref: '#/components/schemas/StorageType' - description:The storage tier that you specified for your data. The storageType parameter can be one of the following values:
SITEWISE_DEFAULT_STORAGE – IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database.
MULTI_LAYER_STORAGE – IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The disassociatedDataStorage can be one of the following values:
ENABLED – IoT SiteWise accepts time series that aren't associated with asset properties.
After the disassociatedDataStorage is enabled, you can't disable it.
DISABLED – IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.
For more information, see Data streams in the IoT SiteWise User Guide.
retentionPeriod: allOf: - $ref: '#/components/schemas/RetentionPeriod' - description: How many days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier. configurationStatus: $ref: '#/components/schemas/ConfigurationStatus' lastUpdateDate: allOf: - $ref: '#/components/schemas/Timestamp' - description: The date the storage configuration was last updated, in Unix epoch time. ConfigurationStatus: type: object required: - state properties: state: allOf: - $ref: '#/components/schemas/ConfigurationState' - description: The current state of the configuration. error: allOf: - $ref: '#/components/schemas/ConfigurationErrorDetails' - description: Contains associated error information, if any. description: Contains current status information for the configuration. ErrorCode: type: string enum: - VALIDATION_ERROR - INTERNAL_FAILURE CustomerManagedS3Storage: type: object required: - s3ResourceArn - roleArn properties: s3ResourceArn: allOf: - $ref: '#/components/schemas/ARN' - description: The ARN of the Amazon S3 object. For more information about how to find the ARN for an Amazon S3 object, see Amazon S3 resources in the Amazon Simple Storage Service User Guide. roleArn: allOf: - $ref: '#/components/schemas/ARN' - description: The ARN of the Identity and Access Management role that allows IoT SiteWise to send data to Amazon S3. description: Contains information about a customer managed Amazon S3 bucket. Unlimited: type: boolean StorageType: type: string enum: - SITEWISE_DEFAULT_STORAGE - MULTI_LAYER_STORAGE ResourceNotFoundException: {} ARN: type: string pattern: .* minLength: 1 maxLength: 1600 securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/iotsitewise/ x-hasEquivalentPaths: true