@aws-sdk/client-iot 3.473.0 → 3.474.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.
Files changed (58) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/IoT.js +10 -0
  3. package/dist-cjs/commands/CreateCertificateProviderCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteCertificateProviderCommand.js +51 -0
  5. package/dist-cjs/commands/DescribeCertificateProviderCommand.js +51 -0
  6. package/dist-cjs/commands/ListCertificateProvidersCommand.js +51 -0
  7. package/dist-cjs/commands/UpdateCertificateProviderCommand.js +51 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +5 -2
  10. package/dist-cjs/protocols/Aws_restJson1.js +370 -10
  11. package/dist-es/IoT.js +10 -0
  12. package/dist-es/commands/CreateCertificateProviderCommand.js +47 -0
  13. package/dist-es/commands/DeleteCertificateProviderCommand.js +47 -0
  14. package/dist-es/commands/DescribeCertificateProviderCommand.js +47 -0
  15. package/dist-es/commands/ListCertificateProvidersCommand.js +47 -0
  16. package/dist-es/commands/UpdateCertificateProviderCommand.js +47 -0
  17. package/dist-es/commands/index.js +5 -0
  18. package/dist-es/models/models_0.js +3 -0
  19. package/dist-es/protocols/Aws_restJson1.js +349 -0
  20. package/dist-types/IoT.d.ts +35 -0
  21. package/dist-types/IoTClient.d.ts +7 -2
  22. package/dist-types/commands/CreateCertificateProviderCommand.d.ts +118 -0
  23. package/dist-types/commands/DeleteCertificateProviderCommand.d.ts +98 -0
  24. package/dist-types/commands/DeleteCustomMetricCommand.d.ts +2 -1
  25. package/dist-types/commands/DeleteDimensionCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteDomainConfigurationCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeCertificateProviderCommand.d.ts +100 -0
  28. package/dist-types/commands/ListCertificateProvidersCommand.d.ts +97 -0
  29. package/dist-types/commands/ListOutgoingCertificatesCommand.d.ts +2 -1
  30. package/dist-types/commands/ListPackageVersionsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListPackagesCommand.d.ts +1 -1
  32. package/dist-types/commands/ListPoliciesCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateCertificateProviderCommand.d.ts +98 -0
  34. package/dist-types/commands/index.d.ts +5 -0
  35. package/dist-types/models/models_0.d.ts +68 -31
  36. package/dist-types/models/models_1.d.ts +128 -219
  37. package/dist-types/models/models_2.d.ts +255 -1
  38. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  39. package/dist-types/ts3.4/IoT.d.ts +85 -0
  40. package/dist-types/ts3.4/IoTClient.d.ts +30 -0
  41. package/dist-types/ts3.4/commands/CreateCertificateProviderCommand.d.ts +42 -0
  42. package/dist-types/ts3.4/commands/DeleteCertificateProviderCommand.d.ts +42 -0
  43. package/dist-types/ts3.4/commands/DeleteCustomMetricCommand.d.ts +2 -4
  44. package/dist-types/ts3.4/commands/DeleteDimensionCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/DeleteDomainConfigurationCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DescribeCertificateProviderCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/ListCertificateProvidersCommand.d.ts +42 -0
  48. package/dist-types/ts3.4/commands/ListOutgoingCertificatesCommand.d.ts +2 -4
  49. package/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/UpdateCertificateProviderCommand.d.ts +42 -0
  53. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +20 -9
  55. package/dist-types/ts3.4/models/models_1.d.ts +33 -52
  56. package/dist-types/ts3.4/models/models_2.d.ts +63 -0
  57. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  58. package/package.json +4 -4
