@aws-sdk/client-greengrassv2 3.934.0 → 3.936.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/dist-cjs/index.js +111 -110
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +110 -0
- package/dist-es/models/errors.js +125 -0
- package/dist-es/models/models_0.js +1 -235
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +286 -0
- package/dist-types/models/errors.d.ts +176 -0
- package/dist-types/models/models_0.d.ts +1 -460
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +154 -0
- package/dist-types/ts3.4/models/errors.d.ts +75 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -227
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { GreengrassV2ServiceException as __BaseException } from "./GreengrassV2ServiceException";
|
|
4
|
+
import { ValidationExceptionField } from "./models_0";
|
|
5
|
+
/**
|
|
6
|
+
* <p>You don't have permission to perform the action.</p>
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
readonly name: "AccessDeniedException";
|
|
11
|
+
readonly $fault: "client";
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>IoT Greengrass can't process your request right now. Try again later.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class InternalServerException extends __BaseException {
|
|
22
|
+
readonly name: "InternalServerException";
|
|
23
|
+
readonly $fault: "server";
|
|
24
|
+
/**
|
|
25
|
+
* <p>The amount of time to wait before you retry the request.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
retryAfterSeconds?: number | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* <p>The request isn't valid. This can occur if your request contains malformed JSON or
|
|
36
|
+
* unsupported characters.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export declare class ValidationException extends __BaseException {
|
|
40
|
+
readonly name: "ValidationException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
/**
|
|
43
|
+
* <p>The reason for the validation exception.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
reason?: ValidationExceptionReason | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* <p>The list of fields that failed to validate.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
fields?: ValidationExceptionField[] | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* <p>The requested resource can't be found.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
62
|
+
readonly name: "ResourceNotFoundException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
/**
|
|
65
|
+
* <p>The ID of the resource that isn't found.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
resourceId: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* <p>The type of the resource that isn't found.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
resourceType: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* <p>Your request exceeded a request rate quota. For example, you might have exceeded the
|
|
81
|
+
* amount of times that you can retrieve device or deployment status per second.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class ThrottlingException extends __BaseException {
|
|
85
|
+
readonly name: "ThrottlingException";
|
|
86
|
+
readonly $fault: "client";
|
|
87
|
+
/**
|
|
88
|
+
* <p>The code for the quota in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
quotaCode?: string | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* <p>The code for the service in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
serviceCode?: string | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* <p>The amount of time to wait before you retry the request.</p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
retryAfterSeconds?: number | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* <p>Your request has conflicting operations. This can occur if you're trying to perform more
|
|
109
|
+
* than one operation on the same resource at the same time.</p>
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class ConflictException extends __BaseException {
|
|
113
|
+
readonly name: "ConflictException";
|
|
114
|
+
readonly $fault: "client";
|
|
115
|
+
/**
|
|
116
|
+
* <p>The ID of the resource that conflicts with the request.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
resourceId: string | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* <p>The type of the resource that conflicts with the request.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
resourceType: string | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
128
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* <p>The request is already in progress. This exception occurs when you use a client token for
|
|
132
|
+
* multiple requests while IoT Greengrass is still processing an earlier request that uses the same client
|
|
133
|
+
* token.</p>
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
export declare class RequestAlreadyInProgressException extends __BaseException {
|
|
137
|
+
readonly name: "RequestAlreadyInProgressException";
|
|
138
|
+
readonly $fault: "client";
|
|
139
|
+
/**
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
142
|
+
constructor(opts: __ExceptionOptionType<RequestAlreadyInProgressException, __BaseException>);
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* <p>Your request exceeds a service quota. For example, you might have the maximum number of
|
|
146
|
+
* components that you can create.</p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
150
|
+
readonly name: "ServiceQuotaExceededException";
|
|
151
|
+
readonly $fault: "client";
|
|
152
|
+
/**
|
|
153
|
+
* <p>The ID of the resource that exceeds the service quota.</p>
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
resourceId?: string | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* <p>The type of the resource that exceeds the service quota.</p>
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
resourceType?: string | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* <p>The code for the quota in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
quotaCode: string | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* <p>The code for the service in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
serviceCode: string | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* @internal
|
|
174
|
+
*/
|
|
175
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
176
|
+
}
|