@aws-sdk/client-iot-managed-integrations 3.835.0 → 3.839.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/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/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,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 { DeleteConnectorDestinationRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteConnectorDestinationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteConnectorDestinationCommandInput extends DeleteConnectorDestinationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteConnectorDestinationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteConnectorDestinationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteConnectorDestinationCommand_base: {
|
|
25
|
+
new (input: DeleteConnectorDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectorDestinationCommandInput, DeleteConnectorDestinationCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteConnectorDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectorDestinationCommandInput, DeleteConnectorDestinationCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Delete 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, DeleteConnectorDestinationCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
|
|
35
|
+
* // const { IoTManagedIntegrationsClient, DeleteConnectorDestinationCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
36
|
+
* const client = new IoTManagedIntegrationsClient(config);
|
|
37
|
+
* const input = { // DeleteConnectorDestinationRequest
|
|
38
|
+
* Identifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteConnectorDestinationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteConnectorDestinationCommandInput - {@link DeleteConnectorDestinationCommandInput}
|
|
47
|
+
* @returns {@link DeleteConnectorDestinationCommandOutput}
|
|
48
|
+
* @see {@link DeleteConnectorDestinationCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteConnectorDestinationCommandOutput} 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 DeleteConnectorDestinationCommand extends DeleteConnectorDestinationCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: DeleteConnectorDestinationRequest;
|
|
78
|
+
output: {};
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: DeleteConnectorDestinationCommandInput;
|
|
82
|
+
output: DeleteConnectorDestinationCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -27,11 +27,7 @@ declare const DeleteCredentialLockerCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Delete a credential locker. </p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>This operation can't be undone and any existing device won't be able to use
|
|
33
|
-
* IoT managed integrations.</p>
|
|
34
|
-
* </note>
|
|
30
|
+
* <p>Delete a credential locker. </p> <note> <p>This operation can't be undone and any existing device won't be able to use IoT managed integrations.</p> </note>
|
|
35
31
|
* @example
|
|
36
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
33
|
* ```javascript
|
|
@@ -57,8 +53,7 @@ declare const DeleteCredentialLockerCommand_base: {
|
|
|
57
53
|
* <p>User is not authorized.</p>
|
|
58
54
|
*
|
|
59
55
|
* @throws {@link InternalServerException} (server fault)
|
|
60
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
61
|
-
* is unavailable.</p>
|
|
56
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
62
57
|
*
|
|
63
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
59
|
* <p>The specified resource does not exist.</p>
|
|
@@ -53,8 +53,7 @@ declare const DeleteDestinationCommand_base: {
|
|
|
53
53
|
* <p>User is not authorized.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link InternalServerException} (server fault)
|
|
56
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
57
|
-
* is unavailable.</p>
|
|
56
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
58
57
|
*
|
|
59
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
59
|
* <p>The specified resource does not exist.</p>
|
|
@@ -53,8 +53,7 @@ declare const DeleteEventLogConfigurationCommand_base: {
|
|
|
53
53
|
* <p>User is not authorized.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link InternalServerException} (server fault)
|
|
56
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
57
|
-
* is unavailable.</p>
|
|
56
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
58
57
|
*
|
|
59
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
59
|
* <p>The specified resource does not exist.</p>
|
|
@@ -27,9 +27,7 @@ declare const DeleteManagedThingCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Delete a managed thing. If a controller is deleted, all of the devices connected to it
|
|
31
|
-
* will have their status changed to <code>PENDING</code>. It is not possible to remove a
|
|
32
|
-
* cloud device.</p>
|
|
30
|
+
* <p>Delete a managed thing. If a controller is deleted, all of the devices connected to it will have their status changed to <code>PENDING</code>. It is not possible to remove a cloud device.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -59,8 +57,7 @@ declare const DeleteManagedThingCommand_base: {
|
|
|
59
57
|
* <p>There is a conflict with the request.</p>
|
|
60
58
|
*
|
|
61
59
|
* @throws {@link InternalServerException} (server fault)
|
|
62
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
63
|
-
* is unavailable.</p>
|
|
60
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
64
61
|
*
|
|
65
62
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
63
|
* <p>The specified resource does not exist.</p>
|
|
@@ -35,7 +35,7 @@ declare const DeleteNotificationConfigurationCommand_base: {
|
|
|
35
35
|
* // const { IoTManagedIntegrationsClient, DeleteNotificationConfigurationCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
36
36
|
* const client = new IoTManagedIntegrationsClient(config);
|
|
37
37
|
* const input = { // DeleteNotificationConfigurationRequest
|
|
38
|
-
* 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
|
|
39
39
|
* };
|
|
40
40
|
* const command = new DeleteNotificationConfigurationCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
@@ -53,8 +53,7 @@ declare const DeleteNotificationConfigurationCommand_base: {
|
|
|
53
53
|
* <p>User is not authorized.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link InternalServerException} (server fault)
|
|
56
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
57
|
-
* is unavailable.</p>
|
|
56
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
58
57
|
*
|
|
59
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
59
|
* <p>The specified resource does not exist.</p>
|
|
@@ -53,8 +53,10 @@ declare const DeleteOtaTaskCommand_base: {
|
|
|
53
53
|
* <p>User is not authorized.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link InternalServerException} (server fault)
|
|
56
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
57
|
-
*
|
|
56
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
59
|
+
* <p>The request exceeds a service limit or quota. Adjust your request parameters and try again.</p>
|
|
58
60
|
*
|
|
59
61
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
62
|
* <p>The specified resource does not exist.</p>
|
|
@@ -53,8 +53,7 @@ declare const DeleteOtaTaskConfigurationCommand_base: {
|
|
|
53
53
|
* <p>User is not authorized.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link InternalServerException} (server fault)
|
|
56
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
57
|
-
* is unavailable.</p>
|
|
56
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
58
57
|
*
|
|
59
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
59
|
* <p>The specified resource does not exist.</p>
|
|
@@ -53,8 +53,7 @@ declare const DeleteProvisioningProfileCommand_base: {
|
|
|
53
53
|
* <p>User is not authorized.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link InternalServerException} (server fault)
|
|
56
|
-
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
57
|
-
* is unavailable.</p>
|
|
56
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
58
57
|
*
|
|
59
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
59
|
* <p>The specified resource does not exist.</p>
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { DeregisterAccountAssociationRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeregisterAccountAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeregisterAccountAssociationCommandInput extends DeregisterAccountAssociationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeregisterAccountAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeregisterAccountAssociationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeregisterAccountAssociationCommand_base: {
|
|
25
|
+
new (input: DeregisterAccountAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterAccountAssociationCommandInput, DeregisterAccountAssociationCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeregisterAccountAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterAccountAssociationCommandInput, DeregisterAccountAssociationCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deregisters an account association, removing the connection between a managed thing and a third-party 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, DeregisterAccountAssociationCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
|
|
35
|
+
* // const { IoTManagedIntegrationsClient, DeregisterAccountAssociationCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
36
|
+
* const client = new IoTManagedIntegrationsClient(config);
|
|
37
|
+
* const input = { // DeregisterAccountAssociationRequest
|
|
38
|
+
* ManagedThingId: "STRING_VALUE", // required
|
|
39
|
+
* AccountAssociationId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeregisterAccountAssociationCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeregisterAccountAssociationCommandInput - {@link DeregisterAccountAssociationCommandInput}
|
|
48
|
+
* @returns {@link DeregisterAccountAssociationCommandOutput}
|
|
49
|
+
* @see {@link DeregisterAccountAssociationCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeregisterAccountAssociationCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>User is not authorized.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalServerException} (server fault)
|
|
57
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
|
+
* <p>The specified resource does not exist.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
63
|
+
* <p>The rate exceeds the limit.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
* <p>A validation error occurred when performing the API request.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link IoTManagedIntegrationsServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
|
|
70
|
+
*
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class DeregisterAccountAssociationCommand extends DeregisterAccountAssociationCommand_base {
|
|
75
|
+
/** @internal type navigation helper, not in runtime. */
|
|
76
|
+
protected static __types: {
|
|
77
|
+
api: {
|
|
78
|
+
input: DeregisterAccountAssociationRequest;
|
|
79
|
+
output: {};
|
|
80
|
+
};
|
|
81
|
+
sdk: {
|
|
82
|
+
input: DeregisterAccountAssociationCommandInput;
|
|
83
|
+
output: DeregisterAccountAssociationCommandOutput;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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 { GetAccountAssociationRequest, GetAccountAssociationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetAccountAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAccountAssociationCommandInput extends GetAccountAssociationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAccountAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAccountAssociationCommandOutput extends GetAccountAssociationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAccountAssociationCommand_base: {
|
|
25
|
+
new (input: GetAccountAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccountAssociationCommandInput, GetAccountAssociationCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetAccountAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccountAssociationCommandInput, GetAccountAssociationCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Get an account association for an Amazon Web Services account linked to a customer-managed destination.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { IoTManagedIntegrationsClient, GetAccountAssociationCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
|
|
35
|
+
* // const { IoTManagedIntegrationsClient, GetAccountAssociationCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
36
|
+
* const client = new IoTManagedIntegrationsClient(config);
|
|
37
|
+
* const input = { // GetAccountAssociationRequest
|
|
38
|
+
* AccountAssociationId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetAccountAssociationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetAccountAssociationResponse
|
|
43
|
+
* // AccountAssociationId: "STRING_VALUE", // required
|
|
44
|
+
* // AssociationState: "ASSOCIATION_IN_PROGRESS" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCEEDED" || "ASSOCIATION_DELETING" || "REFRESH_TOKEN_EXPIRED", // required
|
|
45
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
46
|
+
* // ConnectorDestinationId: "STRING_VALUE",
|
|
47
|
+
* // Name: "STRING_VALUE",
|
|
48
|
+
* // Description: "STRING_VALUE",
|
|
49
|
+
* // Arn: "STRING_VALUE",
|
|
50
|
+
* // OAuthAuthorizationUrl: "STRING_VALUE", // required
|
|
51
|
+
* // Tags: { // TagsMap
|
|
52
|
+
* // "<keys>": "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param GetAccountAssociationCommandInput - {@link GetAccountAssociationCommandInput}
|
|
59
|
+
* @returns {@link GetAccountAssociationCommandOutput}
|
|
60
|
+
* @see {@link GetAccountAssociationCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link GetAccountAssociationCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* <p>User is not authorized.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerException} (server fault)
|
|
68
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>The specified resource does not exist.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
74
|
+
* <p>The service is temporarily unavailable.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The rate exceeds the limit.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>A validation error occurred when performing the API request.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link IoTManagedIntegrationsServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class GetAccountAssociationCommand extends GetAccountAssociationCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: GetAccountAssociationRequest;
|
|
93
|
+
output: GetAccountAssociationResponse;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: GetAccountAssociationCommandInput;
|
|
97
|
+
output: GetAccountAssociationCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
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 { GetCloudConnectorRequest, GetCloudConnectorResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetCloudConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetCloudConnectorCommandInput extends GetCloudConnectorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetCloudConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetCloudConnectorCommandOutput extends GetCloudConnectorResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetCloudConnectorCommand_base: {
|
|
25
|
+
new (input: GetCloudConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<GetCloudConnectorCommandInput, GetCloudConnectorCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetCloudConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<GetCloudConnectorCommandInput, GetCloudConnectorCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets all the information about a connector for a connector developer.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { IoTManagedIntegrationsClient, GetCloudConnectorCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
|
|
35
|
+
* // const { IoTManagedIntegrationsClient, GetCloudConnectorCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
36
|
+
* const client = new IoTManagedIntegrationsClient(config);
|
|
37
|
+
* const input = { // GetCloudConnectorRequest
|
|
38
|
+
* Identifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetCloudConnectorCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetCloudConnectorResponse
|
|
43
|
+
* // Name: "STRING_VALUE", // required
|
|
44
|
+
* // EndpointConfig: { // EndpointConfig
|
|
45
|
+
* // lambda: { // LambdaConfig
|
|
46
|
+
* // arn: "STRING_VALUE", // required
|
|
47
|
+
* // },
|
|
48
|
+
* // },
|
|
49
|
+
* // Description: "STRING_VALUE",
|
|
50
|
+
* // EndpointType: "LAMBDA",
|
|
51
|
+
* // Id: "STRING_VALUE",
|
|
52
|
+
* // Type: "LISTED" || "UNLISTED",
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param GetCloudConnectorCommandInput - {@link GetCloudConnectorCommandInput}
|
|
58
|
+
* @returns {@link GetCloudConnectorCommandOutput}
|
|
59
|
+
* @see {@link GetCloudConnectorCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link GetCloudConnectorCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>User is not authorized.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The specified resource does not exist.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>The rate exceeds the limit.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>A validation error occurred when performing the API request.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link IoTManagedIntegrationsServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @example GetCloudConnector happy path for TP Link to get connector resource
|
|
83
|
+
* ```javascript
|
|
84
|
+
* //
|
|
85
|
+
* const input = {
|
|
86
|
+
* Identifier: "123456789012"
|
|
87
|
+
* };
|
|
88
|
+
* const command = new GetCloudConnectorCommand(input);
|
|
89
|
+
* const response = await client.send(command);
|
|
90
|
+
* /* response is
|
|
91
|
+
* {
|
|
92
|
+
* EndpointConfig: {
|
|
93
|
+
* lambda: {
|
|
94
|
+
* arn: "arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion"
|
|
95
|
+
* }
|
|
96
|
+
* },
|
|
97
|
+
* EndpointType: "LAMBDA",
|
|
98
|
+
* Id: "123456789012",
|
|
99
|
+
* Name: "Connector for TP Link Cloud V2"
|
|
100
|
+
* }
|
|
101
|
+
* *\/
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* @example GetCloudConnector happy path for Ring to pending status
|
|
105
|
+
* ```javascript
|
|
106
|
+
* //
|
|
107
|
+
* const input = {
|
|
108
|
+
* Identifier: "123456789012"
|
|
109
|
+
* };
|
|
110
|
+
* const command = new GetCloudConnectorCommand(input);
|
|
111
|
+
* const response = await client.send(command);
|
|
112
|
+
* /* response is
|
|
113
|
+
* {
|
|
114
|
+
* EndpointConfig: {
|
|
115
|
+
* lambda: {
|
|
116
|
+
* arn: "arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion"
|
|
117
|
+
* }
|
|
118
|
+
* },
|
|
119
|
+
* Name: "Connector for Ring Cloud"
|
|
120
|
+
* }
|
|
121
|
+
* *\/
|
|
122
|
+
* ```
|
|
123
|
+
*
|
|
124
|
+
* @example GetCloudConnector error Id for Ring connector which does not exist
|
|
125
|
+
* ```javascript
|
|
126
|
+
* //
|
|
127
|
+
* const input = {
|
|
128
|
+
* Identifier: "123456789012"
|
|
129
|
+
* };
|
|
130
|
+
* const command = new GetCloudConnectorCommand(input);
|
|
131
|
+
* const response = await client.send(command);
|
|
132
|
+
* /* response is
|
|
133
|
+
* { /* metadata only *\/ }
|
|
134
|
+
* *\/
|
|
135
|
+
* ```
|
|
136
|
+
*
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export declare class GetCloudConnectorCommand extends GetCloudConnectorCommand_base {
|
|
140
|
+
/** @internal type navigation helper, not in runtime. */
|
|
141
|
+
protected static __types: {
|
|
142
|
+
api: {
|
|
143
|
+
input: GetCloudConnectorRequest;
|
|
144
|
+
output: GetCloudConnectorResponse;
|
|
145
|
+
};
|
|
146
|
+
sdk: {
|
|
147
|
+
input: GetCloudConnectorCommandInput;
|
|
148
|
+
output: GetCloudConnectorCommandOutput;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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 { GetConnectorDestinationRequest, GetConnectorDestinationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetConnectorDestinationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetConnectorDestinationCommandInput extends GetConnectorDestinationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetConnectorDestinationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetConnectorDestinationCommandOutput extends GetConnectorDestinationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetConnectorDestinationCommand_base: {
|
|
25
|
+
new (input: GetConnectorDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectorDestinationCommandInput, GetConnectorDestinationCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetConnectorDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectorDestinationCommandInput, GetConnectorDestinationCommandOutput, IoTManagedIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Get a connector destination of a cloud-to-cloud (C2C) connector connecting to a 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, GetConnectorDestinationCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import
|
|
35
|
+
* // const { IoTManagedIntegrationsClient, GetConnectorDestinationCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import
|
|
36
|
+
* const client = new IoTManagedIntegrationsClient(config);
|
|
37
|
+
* const input = { // GetConnectorDestinationRequest
|
|
38
|
+
* Identifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetConnectorDestinationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetConnectorDestinationResponse
|
|
43
|
+
* // Name: "STRING_VALUE",
|
|
44
|
+
* // Description: "STRING_VALUE",
|
|
45
|
+
* // CloudConnectorId: "STRING_VALUE",
|
|
46
|
+
* // Id: "STRING_VALUE",
|
|
47
|
+
* // AuthType: "OAUTH",
|
|
48
|
+
* // AuthConfig: { // AuthConfig
|
|
49
|
+
* // oAuth: { // OAuthConfig
|
|
50
|
+
* // authUrl: "STRING_VALUE", // required
|
|
51
|
+
* // tokenUrl: "STRING_VALUE", // required
|
|
52
|
+
* // scope: "STRING_VALUE",
|
|
53
|
+
* // tokenEndpointAuthenticationScheme: "HTTP_BASIC" || "REQUEST_BODY_CREDENTIALS", // required
|
|
54
|
+
* // oAuthCompleteRedirectUrl: "STRING_VALUE",
|
|
55
|
+
* // proactiveRefreshTokenRenewal: { // ProactiveRefreshTokenRenewal
|
|
56
|
+
* // enabled: true || false,
|
|
57
|
+
* // DaysBeforeRenewal: Number("int"),
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // SecretsManager: { // SecretsManager
|
|
62
|
+
* // arn: "STRING_VALUE", // required
|
|
63
|
+
* // versionId: "STRING_VALUE", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // OAuthCompleteRedirectUrl: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param GetConnectorDestinationCommandInput - {@link GetConnectorDestinationCommandInput}
|
|
71
|
+
* @returns {@link GetConnectorDestinationCommandOutput}
|
|
72
|
+
* @see {@link GetConnectorDestinationCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link GetConnectorDestinationCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
77
|
+
* <p>User is not authorized.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InternalServerException} (server fault)
|
|
80
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service is unavailable.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
83
|
+
* <p>The specified resource does not exist.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>The rate exceeds the limit.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ValidationException} (client fault)
|
|
89
|
+
* <p>A validation error occurred when performing the API request.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link IoTManagedIntegrationsServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from IoTManagedIntegrations service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class GetConnectorDestinationCommand extends GetConnectorDestinationCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: GetConnectorDestinationRequest;
|
|
102
|
+
output: GetConnectorDestinationResponse;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: GetConnectorDestinationCommandInput;
|
|
106
|
+
output: GetConnectorDestinationCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|