@aws-sdk/client-iot-managed-integrations 3.830.0 → 3.838.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +200 -0
- package/dist-cjs/IoTManagedIntegrations.js +50 -0
- package/dist-cjs/commands/CreateAccountAssociationCommand.js +27 -0
- package/dist-cjs/commands/CreateCloudConnectorCommand.js +26 -0
- package/dist-cjs/commands/CreateConnectorDestinationCommand.js +26 -0
- package/dist-cjs/commands/DeleteAccountAssociationCommand.js +26 -0
- package/dist-cjs/commands/DeleteCloudConnectorCommand.js +26 -0
- package/dist-cjs/commands/DeleteConnectorDestinationCommand.js +26 -0
- package/dist-cjs/commands/DeregisterAccountAssociationCommand.js +26 -0
- package/dist-cjs/commands/GetAccountAssociationCommand.js +27 -0
- package/dist-cjs/commands/GetCloudConnectorCommand.js +26 -0
- package/dist-cjs/commands/GetConnectorDestinationCommand.js +26 -0
- package/dist-cjs/commands/GetOtaTaskCommand.js +2 -1
- package/dist-cjs/commands/ListAccountAssociationsCommand.js +26 -0
- package/dist-cjs/commands/ListCloudConnectorsCommand.js +26 -0
- package/dist-cjs/commands/ListConnectorDestinationsCommand.js +26 -0
- package/dist-cjs/commands/ListDeviceDiscoveriesCommand.js +26 -0
- package/dist-cjs/commands/ListDiscoveredDevicesCommand.js +27 -0
- package/dist-cjs/commands/ListManagedThingAccountAssociationsCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +27 -0
- package/dist-cjs/commands/RegisterAccountAssociationCommand.js +26 -0
- package/dist-cjs/commands/SendConnectorEventCommand.js +27 -0
- package/dist-cjs/commands/StartAccountAssociationRefreshCommand.js +27 -0
- package/dist-cjs/commands/TagResourceCommand.js +27 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateAccountAssociationCommand.js +26 -0
- package/dist-cjs/commands/UpdateCloudConnectorCommand.js +26 -0
- package/dist-cjs/commands/UpdateConnectorDestinationCommand.js +26 -0
- package/dist-cjs/commands/index.js +25 -0
- package/dist-cjs/models/models_0.js +187 -36
- package/dist-cjs/pagination/ListAccountAssociationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListCloudConnectorsPaginator.js +7 -0
- package/dist-cjs/pagination/ListConnectorDestinationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListDeviceDiscoveriesPaginator.js +7 -0
- package/dist-cjs/pagination/ListDiscoveredDevicesPaginator.js +7 -0
- package/dist-cjs/pagination/ListManagedThingAccountAssociationsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +974 -22
- package/dist-es/IoTManagedIntegrations.js +50 -0
- package/dist-es/commands/CreateAccountAssociationCommand.js +23 -0
- package/dist-es/commands/CreateCloudConnectorCommand.js +22 -0
- package/dist-es/commands/CreateConnectorDestinationCommand.js +22 -0
- package/dist-es/commands/DeleteAccountAssociationCommand.js +22 -0
- package/dist-es/commands/DeleteCloudConnectorCommand.js +22 -0
- package/dist-es/commands/DeleteConnectorDestinationCommand.js +22 -0
- package/dist-es/commands/DeregisterAccountAssociationCommand.js +22 -0
- package/dist-es/commands/GetAccountAssociationCommand.js +23 -0
- package/dist-es/commands/GetCloudConnectorCommand.js +22 -0
- package/dist-es/commands/GetConnectorDestinationCommand.js +22 -0
- package/dist-es/commands/GetOtaTaskCommand.js +2 -1
- package/dist-es/commands/ListAccountAssociationsCommand.js +22 -0
- package/dist-es/commands/ListCloudConnectorsCommand.js +22 -0
- package/dist-es/commands/ListConnectorDestinationsCommand.js +22 -0
- package/dist-es/commands/ListDeviceDiscoveriesCommand.js +22 -0
- package/dist-es/commands/ListDiscoveredDevicesCommand.js +23 -0
- package/dist-es/commands/ListManagedThingAccountAssociationsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +23 -0
- package/dist-es/commands/RegisterAccountAssociationCommand.js +22 -0
- package/dist-es/commands/SendConnectorEventCommand.js +23 -0
- package/dist-es/commands/StartAccountAssociationRefreshCommand.js +23 -0
- package/dist-es/commands/TagResourceCommand.js +23 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateAccountAssociationCommand.js +22 -0
- package/dist-es/commands/UpdateCloudConnectorCommand.js +22 -0
- package/dist-es/commands/UpdateConnectorDestinationCommand.js +22 -0
- package/dist-es/commands/index.js +25 -0
- package/dist-es/models/models_0.js +168 -32
- package/dist-es/pagination/ListAccountAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListCloudConnectorsPaginator.js +4 -0
- package/dist-es/pagination/ListConnectorDestinationsPaginator.js +4 -0
- package/dist-es/pagination/ListDeviceDiscoveriesPaginator.js +4 -0
- package/dist-es/pagination/ListDiscoveredDevicesPaginator.js +4 -0
- package/dist-es/pagination/ListManagedThingAccountAssociationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +918 -17
- package/dist-types/IoTManagedIntegrations.d.ts +180 -0
- package/dist-types/IoTManagedIntegrationsClient.d.ts +27 -2
- package/dist-types/commands/CreateAccountAssociationCommand.d.ts +102 -0
- package/dist-types/commands/CreateCloudConnectorCommand.d.ts +159 -0
- package/dist-types/commands/CreateConnectorDestinationCommand.d.ts +108 -0
- package/dist-types/commands/CreateCredentialLockerCommand.d.ts +2 -4
- package/dist-types/commands/CreateDestinationCommand.d.ts +2 -4
- package/dist-types/commands/CreateEventLogConfigurationCommand.d.ts +2 -4
- package/dist-types/commands/CreateManagedThingCommand.d.ts +12 -5
- package/dist-types/commands/CreateNotificationConfigurationCommand.d.ts +4 -6
- package/dist-types/commands/CreateOtaTaskCommand.d.ts +7 -2
- package/dist-types/commands/CreateOtaTaskConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/CreateProvisioningProfileCommand.d.ts +5 -5
- package/dist-types/commands/DeleteAccountAssociationCommand.d.ts +88 -0
- package/dist-types/commands/DeleteCloudConnectorCommand.d.ts +85 -0
- package/dist-types/commands/DeleteConnectorDestinationCommand.d.ts +85 -0
- package/dist-types/commands/DeleteCredentialLockerCommand.d.ts +2 -7
- package/dist-types/commands/DeleteDestinationCommand.d.ts +1 -2
- package/dist-types/commands/DeleteEventLogConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/DeleteManagedThingCommand.d.ts +2 -5
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +2 -3
- package/dist-types/commands/DeleteOtaTaskCommand.d.ts +4 -2
- package/dist-types/commands/DeleteOtaTaskConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/DeleteProvisioningProfileCommand.d.ts +1 -2
- package/dist-types/commands/DeregisterAccountAssociationCommand.d.ts +86 -0
- package/dist-types/commands/GetAccountAssociationCommand.d.ts +100 -0
- package/dist-types/commands/GetCloudConnectorCommand.d.ts +151 -0
- package/dist-types/commands/GetConnectorDestinationCommand.d.ts +109 -0
- package/dist-types/commands/GetCredentialLockerCommand.d.ts +1 -2
- package/dist-types/commands/GetCustomEndpointCommand.d.ts +1 -2
- package/dist-types/commands/GetDefaultEncryptionConfigurationCommand.d.ts +1 -3
- package/dist-types/commands/GetDestinationCommand.d.ts +1 -2
- package/dist-types/commands/GetDeviceDiscoveryCommand.d.ts +3 -3
- package/dist-types/commands/GetEventLogConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/GetHubConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/GetManagedThingCapabilitiesCommand.d.ts +1 -2
- package/dist-types/commands/GetManagedThingCommand.d.ts +2 -2
- package/dist-types/commands/GetManagedThingConnectivityDataCommand.d.ts +1 -2
- package/dist-types/commands/GetManagedThingMetaDataCommand.d.ts +2 -3
- package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +3 -4
- package/dist-types/commands/GetOtaTaskCommand.d.ts +4 -2
- package/dist-types/commands/GetOtaTaskConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/GetProvisioningProfileCommand.d.ts +1 -2
- package/dist-types/commands/GetRuntimeLogConfigurationCommand.d.ts +2 -4
- package/dist-types/commands/GetSchemaVersionCommand.d.ts +7 -14
- package/dist-types/commands/ListAccountAssociationsCommand.d.ts +100 -0
- package/dist-types/commands/ListCloudConnectorsCommand.d.ts +150 -0
- package/dist-types/commands/ListConnectorDestinationsCommand.d.ts +94 -0
- package/dist-types/commands/ListCredentialLockersCommand.d.ts +1 -2
- package/dist-types/commands/ListDestinationsCommand.d.ts +1 -2
- package/dist-types/commands/ListDeviceDiscoveriesCommand.d.ts +100 -0
- package/dist-types/commands/ListDiscoveredDevicesCommand.d.ts +110 -0
- package/dist-types/commands/ListEventLogConfigurationsCommand.d.ts +1 -2
- package/dist-types/commands/ListManagedThingAccountAssociationsCommand.d.ts +93 -0
- package/dist-types/commands/ListManagedThingSchemasCommand.d.ts +1 -2
- package/dist-types/commands/ListManagedThingsCommand.d.ts +5 -3
- package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +2 -3
- package/dist-types/commands/ListOtaTaskConfigurationsCommand.d.ts +1 -2
- package/dist-types/commands/ListOtaTaskExecutionsCommand.d.ts +4 -2
- package/dist-types/commands/ListOtaTasksCommand.d.ts +4 -2
- package/dist-types/commands/ListProvisioningProfilesCommand.d.ts +1 -2
- package/dist-types/commands/ListSchemaVersionsCommand.d.ts +7 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +86 -0
- package/dist-types/commands/PutDefaultEncryptionConfigurationCommand.d.ts +1 -3
- package/dist-types/commands/PutHubConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/PutRuntimeLogConfigurationCommand.d.ts +2 -4
- package/dist-types/commands/RegisterAccountAssociationCommand.d.ts +94 -0
- package/dist-types/commands/RegisterCustomEndpointCommand.d.ts +2 -4
- package/dist-types/commands/ResetRuntimeLogConfigurationCommand.d.ts +2 -4
- package/dist-types/commands/SendConnectorEventCommand.d.ts +309 -0
- package/dist-types/commands/SendManagedThingCommandCommand.d.ts +5 -2
- package/dist-types/commands/StartAccountAssociationRefreshCommand.d.ts +90 -0
- package/dist-types/commands/StartDeviceDiscoveryCommand.d.ts +7 -6
- package/dist-types/commands/TagResourceCommand.d.ts +88 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
- package/dist-types/commands/UpdateAccountAssociationCommand.d.ts +93 -0
- package/dist-types/commands/UpdateCloudConnectorCommand.d.ts +115 -0
- package/dist-types/commands/UpdateConnectorDestinationCommand.d.ts +101 -0
- package/dist-types/commands/UpdateDestinationCommand.d.ts +1 -2
- package/dist-types/commands/UpdateEventLogConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/UpdateManagedThingCommand.d.ts +10 -2
- package/dist-types/commands/UpdateNotificationConfigurationCommand.d.ts +2 -3
- package/dist-types/commands/UpdateOtaTaskCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +25 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1953 -394
- package/dist-types/pagination/ListAccountAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCloudConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConnectorDestinationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDeviceDiscoveriesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDiscoveredDevicesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListManagedThingAccountAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +225 -0
- package/dist-types/ts3.4/IoTManagedIntegrations.d.ts +436 -0
- package/dist-types/ts3.4/IoTManagedIntegrationsClient.d.ts +150 -0
- package/dist-types/ts3.4/commands/CreateAccountAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCloudConnectorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateConnectorDestinationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAccountAssociationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteCloudConnectorCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteConnectorDestinationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeregisterAccountAssociationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetAccountAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCloudConnectorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectorDestinationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAccountAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCloudConnectorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConnectorDestinationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDeviceDiscoveriesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDiscoveredDevicesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListManagedThingAccountAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RegisterAccountAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendConnectorEventCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartAccountAssociationRefreshCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateAccountAssociationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateCloudConnectorCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/UpdateConnectorDestinationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +25 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/dist-types/ts3.4/models/models_0.d.ts +510 -54
- package/dist-types/ts3.4/pagination/ListAccountAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCloudConnectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConnectorDestinationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDeviceDiscoveriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDiscoveredDevicesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListManagedThingAccountAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +300 -0
- package/package.json +11 -11
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTManagedIntegrationsClient";
|
|
4
|
+
import { CreateCloudConnectorRequest, CreateCloudConnectorResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateCloudConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateCloudConnectorCommandInput extends CreateCloudConnectorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateCloudConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateCloudConnectorCommandOutput extends CreateCloudConnectorResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateCloudConnectorCommand_base: {
|
|
25
|
+
new (input: CreateCloudConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCloudConnectorCommandInput, CreateCloudConnectorCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateCloudConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCloudConnectorCommandInput, CreateCloudConnectorCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a C2C (cloud-to-cloud) connector.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { IoTManagedIntegrationsClient, CreateCloudConnectorCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
|
|
35
|
+
* // const { IoTManagedIntegrationsClient, CreateCloudConnectorCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
36
|
+
* const client = new IoTManagedIntegrationsClient(config);
|
|
37
|
+
* const input = { // CreateCloudConnectorRequest
|
|
38
|
+
* Name: "STRING_VALUE", // required
|
|
39
|
+
* EndpointConfig: { // EndpointConfig
|
|
40
|
+
* lambda: { // LambdaConfig
|
|
41
|
+
* arn: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* Description: "STRING_VALUE",
|
|
45
|
+
* EndpointType: "LAMBDA",
|
|
46
|
+
* ClientToken: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new CreateCloudConnectorCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // CreateCloudConnectorResponse
|
|
51
|
+
* // Id: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param CreateCloudConnectorCommandInput - {@link CreateCloudConnectorCommandInput}
|
|
57
|
+
* @returns {@link CreateCloudConnectorCommandOutput}
|
|
58
|
+
* @see {@link CreateCloudConnectorCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link CreateCloudConnectorCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>User is not authorized.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ConflictException} (client fault)
|
|
66
|
+
* <p>There is a conflict with the request.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* <p>The rate exceeds the limit.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>A validation error occurred when performing the API request.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link IoTManagedIntegrationsServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @example CreateCloudConnector happy path for TP Link
|
|
82
|
+
* ```javascript
|
|
83
|
+
* //
|
|
84
|
+
* const input = {
|
|
85
|
+
* ClientToken: "1234567890",
|
|
86
|
+
* EndpointConfig: {
|
|
87
|
+
* lambda: {
|
|
88
|
+
* arn: "arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion"
|
|
89
|
+
* }
|
|
90
|
+
* },
|
|
91
|
+
* EndpointType: "LAMBDA",
|
|
92
|
+
* Name: "Connector for TP Link Cloud"
|
|
93
|
+
* };
|
|
94
|
+
* const command = new CreateCloudConnectorCommand(input);
|
|
95
|
+
* const response = await client.send(command);
|
|
96
|
+
* /* response is
|
|
97
|
+
* {
|
|
98
|
+
* Id: "TPLinkConnector1211"
|
|
99
|
+
* }
|
|
100
|
+
* *\/
|
|
101
|
+
* ```
|
|
102
|
+
*
|
|
103
|
+
* @example CreateCloudConnector happy path for Ring
|
|
104
|
+
* ```javascript
|
|
105
|
+
* //
|
|
106
|
+
* const input = {
|
|
107
|
+
* ClientToken: "12312321",
|
|
108
|
+
* EndpointConfig: {
|
|
109
|
+
* lambda: {
|
|
110
|
+
* arn: "arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion"
|
|
111
|
+
* }
|
|
112
|
+
* },
|
|
113
|
+
* EndpointType: "LAMBDA",
|
|
114
|
+
* Name: "Connector for Ring Cloud"
|
|
115
|
+
* };
|
|
116
|
+
* const command = new CreateCloudConnectorCommand(input);
|
|
117
|
+
* const response = await client.send(command);
|
|
118
|
+
* /* response is
|
|
119
|
+
* {
|
|
120
|
+
* Id: "RingConnector1212"
|
|
121
|
+
* }
|
|
122
|
+
* *\/
|
|
123
|
+
* ```
|
|
124
|
+
*
|
|
125
|
+
* @example CreateCloudConnector error path for Ring connector which already exists
|
|
126
|
+
* ```javascript
|
|
127
|
+
* //
|
|
128
|
+
* const input = {
|
|
129
|
+
* ClientToken: "1213123123",
|
|
130
|
+
* EndpointConfig: {
|
|
131
|
+
* lambda: {
|
|
132
|
+
* arn: "arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion2"
|
|
133
|
+
* }
|
|
134
|
+
* },
|
|
135
|
+
* EndpointType: "LAMBDA",
|
|
136
|
+
* Name: "Connector for Ring Cloud"
|
|
137
|
+
* };
|
|
138
|
+
* const command = new CreateCloudConnectorCommand(input);
|
|
139
|
+
* const response = await client.send(command);
|
|
140
|
+
* /* response is
|
|
141
|
+
* { /* metadata only *\/ }
|
|
142
|
+
* *\/
|
|
143
|
+
* ```
|
|
144
|
+
*
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
export declare class CreateCloudConnectorCommand extends CreateCloudConnectorCommand_base {
|
|
148
|
+
/** @internal type navigation helper, not in runtime. */
|
|
149
|
+
protected static __types: {
|
|
150
|
+
api: {
|
|
151
|
+
input: CreateCloudConnectorRequest;
|
|
152
|
+
output: CreateCloudConnectorResponse;
|
|
153
|
+
};
|
|
154
|
+
sdk: {
|
|
155
|
+
input: CreateCloudConnectorCommandInput;
|
|
156
|
+
output: CreateCloudConnectorCommandOutput;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTManagedIntegrationsClient";
|
|
4
|
+
import { CreateConnectorDestinationRequest, CreateConnectorDestinationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateConnectorDestinationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateConnectorDestinationCommandInput extends CreateConnectorDestinationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateConnectorDestinationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateConnectorDestinationCommandOutput extends CreateConnectorDestinationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateConnectorDestinationCommand_base: {
|
|
25
|
+
new (input: CreateConnectorDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectorDestinationCommandInput, CreateConnectorDestinationCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateConnectorDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectorDestinationCommandInput, CreateConnectorDestinationCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Create a connector destination for connecting a cloud-to-cloud (C2C) connector to the customer's Amazon Web Services account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { IoTManagedIntegrationsClient, CreateConnectorDestinationCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
|
|
35
|
+
* // const { IoTManagedIntegrationsClient, CreateConnectorDestinationCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
36
|
+
* const client = new IoTManagedIntegrationsClient(config);
|
|
37
|
+
* const input = { // CreateConnectorDestinationRequest
|
|
38
|
+
* Name: "STRING_VALUE",
|
|
39
|
+
* Description: "STRING_VALUE",
|
|
40
|
+
* CloudConnectorId: "STRING_VALUE", // required
|
|
41
|
+
* AuthType: "OAUTH", // required
|
|
42
|
+
* AuthConfig: { // AuthConfig
|
|
43
|
+
* oAuth: { // OAuthConfig
|
|
44
|
+
* authUrl: "STRING_VALUE", // required
|
|
45
|
+
* tokenUrl: "STRING_VALUE", // required
|
|
46
|
+
* scope: "STRING_VALUE",
|
|
47
|
+
* tokenEndpointAuthenticationScheme: "HTTP_BASIC" || "REQUEST_BODY_CREDENTIALS", // required
|
|
48
|
+
* oAuthCompleteRedirectUrl: "STRING_VALUE",
|
|
49
|
+
* proactiveRefreshTokenRenewal: { // ProactiveRefreshTokenRenewal
|
|
50
|
+
* enabled: true || false,
|
|
51
|
+
* DaysBeforeRenewal: Number("int"),
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* SecretsManager: { // SecretsManager
|
|
56
|
+
* arn: "STRING_VALUE", // required
|
|
57
|
+
* versionId: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
59
|
+
* ClientToken: "STRING_VALUE",
|
|
60
|
+
* };
|
|
61
|
+
* const command = new CreateConnectorDestinationCommand(input);
|
|
62
|
+
* const response = await client.send(command);
|
|
63
|
+
* // { // CreateConnectorDestinationResponse
|
|
64
|
+
* // Id: "STRING_VALUE",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param CreateConnectorDestinationCommandInput - {@link CreateConnectorDestinationCommandInput}
|
|
70
|
+
* @returns {@link CreateConnectorDestinationCommandOutput}
|
|
71
|
+
* @see {@link CreateConnectorDestinationCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link CreateConnectorDestinationCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p>User is not authorized.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ConflictException} (client fault)
|
|
79
|
+
* <p>There is a conflict with the request.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InternalServerException} (server fault)
|
|
82
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* <p>The rate exceeds the limit.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ValidationException} (client fault)
|
|
88
|
+
* <p>A validation error occurred when performing the API request.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link IoTManagedIntegrationsServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class CreateConnectorDestinationCommand extends CreateConnectorDestinationCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: CreateConnectorDestinationRequest;
|
|
101
|
+
output: CreateConnectorDestinationResponse;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: CreateConnectorDestinationCommandInput;
|
|
105
|
+
output: CreateConnectorDestinationCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -27,8 +27,7 @@ declare const CreateCredentialLockerCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Create a product credential locker. This operation will trigger the creation of all the
|
|
31
|
-
* manufacturing resources including the Wi-Fi setup key pair and device certificate.</p>
|
|
30
|
+
* <p>Create a product credential locker. This operation will trigger the creation of all the manufacturing resources including the Wi-Fi setup key pair and device certificate.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -65,8 +64,7 @@ declare const CreateCredentialLockerCommand_base: {
|
|
|
65
64
|
* <p>There is a conflict with the request.</p>
|
|
66
65
|
*
|
|
67
66
|
* @throws {@link InternalServerException} (server fault)
|
|
68
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
69
|
-
* is unavailable.</p>
|
|
67
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
70
68
|
*
|
|
71
69
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
72
70
|
* <p>The service quota has been exceeded for this request.</p>
|
|
@@ -27,8 +27,7 @@ declare const CreateDestinationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p> Create a destination. IoT managed integrations uses the destination to determine where to deliver
|
|
31
|
-
* notifications for a device. </p>
|
|
30
|
+
* <p> Create a destination. IoT managed integrations uses the destination to determine where to deliver notifications for a device. </p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -67,8 +66,7 @@ declare const CreateDestinationCommand_base: {
|
|
|
67
66
|
* <p>There is a conflict with the request.</p>
|
|
68
67
|
*
|
|
69
68
|
* @throws {@link InternalServerException} (server fault)
|
|
70
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
71
|
-
* is unavailable.</p>
|
|
69
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
72
70
|
*
|
|
73
71
|
* @throws {@link ThrottlingException} (client fault)
|
|
74
72
|
* <p>The rate exceeds the limit.</p>
|
|
@@ -27,8 +27,7 @@ declare const CreateEventLogConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Set the event log configuration for the account, resource type, or specific
|
|
31
|
-
* resource.</p>
|
|
30
|
+
* <p>Set the event log configuration for the account, resource type, or specific resource.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -62,8 +61,7 @@ declare const CreateEventLogConfigurationCommand_base: {
|
|
|
62
61
|
* <p>There is a conflict with the request.</p>
|
|
63
62
|
*
|
|
64
63
|
* @throws {@link InternalServerException} (server fault)
|
|
65
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
66
|
-
* is unavailable.</p>
|
|
64
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
67
65
|
*
|
|
68
66
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
69
67
|
* <p>The service quota has been exceeded for this request.</p>
|
|
@@ -27,8 +27,7 @@ declare const CreateManagedThingCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a managed thing. A managed thing contains the device identifier, protocol
|
|
31
|
-
* supported, and capabilities of the device in a protocol-specific format.</p>
|
|
30
|
+
* <p>Creates a managed thing. A managed thing contains the device identifier, protocol supported, and capabilities of the device in a protocol-specific format.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -40,7 +39,7 @@ declare const CreateManagedThingCommand_base: {
|
|
|
40
39
|
* Owner: "STRING_VALUE",
|
|
41
40
|
* CredentialLockerId: "STRING_VALUE",
|
|
42
41
|
* AuthenticationMaterial: "STRING_VALUE", // required
|
|
43
|
-
* AuthenticationMaterialType: "WIFI_SETUP_QR_BAR_CODE" || "ZWAVE_QR_BAR_CODE" || "ZIGBEE_QR_BAR_CODE", // required
|
|
42
|
+
* AuthenticationMaterialType: "CUSTOM_PROTOCOL_QR_BAR_CODE" || "WIFI_SETUP_QR_BAR_CODE" || "ZWAVE_QR_BAR_CODE" || "ZIGBEE_QR_BAR_CODE" || "DISCOVERED_DEVICE", // required
|
|
44
43
|
* SerialNumber: "STRING_VALUE",
|
|
45
44
|
* Brand: "STRING_VALUE",
|
|
46
45
|
* Model: "STRING_VALUE",
|
|
@@ -73,6 +72,15 @@ declare const CreateManagedThingCommand_base: {
|
|
|
73
72
|
* },
|
|
74
73
|
* ],
|
|
75
74
|
* },
|
|
75
|
+
* CapabilitySchemas: [ // CapabilitySchemas
|
|
76
|
+
* { // CapabilitySchemaItem
|
|
77
|
+
* Format: "AWS" || "ZCL" || "CONNECTOR", // required
|
|
78
|
+
* CapabilityId: "STRING_VALUE", // required
|
|
79
|
+
* ExtrinsicId: "STRING_VALUE", // required
|
|
80
|
+
* ExtrinsicVersion: Number("int"), // required
|
|
81
|
+
* Schema: "DOCUMENT_VALUE", // required
|
|
82
|
+
* },
|
|
83
|
+
* ],
|
|
76
84
|
* Capabilities: "STRING_VALUE",
|
|
77
85
|
* ClientToken: "STRING_VALUE",
|
|
78
86
|
* Classification: "STRING_VALUE",
|
|
@@ -106,8 +114,7 @@ declare const CreateManagedThingCommand_base: {
|
|
|
106
114
|
* <p>There is a conflict with the request.</p>
|
|
107
115
|
*
|
|
108
116
|
* @throws {@link InternalServerException} (server fault)
|
|
109
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
110
|
-
* is unavailable.</p>
|
|
117
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
111
118
|
*
|
|
112
119
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
113
120
|
* <p>The specified resource does not exist.</p>
|
|
@@ -27,8 +27,7 @@ declare const CreateNotificationConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a notification configuration. A configuration is a connection between an event
|
|
31
|
-
* type and a destination that you have already created. </p>
|
|
30
|
+
* <p>Creates a notification configuration. A configuration is a connection between an event type and a destination that you have already created. </p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -36,7 +35,7 @@ declare const CreateNotificationConfigurationCommand_base: {
|
|
|
36
35
|
* // const { IoTManagedIntegrationsClient, CreateNotificationConfigurationCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
37
36
|
* const client = new IoTManagedIntegrationsClient(config);
|
|
38
37
|
* const input = { // CreateNotificationConfigurationRequest
|
|
39
|
-
* EventType: "DEVICE_COMMAND" || "DEVICE_COMMAND_REQUEST" || "DEVICE_EVENT" || "DEVICE_LIFE_CYCLE" || "DEVICE_STATE" || "DEVICE_OTA" || "CONNECTOR_ASSOCIATION" || "CONNECTOR_ERROR_REPORT", // required
|
|
38
|
+
* EventType: "DEVICE_COMMAND" || "DEVICE_COMMAND_REQUEST" || "DEVICE_DISCOVERY_STATUS" || "DEVICE_EVENT" || "DEVICE_LIFE_CYCLE" || "DEVICE_STATE" || "DEVICE_OTA" || "CONNECTOR_ASSOCIATION" || "ACCOUNT_ASSOCIATION" || "CONNECTOR_ERROR_REPORT", // required
|
|
40
39
|
* DestinationName: "STRING_VALUE", // required
|
|
41
40
|
* ClientToken: "STRING_VALUE",
|
|
42
41
|
* Tags: { // TagsMap
|
|
@@ -46,7 +45,7 @@ declare const CreateNotificationConfigurationCommand_base: {
|
|
|
46
45
|
* const command = new CreateNotificationConfigurationCommand(input);
|
|
47
46
|
* const response = await client.send(command);
|
|
48
47
|
* // { // CreateNotificationConfigurationResponse
|
|
49
|
-
* // EventType: "DEVICE_COMMAND" || "DEVICE_COMMAND_REQUEST" || "DEVICE_EVENT" || "DEVICE_LIFE_CYCLE" || "DEVICE_STATE" || "DEVICE_OTA" || "CONNECTOR_ASSOCIATION" || "CONNECTOR_ERROR_REPORT",
|
|
48
|
+
* // EventType: "DEVICE_COMMAND" || "DEVICE_COMMAND_REQUEST" || "DEVICE_DISCOVERY_STATUS" || "DEVICE_EVENT" || "DEVICE_LIFE_CYCLE" || "DEVICE_STATE" || "DEVICE_OTA" || "CONNECTOR_ASSOCIATION" || "ACCOUNT_ASSOCIATION" || "CONNECTOR_ERROR_REPORT",
|
|
50
49
|
* // };
|
|
51
50
|
*
|
|
52
51
|
* ```
|
|
@@ -64,8 +63,7 @@ declare const CreateNotificationConfigurationCommand_base: {
|
|
|
64
63
|
* <p>There is a conflict with the request.</p>
|
|
65
64
|
*
|
|
66
65
|
* @throws {@link InternalServerException} (server fault)
|
|
67
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
68
|
-
* is unavailable.</p>
|
|
66
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
69
67
|
*
|
|
70
68
|
* @throws {@link ThrottlingException} (client fault)
|
|
71
69
|
* <p>The rate exceeds the limit.</p>
|
|
@@ -92,12 +92,17 @@ declare const CreateOtaTaskCommand_base: {
|
|
|
92
92
|
* <p>There is a conflict with the request.</p>
|
|
93
93
|
*
|
|
94
94
|
* @throws {@link InternalServerException} (server fault)
|
|
95
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
96
|
-
*
|
|
95
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
98
|
+
* <p>The specified resource does not exist.</p>
|
|
97
99
|
*
|
|
98
100
|
* @throws {@link ThrottlingException} (client fault)
|
|
99
101
|
* <p>The rate exceeds the limit.</p>
|
|
100
102
|
*
|
|
103
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
104
|
+
* <p>You are not authorized to perform this operation.</p>
|
|
105
|
+
*
|
|
101
106
|
* @throws {@link ValidationException} (client fault)
|
|
102
107
|
* <p>A validation error occurred when performing the API request.</p>
|
|
103
108
|
*
|
|
@@ -86,8 +86,7 @@ declare const CreateOtaTaskConfigurationCommand_base: {
|
|
|
86
86
|
* <p>There is a conflict with the request.</p>
|
|
87
87
|
*
|
|
88
88
|
* @throws {@link InternalServerException} (server fault)
|
|
89
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
90
|
-
* is unavailable.</p>
|
|
89
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
91
90
|
*
|
|
92
91
|
* @throws {@link ThrottlingException} (client fault)
|
|
93
92
|
* <p>The rate exceeds the limit.</p>
|
|
@@ -27,9 +27,7 @@ declare const CreateProvisioningProfileCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Create a provisioning profile for a device to execute the provisioning flows using a
|
|
31
|
-
* provisioning template. The provisioning template is a document that defines the set of
|
|
32
|
-
* resources and policies applied to a device during the provisioning process.</p>
|
|
30
|
+
* <p>Create a provisioning profile for a device to execute the provisioning flows using a provisioning template. The provisioning template is a document that defines the set of resources and policies applied to a device during the provisioning process.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -71,8 +69,10 @@ declare const CreateProvisioningProfileCommand_base: {
|
|
|
71
69
|
* <p>There is a conflict with the request.</p>
|
|
72
70
|
*
|
|
73
71
|
* @throws {@link InternalServerException} (server fault)
|
|
74
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
75
|
-
*
|
|
72
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <p>The specified resource does not exist.</p>
|
|
76
76
|
*
|
|
77
77
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
78
78
|
* <p>The service is temporarily unavailable.</p>
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTManagedIntegrationsClient";
|
|
4
|
+
import { DeleteAccountAssociationRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteAccountAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteAccountAssociationCommandInput extends DeleteAccountAssociationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteAccountAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteAccountAssociationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteAccountAssociationCommand_base: {
|
|
25
|
+
new (input: DeleteAccountAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAccountAssociationCommandInput, DeleteAccountAssociationCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAccountAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAccountAssociationCommandInput, DeleteAccountAssociationCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Remove a third party account and related devices from an end user.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { IoTManagedIntegrationsClient, DeleteAccountAssociationCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
|
|
35
|
+
* // const { IoTManagedIntegrationsClient, DeleteAccountAssociationCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
36
|
+
* const client = new IoTManagedIntegrationsClient(config);
|
|
37
|
+
* const input = { // DeleteAccountAssociationRequest
|
|
38
|
+
* AccountAssociationId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteAccountAssociationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteAccountAssociationCommandInput - {@link DeleteAccountAssociationCommandInput}
|
|
47
|
+
* @returns {@link DeleteAccountAssociationCommandOutput}
|
|
48
|
+
* @see {@link DeleteAccountAssociationCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteAccountAssociationCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>User is not authorized.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServerException} (server fault)
|
|
56
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* <p>The specified resource does not exist.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
62
|
+
* <p>The service is temporarily unavailable.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>The rate exceeds the limit.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>A validation error occurred when performing the API request.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link IoTManagedIntegrationsServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class DeleteAccountAssociationCommand extends DeleteAccountAssociationCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: DeleteAccountAssociationRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: DeleteAccountAssociationCommandInput;
|
|
85
|
+
output: DeleteAccountAssociationCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTManagedIntegrationsClient";
|
|
4
|
+
import { DeleteCloudConnectorRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteCloudConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteCloudConnectorCommandInput extends DeleteCloudConnectorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteCloudConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteCloudConnectorCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteCloudConnectorCommand_base: {
|
|
25
|
+
new (input: DeleteCloudConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCloudConnectorCommandInput, DeleteCloudConnectorCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteCloudConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCloudConnectorCommandInput, DeleteCloudConnectorCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Delete a cloud connector.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { IoTManagedIntegrationsClient, DeleteCloudConnectorCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
|
|
35
|
+
* // const { IoTManagedIntegrationsClient, DeleteCloudConnectorCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
36
|
+
* const client = new IoTManagedIntegrationsClient(config);
|
|
37
|
+
* const input = { // DeleteCloudConnectorRequest
|
|
38
|
+
* Identifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteCloudConnectorCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteCloudConnectorCommandInput - {@link DeleteCloudConnectorCommandInput}
|
|
47
|
+
* @returns {@link DeleteCloudConnectorCommandOutput}
|
|
48
|
+
* @see {@link DeleteCloudConnectorCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteCloudConnectorCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>User is not authorized.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServerException} (server fault)
|
|
56
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* <p>The specified resource does not exist.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
62
|
+
* <p>The rate exceeds the limit.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
* <p>A validation error occurred when performing the API request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link IoTManagedIntegrationsServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class DeleteCloudConnectorCommand extends DeleteCloudConnectorCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: DeleteCloudConnectorRequest;
|
|
78
|
+
output: {};
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: DeleteCloudConnectorCommandInput;
|
|
82
|
+
output: DeleteCloudConnectorCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|