@depup/aws-sdk__client-secrets-manager 3.1010.0-depup.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 (159) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +39 -0
  3. package/changes.json +42 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  5. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  6. package/dist-cjs/endpoint/ruleset.js +7 -0
  7. package/dist-cjs/index.js +511 -0
  8. package/dist-cjs/models/SecretsManagerServiceException.js +12 -0
  9. package/dist-cjs/models/errors.js +184 -0
  10. package/dist-cjs/runtimeConfig.browser.js +38 -0
  11. package/dist-cjs/runtimeConfig.js +53 -0
  12. package/dist-cjs/runtimeConfig.native.js +15 -0
  13. package/dist-cjs/runtimeConfig.shared.js +43 -0
  14. package/dist-cjs/schemas/schemas_0.js +665 -0
  15. package/dist-es/SecretsManager.js +61 -0
  16. package/dist-es/SecretsManagerClient.js +50 -0
  17. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  18. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  19. package/dist-es/commands/BatchGetSecretValueCommand.js +16 -0
  20. package/dist-es/commands/CancelRotateSecretCommand.js +16 -0
  21. package/dist-es/commands/CreateSecretCommand.js +16 -0
  22. package/dist-es/commands/DeleteResourcePolicyCommand.js +16 -0
  23. package/dist-es/commands/DeleteSecretCommand.js +16 -0
  24. package/dist-es/commands/DescribeSecretCommand.js +16 -0
  25. package/dist-es/commands/GetRandomPasswordCommand.js +16 -0
  26. package/dist-es/commands/GetResourcePolicyCommand.js +16 -0
  27. package/dist-es/commands/GetSecretValueCommand.js +16 -0
  28. package/dist-es/commands/ListSecretVersionIdsCommand.js +16 -0
  29. package/dist-es/commands/ListSecretsCommand.js +16 -0
  30. package/dist-es/commands/PutResourcePolicyCommand.js +16 -0
  31. package/dist-es/commands/PutSecretValueCommand.js +16 -0
  32. package/dist-es/commands/RemoveRegionsFromReplicationCommand.js +16 -0
  33. package/dist-es/commands/ReplicateSecretToRegionsCommand.js +16 -0
  34. package/dist-es/commands/RestoreSecretCommand.js +16 -0
  35. package/dist-es/commands/RotateSecretCommand.js +16 -0
  36. package/dist-es/commands/StopReplicationToReplicaCommand.js +16 -0
  37. package/dist-es/commands/TagResourceCommand.js +16 -0
  38. package/dist-es/commands/UntagResourceCommand.js +16 -0
  39. package/dist-es/commands/UpdateSecretCommand.js +16 -0
  40. package/dist-es/commands/UpdateSecretVersionStageCommand.js +16 -0
  41. package/dist-es/commands/ValidateResourcePolicyCommand.js +16 -0
  42. package/dist-es/commands/index.js +23 -0
  43. package/dist-es/endpoint/EndpointParameters.js +13 -0
  44. package/dist-es/endpoint/endpointResolver.js +14 -0
  45. package/dist-es/endpoint/ruleset.js +4 -0
  46. package/dist-es/extensionConfiguration.js +1 -0
  47. package/dist-es/index.js +9 -0
  48. package/dist-es/models/SecretsManagerServiceException.js +8 -0
  49. package/dist-es/models/enums.js +24 -0
  50. package/dist-es/models/errors.js +169 -0
  51. package/dist-es/models/models_0.js +1 -0
  52. package/dist-es/pagination/BatchGetSecretValuePaginator.js +4 -0
  53. package/dist-es/pagination/Interfaces.js +1 -0
  54. package/dist-es/pagination/ListSecretVersionIdsPaginator.js +4 -0
  55. package/dist-es/pagination/ListSecretsPaginator.js +4 -0
  56. package/dist-es/pagination/index.js +4 -0
  57. package/dist-es/runtimeConfig.browser.js +33 -0
  58. package/dist-es/runtimeConfig.js +48 -0
  59. package/dist-es/runtimeConfig.native.js +11 -0
  60. package/dist-es/runtimeConfig.shared.js +39 -0
  61. package/dist-es/runtimeExtensions.js +9 -0
  62. package/dist-es/schemas/schemas_0.js +661 -0
  63. package/dist-types/SecretsManager.d.ts +220 -0
  64. package/dist-types/SecretsManagerClient.d.ts +235 -0
  65. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  66. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  67. package/dist-types/commands/BatchGetSecretValueCommand.d.ts +210 -0
  68. package/dist-types/commands/CancelRotateSecretCommand.d.ts +135 -0
  69. package/dist-types/commands/CreateSecretCommand.d.ts +218 -0
  70. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +126 -0
  71. package/dist-types/commands/DeleteSecretCommand.d.ts +135 -0
  72. package/dist-types/commands/DescribeSecretCommand.d.ts +137 -0
  73. package/dist-types/commands/GetRandomPasswordCommand.d.ts +135 -0
  74. package/dist-types/commands/GetResourcePolicyCommand.d.ts +138 -0
  75. package/dist-types/commands/GetSecretValueCommand.d.ts +157 -0
  76. package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +151 -0
  77. package/dist-types/commands/ListSecretsCommand.d.ts +208 -0
  78. package/dist-types/commands/PutResourcePolicyCommand.d.ts +147 -0
  79. package/dist-types/commands/PutSecretValueCommand.d.ts +183 -0
  80. package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +122 -0
  81. package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +157 -0
  82. package/dist-types/commands/RestoreSecretCommand.d.ts +126 -0
  83. package/dist-types/commands/RotateSecretCommand.d.ts +180 -0
  84. package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +111 -0
  85. package/dist-types/commands/TagResourceCommand.d.ts +145 -0
  86. package/dist-types/commands/UntagResourceCommand.d.ts +134 -0
  87. package/dist-types/commands/UpdateSecretCommand.d.ts +221 -0
  88. package/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +187 -0
  89. package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +161 -0
  90. package/dist-types/commands/index.d.ts +23 -0
  91. package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
  92. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  93. package/dist-types/endpoint/ruleset.d.ts +2 -0
  94. package/dist-types/extensionConfiguration.d.ts +9 -0
  95. package/dist-types/index.d.ts +42 -0
  96. package/dist-types/models/SecretsManagerServiceException.d.ts +14 -0
  97. package/dist-types/models/enums.d.ts +56 -0
  98. package/dist-types/models/errors.d.ts +175 -0
  99. package/dist-types/models/models_0.d.ts +1957 -0
  100. package/dist-types/pagination/BatchGetSecretValuePaginator.d.ts +7 -0
  101. package/dist-types/pagination/Interfaces.d.ts +8 -0
  102. package/dist-types/pagination/ListSecretVersionIdsPaginator.d.ts +7 -0
  103. package/dist-types/pagination/ListSecretsPaginator.d.ts +7 -0
  104. package/dist-types/pagination/index.d.ts +4 -0
  105. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  106. package/dist-types/runtimeConfig.d.ts +55 -0
  107. package/dist-types/runtimeConfig.native.d.ts +54 -0
  108. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  109. package/dist-types/runtimeExtensions.d.ts +17 -0
  110. package/dist-types/schemas/schemas_0.d.ts +99 -0
  111. package/dist-types/ts3.4/SecretsManager.d.ts +426 -0
  112. package/dist-types/ts3.4/SecretsManagerClient.d.ts +258 -0
  113. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  114. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  115. package/dist-types/ts3.4/commands/BatchGetSecretValueCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +51 -0
  117. package/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +47 -0
  118. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
  119. package/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +47 -0
  120. package/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +50 -0
  121. package/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +51 -0
  122. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
  123. package/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +50 -0
  124. package/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +47 -0
  126. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
  127. package/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +50 -0
  128. package/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +50 -0
  131. package/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +47 -0
  132. package/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +51 -0
  133. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  134. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  135. package/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +47 -0
  136. package/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +51 -0
  137. package/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +51 -0
  138. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  139. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  140. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  141. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  142. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  143. package/dist-types/ts3.4/index.d.ts +12 -0
  144. package/dist-types/ts3.4/models/SecretsManagerServiceException.d.ts +9 -0
  145. package/dist-types/ts3.4/models/enums.d.ts +29 -0
  146. package/dist-types/ts3.4/models/errors.d.ts +97 -0
  147. package/dist-types/ts3.4/models/models_0.d.ts +333 -0
  148. package/dist-types/ts3.4/pagination/BatchGetSecretValuePaginator.d.ts +11 -0
  149. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  150. package/dist-types/ts3.4/pagination/ListSecretVersionIdsPaginator.d.ts +11 -0
  151. package/dist-types/ts3.4/pagination/ListSecretsPaginator.d.ts +11 -0
  152. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  153. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
  154. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  155. package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
  156. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  157. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  158. package/dist-types/ts3.4/schemas/schemas_0.d.ts +98 -0
  159. package/package.json +159 -0
