@aws-sdk/client-ram 3.183.0 → 3.186.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/CHANGELOG.md +19 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/RAM.js +109 -102
- package/dist-es/RAMClient.js +28 -22
- package/dist-es/commands/AcceptResourceShareInvitationCommand.js +28 -21
- package/dist-es/commands/AssociateResourceShareCommand.js +28 -21
- package/dist-es/commands/AssociateResourceSharePermissionCommand.js +28 -21
- package/dist-es/commands/CreateResourceShareCommand.js +28 -21
- package/dist-es/commands/DeleteResourceShareCommand.js +28 -21
- package/dist-es/commands/DisassociateResourceShareCommand.js +28 -21
- package/dist-es/commands/DisassociateResourceSharePermissionCommand.js +28 -21
- package/dist-es/commands/EnableSharingWithAwsOrganizationCommand.js +28 -21
- package/dist-es/commands/GetPermissionCommand.js +28 -21
- package/dist-es/commands/GetResourcePoliciesCommand.js +28 -21
- package/dist-es/commands/GetResourceShareAssociationsCommand.js +28 -21
- package/dist-es/commands/GetResourceShareInvitationsCommand.js +28 -21
- package/dist-es/commands/GetResourceSharesCommand.js +28 -21
- package/dist-es/commands/ListPendingInvitationResourcesCommand.js +28 -21
- package/dist-es/commands/ListPermissionVersionsCommand.js +28 -21
- package/dist-es/commands/ListPermissionsCommand.js +28 -21
- package/dist-es/commands/ListPrincipalsCommand.js +28 -21
- package/dist-es/commands/ListResourceSharePermissionsCommand.js +28 -21
- package/dist-es/commands/ListResourceTypesCommand.js +28 -21
- package/dist-es/commands/ListResourcesCommand.js +28 -21
- package/dist-es/commands/PromoteResourceShareCreatedFromPolicyCommand.js +28 -21
- package/dist-es/commands/RejectResourceShareInvitationCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateResourceShareCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/RAMServiceException.js +10 -5
- package/dist-es/models/models_0.js +303 -422
- package/dist-es/pagination/GetResourcePoliciesPaginator.js +68 -25
- package/dist-es/pagination/GetResourceShareAssociationsPaginator.js +68 -25
- package/dist-es/pagination/GetResourceShareInvitationsPaginator.js +68 -25
- package/dist-es/pagination/GetResourceSharesPaginator.js +68 -25
- package/dist-es/pagination/ListPendingInvitationResourcesPaginator.js +68 -25
- package/dist-es/pagination/ListPermissionVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListPermissionsPaginator.js +68 -25
- package/dist-es/pagination/ListPrincipalsPaginator.js +68 -25
- package/dist-es/pagination/ListResourceSharePermissionsPaginator.js +68 -25
- package/dist-es/pagination/ListResourceTypesPaginator.js +68 -25
- package/dist-es/pagination/ListResourcesPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +3041 -2260
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetResourceShareInvitationsRequestFilterSensitiveLog, GetResourceShareInvitationsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetResourceShareInvitationsCommand, serializeAws_restJson1GetResourceShareInvitationsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetResourceShareInvitationsCommand = (function (_super) {
|
|
7
|
+
__extends(GetResourceShareInvitationsCommand, _super);
|
|
8
|
+
function GetResourceShareInvitationsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetResourceShareInvitationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RAMClient";
|
|
18
|
+
var commandName = "GetResourceShareInvitationsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetResourceShareInvitationsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetResourceShareInvitationsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetResourceShareInvitationsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetResourceShareInvitationsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetResourceShareInvitationsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetResourceShareInvitationsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetResourceShareInvitationsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetResourceShareInvitationsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetResourceSharesRequestFilterSensitiveLog, GetResourceSharesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetResourceSharesCommand, serializeAws_restJson1GetResourceSharesCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetResourceSharesCommand = (function (_super) {
|
|
7
|
+
__extends(GetResourceSharesCommand, _super);
|
|
8
|
+
function GetResourceSharesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetResourceSharesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RAMClient";
|
|
18
|
+
var commandName = "GetResourceSharesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetResourceSharesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetResourceSharesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetResourceSharesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetResourceSharesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetResourceSharesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetResourceSharesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetResourceSharesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetResourceSharesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListPendingInvitationResourcesRequestFilterSensitiveLog, ListPendingInvitationResourcesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListPendingInvitationResourcesCommand, serializeAws_restJson1ListPendingInvitationResourcesCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListPendingInvitationResourcesCommand = (function (_super) {
|
|
7
|
+
__extends(ListPendingInvitationResourcesCommand, _super);
|
|
8
|
+
function ListPendingInvitationResourcesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListPendingInvitationResourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RAMClient";
|
|
18
|
+
var commandName = "ListPendingInvitationResourcesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListPendingInvitationResourcesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListPendingInvitationResourcesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListPendingInvitationResourcesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListPendingInvitationResourcesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListPendingInvitationResourcesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListPendingInvitationResourcesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListPendingInvitationResourcesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListPendingInvitationResourcesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListPermissionVersionsRequestFilterSensitiveLog, ListPermissionVersionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListPermissionVersionsCommand, serializeAws_restJson1ListPermissionVersionsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListPermissionVersionsCommand = (function (_super) {
|
|
7
|
+
__extends(ListPermissionVersionsCommand, _super);
|
|
8
|
+
function ListPermissionVersionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListPermissionVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RAMClient";
|
|
18
|
+
var commandName = "ListPermissionVersionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListPermissionVersionsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListPermissionVersionsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListPermissionVersionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListPermissionVersionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListPermissionVersionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListPermissionVersionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListPermissionVersionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListPermissionVersionsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListPermissionsRequestFilterSensitiveLog, ListPermissionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListPermissionsCommand, serializeAws_restJson1ListPermissionsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListPermissionsCommand = (function (_super) {
|
|
7
|
+
__extends(ListPermissionsCommand, _super);
|
|
8
|
+
function ListPermissionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListPermissionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RAMClient";
|
|
18
|
+
var commandName = "ListPermissionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListPermissionsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListPermissionsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListPermissionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListPermissionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListPermissionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListPermissionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListPermissionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListPermissionsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListPrincipalsRequestFilterSensitiveLog, ListPrincipalsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListPrincipalsCommand, serializeAws_restJson1ListPrincipalsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListPrincipalsCommand = (function (_super) {
|
|
7
|
+
__extends(ListPrincipalsCommand, _super);
|
|
8
|
+
function ListPrincipalsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListPrincipalsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RAMClient";
|
|
18
|
+
var commandName = "ListPrincipalsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListPrincipalsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListPrincipalsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListPrincipalsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListPrincipalsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListPrincipalsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListPrincipalsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListPrincipalsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListPrincipalsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListResourceSharePermissionsRequestFilterSensitiveLog, ListResourceSharePermissionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListResourceSharePermissionsCommand, serializeAws_restJson1ListResourceSharePermissionsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListResourceSharePermissionsCommand = (function (_super) {
|
|
7
|
+
__extends(ListResourceSharePermissionsCommand, _super);
|
|
8
|
+
function ListResourceSharePermissionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListResourceSharePermissionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RAMClient";
|
|
18
|
+
var commandName = "ListResourceSharePermissionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListResourceSharePermissionsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListResourceSharePermissionsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListResourceSharePermissionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListResourceSharePermissionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListResourceSharePermissionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListResourceSharePermissionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListResourceSharePermissionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListResourceSharePermissionsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListResourceTypesRequestFilterSensitiveLog, ListResourceTypesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListResourceTypesCommand, serializeAws_restJson1ListResourceTypesCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListResourceTypesCommand = (function (_super) {
|
|
7
|
+
__extends(ListResourceTypesCommand, _super);
|
|
8
|
+
function ListResourceTypesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListResourceTypesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RAMClient";
|
|
18
|
+
var commandName = "ListResourceTypesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListResourceTypesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListResourceTypesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListResourceTypesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListResourceTypesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListResourceTypesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListResourceTypesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListResourceTypesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListResourceTypesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListResourcesRequestFilterSensitiveLog, ListResourcesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListResourcesCommand, serializeAws_restJson1ListResourcesCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListResourcesCommand = (function (_super) {
|
|
7
|
+
__extends(ListResourcesCommand, _super);
|
|
8
|
+
function ListResourcesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListResourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RAMClient";
|
|
18
|
+
var commandName = "ListResourcesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListResourcesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListResourcesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListResourcesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListResourcesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListResourcesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListResourcesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListResourcesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListResourcesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { PromoteResourceShareCreatedFromPolicyRequestFilterSensitiveLog, PromoteResourceShareCreatedFromPolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1PromoteResourceShareCreatedFromPolicyCommand, serializeAws_restJson1PromoteResourceShareCreatedFromPolicyCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var PromoteResourceShareCreatedFromPolicyCommand = (function (_super) {
|
|
7
|
+
__extends(PromoteResourceShareCreatedFromPolicyCommand, _super);
|
|
8
|
+
function PromoteResourceShareCreatedFromPolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
PromoteResourceShareCreatedFromPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RAMClient";
|
|
18
|
+
var commandName = "PromoteResourceShareCreatedFromPolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: PromoteResourceShareCreatedFromPolicyRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: PromoteResourceShareCreatedFromPolicyResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
PromoteResourceShareCreatedFromPolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1PromoteResourceShareCreatedFromPolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
PromoteResourceShareCreatedFromPolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1PromoteResourceShareCreatedFromPolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return PromoteResourceShareCreatedFromPolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PromoteResourceShareCreatedFromPolicyCommand };
|