@aws-sdk/client-iot 3.345.0 → 3.347.1
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 +96 -0
- package/dist-cjs/IoT.js +24 -0
- package/dist-cjs/commands/CreatePackageCommand.js +47 -0
- package/dist-cjs/commands/CreatePackageVersionCommand.js +47 -0
- package/dist-cjs/commands/DeletePackageCommand.js +46 -0
- package/dist-cjs/commands/DeletePackageVersionCommand.js +46 -0
- package/dist-cjs/commands/GetPackageCommand.js +47 -0
- package/dist-cjs/commands/GetPackageConfigurationCommand.js +46 -0
- package/dist-cjs/commands/GetPackageVersionCommand.js +47 -0
- package/dist-cjs/commands/ListPackageVersionsCommand.js +46 -0
- package/dist-cjs/commands/ListPackagesCommand.js +46 -0
- package/dist-cjs/commands/UpdatePackageCommand.js +47 -0
- package/dist-cjs/commands/UpdatePackageConfigurationCommand.js +46 -0
- package/dist-cjs/commands/UpdatePackageVersionCommand.js +47 -0
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/models/models_0.js +68 -1
- package/dist-cjs/models/models_1.js +13 -14
- package/dist-cjs/models/models_2.js +17 -1
- package/dist-cjs/pagination/ListPackageVersionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListPackagesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +897 -46
- package/dist-es/IoT.js +24 -0
- package/dist-es/commands/CreatePackageCommand.js +43 -0
- package/dist-es/commands/CreatePackageVersionCommand.js +43 -0
- package/dist-es/commands/DeletePackageCommand.js +42 -0
- package/dist-es/commands/DeletePackageVersionCommand.js +42 -0
- package/dist-es/commands/GetPackageCommand.js +43 -0
- package/dist-es/commands/GetPackageConfigurationCommand.js +42 -0
- package/dist-es/commands/GetPackageVersionCommand.js +43 -0
- package/dist-es/commands/ListPackageVersionsCommand.js +42 -0
- package/dist-es/commands/ListPackagesCommand.js +42 -0
- package/dist-es/commands/UpdatePackageCommand.js +43 -0
- package/dist-es/commands/UpdatePackageConfigurationCommand.js +42 -0
- package/dist-es/commands/UpdatePackageVersionCommand.js +43 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/models_0.js +60 -0
- package/dist-es/models/models_1.js +10 -12
- package/dist-es/models/models_2.js +14 -0
- package/dist-es/pagination/ListPackageVersionsPaginator.js +25 -0
- package/dist-es/pagination/ListPackagesPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +862 -35
- package/dist-types/IoT.d.ts +84 -0
- package/dist-types/IoTClient.d.ts +14 -2
- package/dist-types/commands/CreateCertificateFromCsrCommand.d.ts +1 -1
- package/dist-types/commands/CreateJobCommand.d.ts +3 -0
- package/dist-types/commands/CreateJobTemplateCommand.d.ts +3 -0
- package/dist-types/commands/CreatePackageCommand.d.ts +97 -0
- package/dist-types/commands/CreatePackageVersionCommand.d.ts +107 -0
- package/dist-types/commands/DeleteFleetMetricCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobExecutionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMitigationActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOTAUpdateCommand.d.ts +1 -1
- package/dist-types/commands/DeletePackageCommand.d.ts +85 -0
- package/dist-types/commands/DeletePackageVersionCommand.d.ts +85 -0
- package/dist-types/commands/DescribeJobCommand.d.ts +3 -0
- package/dist-types/commands/DescribeJobTemplateCommand.d.ts +3 -0
- package/dist-types/commands/GetPackageCommand.d.ts +92 -0
- package/dist-types/commands/GetPackageConfigurationCommand.d.ts +82 -0
- package/dist-types/commands/GetPackageVersionCommand.d.ts +98 -0
- package/dist-types/commands/ListPackageVersionsCommand.d.ts +96 -0
- package/dist-types/commands/ListPackagesCommand.d.ts +93 -0
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +2 -1
- package/dist-types/commands/ListPrincipalPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListPrincipalThingsCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisioningTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisioningTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListRelatedResourcesForAuditFindingCommand.d.ts +1 -1
- package/dist-types/commands/ListRoleAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListScheduledAuditsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfilesForTargetCommand.d.ts +1 -2
- package/dist-types/commands/UpdatePackageCommand.d.ts +89 -0
- package/dist-types/commands/UpdatePackageConfigurationCommand.d.ts +86 -0
- package/dist-types/commands/UpdatePackageVersionCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +184 -134
- package/dist-types/models/models_1.d.ts +416 -405
- package/dist-types/models/models_2.d.ts +529 -2
- package/dist-types/pagination/ListPackageVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPackagesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
- package/dist-types/ts3.4/IoT.d.ts +204 -0
- package/dist-types/ts3.4/IoTClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/CreatePackageCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreatePackageVersionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteFleetMetricCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteJobExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteJobTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteMitigationActionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteOTAUpdateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeletePackageVersionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetPackageCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetPackageConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetPackageVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListPrincipalPoliciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPrincipalThingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProvisioningTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProvisioningTemplatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRelatedResourcesForAuditFindingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRoleAliasesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListScheduledAuditsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityProfilesForTargetCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdatePackageConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdatePackageVersionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +71 -29
- package/dist-types/ts3.4/models/models_1.d.ts +114 -121
- package/dist-types/ts3.4/models/models_2.d.ts +152 -2
- package/dist-types/ts3.4/pagination/ListPackageVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPackagesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
- package/package.json +28 -28
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
5
|
+
import { DeletePackageRequest, DeletePackageResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeletePackageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePackageCommandInput extends DeletePackageRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePackageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePackageCommandOutput extends DeletePackageResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes a specific version from a software package.</p>
|
|
27
|
+
* <p>
|
|
28
|
+
* <b>Note:</b> All package versions must be deleted before deleting the software package.</p>
|
|
29
|
+
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DeletePackageVersion</a> action.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { IoTClient, DeletePackageCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
34
|
+
* // const { IoTClient, DeletePackageCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
35
|
+
* const client = new IoTClient(config);
|
|
36
|
+
* const input = { // DeletePackageRequest
|
|
37
|
+
* packageName: "STRING_VALUE", // required
|
|
38
|
+
* clientToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeletePackageCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeletePackageCommandInput - {@link DeletePackageCommandInput}
|
|
47
|
+
* @returns {@link DeletePackageCommandOutput}
|
|
48
|
+
* @see {@link DeletePackageCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeletePackageCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link InternalServerException} (server fault)
|
|
53
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
54
|
+
* is unavailable.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
57
|
+
* <p>The rate exceeds the limit.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ValidationException} (client fault)
|
|
60
|
+
* <p>The request is not valid.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link IoTServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from IoT service.</p>
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
export declare class DeletePackageCommand extends $Command<DeletePackageCommandInput, DeletePackageCommandOutput, IoTClientResolvedConfig> {
|
|
67
|
+
readonly input: DeletePackageCommandInput;
|
|
68
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
constructor(input: DeletePackageCommandInput);
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePackageCommandInput, DeletePackageCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
private serialize;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
private deserialize;
|
|
85
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
5
|
+
import { DeletePackageVersionRequest, DeletePackageVersionResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeletePackageVersionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePackageVersionCommandInput extends DeletePackageVersionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePackageVersionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePackageVersionCommandOutput extends DeletePackageVersionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes a specific version from a software package.</p>
|
|
27
|
+
* <p>
|
|
28
|
+
* <b>Note:</b> If a package version is designated as default, you must remove the designation from the package using the <a>UpdatePackage</a> action.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { IoTClient, DeletePackageVersionCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
33
|
+
* // const { IoTClient, DeletePackageVersionCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
34
|
+
* const client = new IoTClient(config);
|
|
35
|
+
* const input = { // DeletePackageVersionRequest
|
|
36
|
+
* packageName: "STRING_VALUE", // required
|
|
37
|
+
* versionName: "STRING_VALUE", // required
|
|
38
|
+
* clientToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeletePackageVersionCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeletePackageVersionCommandInput - {@link DeletePackageVersionCommandInput}
|
|
47
|
+
* @returns {@link DeletePackageVersionCommandOutput}
|
|
48
|
+
* @see {@link DeletePackageVersionCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeletePackageVersionCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link InternalServerException} (server fault)
|
|
53
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
54
|
+
* is unavailable.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
57
|
+
* <p>The rate exceeds the limit.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ValidationException} (client fault)
|
|
60
|
+
* <p>The request is not valid.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link IoTServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from IoT service.</p>
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
export declare class DeletePackageVersionCommand extends $Command<DeletePackageVersionCommandInput, DeletePackageVersionCommandOutput, IoTClientResolvedConfig> {
|
|
67
|
+
readonly input: DeletePackageVersionCommandInput;
|
|
68
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
constructor(input: DeletePackageVersionCommandInput);
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePackageVersionCommandInput, DeletePackageVersionCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
private serialize;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
private deserialize;
|
|
85
|
+
}
|
|
@@ -124,6 +124,9 @@ export interface DescribeJobCommandOutput extends DescribeJobResponse, __Metadat
|
|
|
124
124
|
* // startTime: "STRING_VALUE",
|
|
125
125
|
* // },
|
|
126
126
|
* // ],
|
|
127
|
+
* // destinationPackageVersions: [ // DestinationPackageVersions
|
|
128
|
+
* // "STRING_VALUE",
|
|
129
|
+
* // ],
|
|
127
130
|
* // },
|
|
128
131
|
* // };
|
|
129
132
|
*
|
|
@@ -84,6 +84,9 @@ export interface DescribeJobTemplateCommandOutput extends DescribeJobTemplateRes
|
|
|
84
84
|
* // durationInMinutes: Number("int"), // required
|
|
85
85
|
* // },
|
|
86
86
|
* // ],
|
|
87
|
+
* // destinationPackageVersions: [ // DestinationPackageVersions
|
|
88
|
+
* // "STRING_VALUE",
|
|
89
|
+
* // ],
|
|
87
90
|
* // };
|
|
88
91
|
*
|
|
89
92
|
* ```
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
5
|
+
import { GetPackageRequest, GetPackageResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetPackageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetPackageCommandInput extends GetPackageRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetPackageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPackageCommandOutput extends GetPackageResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Gets information about the specified software package.</p>
|
|
27
|
+
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">GetPackage</a> action.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { IoTClient, GetPackageCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
32
|
+
* // const { IoTClient, GetPackageCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
33
|
+
* const client = new IoTClient(config);
|
|
34
|
+
* const input = { // GetPackageRequest
|
|
35
|
+
* packageName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new GetPackageCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // GetPackageResponse
|
|
40
|
+
* // packageName: "STRING_VALUE",
|
|
41
|
+
* // packageArn: "STRING_VALUE",
|
|
42
|
+
* // description: "STRING_VALUE",
|
|
43
|
+
* // defaultVersionName: "STRING_VALUE",
|
|
44
|
+
* // creationDate: new Date("TIMESTAMP"),
|
|
45
|
+
* // lastModifiedDate: new Date("TIMESTAMP"),
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param GetPackageCommandInput - {@link GetPackageCommandInput}
|
|
51
|
+
* @returns {@link GetPackageCommandOutput}
|
|
52
|
+
* @see {@link GetPackageCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link GetPackageCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalServerException} (server fault)
|
|
57
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
58
|
+
* is unavailable.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The specified resource does not exist.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>The rate exceeds the limit.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>The request is not valid.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link IoTServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from IoT service.</p>
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class GetPackageCommand extends $Command<GetPackageCommandInput, GetPackageCommandOutput, IoTClientResolvedConfig> {
|
|
74
|
+
readonly input: GetPackageCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor(input: GetPackageCommandInput);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPackageCommandInput, GetPackageCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private deserialize;
|
|
92
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
5
|
+
import { GetPackageConfigurationRequest, GetPackageConfigurationResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetPackageConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetPackageConfigurationCommandInput extends GetPackageConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetPackageConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPackageConfigurationCommandOutput extends GetPackageConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Gets information about the specified software package's configuration.</p>
|
|
27
|
+
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">GetPackageConfiguration</a> action.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { IoTClient, GetPackageConfigurationCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
32
|
+
* // const { IoTClient, GetPackageConfigurationCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
33
|
+
* const client = new IoTClient(config);
|
|
34
|
+
* const input = {};
|
|
35
|
+
* const command = new GetPackageConfigurationCommand(input);
|
|
36
|
+
* const response = await client.send(command);
|
|
37
|
+
* // { // GetPackageConfigurationResponse
|
|
38
|
+
* // versionUpdateByJobsConfig: { // VersionUpdateByJobsConfig
|
|
39
|
+
* // enabled: true || false,
|
|
40
|
+
* // roleArn: "STRING_VALUE",
|
|
41
|
+
* // },
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param GetPackageConfigurationCommandInput - {@link GetPackageConfigurationCommandInput}
|
|
47
|
+
* @returns {@link GetPackageConfigurationCommandOutput}
|
|
48
|
+
* @see {@link GetPackageConfigurationCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link GetPackageConfigurationCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link InternalServerException} (server fault)
|
|
53
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
54
|
+
* is unavailable.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
57
|
+
* <p>The rate exceeds the limit.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link IoTServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from IoT service.</p>
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
export declare class GetPackageConfigurationCommand extends $Command<GetPackageConfigurationCommandInput, GetPackageConfigurationCommandOutput, IoTClientResolvedConfig> {
|
|
64
|
+
readonly input: GetPackageConfigurationCommandInput;
|
|
65
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
constructor(input: GetPackageConfigurationCommandInput);
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPackageConfigurationCommandInput, GetPackageConfigurationCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
private deserialize;
|
|
82
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
5
|
+
import { GetPackageVersionRequest, GetPackageVersionResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetPackageVersionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetPackageVersionCommandInput extends GetPackageVersionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetPackageVersionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPackageVersionCommandOutput extends GetPackageVersionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Gets information about the specified package version. </p>
|
|
27
|
+
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">GetPackageVersion</a> action.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { IoTClient, GetPackageVersionCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
32
|
+
* // const { IoTClient, GetPackageVersionCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
33
|
+
* const client = new IoTClient(config);
|
|
34
|
+
* const input = { // GetPackageVersionRequest
|
|
35
|
+
* packageName: "STRING_VALUE", // required
|
|
36
|
+
* versionName: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new GetPackageVersionCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // GetPackageVersionResponse
|
|
41
|
+
* // packageVersionArn: "STRING_VALUE",
|
|
42
|
+
* // packageName: "STRING_VALUE",
|
|
43
|
+
* // versionName: "STRING_VALUE",
|
|
44
|
+
* // description: "STRING_VALUE",
|
|
45
|
+
* // attributes: { // ResourceAttributes
|
|
46
|
+
* // "<keys>": "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // status: "DRAFT" || "PUBLISHED" || "DEPRECATED",
|
|
49
|
+
* // errorReason: "STRING_VALUE",
|
|
50
|
+
* // creationDate: new Date("TIMESTAMP"),
|
|
51
|
+
* // lastModifiedDate: new Date("TIMESTAMP"),
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param GetPackageVersionCommandInput - {@link GetPackageVersionCommandInput}
|
|
57
|
+
* @returns {@link GetPackageVersionCommandOutput}
|
|
58
|
+
* @see {@link GetPackageVersionCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link GetPackageVersionCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
64
|
+
* is unavailable.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The specified resource does not exist.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The rate exceeds the limit.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>The request is not valid.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link IoTServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from IoT service.</p>
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
export declare class GetPackageVersionCommand extends $Command<GetPackageVersionCommandInput, GetPackageVersionCommandOutput, IoTClientResolvedConfig> {
|
|
80
|
+
readonly input: GetPackageVersionCommandInput;
|
|
81
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
constructor(input: GetPackageVersionCommandInput);
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPackageVersionCommandInput, GetPackageVersionCommandOutput>;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private serialize;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
private deserialize;
|
|
98
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
5
|
+
import { ListPackageVersionsRequest, ListPackageVersionsResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListPackageVersionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListPackageVersionsCommandInput extends ListPackageVersionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListPackageVersionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPackageVersionsCommandOutput extends ListPackageVersionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists the software package versions associated to the account.</p>
|
|
27
|
+
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListPackageVersions</a> action.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { IoTClient, ListPackageVersionsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
32
|
+
* // const { IoTClient, ListPackageVersionsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
33
|
+
* const client = new IoTClient(config);
|
|
34
|
+
* const input = { // ListPackageVersionsRequest
|
|
35
|
+
* packageName: "STRING_VALUE", // required
|
|
36
|
+
* status: "DRAFT" || "PUBLISHED" || "DEPRECATED",
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListPackageVersionsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListPackageVersionsResponse
|
|
43
|
+
* // packageVersionSummaries: [ // PackageVersionSummaryList
|
|
44
|
+
* // { // PackageVersionSummary
|
|
45
|
+
* // packageName: "STRING_VALUE",
|
|
46
|
+
* // versionName: "STRING_VALUE",
|
|
47
|
+
* // status: "DRAFT" || "PUBLISHED" || "DEPRECATED",
|
|
48
|
+
* // creationDate: new Date("TIMESTAMP"),
|
|
49
|
+
* // lastModifiedDate: new Date("TIMESTAMP"),
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // nextToken: "STRING_VALUE",
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param ListPackageVersionsCommandInput - {@link ListPackageVersionsCommandInput}
|
|
58
|
+
* @returns {@link ListPackageVersionsCommandOutput}
|
|
59
|
+
* @see {@link ListPackageVersionsCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link ListPackageVersionsCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
65
|
+
* is unavailable.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>The rate exceeds the limit.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>The request is not valid.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link IoTServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from IoT service.</p>
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
export declare class ListPackageVersionsCommand extends $Command<ListPackageVersionsCommandInput, ListPackageVersionsCommandOutput, IoTClientResolvedConfig> {
|
|
78
|
+
readonly input: ListPackageVersionsCommandInput;
|
|
79
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
constructor(input: ListPackageVersionsCommandInput);
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPackageVersionsCommandInput, ListPackageVersionsCommandOutput>;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private serialize;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private deserialize;
|
|
96
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
5
|
+
import { ListPackagesRequest, ListPackagesResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListPackagesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListPackagesCommandInput extends ListPackagesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListPackagesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPackagesCommandOutput extends ListPackagesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists the software packages associated to the account.</p>
|
|
27
|
+
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListPackages</a> action.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { IoTClient, ListPackagesCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
32
|
+
* // const { IoTClient, ListPackagesCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
33
|
+
* const client = new IoTClient(config);
|
|
34
|
+
* const input = { // ListPackagesRequest
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* nextToken: "STRING_VALUE",
|
|
37
|
+
* };
|
|
38
|
+
* const command = new ListPackagesCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // ListPackagesResponse
|
|
41
|
+
* // packageSummaries: [ // PackageSummaryList
|
|
42
|
+
* // { // PackageSummary
|
|
43
|
+
* // packageName: "STRING_VALUE",
|
|
44
|
+
* // defaultVersionName: "STRING_VALUE",
|
|
45
|
+
* // creationDate: new Date("TIMESTAMP"),
|
|
46
|
+
* // lastModifiedDate: new Date("TIMESTAMP"),
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // nextToken: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param ListPackagesCommandInput - {@link ListPackagesCommandInput}
|
|
55
|
+
* @returns {@link ListPackagesCommandOutput}
|
|
56
|
+
* @see {@link ListPackagesCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link ListPackagesCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
62
|
+
* is 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>The request is not valid.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link IoTServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from IoT service.</p>
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
export declare class ListPackagesCommand extends $Command<ListPackagesCommandInput, ListPackagesCommandOutput, IoTClientResolvedConfig> {
|
|
75
|
+
readonly input: ListPackagesCommandInput;
|
|
76
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
constructor(input: ListPackagesCommandInput);
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPackagesCommandInput, ListPackagesCommandOutput>;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
private serialize;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
private deserialize;
|
|
93
|
+
}
|
|
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
5
|
-
import { ListPolicyVersionsRequest
|
|
5
|
+
import { ListPolicyVersionsRequest } from "../models/models_1";
|
|
6
|
+
import { ListPolicyVersionsResponse } from "../models/models_2";
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
8
9
|
*/
|