@@ -18,6 +18,7 @@ import {
18
18
  AutoRegistrationStatus,
19
19
  Behavior,
20
20
  BillingGroupProperties,
21
+ CertificateProviderOperation,
21
22
  CustomMetricType,
22
23
  DayOfWeek,
23
24
  DimensionType,
@@ -29,6 +30,7 @@ import {
29
30
  MetricToRetain,
30
31
  MetricValue,
31
32
  MitigationActionParams,
33
+ PackageVersionStatus,
32
34
  Policy,
33
35
  PresignedUrlConfig,
34
36
  ProvisioningHook,
@@ -65,6 +67,58 @@ import {
65
67
  VersionUpdateByJobsConfig,
66
68
  ViolationEventOccurrenceRange,
67
69
  } from "./models_1";
70
+ export interface OutgoingCertificate {
71
+ certificateArn?: string;
72
+ certificateId?: string;
73
+ transferredTo?: string;
74
+ transferDate?: Date;
75
+ transferMessage?: string;
76
+ creationDate?: Date;
77
+ }
78
+ export interface ListOutgoingCertificatesResponse {
79
+ outgoingCertificates?: OutgoingCertificate[];
80
+ nextMarker?: string;
81
+ }
82
+ export interface ListPackagesRequest {
83
+ maxResults?: number;
84
+ nextToken?: string;
85
+ }
86
+ export interface PackageSummary {
87
+ packageName?: string;
88
+ defaultVersionName?: string;
89
+ creationDate?: Date;
90
+ lastModifiedDate?: Date;
91
+ }
92
+ export interface ListPackagesResponse {
93
+ packageSummaries?: PackageSummary[];
94
+ nextToken?: string;
95
+ }
96
+ export interface ListPackageVersionsRequest {
97
+ packageName: string | undefined;
98
+ status?: PackageVersionStatus;
99
+ maxResults?: number;
100
+ nextToken?: string;
101
+ }
102
+ export interface PackageVersionSummary {
103
+ packageName?: string;
104
+ versionName?: string;
105
+ status?: PackageVersionStatus;
106
+ creationDate?: Date;
107
+ lastModifiedDate?: Date;
108
+ }
109
+ export interface ListPackageVersionsResponse {
110
+ packageVersionSummaries?: PackageVersionSummary[];
111
+ nextToken?: string;
112
+ }
113
+ export interface ListPoliciesRequest {
114
+ marker?: string;
115
+ pageSize?: number;
116
+ ascendingOrder?: boolean;
117
+ }
118
+ export interface ListPoliciesResponse {
119
+ policies?: Policy[];
120
+ nextMarker?: string;
121
+ }
68
122
  export interface ListPolicyPrincipalsRequest {
69
123
  policyName: string | undefined;
70
124
  marker?: string;
@@ -761,6 +815,15 @@ export interface UpdateCertificateRequest {
761
815
  certificateId: string | undefined;
762
816
  newStatus: CertificateStatus | undefined;
763
817
  }
818
+ export interface UpdateCertificateProviderRequest {
819
+ certificateProviderName: string | undefined;
820
+ lambdaFunctionArn?: string;
821
+ accountDefaultForOperations?: CertificateProviderOperation[];
822
+ }
823
+ export interface UpdateCertificateProviderResponse {
824
+ certificateProviderName?: string;
825
+ certificateProviderArn?: string;
826
+ }
764
827
  export interface UpdateCustomMetricRequest {
765
828
  metricName: string | undefined;
766
829
  displayName: string | undefined;
@@ -83,6 +83,10 @@ import {
83
83
  CreateCertificateFromCsrCommandInput,
84
84
  CreateCertificateFromCsrCommandOutput,
85
85
  } from "../commands/CreateCertificateFromCsrCommand";
86
+ import {
87
+ CreateCertificateProviderCommandInput,
88
+ CreateCertificateProviderCommandOutput,
89
+ } from "../commands/CreateCertificateProviderCommand";
86
90
  import {
87
91
  CreateCustomMetricCommandInput,
88
92
  CreateCustomMetricCommandOutput,
@@ -211,6 +215,10 @@ import {
211
215
  DeleteCertificateCommandInput,
212
216
  DeleteCertificateCommandOutput,
213
217
  } from "../commands/DeleteCertificateCommand";
218
+ import {
219
+ DeleteCertificateProviderCommandInput,
220
+ DeleteCertificateProviderCommandOutput,
221
+ } from "../commands/DeleteCertificateProviderCommand";
214
222
  import {
215
223
  DeleteCustomMetricCommandInput,
216
224
  DeleteCustomMetricCommandOutput,
@@ -359,6 +367,10 @@ import {
359
367
  DescribeCertificateCommandInput,
360
368
  DescribeCertificateCommandOutput,
361
369
  } from "../commands/DescribeCertificateCommand";
370
+ import {
371
+ DescribeCertificateProviderCommandInput,
372
+ DescribeCertificateProviderCommandOutput,
373
+ } from "../commands/DescribeCertificateProviderCommand";
362
374
  import {
363
375
  DescribeCustomMetricCommandInput,
364
376
  DescribeCustomMetricCommandOutput,
@@ -595,6 +607,10 @@ import {
595
607
  ListCACertificatesCommandInput,
596
608
  ListCACertificatesCommandOutput,
597
609
  } from "../commands/ListCACertificatesCommand";
610
+ import {
611
+ ListCertificateProvidersCommandInput,
612
+ ListCertificateProvidersCommandOutput,
613
+ } from "../commands/ListCertificateProvidersCommand";
598
614
  import {
599
615
  ListCertificatesByCACommandInput,
600
616
  ListCertificatesByCACommandOutput,
@@ -915,6 +931,10 @@ import {
915
931
  UpdateCertificateCommandInput,
916
932
  UpdateCertificateCommandOutput,
917
933
  } from "../commands/UpdateCertificateCommand";
934
+ import {
935
+ UpdateCertificateProviderCommandInput,
936
+ UpdateCertificateProviderCommandOutput,
937
+ } from "../commands/UpdateCertificateProviderCommand";
918
938
  import {
919
939
  UpdateCustomMetricCommandInput,
920
940
  UpdateCustomMetricCommandOutput,
@@ -1083,6 +1103,10 @@ export declare const se_CreateCertificateFromCsrCommand: (
1083
1103
  input: CreateCertificateFromCsrCommandInput,
1084
1104
  context: __SerdeContext
1085
1105
  ) => Promise<__HttpRequest>;
1106
+ export declare const se_CreateCertificateProviderCommand: (
1107
+ input: CreateCertificateProviderCommandInput,
1108
+ context: __SerdeContext
1109
+ ) => Promise<__HttpRequest>;
1086
1110
  export declare const se_CreateCustomMetricCommand: (
1087
1111
  input: CreateCustomMetricCommandInput,
1088
1112
  context: __SerdeContext
@@ -1211,6 +1235,10 @@ export declare const se_DeleteCertificateCommand: (
1211
1235
  input: DeleteCertificateCommandInput,
1212
1236
  context: __SerdeContext
1213
1237
  ) => Promise<__HttpRequest>;
1238
+ export declare const se_DeleteCertificateProviderCommand: (
1239
+ input: DeleteCertificateProviderCommandInput,
1240
+ context: __SerdeContext
1241
+ ) => Promise<__HttpRequest>;
1214
1242
  export declare const se_DeleteCustomMetricCommand: (
1215
1243
  input: DeleteCustomMetricCommandInput,
1216
1244
  context: __SerdeContext
@@ -1359,6 +1387,10 @@ export declare const se_DescribeCertificateCommand: (
1359
1387
  input: DescribeCertificateCommandInput,
1360
1388
  context: __SerdeContext
1361
1389
  ) => Promise<__HttpRequest>;
1390
+ export declare const se_DescribeCertificateProviderCommand: (
1391
+ input: DescribeCertificateProviderCommandInput,
1392
+ context: __SerdeContext
1393
+ ) => Promise<__HttpRequest>;
1362
1394
  export declare const se_DescribeCustomMetricCommand: (
1363
1395
  input: DescribeCustomMetricCommandInput,
1364
1396
  context: __SerdeContext
@@ -1595,6 +1627,10 @@ export declare const se_ListCACertificatesCommand: (
1595
1627
  input: ListCACertificatesCommandInput,
1596
1628
  context: __SerdeContext
1597
1629
  ) => Promise<__HttpRequest>;
1630
+ export declare const se_ListCertificateProvidersCommand: (
1631
+ input: ListCertificateProvidersCommandInput,
1632
+ context: __SerdeContext
1633
+ ) => Promise<__HttpRequest>;
1598
1634
  export declare const se_ListCertificatesCommand: (
1599
1635
  input: ListCertificatesCommandInput,
1600
1636
  context: __SerdeContext
@@ -1915,6 +1951,10 @@ export declare const se_UpdateCertificateCommand: (
1915
1951
  input: UpdateCertificateCommandInput,
1916
1952
  context: __SerdeContext
1917
1953
  ) => Promise<__HttpRequest>;
1954
+ export declare const se_UpdateCertificateProviderCommand: (
1955
+ input: UpdateCertificateProviderCommandInput,
1956
+ context: __SerdeContext
1957
+ ) => Promise<__HttpRequest>;
1918
1958
  export declare const se_UpdateCustomMetricCommand: (
1919
1959
  input: UpdateCustomMetricCommandInput,
1920
1960
  context: __SerdeContext
@@ -2083,6 +2123,10 @@ export declare const de_CreateCertificateFromCsrCommand: (
2083
2123
  output: __HttpResponse,
2084
2124
  context: __SerdeContext
2085
2125
  ) => Promise<CreateCertificateFromCsrCommandOutput>;
2126
+ export declare const de_CreateCertificateProviderCommand: (
2127
+ output: __HttpResponse,
2128
+ context: __SerdeContext
2129
+ ) => Promise<CreateCertificateProviderCommandOutput>;
2086
2130
  export declare const de_CreateCustomMetricCommand: (
2087
2131
  output: __HttpResponse,
2088
2132
  context: __SerdeContext
@@ -2211,6 +2255,10 @@ export declare const de_DeleteCertificateCommand: (
2211
2255
  output: __HttpResponse,
2212
2256
  context: __SerdeContext
2213
2257
  ) => Promise<DeleteCertificateCommandOutput>;
2258
+ export declare const de_DeleteCertificateProviderCommand: (
2259
+ output: __HttpResponse,
2260
+ context: __SerdeContext
2261
+ ) => Promise<DeleteCertificateProviderCommandOutput>;
2214
2262
  export declare const de_DeleteCustomMetricCommand: (
2215
2263
  output: __HttpResponse,
2216
2264
  context: __SerdeContext
@@ -2359,6 +2407,10 @@ export declare const de_DescribeCertificateCommand: (
2359
2407
  output: __HttpResponse,
2360
2408
  context: __SerdeContext
2361
2409
  ) => Promise<DescribeCertificateCommandOutput>;
2410
+ export declare const de_DescribeCertificateProviderCommand: (
2411
+ output: __HttpResponse,
2412
+ context: __SerdeContext
2413
+ ) => Promise<DescribeCertificateProviderCommandOutput>;
2362
2414
  export declare const de_DescribeCustomMetricCommand: (
2363
2415
  output: __HttpResponse,
2364
2416
  context: __SerdeContext
@@ -2595,6 +2647,10 @@ export declare const de_ListCACertificatesCommand: (
2595
2647
  output: __HttpResponse,
2596
2648
  context: __SerdeContext
2597
2649
  ) => Promise<ListCACertificatesCommandOutput>;
2650
+ export declare const de_ListCertificateProvidersCommand: (
2651
+ output: __HttpResponse,
2652
+ context: __SerdeContext
2653
+ ) => Promise<ListCertificateProvidersCommandOutput>;
2598
2654
  export declare const de_ListCertificatesCommand: (
2599
2655
  output: __HttpResponse,
2600
2656
  context: __SerdeContext
@@ -2915,6 +2971,10 @@ export declare const de_UpdateCertificateCommand: (
2915
2971
  output: __HttpResponse,
2916
2972
  context: __SerdeContext
2917
2973
  ) => Promise<UpdateCertificateCommandOutput>;
2974
+ export declare const de_UpdateCertificateProviderCommand: (
2975
+ output: __HttpResponse,
2976
+ context: __SerdeContext
2977
+ ) => Promise<UpdateCertificateProviderCommandOutput>;
2918
2978
  export declare const de_UpdateCustomMetricCommand: (
2919
2979
  output: __HttpResponse,
2920
2980
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot",
3
3
  "description": "AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native",
4
- "version": "3.473.0",
4
+ "version": "3.474.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.473.0",
24
- "@aws-sdk/core": "3.468.0",
25
- "@aws-sdk/credential-provider-node": "3.470.0",
23
+ "@aws-sdk/client-sts": "3.474.0",
24
+ "@aws-sdk/core": "3.474.0",
25
+ "@aws-sdk/credential-provider-node": "3.474.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",