@@ -0,0 +1,29 @@
1
+ export declare const FilterNameStringType: {
2
+ readonly all: "all";
3
+ readonly description: "description";
4
+ readonly name: "name";
5
+ readonly owning_service: "owning-service";
6
+ readonly primary_region: "primary-region";
7
+ readonly tag_key: "tag-key";
8
+ readonly tag_value: "tag-value";
9
+ };
10
+ export type FilterNameStringType =
11
+ (typeof FilterNameStringType)[keyof typeof FilterNameStringType];
12
+ export declare const StatusType: {
13
+ readonly Failed: "Failed";
14
+ readonly InProgress: "InProgress";
15
+ readonly InSync: "InSync";
16
+ };
17
+ export type StatusType = (typeof StatusType)[keyof typeof StatusType];
18
+ export declare const SortByType: {
19
+ readonly created_date: "created-date";
20
+ readonly last_accessed_date: "last-accessed-date";
21
+ readonly last_changed_date: "last-changed-date";
22
+ readonly name: "name";
23
+ };
24
+ export type SortByType = (typeof SortByType)[keyof typeof SortByType];
25
+ export declare const SortOrderType: {
26
+ readonly asc: "asc";
27
+ readonly desc: "desc";
28
+ };
29
+ export type SortOrderType = (typeof SortOrderType)[keyof typeof SortOrderType];
@@ -0,0 +1,97 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { SecretsManagerServiceException as __BaseException } from "./SecretsManagerServiceException";
3
+ export declare class DecryptionFailure extends __BaseException {
4
+ readonly name: "DecryptionFailure";
5
+ readonly $fault: "client";
6
+ Message?: string | undefined;
7
+ constructor(opts: __ExceptionOptionType<DecryptionFailure, __BaseException>);
8
+ }
9
+ export declare class InternalServiceError extends __BaseException {
10
+ readonly name: "InternalServiceError";
11
+ readonly $fault: "server";
12
+ Message?: string | undefined;
13
+ constructor(
14
+ opts: __ExceptionOptionType<InternalServiceError, __BaseException>
15
+ );
16
+ }
17
+ export declare class InvalidNextTokenException extends __BaseException {
18
+ readonly name: "InvalidNextTokenException";
19
+ readonly $fault: "client";
20
+ Message?: string | undefined;
21
+ constructor(
22
+ opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
23
+ );
24
+ }
25
+ export declare class InvalidParameterException extends __BaseException {
26
+ readonly name: "InvalidParameterException";
27
+ readonly $fault: "client";
28
+ Message?: string | undefined;
29
+ constructor(
30
+ opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
31
+ );
32
+ }
33
+ export declare class InvalidRequestException extends __BaseException {
34
+ readonly name: "InvalidRequestException";
35
+ readonly $fault: "client";
36
+ Message?: string | undefined;
37
+ constructor(
38
+ opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
39
+ );
40
+ }
41
+ export declare class ResourceNotFoundException extends __BaseException {
42
+ readonly name: "ResourceNotFoundException";
43
+ readonly $fault: "client";
44
+ Message?: string | undefined;
45
+ constructor(
46
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
47
+ );
48
+ }
49
+ export declare class EncryptionFailure extends __BaseException {
50
+ readonly name: "EncryptionFailure";
51
+ readonly $fault: "client";
52
+ Message?: string | undefined;
53
+ constructor(opts: __ExceptionOptionType<EncryptionFailure, __BaseException>);
54
+ }
55
+ export declare class LimitExceededException extends __BaseException {
56
+ readonly name: "LimitExceededException";
57
+ readonly $fault: "client";
58
+ Message?: string | undefined;
59
+ constructor(
60
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
61
+ );
62
+ }
63
+ export declare class MalformedPolicyDocumentException extends __BaseException {
64
+ readonly name: "MalformedPolicyDocumentException";
65
+ readonly $fault: "client";
66
+ Message?: string | undefined;
67
+ constructor(
68
+ opts: __ExceptionOptionType<
69
+ MalformedPolicyDocumentException,
70
+ __BaseException
71
+ >
72
+ );
73
+ }
74
+ export declare class PreconditionNotMetException extends __BaseException {
75
+ readonly name: "PreconditionNotMetException";
76
+ readonly $fault: "client";
77
+ Message?: string | undefined;
78
+ constructor(
79
+ opts: __ExceptionOptionType<PreconditionNotMetException, __BaseException>
80
+ );
81
+ }
82
+ export declare class ResourceExistsException extends __BaseException {
83
+ readonly name: "ResourceExistsException";
84
+ readonly $fault: "client";
85
+ Message?: string | undefined;
86
+ constructor(
87
+ opts: __ExceptionOptionType<ResourceExistsException, __BaseException>
88
+ );
89
+ }
90
+ export declare class PublicPolicyException extends __BaseException {
91
+ readonly name: "PublicPolicyException";
92
+ readonly $fault: "client";
93
+ Message?: string | undefined;
94
+ constructor(
95
+ opts: __ExceptionOptionType<PublicPolicyException, __BaseException>
96
+ );
97
+ }
@@ -0,0 +1,333 @@
1
+ import {
2
+ FilterNameStringType,
3
+ SortByType,
4
+ SortOrderType,
5
+ StatusType,
6
+ } from "./enums";
7
+ export interface ReplicaRegionType {
8
+ Region?: string | undefined;
9
+ KmsKeyId?: string | undefined;
10
+ }
11
+ export interface APIErrorType {
12
+ SecretId?: string | undefined;
13
+ ErrorCode?: string | undefined;
14
+ Message?: string | undefined;
15
+ }
16
+ export interface Filter {
17
+ Key?: FilterNameStringType | undefined;
18
+ Values?: string[] | undefined;
19
+ }
20
+ export interface BatchGetSecretValueRequest {
21
+ SecretIdList?: string[] | undefined;
22
+ Filters?: Filter[] | undefined;
23
+ MaxResults?: number | undefined;
24
+ NextToken?: string | undefined;
25
+ }
26
+ export interface SecretValueEntry {
27
+ ARN?: string | undefined;
28
+ Name?: string | undefined;
29
+ VersionId?: string | undefined;
30
+ SecretBinary?: Uint8Array | undefined;
31
+ SecretString?: string | undefined;
32
+ VersionStages?: string[] | undefined;
33
+ CreatedDate?: Date | undefined;
34
+ }
35
+ export interface BatchGetSecretValueResponse {
36
+ SecretValues?: SecretValueEntry[] | undefined;
37
+ NextToken?: string | undefined;
38
+ Errors?: APIErrorType[] | undefined;
39
+ }
40
+ export interface CancelRotateSecretRequest {
41
+ SecretId: string | undefined;
42
+ }
43
+ export interface CancelRotateSecretResponse {
44
+ ARN?: string | undefined;
45
+ Name?: string | undefined;
46
+ VersionId?: string | undefined;
47
+ }
48
+ export interface Tag {
49
+ Key?: string | undefined;
50
+ Value?: string | undefined;
51
+ }
52
+ export interface CreateSecretRequest {
53
+ Name: string | undefined;
54
+ ClientRequestToken?: string | undefined;
55
+ Description?: string | undefined;
56
+ KmsKeyId?: string | undefined;
57
+ SecretBinary?: Uint8Array | undefined;
58
+ SecretString?: string | undefined;
59
+ Tags?: Tag[] | undefined;
60
+ AddReplicaRegions?: ReplicaRegionType[] | undefined;
61
+ ForceOverwriteReplicaSecret?: boolean | undefined;
62
+ Type?: string | undefined;
63
+ }
64
+ export interface ReplicationStatusType {
65
+ Region?: string | undefined;
66
+ KmsKeyId?: string | undefined;
67
+ Status?: StatusType | undefined;
68
+ StatusMessage?: string | undefined;
69
+ LastAccessedDate?: Date | undefined;
70
+ }
71
+ export interface CreateSecretResponse {
72
+ ARN?: string | undefined;
73
+ Name?: string | undefined;
74
+ VersionId?: string | undefined;
75
+ ReplicationStatus?: ReplicationStatusType[] | undefined;
76
+ }
77
+ export interface DeleteResourcePolicyRequest {
78
+ SecretId: string | undefined;
79
+ }
80
+ export interface DeleteResourcePolicyResponse {
81
+ ARN?: string | undefined;
82
+ Name?: string | undefined;
83
+ }
84
+ export interface DeleteSecretRequest {
85
+ SecretId: string | undefined;
86
+ RecoveryWindowInDays?: number | undefined;
87
+ ForceDeleteWithoutRecovery?: boolean | undefined;
88
+ }
89
+ export interface DeleteSecretResponse {
90
+ ARN?: string | undefined;
91
+ Name?: string | undefined;
92
+ DeletionDate?: Date | undefined;
93
+ }
94
+ export interface DescribeSecretRequest {
95
+ SecretId: string | undefined;
96
+ }
97
+ export interface ExternalSecretRotationMetadataItem {
98
+ Key?: string | undefined;
99
+ Value?: string | undefined;
100
+ }
101
+ export interface RotationRulesType {
102
+ AutomaticallyAfterDays?: number | undefined;
103
+ Duration?: string | undefined;
104
+ ScheduleExpression?: string | undefined;
105
+ }
106
+ export interface DescribeSecretResponse {
107
+ ARN?: string | undefined;
108
+ Name?: string | undefined;
109
+ Type?: string | undefined;
110
+ Description?: string | undefined;
111
+ KmsKeyId?: string | undefined;
112
+ RotationEnabled?: boolean | undefined;
113
+ RotationLambdaARN?: string | undefined;
114
+ RotationRules?: RotationRulesType | undefined;
115
+ ExternalSecretRotationMetadata?:
116
+ | ExternalSecretRotationMetadataItem[]
117
+ | undefined;
118
+ ExternalSecretRotationRoleArn?: string | undefined;
119
+ LastRotatedDate?: Date | undefined;
120
+ LastChangedDate?: Date | undefined;
121
+ LastAccessedDate?: Date | undefined;
122
+ DeletedDate?: Date | undefined;
123
+ NextRotationDate?: Date | undefined;
124
+ Tags?: Tag[] | undefined;
125
+ VersionIdsToStages?: Record<string, string[]> | undefined;
126
+ OwningService?: string | undefined;
127
+ CreatedDate?: Date | undefined;
128
+ PrimaryRegion?: string | undefined;
129
+ ReplicationStatus?: ReplicationStatusType[] | undefined;
130
+ }
131
+ export interface GetRandomPasswordRequest {
132
+ PasswordLength?: number | undefined;
133
+ ExcludeCharacters?: string | undefined;
134
+ ExcludeNumbers?: boolean | undefined;
135
+ ExcludePunctuation?: boolean | undefined;
136
+ ExcludeUppercase?: boolean | undefined;
137
+ ExcludeLowercase?: boolean | undefined;
138
+ IncludeSpace?: boolean | undefined;
139
+ RequireEachIncludedType?: boolean | undefined;
140
+ }
141
+ export interface GetRandomPasswordResponse {
142
+ RandomPassword?: string | undefined;
143
+ }
144
+ export interface GetResourcePolicyRequest {
145
+ SecretId: string | undefined;
146
+ }
147
+ export interface GetResourcePolicyResponse {
148
+ ARN?: string | undefined;
149
+ Name?: string | undefined;
150
+ ResourcePolicy?: string | undefined;
151
+ }
152
+ export interface GetSecretValueRequest {
153
+ SecretId: string | undefined;
154
+ VersionId?: string | undefined;
155
+ VersionStage?: string | undefined;
156
+ }
157
+ export interface GetSecretValueResponse {
158
+ ARN?: string | undefined;
159
+ Name?: string | undefined;
160
+ VersionId?: string | undefined;
161
+ SecretBinary?: Uint8Array | undefined;
162
+ SecretString?: string | undefined;
163
+ VersionStages?: string[] | undefined;
164
+ CreatedDate?: Date | undefined;
165
+ }
166
+ export interface ListSecretsRequest {
167
+ IncludePlannedDeletion?: boolean | undefined;
168
+ MaxResults?: number | undefined;
169
+ NextToken?: string | undefined;
170
+ Filters?: Filter[] | undefined;
171
+ SortOrder?: SortOrderType | undefined;
172
+ SortBy?: SortByType | undefined;
173
+ }
174
+ export interface SecretListEntry {
175
+ ARN?: string | undefined;
176
+ Name?: string | undefined;
177
+ Type?: string | undefined;
178
+ Description?: string | undefined;
179
+ KmsKeyId?: string | undefined;
180
+ RotationEnabled?: boolean | undefined;
181
+ RotationLambdaARN?: string | undefined;
182
+ RotationRules?: RotationRulesType | undefined;
183
+ ExternalSecretRotationMetadata?:
184
+ | ExternalSecretRotationMetadataItem[]
185
+ | undefined;
186
+ ExternalSecretRotationRoleArn?: string | undefined;
187
+ LastRotatedDate?: Date | undefined;
188
+ LastChangedDate?: Date | undefined;
189
+ LastAccessedDate?: Date | undefined;
190
+ DeletedDate?: Date | undefined;
191
+ NextRotationDate?: Date | undefined;
192
+ Tags?: Tag[] | undefined;
193
+ SecretVersionsToStages?: Record<string, string[]> | undefined;
194
+ OwningService?: string | undefined;
195
+ CreatedDate?: Date | undefined;
196
+ PrimaryRegion?: string | undefined;
197
+ }
198
+ export interface ListSecretsResponse {
199
+ SecretList?: SecretListEntry[] | undefined;
200
+ NextToken?: string | undefined;
201
+ }
202
+ export interface ListSecretVersionIdsRequest {
203
+ SecretId: string | undefined;
204
+ MaxResults?: number | undefined;
205
+ NextToken?: string | undefined;
206
+ IncludeDeprecated?: boolean | undefined;
207
+ }
208
+ export interface SecretVersionsListEntry {
209
+ VersionId?: string | undefined;
210
+ VersionStages?: string[] | undefined;
211
+ LastAccessedDate?: Date | undefined;
212
+ CreatedDate?: Date | undefined;
213
+ KmsKeyIds?: string[] | undefined;
214
+ }
215
+ export interface ListSecretVersionIdsResponse {
216
+ Versions?: SecretVersionsListEntry[] | undefined;
217
+ NextToken?: string | undefined;
218
+ ARN?: string | undefined;
219
+ Name?: string | undefined;
220
+ }
221
+ export interface PutResourcePolicyRequest {
222
+ SecretId: string | undefined;
223
+ ResourcePolicy: string | undefined;
224
+ BlockPublicPolicy?: boolean | undefined;
225
+ }
226
+ export interface PutResourcePolicyResponse {
227
+ ARN?: string | undefined;
228
+ Name?: string | undefined;
229
+ }
230
+ export interface PutSecretValueRequest {
231
+ SecretId: string | undefined;
232
+ ClientRequestToken?: string | undefined;
233
+ SecretBinary?: Uint8Array | undefined;
234
+ SecretString?: string | undefined;
235
+ VersionStages?: string[] | undefined;
236
+ RotationToken?: string | undefined;
237
+ }
238
+ export interface PutSecretValueResponse {
239
+ ARN?: string | undefined;
240
+ Name?: string | undefined;
241
+ VersionId?: string | undefined;
242
+ VersionStages?: string[] | undefined;
243
+ }
244
+ export interface RemoveRegionsFromReplicationRequest {
245
+ SecretId: string | undefined;
246
+ RemoveReplicaRegions: string[] | undefined;
247
+ }
248
+ export interface RemoveRegionsFromReplicationResponse {
249
+ ARN?: string | undefined;
250
+ ReplicationStatus?: ReplicationStatusType[] | undefined;
251
+ }
252
+ export interface ReplicateSecretToRegionsRequest {
253
+ SecretId: string | undefined;
254
+ AddReplicaRegions: ReplicaRegionType[] | undefined;
255
+ ForceOverwriteReplicaSecret?: boolean | undefined;
256
+ }
257
+ export interface ReplicateSecretToRegionsResponse {
258
+ ARN?: string | undefined;
259
+ ReplicationStatus?: ReplicationStatusType[] | undefined;
260
+ }
261
+ export interface RestoreSecretRequest {
262
+ SecretId: string | undefined;
263
+ }
264
+ export interface RestoreSecretResponse {
265
+ ARN?: string | undefined;
266
+ Name?: string | undefined;
267
+ }
268
+ export interface RotateSecretRequest {
269
+ SecretId: string | undefined;
270
+ ClientRequestToken?: string | undefined;
271
+ RotationLambdaARN?: string | undefined;
272
+ RotationRules?: RotationRulesType | undefined;
273
+ ExternalSecretRotationMetadata?:
274
+ | ExternalSecretRotationMetadataItem[]
275
+ | undefined;
276
+ ExternalSecretRotationRoleArn?: string | undefined;
277
+ RotateImmediately?: boolean | undefined;
278
+ }
279
+ export interface RotateSecretResponse {
280
+ ARN?: string | undefined;
281
+ Name?: string | undefined;
282
+ VersionId?: string | undefined;
283
+ }
284
+ export interface StopReplicationToReplicaRequest {
285
+ SecretId: string | undefined;
286
+ }
287
+ export interface StopReplicationToReplicaResponse {
288
+ ARN?: string | undefined;
289
+ }
290
+ export interface TagResourceRequest {
291
+ SecretId: string | undefined;
292
+ Tags: Tag[] | undefined;
293
+ }
294
+ export interface UntagResourceRequest {
295
+ SecretId: string | undefined;
296
+ TagKeys: string[] | undefined;
297
+ }
298
+ export interface UpdateSecretRequest {
299
+ SecretId: string | undefined;
300
+ ClientRequestToken?: string | undefined;
301
+ Description?: string | undefined;
302
+ KmsKeyId?: string | undefined;
303
+ SecretBinary?: Uint8Array | undefined;
304
+ SecretString?: string | undefined;
305
+ Type?: string | undefined;
306
+ }
307
+ export interface UpdateSecretResponse {
308
+ ARN?: string | undefined;
309
+ Name?: string | undefined;
310
+ VersionId?: string | undefined;
311
+ }
312
+ export interface UpdateSecretVersionStageRequest {
313
+ SecretId: string | undefined;
314
+ VersionStage: string | undefined;
315
+ RemoveFromVersionId?: string | undefined;
316
+ MoveToVersionId?: string | undefined;
317
+ }
318
+ export interface UpdateSecretVersionStageResponse {
319
+ ARN?: string | undefined;
320
+ Name?: string | undefined;
321
+ }
322
+ export interface ValidateResourcePolicyRequest {
323
+ SecretId?: string | undefined;
324
+ ResourcePolicy: string | undefined;
325
+ }
326
+ export interface ValidationErrorsEntry {
327
+ CheckName?: string | undefined;
328
+ ErrorMessage?: string | undefined;
329
+ }
330
+ export interface ValidateResourcePolicyResponse {
331
+ PolicyValidationPassed?: boolean | undefined;
332
+ ValidationErrors?: ValidationErrorsEntry[] | undefined;
333
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ BatchGetSecretValueCommandInput,
4
+ BatchGetSecretValueCommandOutput,
5
+ } from "../commands/BatchGetSecretValueCommand";
6
+ import { SecretsManagerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateBatchGetSecretValue: (
8
+ config: SecretsManagerPaginationConfiguration,
9
+ input: BatchGetSecretValueCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<BatchGetSecretValueCommandOutput>;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { SecretsManagerClient } from "../SecretsManagerClient";
3
+ export interface SecretsManagerPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: SecretsManagerClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListSecretVersionIdsCommandInput,
4
+ ListSecretVersionIdsCommandOutput,
5
+ } from "../commands/ListSecretVersionIdsCommand";
6
+ import { SecretsManagerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListSecretVersionIds: (
8
+ config: SecretsManagerPaginationConfiguration,
9
+ input: ListSecretVersionIdsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListSecretVersionIdsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListSecretsCommandInput,
4
+ ListSecretsCommandOutput,
5
+ } from "../commands/ListSecretsCommand";
6
+ import { SecretsManagerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListSecrets: (
8
+ config: SecretsManagerPaginationConfiguration,
9
+ input: ListSecretsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListSecretsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ export * from "./Interfaces";
2
+ export * from "./BatchGetSecretValuePaginator";
3
+ export * from "./ListSecretsPaginator";
4
+ export * from "./ListSecretVersionIdsPaginator";
@@ -0,0 +1,100 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { SecretsManagerClientConfig } from "./SecretsManagerClient";
3
+ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
+ defaultUserAgentProvider: (
15
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
16
+ ) => Promise<import("@smithy/types").UserAgent>;
17
+ maxAttempts: number | import("@smithy/types").Provider<number>;
18
+ region: string | import("@smithy/types").Provider<any>;
19
+ requestHandler:
20
+ | import("@smithy/protocol-http").HttpHandler<any>
21
+ | RequestHandler;
22
+ retryMode: string | import("@smithy/types").Provider<string>;
23
+ sha256: import("@smithy/types").HashConstructor;
24
+ streamCollector: import("@smithy/types").StreamCollector;
25
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
+ cacheMiddleware?: boolean | undefined;
30
+ protocol:
31
+ | import("@smithy/types").ClientProtocol<any, any>
32
+ | import("@smithy/types").ClientProtocolCtor<any, any>
33
+ | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
34
+ protocolSettings: {
35
+ defaultNamespace?: string;
36
+ [setting: string]: unknown;
37
+ };
38
+ apiVersion: string;
39
+ urlParser: import("@smithy/types").UrlParser;
40
+ base64Decoder: import("@smithy/types").Decoder;
41
+ base64Encoder: (_input: Uint8Array | string) => string;
42
+ utf8Decoder: import("@smithy/types").Decoder;
43
+ utf8Encoder: (input: Uint8Array | string) => string;
44
+ disableHostPrefix: boolean;
45
+ serviceId: string;
46
+ profile?: string;
47
+ logger: import("@smithy/types").Logger;
48
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
49
+ customUserAgent?: string | import("@smithy/types").UserAgent;
50
+ userAgentAppId?:
51
+ | string
52
+ | undefined
53
+ | import("@smithy/types").Provider<string | undefined>;
54
+ retryStrategy?:
55
+ | import("@smithy/types").RetryStrategy
56
+ | import("@smithy/types").RetryStrategyV2;
57
+ endpoint?:
58
+ | ((
59
+ | string
60
+ | import("@smithy/types").Endpoint
61
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
62
+ | import("@smithy/types").EndpointV2
63
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
64
+ ) &
65
+ (
66
+ | string
67
+ | import("@smithy/types").Provider<string>
68
+ | import("@smithy/types").Endpoint
69
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
70
+ | import("@smithy/types").EndpointV2
71
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
72
+ ))
73
+ | undefined;
74
+ endpointProvider: (
75
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
76
+ context?: {
77
+ logger?: import("@smithy/types").Logger;
78
+ }
79
+ ) => import("@smithy/types").EndpointV2;
80
+ tls?: boolean;
81
+ serviceConfiguredEndpoint?: never;
82
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
83
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
84
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SecretsManagerHttpAuthSchemeProvider;
85
+ credentials?:
86
+ | import("@smithy/types").AwsCredentialIdentity
87
+ | import("@smithy/types").AwsCredentialIdentityProvider;
88
+ signer?:
89
+ | import("@smithy/types").RequestSigner
90
+ | ((
91
+ authScheme?: import("@smithy/types").AuthScheme
92
+ ) => Promise<import("@smithy/types").RequestSigner>);
93
+ signingEscapePath?: boolean;
94
+ systemClockOffset?: number;
95
+ signingRegion?: string;
96
+ signerConstructor?: new (
97
+ options: import("@smithy/signature-v4").SignatureV4Init &
98
+ import("@smithy/signature-v4").SignatureV4CryptoInit
99
+ ) => import("@smithy/types").RequestSigner;
100
+ };