@aws-sdk/client-ram 3.1137.0 → 3.1138.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 +3 -3
- package/dist-es/schemas/schemas_0.js +2 -2
- package/dist-types/RAM.d.ts +77 -71
- package/dist-types/ts3.4/RAM.d.ts +74 -70
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1137.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -736,10 +736,10 @@ const _va = "value";
|
|
|
736
736
|
const _wI = "workIds";
|
|
737
737
|
const _xN = "xmlName";
|
|
738
738
|
const n0 = "com.amazonaws.ram";
|
|
739
|
-
const _s_registry = TypeRegistry
|
|
739
|
+
const _s_registry = new TypeRegistry(_s);
|
|
740
740
|
var RAMServiceException$ = [-3, _s, "RAMServiceException", 0, [], []];
|
|
741
741
|
_s_registry.registerError(RAMServiceException$, RAMServiceException);
|
|
742
|
-
const n0_registry = TypeRegistry
|
|
742
|
+
const n0_registry = new TypeRegistry(n0);
|
|
743
743
|
var IdempotentParameterMismatchException$ = [-3, n0, _IPME,
|
|
744
744
|
{ [_aQE]: [`IdempotentParameterMismatch`, 400], [_e]: _c, [_hE]: 400 },
|
|
745
745
|
[_m],
|
|
@@ -259,10 +259,10 @@ const n0 = "com.amazonaws.ram";
|
|
|
259
259
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
260
260
|
import { IdempotentParameterMismatchException, InvalidClientTokenException, InvalidMaxResultsException, InvalidNextTokenException, InvalidParameterException, InvalidPolicyException, InvalidResourceTypeException, InvalidStateTransitionException, MalformedArnException, MalformedPolicyTemplateException, MissingRequiredParameterException, OperationNotPermittedException, PermissionAlreadyExistsException, PermissionLimitExceededException, PermissionVersionsLimitExceededException, ResourceArnNotFoundException, ResourceShareInvitationAlreadyAcceptedException, ResourceShareInvitationAlreadyRejectedException, ResourceShareInvitationArnNotFoundException, ResourceShareInvitationExpiredException, ResourceShareLimitExceededException, ServerInternalException, ServiceUnavailableException, TagLimitExceededException, TagPolicyViolationException, ThrottlingException, UnknownResourceException, UnmatchedPolicyPermissionException, } from "../models/errors";
|
|
261
261
|
import { RAMServiceException } from "../models/RAMServiceException";
|
|
262
|
-
const _s_registry = TypeRegistry
|
|
262
|
+
const _s_registry = new TypeRegistry(_s);
|
|
263
263
|
export var RAMServiceException$ = [-3, _s, "RAMServiceException", 0, [], []];
|
|
264
264
|
_s_registry.registerError(RAMServiceException$, RAMServiceException);
|
|
265
|
-
const n0_registry = TypeRegistry
|
|
265
|
+
const n0_registry = new TypeRegistry(n0);
|
|
266
266
|
export var IdempotentParameterMismatchException$ = [-3, n0, _IPME,
|
|
267
267
|
{ [_aQE]: [`IdempotentParameterMismatch`, 400], [_e]: _c, [_hE]: 400 },
|
|
268
268
|
[_m],
|
package/dist-types/RAM.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { type AcceptResourceShareInvitationCommandInput, type AcceptResourceShareInvitationCommandOutput } from "./commands/AcceptResourceShareInvitationCommand";
|
|
3
3
|
import { type AssociateResourceShareCommandInput, type AssociateResourceShareCommandOutput } from "./commands/AssociateResourceShareCommand";
|
|
4
4
|
import { type AssociateResourceSharePermissionCommandInput, type AssociateResourceSharePermissionCommandOutput } from "./commands/AssociateResourceSharePermissionCommand";
|
|
@@ -35,224 +35,230 @@ import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./c
|
|
|
35
35
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
36
36
|
import { type UpdateResourceShareCommandInput, type UpdateResourceShareCommandOutput } from "./commands/UpdateResourceShareCommand";
|
|
37
37
|
import { RAMClient } from "./RAMClient";
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export interface RAMRequestOptions extends __HttpHandlerOptions {
|
|
42
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
43
|
+
}
|
|
38
44
|
export interface RAM {
|
|
39
45
|
/**
|
|
40
46
|
* @see {@link AcceptResourceShareInvitationCommand}
|
|
41
47
|
*/
|
|
42
|
-
acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, options?:
|
|
48
|
+
acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, options?: RAMRequestOptions): Promise<AcceptResourceShareInvitationCommandOutput>;
|
|
43
49
|
acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, cb: (err: any, data?: AcceptResourceShareInvitationCommandOutput) => void): void;
|
|
44
|
-
acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, options:
|
|
50
|
+
acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, options: RAMRequestOptions, cb: (err: any, data?: AcceptResourceShareInvitationCommandOutput) => void): void;
|
|
45
51
|
/**
|
|
46
52
|
* @see {@link AssociateResourceShareCommand}
|
|
47
53
|
*/
|
|
48
|
-
associateResourceShare(args: AssociateResourceShareCommandInput, options?:
|
|
54
|
+
associateResourceShare(args: AssociateResourceShareCommandInput, options?: RAMRequestOptions): Promise<AssociateResourceShareCommandOutput>;
|
|
49
55
|
associateResourceShare(args: AssociateResourceShareCommandInput, cb: (err: any, data?: AssociateResourceShareCommandOutput) => void): void;
|
|
50
|
-
associateResourceShare(args: AssociateResourceShareCommandInput, options:
|
|
56
|
+
associateResourceShare(args: AssociateResourceShareCommandInput, options: RAMRequestOptions, cb: (err: any, data?: AssociateResourceShareCommandOutput) => void): void;
|
|
51
57
|
/**
|
|
52
58
|
* @see {@link AssociateResourceSharePermissionCommand}
|
|
53
59
|
*/
|
|
54
|
-
associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, options?:
|
|
60
|
+
associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, options?: RAMRequestOptions): Promise<AssociateResourceSharePermissionCommandOutput>;
|
|
55
61
|
associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, cb: (err: any, data?: AssociateResourceSharePermissionCommandOutput) => void): void;
|
|
56
|
-
associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, options:
|
|
62
|
+
associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, options: RAMRequestOptions, cb: (err: any, data?: AssociateResourceSharePermissionCommandOutput) => void): void;
|
|
57
63
|
/**
|
|
58
64
|
* @see {@link CreatePermissionCommand}
|
|
59
65
|
*/
|
|
60
|
-
createPermission(args: CreatePermissionCommandInput, options?:
|
|
66
|
+
createPermission(args: CreatePermissionCommandInput, options?: RAMRequestOptions): Promise<CreatePermissionCommandOutput>;
|
|
61
67
|
createPermission(args: CreatePermissionCommandInput, cb: (err: any, data?: CreatePermissionCommandOutput) => void): void;
|
|
62
|
-
createPermission(args: CreatePermissionCommandInput, options:
|
|
68
|
+
createPermission(args: CreatePermissionCommandInput, options: RAMRequestOptions, cb: (err: any, data?: CreatePermissionCommandOutput) => void): void;
|
|
63
69
|
/**
|
|
64
70
|
* @see {@link CreatePermissionVersionCommand}
|
|
65
71
|
*/
|
|
66
|
-
createPermissionVersion(args: CreatePermissionVersionCommandInput, options?:
|
|
72
|
+
createPermissionVersion(args: CreatePermissionVersionCommandInput, options?: RAMRequestOptions): Promise<CreatePermissionVersionCommandOutput>;
|
|
67
73
|
createPermissionVersion(args: CreatePermissionVersionCommandInput, cb: (err: any, data?: CreatePermissionVersionCommandOutput) => void): void;
|
|
68
|
-
createPermissionVersion(args: CreatePermissionVersionCommandInput, options:
|
|
74
|
+
createPermissionVersion(args: CreatePermissionVersionCommandInput, options: RAMRequestOptions, cb: (err: any, data?: CreatePermissionVersionCommandOutput) => void): void;
|
|
69
75
|
/**
|
|
70
76
|
* @see {@link CreateResourceShareCommand}
|
|
71
77
|
*/
|
|
72
|
-
createResourceShare(args: CreateResourceShareCommandInput, options?:
|
|
78
|
+
createResourceShare(args: CreateResourceShareCommandInput, options?: RAMRequestOptions): Promise<CreateResourceShareCommandOutput>;
|
|
73
79
|
createResourceShare(args: CreateResourceShareCommandInput, cb: (err: any, data?: CreateResourceShareCommandOutput) => void): void;
|
|
74
|
-
createResourceShare(args: CreateResourceShareCommandInput, options:
|
|
80
|
+
createResourceShare(args: CreateResourceShareCommandInput, options: RAMRequestOptions, cb: (err: any, data?: CreateResourceShareCommandOutput) => void): void;
|
|
75
81
|
/**
|
|
76
82
|
* @see {@link DeletePermissionCommand}
|
|
77
83
|
*/
|
|
78
|
-
deletePermission(args: DeletePermissionCommandInput, options?:
|
|
84
|
+
deletePermission(args: DeletePermissionCommandInput, options?: RAMRequestOptions): Promise<DeletePermissionCommandOutput>;
|
|
79
85
|
deletePermission(args: DeletePermissionCommandInput, cb: (err: any, data?: DeletePermissionCommandOutput) => void): void;
|
|
80
|
-
deletePermission(args: DeletePermissionCommandInput, options:
|
|
86
|
+
deletePermission(args: DeletePermissionCommandInput, options: RAMRequestOptions, cb: (err: any, data?: DeletePermissionCommandOutput) => void): void;
|
|
81
87
|
/**
|
|
82
88
|
* @see {@link DeletePermissionVersionCommand}
|
|
83
89
|
*/
|
|
84
|
-
deletePermissionVersion(args: DeletePermissionVersionCommandInput, options?:
|
|
90
|
+
deletePermissionVersion(args: DeletePermissionVersionCommandInput, options?: RAMRequestOptions): Promise<DeletePermissionVersionCommandOutput>;
|
|
85
91
|
deletePermissionVersion(args: DeletePermissionVersionCommandInput, cb: (err: any, data?: DeletePermissionVersionCommandOutput) => void): void;
|
|
86
|
-
deletePermissionVersion(args: DeletePermissionVersionCommandInput, options:
|
|
92
|
+
deletePermissionVersion(args: DeletePermissionVersionCommandInput, options: RAMRequestOptions, cb: (err: any, data?: DeletePermissionVersionCommandOutput) => void): void;
|
|
87
93
|
/**
|
|
88
94
|
* @see {@link DeleteResourceShareCommand}
|
|
89
95
|
*/
|
|
90
|
-
deleteResourceShare(args: DeleteResourceShareCommandInput, options?:
|
|
96
|
+
deleteResourceShare(args: DeleteResourceShareCommandInput, options?: RAMRequestOptions): Promise<DeleteResourceShareCommandOutput>;
|
|
91
97
|
deleteResourceShare(args: DeleteResourceShareCommandInput, cb: (err: any, data?: DeleteResourceShareCommandOutput) => void): void;
|
|
92
|
-
deleteResourceShare(args: DeleteResourceShareCommandInput, options:
|
|
98
|
+
deleteResourceShare(args: DeleteResourceShareCommandInput, options: RAMRequestOptions, cb: (err: any, data?: DeleteResourceShareCommandOutput) => void): void;
|
|
93
99
|
/**
|
|
94
100
|
* @see {@link DisassociateResourceShareCommand}
|
|
95
101
|
*/
|
|
96
|
-
disassociateResourceShare(args: DisassociateResourceShareCommandInput, options?:
|
|
102
|
+
disassociateResourceShare(args: DisassociateResourceShareCommandInput, options?: RAMRequestOptions): Promise<DisassociateResourceShareCommandOutput>;
|
|
97
103
|
disassociateResourceShare(args: DisassociateResourceShareCommandInput, cb: (err: any, data?: DisassociateResourceShareCommandOutput) => void): void;
|
|
98
|
-
disassociateResourceShare(args: DisassociateResourceShareCommandInput, options:
|
|
104
|
+
disassociateResourceShare(args: DisassociateResourceShareCommandInput, options: RAMRequestOptions, cb: (err: any, data?: DisassociateResourceShareCommandOutput) => void): void;
|
|
99
105
|
/**
|
|
100
106
|
* @see {@link DisassociateResourceSharePermissionCommand}
|
|
101
107
|
*/
|
|
102
|
-
disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, options?:
|
|
108
|
+
disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, options?: RAMRequestOptions): Promise<DisassociateResourceSharePermissionCommandOutput>;
|
|
103
109
|
disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, cb: (err: any, data?: DisassociateResourceSharePermissionCommandOutput) => void): void;
|
|
104
|
-
disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, options:
|
|
110
|
+
disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, options: RAMRequestOptions, cb: (err: any, data?: DisassociateResourceSharePermissionCommandOutput) => void): void;
|
|
105
111
|
/**
|
|
106
112
|
* @see {@link EnableSharingWithAwsOrganizationCommand}
|
|
107
113
|
*/
|
|
108
114
|
enableSharingWithAwsOrganization(): Promise<EnableSharingWithAwsOrganizationCommandOutput>;
|
|
109
|
-
enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, options?:
|
|
115
|
+
enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, options?: RAMRequestOptions): Promise<EnableSharingWithAwsOrganizationCommandOutput>;
|
|
110
116
|
enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, cb: (err: any, data?: EnableSharingWithAwsOrganizationCommandOutput) => void): void;
|
|
111
|
-
enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, options:
|
|
117
|
+
enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, options: RAMRequestOptions, cb: (err: any, data?: EnableSharingWithAwsOrganizationCommandOutput) => void): void;
|
|
112
118
|
/**
|
|
113
119
|
* @see {@link GetPermissionCommand}
|
|
114
120
|
*/
|
|
115
|
-
getPermission(args: GetPermissionCommandInput, options?:
|
|
121
|
+
getPermission(args: GetPermissionCommandInput, options?: RAMRequestOptions): Promise<GetPermissionCommandOutput>;
|
|
116
122
|
getPermission(args: GetPermissionCommandInput, cb: (err: any, data?: GetPermissionCommandOutput) => void): void;
|
|
117
|
-
getPermission(args: GetPermissionCommandInput, options:
|
|
123
|
+
getPermission(args: GetPermissionCommandInput, options: RAMRequestOptions, cb: (err: any, data?: GetPermissionCommandOutput) => void): void;
|
|
118
124
|
/**
|
|
119
125
|
* @see {@link GetResourcePoliciesCommand}
|
|
120
126
|
*/
|
|
121
|
-
getResourcePolicies(args: GetResourcePoliciesCommandInput, options?:
|
|
127
|
+
getResourcePolicies(args: GetResourcePoliciesCommandInput, options?: RAMRequestOptions): Promise<GetResourcePoliciesCommandOutput>;
|
|
122
128
|
getResourcePolicies(args: GetResourcePoliciesCommandInput, cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void): void;
|
|
123
|
-
getResourcePolicies(args: GetResourcePoliciesCommandInput, options:
|
|
129
|
+
getResourcePolicies(args: GetResourcePoliciesCommandInput, options: RAMRequestOptions, cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void): void;
|
|
124
130
|
/**
|
|
125
131
|
* @see {@link GetResourceShareAssociationsCommand}
|
|
126
132
|
*/
|
|
127
|
-
getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, options?:
|
|
133
|
+
getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, options?: RAMRequestOptions): Promise<GetResourceShareAssociationsCommandOutput>;
|
|
128
134
|
getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, cb: (err: any, data?: GetResourceShareAssociationsCommandOutput) => void): void;
|
|
129
|
-
getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, options:
|
|
135
|
+
getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, options: RAMRequestOptions, cb: (err: any, data?: GetResourceShareAssociationsCommandOutput) => void): void;
|
|
130
136
|
/**
|
|
131
137
|
* @see {@link GetResourceShareInvitationsCommand}
|
|
132
138
|
*/
|
|
133
139
|
getResourceShareInvitations(): Promise<GetResourceShareInvitationsCommandOutput>;
|
|
134
|
-
getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, options?:
|
|
140
|
+
getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, options?: RAMRequestOptions): Promise<GetResourceShareInvitationsCommandOutput>;
|
|
135
141
|
getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, cb: (err: any, data?: GetResourceShareInvitationsCommandOutput) => void): void;
|
|
136
|
-
getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, options:
|
|
142
|
+
getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, options: RAMRequestOptions, cb: (err: any, data?: GetResourceShareInvitationsCommandOutput) => void): void;
|
|
137
143
|
/**
|
|
138
144
|
* @see {@link GetResourceSharesCommand}
|
|
139
145
|
*/
|
|
140
|
-
getResourceShares(args: GetResourceSharesCommandInput, options?:
|
|
146
|
+
getResourceShares(args: GetResourceSharesCommandInput, options?: RAMRequestOptions): Promise<GetResourceSharesCommandOutput>;
|
|
141
147
|
getResourceShares(args: GetResourceSharesCommandInput, cb: (err: any, data?: GetResourceSharesCommandOutput) => void): void;
|
|
142
|
-
getResourceShares(args: GetResourceSharesCommandInput, options:
|
|
148
|
+
getResourceShares(args: GetResourceSharesCommandInput, options: RAMRequestOptions, cb: (err: any, data?: GetResourceSharesCommandOutput) => void): void;
|
|
143
149
|
/**
|
|
144
150
|
* @see {@link ListPendingInvitationResourcesCommand}
|
|
145
151
|
*/
|
|
146
|
-
listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, options?:
|
|
152
|
+
listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, options?: RAMRequestOptions): Promise<ListPendingInvitationResourcesCommandOutput>;
|
|
147
153
|
listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, cb: (err: any, data?: ListPendingInvitationResourcesCommandOutput) => void): void;
|
|
148
|
-
listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, options:
|
|
154
|
+
listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, options: RAMRequestOptions, cb: (err: any, data?: ListPendingInvitationResourcesCommandOutput) => void): void;
|
|
149
155
|
/**
|
|
150
156
|
* @see {@link ListPermissionAssociationsCommand}
|
|
151
157
|
*/
|
|
152
158
|
listPermissionAssociations(): Promise<ListPermissionAssociationsCommandOutput>;
|
|
153
|
-
listPermissionAssociations(args: ListPermissionAssociationsCommandInput, options?:
|
|
159
|
+
listPermissionAssociations(args: ListPermissionAssociationsCommandInput, options?: RAMRequestOptions): Promise<ListPermissionAssociationsCommandOutput>;
|
|
154
160
|
listPermissionAssociations(args: ListPermissionAssociationsCommandInput, cb: (err: any, data?: ListPermissionAssociationsCommandOutput) => void): void;
|
|
155
|
-
listPermissionAssociations(args: ListPermissionAssociationsCommandInput, options:
|
|
161
|
+
listPermissionAssociations(args: ListPermissionAssociationsCommandInput, options: RAMRequestOptions, cb: (err: any, data?: ListPermissionAssociationsCommandOutput) => void): void;
|
|
156
162
|
/**
|
|
157
163
|
* @see {@link ListPermissionsCommand}
|
|
158
164
|
*/
|
|
159
165
|
listPermissions(): Promise<ListPermissionsCommandOutput>;
|
|
160
|
-
listPermissions(args: ListPermissionsCommandInput, options?:
|
|
166
|
+
listPermissions(args: ListPermissionsCommandInput, options?: RAMRequestOptions): Promise<ListPermissionsCommandOutput>;
|
|
161
167
|
listPermissions(args: ListPermissionsCommandInput, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
|
|
162
|
-
listPermissions(args: ListPermissionsCommandInput, options:
|
|
168
|
+
listPermissions(args: ListPermissionsCommandInput, options: RAMRequestOptions, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
|
|
163
169
|
/**
|
|
164
170
|
* @see {@link ListPermissionVersionsCommand}
|
|
165
171
|
*/
|
|
166
|
-
listPermissionVersions(args: ListPermissionVersionsCommandInput, options?:
|
|
172
|
+
listPermissionVersions(args: ListPermissionVersionsCommandInput, options?: RAMRequestOptions): Promise<ListPermissionVersionsCommandOutput>;
|
|
167
173
|
listPermissionVersions(args: ListPermissionVersionsCommandInput, cb: (err: any, data?: ListPermissionVersionsCommandOutput) => void): void;
|
|
168
|
-
listPermissionVersions(args: ListPermissionVersionsCommandInput, options:
|
|
174
|
+
listPermissionVersions(args: ListPermissionVersionsCommandInput, options: RAMRequestOptions, cb: (err: any, data?: ListPermissionVersionsCommandOutput) => void): void;
|
|
169
175
|
/**
|
|
170
176
|
* @see {@link ListPrincipalsCommand}
|
|
171
177
|
*/
|
|
172
|
-
listPrincipals(args: ListPrincipalsCommandInput, options?:
|
|
178
|
+
listPrincipals(args: ListPrincipalsCommandInput, options?: RAMRequestOptions): Promise<ListPrincipalsCommandOutput>;
|
|
173
179
|
listPrincipals(args: ListPrincipalsCommandInput, cb: (err: any, data?: ListPrincipalsCommandOutput) => void): void;
|
|
174
|
-
listPrincipals(args: ListPrincipalsCommandInput, options:
|
|
180
|
+
listPrincipals(args: ListPrincipalsCommandInput, options: RAMRequestOptions, cb: (err: any, data?: ListPrincipalsCommandOutput) => void): void;
|
|
175
181
|
/**
|
|
176
182
|
* @see {@link ListReplacePermissionAssociationsWorkCommand}
|
|
177
183
|
*/
|
|
178
184
|
listReplacePermissionAssociationsWork(): Promise<ListReplacePermissionAssociationsWorkCommandOutput>;
|
|
179
|
-
listReplacePermissionAssociationsWork(args: ListReplacePermissionAssociationsWorkCommandInput, options?:
|
|
185
|
+
listReplacePermissionAssociationsWork(args: ListReplacePermissionAssociationsWorkCommandInput, options?: RAMRequestOptions): Promise<ListReplacePermissionAssociationsWorkCommandOutput>;
|
|
180
186
|
listReplacePermissionAssociationsWork(args: ListReplacePermissionAssociationsWorkCommandInput, cb: (err: any, data?: ListReplacePermissionAssociationsWorkCommandOutput) => void): void;
|
|
181
|
-
listReplacePermissionAssociationsWork(args: ListReplacePermissionAssociationsWorkCommandInput, options:
|
|
187
|
+
listReplacePermissionAssociationsWork(args: ListReplacePermissionAssociationsWorkCommandInput, options: RAMRequestOptions, cb: (err: any, data?: ListReplacePermissionAssociationsWorkCommandOutput) => void): void;
|
|
182
188
|
/**
|
|
183
189
|
* @see {@link ListResourcesCommand}
|
|
184
190
|
*/
|
|
185
|
-
listResources(args: ListResourcesCommandInput, options?:
|
|
191
|
+
listResources(args: ListResourcesCommandInput, options?: RAMRequestOptions): Promise<ListResourcesCommandOutput>;
|
|
186
192
|
listResources(args: ListResourcesCommandInput, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
187
|
-
listResources(args: ListResourcesCommandInput, options:
|
|
193
|
+
listResources(args: ListResourcesCommandInput, options: RAMRequestOptions, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
188
194
|
/**
|
|
189
195
|
* @see {@link ListResourceSharePermissionsCommand}
|
|
190
196
|
*/
|
|
191
|
-
listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, options?:
|
|
197
|
+
listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, options?: RAMRequestOptions): Promise<ListResourceSharePermissionsCommandOutput>;
|
|
192
198
|
listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, cb: (err: any, data?: ListResourceSharePermissionsCommandOutput) => void): void;
|
|
193
|
-
listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, options:
|
|
199
|
+
listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, options: RAMRequestOptions, cb: (err: any, data?: ListResourceSharePermissionsCommandOutput) => void): void;
|
|
194
200
|
/**
|
|
195
201
|
* @see {@link ListResourceTypesCommand}
|
|
196
202
|
*/
|
|
197
203
|
listResourceTypes(): Promise<ListResourceTypesCommandOutput>;
|
|
198
|
-
listResourceTypes(args: ListResourceTypesCommandInput, options?:
|
|
204
|
+
listResourceTypes(args: ListResourceTypesCommandInput, options?: RAMRequestOptions): Promise<ListResourceTypesCommandOutput>;
|
|
199
205
|
listResourceTypes(args: ListResourceTypesCommandInput, cb: (err: any, data?: ListResourceTypesCommandOutput) => void): void;
|
|
200
|
-
listResourceTypes(args: ListResourceTypesCommandInput, options:
|
|
206
|
+
listResourceTypes(args: ListResourceTypesCommandInput, options: RAMRequestOptions, cb: (err: any, data?: ListResourceTypesCommandOutput) => void): void;
|
|
201
207
|
/**
|
|
202
208
|
* @see {@link ListSourceAssociationsCommand}
|
|
203
209
|
*/
|
|
204
210
|
listSourceAssociations(): Promise<ListSourceAssociationsCommandOutput>;
|
|
205
|
-
listSourceAssociations(args: ListSourceAssociationsCommandInput, options?:
|
|
211
|
+
listSourceAssociations(args: ListSourceAssociationsCommandInput, options?: RAMRequestOptions): Promise<ListSourceAssociationsCommandOutput>;
|
|
206
212
|
listSourceAssociations(args: ListSourceAssociationsCommandInput, cb: (err: any, data?: ListSourceAssociationsCommandOutput) => void): void;
|
|
207
|
-
listSourceAssociations(args: ListSourceAssociationsCommandInput, options:
|
|
213
|
+
listSourceAssociations(args: ListSourceAssociationsCommandInput, options: RAMRequestOptions, cb: (err: any, data?: ListSourceAssociationsCommandOutput) => void): void;
|
|
208
214
|
/**
|
|
209
215
|
* @see {@link PromotePermissionCreatedFromPolicyCommand}
|
|
210
216
|
*/
|
|
211
|
-
promotePermissionCreatedFromPolicy(args: PromotePermissionCreatedFromPolicyCommandInput, options?:
|
|
217
|
+
promotePermissionCreatedFromPolicy(args: PromotePermissionCreatedFromPolicyCommandInput, options?: RAMRequestOptions): Promise<PromotePermissionCreatedFromPolicyCommandOutput>;
|
|
212
218
|
promotePermissionCreatedFromPolicy(args: PromotePermissionCreatedFromPolicyCommandInput, cb: (err: any, data?: PromotePermissionCreatedFromPolicyCommandOutput) => void): void;
|
|
213
|
-
promotePermissionCreatedFromPolicy(args: PromotePermissionCreatedFromPolicyCommandInput, options:
|
|
219
|
+
promotePermissionCreatedFromPolicy(args: PromotePermissionCreatedFromPolicyCommandInput, options: RAMRequestOptions, cb: (err: any, data?: PromotePermissionCreatedFromPolicyCommandOutput) => void): void;
|
|
214
220
|
/**
|
|
215
221
|
* @see {@link PromoteResourceShareCreatedFromPolicyCommand}
|
|
216
222
|
*/
|
|
217
|
-
promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, options?:
|
|
223
|
+
promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, options?: RAMRequestOptions): Promise<PromoteResourceShareCreatedFromPolicyCommandOutput>;
|
|
218
224
|
promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, cb: (err: any, data?: PromoteResourceShareCreatedFromPolicyCommandOutput) => void): void;
|
|
219
|
-
promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, options:
|
|
225
|
+
promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, options: RAMRequestOptions, cb: (err: any, data?: PromoteResourceShareCreatedFromPolicyCommandOutput) => void): void;
|
|
220
226
|
/**
|
|
221
227
|
* @see {@link RejectResourceShareInvitationCommand}
|
|
222
228
|
*/
|
|
223
|
-
rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, options?:
|
|
229
|
+
rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, options?: RAMRequestOptions): Promise<RejectResourceShareInvitationCommandOutput>;
|
|
224
230
|
rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, cb: (err: any, data?: RejectResourceShareInvitationCommandOutput) => void): void;
|
|
225
|
-
rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, options:
|
|
231
|
+
rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, options: RAMRequestOptions, cb: (err: any, data?: RejectResourceShareInvitationCommandOutput) => void): void;
|
|
226
232
|
/**
|
|
227
233
|
* @see {@link ReplacePermissionAssociationsCommand}
|
|
228
234
|
*/
|
|
229
|
-
replacePermissionAssociations(args: ReplacePermissionAssociationsCommandInput, options?:
|
|
235
|
+
replacePermissionAssociations(args: ReplacePermissionAssociationsCommandInput, options?: RAMRequestOptions): Promise<ReplacePermissionAssociationsCommandOutput>;
|
|
230
236
|
replacePermissionAssociations(args: ReplacePermissionAssociationsCommandInput, cb: (err: any, data?: ReplacePermissionAssociationsCommandOutput) => void): void;
|
|
231
|
-
replacePermissionAssociations(args: ReplacePermissionAssociationsCommandInput, options:
|
|
237
|
+
replacePermissionAssociations(args: ReplacePermissionAssociationsCommandInput, options: RAMRequestOptions, cb: (err: any, data?: ReplacePermissionAssociationsCommandOutput) => void): void;
|
|
232
238
|
/**
|
|
233
239
|
* @see {@link SetDefaultPermissionVersionCommand}
|
|
234
240
|
*/
|
|
235
|
-
setDefaultPermissionVersion(args: SetDefaultPermissionVersionCommandInput, options?:
|
|
241
|
+
setDefaultPermissionVersion(args: SetDefaultPermissionVersionCommandInput, options?: RAMRequestOptions): Promise<SetDefaultPermissionVersionCommandOutput>;
|
|
236
242
|
setDefaultPermissionVersion(args: SetDefaultPermissionVersionCommandInput, cb: (err: any, data?: SetDefaultPermissionVersionCommandOutput) => void): void;
|
|
237
|
-
setDefaultPermissionVersion(args: SetDefaultPermissionVersionCommandInput, options:
|
|
243
|
+
setDefaultPermissionVersion(args: SetDefaultPermissionVersionCommandInput, options: RAMRequestOptions, cb: (err: any, data?: SetDefaultPermissionVersionCommandOutput) => void): void;
|
|
238
244
|
/**
|
|
239
245
|
* @see {@link TagResourceCommand}
|
|
240
246
|
*/
|
|
241
|
-
tagResource(args: TagResourceCommandInput, options?:
|
|
247
|
+
tagResource(args: TagResourceCommandInput, options?: RAMRequestOptions): Promise<TagResourceCommandOutput>;
|
|
242
248
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
243
|
-
tagResource(args: TagResourceCommandInput, options:
|
|
249
|
+
tagResource(args: TagResourceCommandInput, options: RAMRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
244
250
|
/**
|
|
245
251
|
* @see {@link UntagResourceCommand}
|
|
246
252
|
*/
|
|
247
|
-
untagResource(args: UntagResourceCommandInput, options?:
|
|
253
|
+
untagResource(args: UntagResourceCommandInput, options?: RAMRequestOptions): Promise<UntagResourceCommandOutput>;
|
|
248
254
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
249
|
-
untagResource(args: UntagResourceCommandInput, options:
|
|
255
|
+
untagResource(args: UntagResourceCommandInput, options: RAMRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
250
256
|
/**
|
|
251
257
|
* @see {@link UpdateResourceShareCommand}
|
|
252
258
|
*/
|
|
253
|
-
updateResourceShare(args: UpdateResourceShareCommandInput, options?:
|
|
259
|
+
updateResourceShare(args: UpdateResourceShareCommandInput, options?: RAMRequestOptions): Promise<UpdateResourceShareCommandOutput>;
|
|
254
260
|
updateResourceShare(args: UpdateResourceShareCommandInput, cb: (err: any, data?: UpdateResourceShareCommandOutput) => void): void;
|
|
255
|
-
updateResourceShare(args: UpdateResourceShareCommandInput, options:
|
|
261
|
+
updateResourceShare(args: UpdateResourceShareCommandInput, options: RAMRequestOptions, cb: (err: any, data?: UpdateResourceShareCommandOutput) => void): void;
|
|
256
262
|
/**
|
|
257
263
|
* @see {@link GetResourcePoliciesCommand}
|
|
258
264
|
* @param args - command input.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
3
4
|
PaginationConfiguration,
|
|
4
5
|
Paginator,
|
|
5
6
|
} from "@smithy/types";
|
|
@@ -141,10 +142,13 @@ import {
|
|
|
141
142
|
UpdateResourceShareCommandOutput,
|
|
142
143
|
} from "./commands/UpdateResourceShareCommand";
|
|
143
144
|
import { RAMClient } from "./RAMClient";
|
|
145
|
+
export interface RAMRequestOptions extends __HttpHandlerOptions {
|
|
146
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
147
|
+
}
|
|
144
148
|
export interface RAM {
|
|
145
149
|
acceptResourceShareInvitation(
|
|
146
150
|
args: AcceptResourceShareInvitationCommandInput,
|
|
147
|
-
options?:
|
|
151
|
+
options?: RAMRequestOptions,
|
|
148
152
|
): Promise<AcceptResourceShareInvitationCommandOutput>;
|
|
149
153
|
acceptResourceShareInvitation(
|
|
150
154
|
args: AcceptResourceShareInvitationCommandInput,
|
|
@@ -152,12 +156,12 @@ export interface RAM {
|
|
|
152
156
|
): void;
|
|
153
157
|
acceptResourceShareInvitation(
|
|
154
158
|
args: AcceptResourceShareInvitationCommandInput,
|
|
155
|
-
options:
|
|
159
|
+
options: RAMRequestOptions,
|
|
156
160
|
cb: (err: any, data?: AcceptResourceShareInvitationCommandOutput) => void,
|
|
157
161
|
): void;
|
|
158
162
|
associateResourceShare(
|
|
159
163
|
args: AssociateResourceShareCommandInput,
|
|
160
|
-
options?:
|
|
164
|
+
options?: RAMRequestOptions,
|
|
161
165
|
): Promise<AssociateResourceShareCommandOutput>;
|
|
162
166
|
associateResourceShare(
|
|
163
167
|
args: AssociateResourceShareCommandInput,
|
|
@@ -165,12 +169,12 @@ export interface RAM {
|
|
|
165
169
|
): void;
|
|
166
170
|
associateResourceShare(
|
|
167
171
|
args: AssociateResourceShareCommandInput,
|
|
168
|
-
options:
|
|
172
|
+
options: RAMRequestOptions,
|
|
169
173
|
cb: (err: any, data?: AssociateResourceShareCommandOutput) => void,
|
|
170
174
|
): void;
|
|
171
175
|
associateResourceSharePermission(
|
|
172
176
|
args: AssociateResourceSharePermissionCommandInput,
|
|
173
|
-
options?:
|
|
177
|
+
options?: RAMRequestOptions,
|
|
174
178
|
): Promise<AssociateResourceSharePermissionCommandOutput>;
|
|
175
179
|
associateResourceSharePermission(
|
|
176
180
|
args: AssociateResourceSharePermissionCommandInput,
|
|
@@ -178,12 +182,12 @@ export interface RAM {
|
|
|
178
182
|
): void;
|
|
179
183
|
associateResourceSharePermission(
|
|
180
184
|
args: AssociateResourceSharePermissionCommandInput,
|
|
181
|
-
options:
|
|
185
|
+
options: RAMRequestOptions,
|
|
182
186
|
cb: (err: any, data?: AssociateResourceSharePermissionCommandOutput) => void,
|
|
183
187
|
): void;
|
|
184
188
|
createPermission(
|
|
185
189
|
args: CreatePermissionCommandInput,
|
|
186
|
-
options?:
|
|
190
|
+
options?: RAMRequestOptions,
|
|
187
191
|
): Promise<CreatePermissionCommandOutput>;
|
|
188
192
|
createPermission(
|
|
189
193
|
args: CreatePermissionCommandInput,
|
|
@@ -191,12 +195,12 @@ export interface RAM {
|
|
|
191
195
|
): void;
|
|
192
196
|
createPermission(
|
|
193
197
|
args: CreatePermissionCommandInput,
|
|
194
|
-
options:
|
|
198
|
+
options: RAMRequestOptions,
|
|
195
199
|
cb: (err: any, data?: CreatePermissionCommandOutput) => void,
|
|
196
200
|
): void;
|
|
197
201
|
createPermissionVersion(
|
|
198
202
|
args: CreatePermissionVersionCommandInput,
|
|
199
|
-
options?:
|
|
203
|
+
options?: RAMRequestOptions,
|
|
200
204
|
): Promise<CreatePermissionVersionCommandOutput>;
|
|
201
205
|
createPermissionVersion(
|
|
202
206
|
args: CreatePermissionVersionCommandInput,
|
|
@@ -204,12 +208,12 @@ export interface RAM {
|
|
|
204
208
|
): void;
|
|
205
209
|
createPermissionVersion(
|
|
206
210
|
args: CreatePermissionVersionCommandInput,
|
|
207
|
-
options:
|
|
211
|
+
options: RAMRequestOptions,
|
|
208
212
|
cb: (err: any, data?: CreatePermissionVersionCommandOutput) => void,
|
|
209
213
|
): void;
|
|
210
214
|
createResourceShare(
|
|
211
215
|
args: CreateResourceShareCommandInput,
|
|
212
|
-
options?:
|
|
216
|
+
options?: RAMRequestOptions,
|
|
213
217
|
): Promise<CreateResourceShareCommandOutput>;
|
|
214
218
|
createResourceShare(
|
|
215
219
|
args: CreateResourceShareCommandInput,
|
|
@@ -217,12 +221,12 @@ export interface RAM {
|
|
|
217
221
|
): void;
|
|
218
222
|
createResourceShare(
|
|
219
223
|
args: CreateResourceShareCommandInput,
|
|
220
|
-
options:
|
|
224
|
+
options: RAMRequestOptions,
|
|
221
225
|
cb: (err: any, data?: CreateResourceShareCommandOutput) => void,
|
|
222
226
|
): void;
|
|
223
227
|
deletePermission(
|
|
224
228
|
args: DeletePermissionCommandInput,
|
|
225
|
-
options?:
|
|
229
|
+
options?: RAMRequestOptions,
|
|
226
230
|
): Promise<DeletePermissionCommandOutput>;
|
|
227
231
|
deletePermission(
|
|
228
232
|
args: DeletePermissionCommandInput,
|
|
@@ -230,12 +234,12 @@ export interface RAM {
|
|
|
230
234
|
): void;
|
|
231
235
|
deletePermission(
|
|
232
236
|
args: DeletePermissionCommandInput,
|
|
233
|
-
options:
|
|
237
|
+
options: RAMRequestOptions,
|
|
234
238
|
cb: (err: any, data?: DeletePermissionCommandOutput) => void,
|
|
235
239
|
): void;
|
|
236
240
|
deletePermissionVersion(
|
|
237
241
|
args: DeletePermissionVersionCommandInput,
|
|
238
|
-
options?:
|
|
242
|
+
options?: RAMRequestOptions,
|
|
239
243
|
): Promise<DeletePermissionVersionCommandOutput>;
|
|
240
244
|
deletePermissionVersion(
|
|
241
245
|
args: DeletePermissionVersionCommandInput,
|
|
@@ -243,12 +247,12 @@ export interface RAM {
|
|
|
243
247
|
): void;
|
|
244
248
|
deletePermissionVersion(
|
|
245
249
|
args: DeletePermissionVersionCommandInput,
|
|
246
|
-
options:
|
|
250
|
+
options: RAMRequestOptions,
|
|
247
251
|
cb: (err: any, data?: DeletePermissionVersionCommandOutput) => void,
|
|
248
252
|
): void;
|
|
249
253
|
deleteResourceShare(
|
|
250
254
|
args: DeleteResourceShareCommandInput,
|
|
251
|
-
options?:
|
|
255
|
+
options?: RAMRequestOptions,
|
|
252
256
|
): Promise<DeleteResourceShareCommandOutput>;
|
|
253
257
|
deleteResourceShare(
|
|
254
258
|
args: DeleteResourceShareCommandInput,
|
|
@@ -256,12 +260,12 @@ export interface RAM {
|
|
|
256
260
|
): void;
|
|
257
261
|
deleteResourceShare(
|
|
258
262
|
args: DeleteResourceShareCommandInput,
|
|
259
|
-
options:
|
|
263
|
+
options: RAMRequestOptions,
|
|
260
264
|
cb: (err: any, data?: DeleteResourceShareCommandOutput) => void,
|
|
261
265
|
): void;
|
|
262
266
|
disassociateResourceShare(
|
|
263
267
|
args: DisassociateResourceShareCommandInput,
|
|
264
|
-
options?:
|
|
268
|
+
options?: RAMRequestOptions,
|
|
265
269
|
): Promise<DisassociateResourceShareCommandOutput>;
|
|
266
270
|
disassociateResourceShare(
|
|
267
271
|
args: DisassociateResourceShareCommandInput,
|
|
@@ -269,12 +273,12 @@ export interface RAM {
|
|
|
269
273
|
): void;
|
|
270
274
|
disassociateResourceShare(
|
|
271
275
|
args: DisassociateResourceShareCommandInput,
|
|
272
|
-
options:
|
|
276
|
+
options: RAMRequestOptions,
|
|
273
277
|
cb: (err: any, data?: DisassociateResourceShareCommandOutput) => void,
|
|
274
278
|
): void;
|
|
275
279
|
disassociateResourceSharePermission(
|
|
276
280
|
args: DisassociateResourceSharePermissionCommandInput,
|
|
277
|
-
options?:
|
|
281
|
+
options?: RAMRequestOptions,
|
|
278
282
|
): Promise<DisassociateResourceSharePermissionCommandOutput>;
|
|
279
283
|
disassociateResourceSharePermission(
|
|
280
284
|
args: DisassociateResourceSharePermissionCommandInput,
|
|
@@ -282,13 +286,13 @@ export interface RAM {
|
|
|
282
286
|
): void;
|
|
283
287
|
disassociateResourceSharePermission(
|
|
284
288
|
args: DisassociateResourceSharePermissionCommandInput,
|
|
285
|
-
options:
|
|
289
|
+
options: RAMRequestOptions,
|
|
286
290
|
cb: (err: any, data?: DisassociateResourceSharePermissionCommandOutput) => void,
|
|
287
291
|
): void;
|
|
288
292
|
enableSharingWithAwsOrganization(): Promise<EnableSharingWithAwsOrganizationCommandOutput>;
|
|
289
293
|
enableSharingWithAwsOrganization(
|
|
290
294
|
args: EnableSharingWithAwsOrganizationCommandInput,
|
|
291
|
-
options?:
|
|
295
|
+
options?: RAMRequestOptions,
|
|
292
296
|
): Promise<EnableSharingWithAwsOrganizationCommandOutput>;
|
|
293
297
|
enableSharingWithAwsOrganization(
|
|
294
298
|
args: EnableSharingWithAwsOrganizationCommandInput,
|
|
@@ -296,12 +300,12 @@ export interface RAM {
|
|
|
296
300
|
): void;
|
|
297
301
|
enableSharingWithAwsOrganization(
|
|
298
302
|
args: EnableSharingWithAwsOrganizationCommandInput,
|
|
299
|
-
options:
|
|
303
|
+
options: RAMRequestOptions,
|
|
300
304
|
cb: (err: any, data?: EnableSharingWithAwsOrganizationCommandOutput) => void,
|
|
301
305
|
): void;
|
|
302
306
|
getPermission(
|
|
303
307
|
args: GetPermissionCommandInput,
|
|
304
|
-
options?:
|
|
308
|
+
options?: RAMRequestOptions,
|
|
305
309
|
): Promise<GetPermissionCommandOutput>;
|
|
306
310
|
getPermission(
|
|
307
311
|
args: GetPermissionCommandInput,
|
|
@@ -309,12 +313,12 @@ export interface RAM {
|
|
|
309
313
|
): void;
|
|
310
314
|
getPermission(
|
|
311
315
|
args: GetPermissionCommandInput,
|
|
312
|
-
options:
|
|
316
|
+
options: RAMRequestOptions,
|
|
313
317
|
cb: (err: any, data?: GetPermissionCommandOutput) => void,
|
|
314
318
|
): void;
|
|
315
319
|
getResourcePolicies(
|
|
316
320
|
args: GetResourcePoliciesCommandInput,
|
|
317
|
-
options?:
|
|
321
|
+
options?: RAMRequestOptions,
|
|
318
322
|
): Promise<GetResourcePoliciesCommandOutput>;
|
|
319
323
|
getResourcePolicies(
|
|
320
324
|
args: GetResourcePoliciesCommandInput,
|
|
@@ -322,12 +326,12 @@ export interface RAM {
|
|
|
322
326
|
): void;
|
|
323
327
|
getResourcePolicies(
|
|
324
328
|
args: GetResourcePoliciesCommandInput,
|
|
325
|
-
options:
|
|
329
|
+
options: RAMRequestOptions,
|
|
326
330
|
cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void,
|
|
327
331
|
): void;
|
|
328
332
|
getResourceShareAssociations(
|
|
329
333
|
args: GetResourceShareAssociationsCommandInput,
|
|
330
|
-
options?:
|
|
334
|
+
options?: RAMRequestOptions,
|
|
331
335
|
): Promise<GetResourceShareAssociationsCommandOutput>;
|
|
332
336
|
getResourceShareAssociations(
|
|
333
337
|
args: GetResourceShareAssociationsCommandInput,
|
|
@@ -335,13 +339,13 @@ export interface RAM {
|
|
|
335
339
|
): void;
|
|
336
340
|
getResourceShareAssociations(
|
|
337
341
|
args: GetResourceShareAssociationsCommandInput,
|
|
338
|
-
options:
|
|
342
|
+
options: RAMRequestOptions,
|
|
339
343
|
cb: (err: any, data?: GetResourceShareAssociationsCommandOutput) => void,
|
|
340
344
|
): void;
|
|
341
345
|
getResourceShareInvitations(): Promise<GetResourceShareInvitationsCommandOutput>;
|
|
342
346
|
getResourceShareInvitations(
|
|
343
347
|
args: GetResourceShareInvitationsCommandInput,
|
|
344
|
-
options?:
|
|
348
|
+
options?: RAMRequestOptions,
|
|
345
349
|
): Promise<GetResourceShareInvitationsCommandOutput>;
|
|
346
350
|
getResourceShareInvitations(
|
|
347
351
|
args: GetResourceShareInvitationsCommandInput,
|
|
@@ -349,12 +353,12 @@ export interface RAM {
|
|
|
349
353
|
): void;
|
|
350
354
|
getResourceShareInvitations(
|
|
351
355
|
args: GetResourceShareInvitationsCommandInput,
|
|
352
|
-
options:
|
|
356
|
+
options: RAMRequestOptions,
|
|
353
357
|
cb: (err: any, data?: GetResourceShareInvitationsCommandOutput) => void,
|
|
354
358
|
): void;
|
|
355
359
|
getResourceShares(
|
|
356
360
|
args: GetResourceSharesCommandInput,
|
|
357
|
-
options?:
|
|
361
|
+
options?: RAMRequestOptions,
|
|
358
362
|
): Promise<GetResourceSharesCommandOutput>;
|
|
359
363
|
getResourceShares(
|
|
360
364
|
args: GetResourceSharesCommandInput,
|
|
@@ -362,12 +366,12 @@ export interface RAM {
|
|
|
362
366
|
): void;
|
|
363
367
|
getResourceShares(
|
|
364
368
|
args: GetResourceSharesCommandInput,
|
|
365
|
-
options:
|
|
369
|
+
options: RAMRequestOptions,
|
|
366
370
|
cb: (err: any, data?: GetResourceSharesCommandOutput) => void,
|
|
367
371
|
): void;
|
|
368
372
|
listPendingInvitationResources(
|
|
369
373
|
args: ListPendingInvitationResourcesCommandInput,
|
|
370
|
-
options?:
|
|
374
|
+
options?: RAMRequestOptions,
|
|
371
375
|
): Promise<ListPendingInvitationResourcesCommandOutput>;
|
|
372
376
|
listPendingInvitationResources(
|
|
373
377
|
args: ListPendingInvitationResourcesCommandInput,
|
|
@@ -375,13 +379,13 @@ export interface RAM {
|
|
|
375
379
|
): void;
|
|
376
380
|
listPendingInvitationResources(
|
|
377
381
|
args: ListPendingInvitationResourcesCommandInput,
|
|
378
|
-
options:
|
|
382
|
+
options: RAMRequestOptions,
|
|
379
383
|
cb: (err: any, data?: ListPendingInvitationResourcesCommandOutput) => void,
|
|
380
384
|
): void;
|
|
381
385
|
listPermissionAssociations(): Promise<ListPermissionAssociationsCommandOutput>;
|
|
382
386
|
listPermissionAssociations(
|
|
383
387
|
args: ListPermissionAssociationsCommandInput,
|
|
384
|
-
options?:
|
|
388
|
+
options?: RAMRequestOptions,
|
|
385
389
|
): Promise<ListPermissionAssociationsCommandOutput>;
|
|
386
390
|
listPermissionAssociations(
|
|
387
391
|
args: ListPermissionAssociationsCommandInput,
|
|
@@ -389,13 +393,13 @@ export interface RAM {
|
|
|
389
393
|
): void;
|
|
390
394
|
listPermissionAssociations(
|
|
391
395
|
args: ListPermissionAssociationsCommandInput,
|
|
392
|
-
options:
|
|
396
|
+
options: RAMRequestOptions,
|
|
393
397
|
cb: (err: any, data?: ListPermissionAssociationsCommandOutput) => void,
|
|
394
398
|
): void;
|
|
395
399
|
listPermissions(): Promise<ListPermissionsCommandOutput>;
|
|
396
400
|
listPermissions(
|
|
397
401
|
args: ListPermissionsCommandInput,
|
|
398
|
-
options?:
|
|
402
|
+
options?: RAMRequestOptions,
|
|
399
403
|
): Promise<ListPermissionsCommandOutput>;
|
|
400
404
|
listPermissions(
|
|
401
405
|
args: ListPermissionsCommandInput,
|
|
@@ -403,12 +407,12 @@ export interface RAM {
|
|
|
403
407
|
): void;
|
|
404
408
|
listPermissions(
|
|
405
409
|
args: ListPermissionsCommandInput,
|
|
406
|
-
options:
|
|
410
|
+
options: RAMRequestOptions,
|
|
407
411
|
cb: (err: any, data?: ListPermissionsCommandOutput) => void,
|
|
408
412
|
): void;
|
|
409
413
|
listPermissionVersions(
|
|
410
414
|
args: ListPermissionVersionsCommandInput,
|
|
411
|
-
options?:
|
|
415
|
+
options?: RAMRequestOptions,
|
|
412
416
|
): Promise<ListPermissionVersionsCommandOutput>;
|
|
413
417
|
listPermissionVersions(
|
|
414
418
|
args: ListPermissionVersionsCommandInput,
|
|
@@ -416,12 +420,12 @@ export interface RAM {
|
|
|
416
420
|
): void;
|
|
417
421
|
listPermissionVersions(
|
|
418
422
|
args: ListPermissionVersionsCommandInput,
|
|
419
|
-
options:
|
|
423
|
+
options: RAMRequestOptions,
|
|
420
424
|
cb: (err: any, data?: ListPermissionVersionsCommandOutput) => void,
|
|
421
425
|
): void;
|
|
422
426
|
listPrincipals(
|
|
423
427
|
args: ListPrincipalsCommandInput,
|
|
424
|
-
options?:
|
|
428
|
+
options?: RAMRequestOptions,
|
|
425
429
|
): Promise<ListPrincipalsCommandOutput>;
|
|
426
430
|
listPrincipals(
|
|
427
431
|
args: ListPrincipalsCommandInput,
|
|
@@ -429,13 +433,13 @@ export interface RAM {
|
|
|
429
433
|
): void;
|
|
430
434
|
listPrincipals(
|
|
431
435
|
args: ListPrincipalsCommandInput,
|
|
432
|
-
options:
|
|
436
|
+
options: RAMRequestOptions,
|
|
433
437
|
cb: (err: any, data?: ListPrincipalsCommandOutput) => void,
|
|
434
438
|
): void;
|
|
435
439
|
listReplacePermissionAssociationsWork(): Promise<ListReplacePermissionAssociationsWorkCommandOutput>;
|
|
436
440
|
listReplacePermissionAssociationsWork(
|
|
437
441
|
args: ListReplacePermissionAssociationsWorkCommandInput,
|
|
438
|
-
options?:
|
|
442
|
+
options?: RAMRequestOptions,
|
|
439
443
|
): Promise<ListReplacePermissionAssociationsWorkCommandOutput>;
|
|
440
444
|
listReplacePermissionAssociationsWork(
|
|
441
445
|
args: ListReplacePermissionAssociationsWorkCommandInput,
|
|
@@ -443,12 +447,12 @@ export interface RAM {
|
|
|
443
447
|
): void;
|
|
444
448
|
listReplacePermissionAssociationsWork(
|
|
445
449
|
args: ListReplacePermissionAssociationsWorkCommandInput,
|
|
446
|
-
options:
|
|
450
|
+
options: RAMRequestOptions,
|
|
447
451
|
cb: (err: any, data?: ListReplacePermissionAssociationsWorkCommandOutput) => void,
|
|
448
452
|
): void;
|
|
449
453
|
listResources(
|
|
450
454
|
args: ListResourcesCommandInput,
|
|
451
|
-
options?:
|
|
455
|
+
options?: RAMRequestOptions,
|
|
452
456
|
): Promise<ListResourcesCommandOutput>;
|
|
453
457
|
listResources(
|
|
454
458
|
args: ListResourcesCommandInput,
|
|
@@ -456,12 +460,12 @@ export interface RAM {
|
|
|
456
460
|
): void;
|
|
457
461
|
listResources(
|
|
458
462
|
args: ListResourcesCommandInput,
|
|
459
|
-
options:
|
|
463
|
+
options: RAMRequestOptions,
|
|
460
464
|
cb: (err: any, data?: ListResourcesCommandOutput) => void,
|
|
461
465
|
): void;
|
|
462
466
|
listResourceSharePermissions(
|
|
463
467
|
args: ListResourceSharePermissionsCommandInput,
|
|
464
|
-
options?:
|
|
468
|
+
options?: RAMRequestOptions,
|
|
465
469
|
): Promise<ListResourceSharePermissionsCommandOutput>;
|
|
466
470
|
listResourceSharePermissions(
|
|
467
471
|
args: ListResourceSharePermissionsCommandInput,
|
|
@@ -469,13 +473,13 @@ export interface RAM {
|
|
|
469
473
|
): void;
|
|
470
474
|
listResourceSharePermissions(
|
|
471
475
|
args: ListResourceSharePermissionsCommandInput,
|
|
472
|
-
options:
|
|
476
|
+
options: RAMRequestOptions,
|
|
473
477
|
cb: (err: any, data?: ListResourceSharePermissionsCommandOutput) => void,
|
|
474
478
|
): void;
|
|
475
479
|
listResourceTypes(): Promise<ListResourceTypesCommandOutput>;
|
|
476
480
|
listResourceTypes(
|
|
477
481
|
args: ListResourceTypesCommandInput,
|
|
478
|
-
options?:
|
|
482
|
+
options?: RAMRequestOptions,
|
|
479
483
|
): Promise<ListResourceTypesCommandOutput>;
|
|
480
484
|
listResourceTypes(
|
|
481
485
|
args: ListResourceTypesCommandInput,
|
|
@@ -483,13 +487,13 @@ export interface RAM {
|
|
|
483
487
|
): void;
|
|
484
488
|
listResourceTypes(
|
|
485
489
|
args: ListResourceTypesCommandInput,
|
|
486
|
-
options:
|
|
490
|
+
options: RAMRequestOptions,
|
|
487
491
|
cb: (err: any, data?: ListResourceTypesCommandOutput) => void,
|
|
488
492
|
): void;
|
|
489
493
|
listSourceAssociations(): Promise<ListSourceAssociationsCommandOutput>;
|
|
490
494
|
listSourceAssociations(
|
|
491
495
|
args: ListSourceAssociationsCommandInput,
|
|
492
|
-
options?:
|
|
496
|
+
options?: RAMRequestOptions,
|
|
493
497
|
): Promise<ListSourceAssociationsCommandOutput>;
|
|
494
498
|
listSourceAssociations(
|
|
495
499
|
args: ListSourceAssociationsCommandInput,
|
|
@@ -497,12 +501,12 @@ export interface RAM {
|
|
|
497
501
|
): void;
|
|
498
502
|
listSourceAssociations(
|
|
499
503
|
args: ListSourceAssociationsCommandInput,
|
|
500
|
-
options:
|
|
504
|
+
options: RAMRequestOptions,
|
|
501
505
|
cb: (err: any, data?: ListSourceAssociationsCommandOutput) => void,
|
|
502
506
|
): void;
|
|
503
507
|
promotePermissionCreatedFromPolicy(
|
|
504
508
|
args: PromotePermissionCreatedFromPolicyCommandInput,
|
|
505
|
-
options?:
|
|
509
|
+
options?: RAMRequestOptions,
|
|
506
510
|
): Promise<PromotePermissionCreatedFromPolicyCommandOutput>;
|
|
507
511
|
promotePermissionCreatedFromPolicy(
|
|
508
512
|
args: PromotePermissionCreatedFromPolicyCommandInput,
|
|
@@ -510,12 +514,12 @@ export interface RAM {
|
|
|
510
514
|
): void;
|
|
511
515
|
promotePermissionCreatedFromPolicy(
|
|
512
516
|
args: PromotePermissionCreatedFromPolicyCommandInput,
|
|
513
|
-
options:
|
|
517
|
+
options: RAMRequestOptions,
|
|
514
518
|
cb: (err: any, data?: PromotePermissionCreatedFromPolicyCommandOutput) => void,
|
|
515
519
|
): void;
|
|
516
520
|
promoteResourceShareCreatedFromPolicy(
|
|
517
521
|
args: PromoteResourceShareCreatedFromPolicyCommandInput,
|
|
518
|
-
options?:
|
|
522
|
+
options?: RAMRequestOptions,
|
|
519
523
|
): Promise<PromoteResourceShareCreatedFromPolicyCommandOutput>;
|
|
520
524
|
promoteResourceShareCreatedFromPolicy(
|
|
521
525
|
args: PromoteResourceShareCreatedFromPolicyCommandInput,
|
|
@@ -523,12 +527,12 @@ export interface RAM {
|
|
|
523
527
|
): void;
|
|
524
528
|
promoteResourceShareCreatedFromPolicy(
|
|
525
529
|
args: PromoteResourceShareCreatedFromPolicyCommandInput,
|
|
526
|
-
options:
|
|
530
|
+
options: RAMRequestOptions,
|
|
527
531
|
cb: (err: any, data?: PromoteResourceShareCreatedFromPolicyCommandOutput) => void,
|
|
528
532
|
): void;
|
|
529
533
|
rejectResourceShareInvitation(
|
|
530
534
|
args: RejectResourceShareInvitationCommandInput,
|
|
531
|
-
options?:
|
|
535
|
+
options?: RAMRequestOptions,
|
|
532
536
|
): Promise<RejectResourceShareInvitationCommandOutput>;
|
|
533
537
|
rejectResourceShareInvitation(
|
|
534
538
|
args: RejectResourceShareInvitationCommandInput,
|
|
@@ -536,12 +540,12 @@ export interface RAM {
|
|
|
536
540
|
): void;
|
|
537
541
|
rejectResourceShareInvitation(
|
|
538
542
|
args: RejectResourceShareInvitationCommandInput,
|
|
539
|
-
options:
|
|
543
|
+
options: RAMRequestOptions,
|
|
540
544
|
cb: (err: any, data?: RejectResourceShareInvitationCommandOutput) => void,
|
|
541
545
|
): void;
|
|
542
546
|
replacePermissionAssociations(
|
|
543
547
|
args: ReplacePermissionAssociationsCommandInput,
|
|
544
|
-
options?:
|
|
548
|
+
options?: RAMRequestOptions,
|
|
545
549
|
): Promise<ReplacePermissionAssociationsCommandOutput>;
|
|
546
550
|
replacePermissionAssociations(
|
|
547
551
|
args: ReplacePermissionAssociationsCommandInput,
|
|
@@ -549,12 +553,12 @@ export interface RAM {
|
|
|
549
553
|
): void;
|
|
550
554
|
replacePermissionAssociations(
|
|
551
555
|
args: ReplacePermissionAssociationsCommandInput,
|
|
552
|
-
options:
|
|
556
|
+
options: RAMRequestOptions,
|
|
553
557
|
cb: (err: any, data?: ReplacePermissionAssociationsCommandOutput) => void,
|
|
554
558
|
): void;
|
|
555
559
|
setDefaultPermissionVersion(
|
|
556
560
|
args: SetDefaultPermissionVersionCommandInput,
|
|
557
|
-
options?:
|
|
561
|
+
options?: RAMRequestOptions,
|
|
558
562
|
): Promise<SetDefaultPermissionVersionCommandOutput>;
|
|
559
563
|
setDefaultPermissionVersion(
|
|
560
564
|
args: SetDefaultPermissionVersionCommandInput,
|
|
@@ -562,12 +566,12 @@ export interface RAM {
|
|
|
562
566
|
): void;
|
|
563
567
|
setDefaultPermissionVersion(
|
|
564
568
|
args: SetDefaultPermissionVersionCommandInput,
|
|
565
|
-
options:
|
|
569
|
+
options: RAMRequestOptions,
|
|
566
570
|
cb: (err: any, data?: SetDefaultPermissionVersionCommandOutput) => void,
|
|
567
571
|
): void;
|
|
568
572
|
tagResource(
|
|
569
573
|
args: TagResourceCommandInput,
|
|
570
|
-
options?:
|
|
574
|
+
options?: RAMRequestOptions,
|
|
571
575
|
): Promise<TagResourceCommandOutput>;
|
|
572
576
|
tagResource(
|
|
573
577
|
args: TagResourceCommandInput,
|
|
@@ -575,12 +579,12 @@ export interface RAM {
|
|
|
575
579
|
): void;
|
|
576
580
|
tagResource(
|
|
577
581
|
args: TagResourceCommandInput,
|
|
578
|
-
options:
|
|
582
|
+
options: RAMRequestOptions,
|
|
579
583
|
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
580
584
|
): void;
|
|
581
585
|
untagResource(
|
|
582
586
|
args: UntagResourceCommandInput,
|
|
583
|
-
options?:
|
|
587
|
+
options?: RAMRequestOptions,
|
|
584
588
|
): Promise<UntagResourceCommandOutput>;
|
|
585
589
|
untagResource(
|
|
586
590
|
args: UntagResourceCommandInput,
|
|
@@ -588,12 +592,12 @@ export interface RAM {
|
|
|
588
592
|
): void;
|
|
589
593
|
untagResource(
|
|
590
594
|
args: UntagResourceCommandInput,
|
|
591
|
-
options:
|
|
595
|
+
options: RAMRequestOptions,
|
|
592
596
|
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
593
597
|
): void;
|
|
594
598
|
updateResourceShare(
|
|
595
599
|
args: UpdateResourceShareCommandInput,
|
|
596
|
-
options?:
|
|
600
|
+
options?: RAMRequestOptions,
|
|
597
601
|
): Promise<UpdateResourceShareCommandOutput>;
|
|
598
602
|
updateResourceShare(
|
|
599
603
|
args: UpdateResourceShareCommandInput,
|
|
@@ -601,7 +605,7 @@ export interface RAM {
|
|
|
601
605
|
): void;
|
|
602
606
|
updateResourceShare(
|
|
603
607
|
args: UpdateResourceShareCommandInput,
|
|
604
|
-
options:
|
|
608
|
+
options: RAMRequestOptions,
|
|
605
609
|
cb: (err: any, data?: UpdateResourceShareCommandOutput) => void,
|
|
606
610
|
): void;
|
|
607
611
|
paginateGetResourcePolicies(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ram",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Ram Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ram",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|