@cdklabs/cdk-ecs-codedeploy 0.0.119 → 0.0.121

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 (161) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/AddTagsToOnPremisesInstancesCommand.js +2 -2
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationRevisionsCommand.js +2 -2
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationsCommand.js +2 -2
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentGroupsCommand.js +2 -2
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentInstancesCommand.js +2 -2
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +2 -2
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentsCommand.js +2 -2
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetOnPremisesInstancesCommand.js +2 -2
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ContinueDeploymentCommand.js +2 -2
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateApplicationCommand.js +2 -2
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentCommand.js +2 -2
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentConfigCommand.js +2 -2
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentGroupCommand.js +2 -2
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteApplicationCommand.js +2 -2
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentConfigCommand.js +2 -2
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentGroupCommand.js +2 -2
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteGitHubAccountTokenCommand.js +2 -2
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteResourcesByExternalIdCommand.js +2 -2
  24. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeregisterOnPremisesInstanceCommand.js +2 -2
  25. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationCommand.js +2 -2
  26. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationRevisionCommand.js +2 -2
  27. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentCommand.js +2 -2
  28. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentConfigCommand.js +2 -2
  29. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentGroupCommand.js +2 -2
  30. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentInstanceCommand.js +2 -2
  31. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentTargetCommand.js +2 -2
  32. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetOnPremisesInstanceCommand.js +2 -2
  33. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationRevisionsCommand.js +2 -2
  34. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationsCommand.js +2 -2
  35. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentConfigsCommand.js +2 -2
  36. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentGroupsCommand.js +2 -2
  37. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentInstancesCommand.js +2 -2
  38. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentTargetsCommand.js +2 -2
  39. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentsCommand.js +2 -2
  40. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListGitHubAccountTokenNamesCommand.js +2 -2
  41. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListOnPremisesInstancesCommand.js +2 -2
  42. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  43. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +2 -2
  44. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterApplicationRevisionCommand.js +2 -2
  45. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterOnPremisesInstanceCommand.js +2 -2
  46. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js +2 -2
  47. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js +2 -2
  48. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/StopDeploymentCommand.js +2 -2
  49. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/TagResourceCommand.js +2 -2
  50. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UntagResourceCommand.js +2 -2
  51. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateApplicationCommand.js +2 -2
  52. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateDeploymentGroupCommand.js +2 -2
  53. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/protocols/Aws_json1_1.js +1471 -1615
  54. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +3 -3
  55. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationRevisionsCommand.js +3 -3
  56. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationsCommand.js +3 -3
  57. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentGroupsCommand.js +3 -3
  58. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentInstancesCommand.js +3 -3
  59. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentTargetsCommand.js +3 -3
  60. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentsCommand.js +3 -3
  61. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +3 -3
  62. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ContinueDeploymentCommand.js +3 -3
  63. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateApplicationCommand.js +3 -3
  64. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentCommand.js +3 -3
  65. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentConfigCommand.js +3 -3
  66. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentGroupCommand.js +3 -3
  67. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteApplicationCommand.js +3 -3
  68. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentConfigCommand.js +3 -3
  69. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentGroupCommand.js +3 -3
  70. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteGitHubAccountTokenCommand.js +3 -3
  71. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteResourcesByExternalIdCommand.js +3 -3
  72. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +3 -3
  73. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationCommand.js +3 -3
  74. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationRevisionCommand.js +3 -3
  75. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentCommand.js +3 -3
  76. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentConfigCommand.js +3 -3
  77. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentGroupCommand.js +3 -3
  78. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentInstanceCommand.js +3 -3
  79. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentTargetCommand.js +3 -3
  80. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetOnPremisesInstanceCommand.js +3 -3
  81. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationRevisionsCommand.js +3 -3
  82. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationsCommand.js +3 -3
  83. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentConfigsCommand.js +3 -3
  84. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentGroupsCommand.js +3 -3
  85. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentInstancesCommand.js +3 -3
  86. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentTargetsCommand.js +3 -3
  87. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentsCommand.js +3 -3
  88. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +3 -3
  89. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListOnPremisesInstancesCommand.js +3 -3
  90. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  91. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +3 -3
  92. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterApplicationRevisionCommand.js +3 -3
  93. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterOnPremisesInstanceCommand.js +3 -3
  94. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +3 -3
  95. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +3 -3
  96. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/StopDeploymentCommand.js +3 -3
  97. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/TagResourceCommand.js +3 -3
  98. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UntagResourceCommand.js +3 -3
  99. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateApplicationCommand.js +3 -3
  100. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateDeploymentGroupCommand.js +3 -3
  101. package/node_modules/@aws-sdk/client-codedeploy/dist-es/protocols/Aws_json1_1.js +1375 -1519
  102. package/node_modules/@aws-sdk/client-codedeploy/dist-types/protocols/Aws_json1_1.d.ts +376 -94
  103. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +94 -94
  104. package/node_modules/@aws-sdk/client-codedeploy/package.json +6 -6
  105. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +2 -2
  106. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +2 -2
  107. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +2 -2
  108. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +2 -2
  109. package/node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js +54 -54
  110. package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +3 -3
  111. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +3 -3
  112. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +3 -3
  113. package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +3 -3
  114. package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +45 -45
  115. package/node_modules/@aws-sdk/client-sso/dist-types/protocols/Aws_restJson1.d.ts +32 -8
  116. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +8 -8
  117. package/node_modules/@aws-sdk/client-sso/package.json +4 -4
  118. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/CreateTokenCommand.js +2 -2
  119. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/RegisterClientCommand.js +2 -2
  120. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/StartDeviceAuthorizationCommand.js +2 -2
  121. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/protocols/Aws_restJson1.js +54 -54
  122. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +3 -3
  123. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +3 -3
  124. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +3 -3
  125. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +47 -47
  126. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +24 -6
  127. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -6
  128. package/node_modules/@aws-sdk/client-sso-oidc/package.json +4 -4
  129. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +2 -2
  130. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +2 -2
  131. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +2 -2
  132. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +2 -2
  133. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +2 -2
  134. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +2 -2
  135. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +2 -2
  136. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +2 -2
  137. package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +153 -153
  138. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +3 -3
  139. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +3 -3
  140. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +3 -3
  141. package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +3 -3
  142. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +3 -3
  143. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +3 -3
  144. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +3 -3
  145. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +3 -3
  146. package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +136 -136
  147. package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +64 -16
  148. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +16 -16
  149. package/node_modules/@aws-sdk/client-sts/package.json +5 -5
  150. package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
  151. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  152. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  153. package/node_modules/@aws-sdk/smithy-client/dist-cjs/object-mapping.js +44 -20
  154. package/node_modules/@aws-sdk/smithy-client/dist-es/object-mapping.js +42 -19
  155. package/node_modules/@aws-sdk/smithy-client/dist-types/object-mapping.d.ts +28 -2
  156. package/node_modules/@aws-sdk/smithy-client/dist-types/ts3.4/object-mapping.d.ts +16 -4
  157. package/node_modules/@aws-sdk/smithy-client/package.json +1 -1
  158. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  159. package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +2 -2
  160. package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +2 -2
  161. package/package.json +8 -8
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1LogoutCommand = exports.deserializeAws_restJson1ListAccountsCommand = exports.deserializeAws_restJson1ListAccountRolesCommand = exports.deserializeAws_restJson1GetRoleCredentialsCommand = exports.serializeAws_restJson1LogoutCommand = exports.serializeAws_restJson1ListAccountsCommand = exports.serializeAws_restJson1ListAccountRolesCommand = exports.serializeAws_restJson1GetRoleCredentialsCommand = void 0;
3
+ exports.de_LogoutCommand = exports.de_ListAccountsCommand = exports.de_ListAccountRolesCommand = exports.de_GetRoleCredentialsCommand = exports.se_LogoutCommand = exports.se_ListAccountsCommand = exports.se_ListAccountRolesCommand = exports.se_GetRoleCredentialsCommand = void 0;
4
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const SSOServiceException_1 = require("../models/SSOServiceException");
8
- const serializeAws_restJson1GetRoleCredentialsCommand = async (input, context) => {
8
+ const se_GetRoleCredentialsCommand = async (input, context) => {
9
9
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
10
10
  const headers = map({}, isSerializableHeaderValue, {
11
11
  "x-amz-sso_bearer_token": input.accessToken,
@@ -27,8 +27,8 @@ const serializeAws_restJson1GetRoleCredentialsCommand = async (input, context) =
27
27
  body,
28
28
  });
29
29
  };
30
- exports.serializeAws_restJson1GetRoleCredentialsCommand = serializeAws_restJson1GetRoleCredentialsCommand;
31
- const serializeAws_restJson1ListAccountRolesCommand = async (input, context) => {
30
+ exports.se_GetRoleCredentialsCommand = se_GetRoleCredentialsCommand;
31
+ const se_ListAccountRolesCommand = async (input, context) => {
32
32
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
33
33
  const headers = map({}, isSerializableHeaderValue, {
34
34
  "x-amz-sso_bearer_token": input.accessToken,
@@ -51,8 +51,8 @@ const serializeAws_restJson1ListAccountRolesCommand = async (input, context) =>
51
51
  body,
52
52
  });
53
53
  };
54
- exports.serializeAws_restJson1ListAccountRolesCommand = serializeAws_restJson1ListAccountRolesCommand;
55
- const serializeAws_restJson1ListAccountsCommand = async (input, context) => {
54
+ exports.se_ListAccountRolesCommand = se_ListAccountRolesCommand;
55
+ const se_ListAccountsCommand = async (input, context) => {
56
56
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
57
57
  const headers = map({}, isSerializableHeaderValue, {
58
58
  "x-amz-sso_bearer_token": input.accessToken,
@@ -74,8 +74,8 @@ const serializeAws_restJson1ListAccountsCommand = async (input, context) => {
74
74
  body,
75
75
  });
76
76
  };
77
- exports.serializeAws_restJson1ListAccountsCommand = serializeAws_restJson1ListAccountsCommand;
78
- const serializeAws_restJson1LogoutCommand = async (input, context) => {
77
+ exports.se_ListAccountsCommand = se_ListAccountsCommand;
78
+ const se_LogoutCommand = async (input, context) => {
79
79
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
80
80
  const headers = map({}, isSerializableHeaderValue, {
81
81
  "x-amz-sso_bearer_token": input.accessToken,
@@ -92,22 +92,22 @@ const serializeAws_restJson1LogoutCommand = async (input, context) => {
92
92
  body,
93
93
  });
94
94
  };
95
- exports.serializeAws_restJson1LogoutCommand = serializeAws_restJson1LogoutCommand;
96
- const deserializeAws_restJson1GetRoleCredentialsCommand = async (output, context) => {
95
+ exports.se_LogoutCommand = se_LogoutCommand;
96
+ const de_GetRoleCredentialsCommand = async (output, context) => {
97
97
  if (output.statusCode !== 200 && output.statusCode >= 300) {
98
- return deserializeAws_restJson1GetRoleCredentialsCommandError(output, context);
98
+ return de_GetRoleCredentialsCommandError(output, context);
99
99
  }
100
100
  const contents = map({
101
101
  $metadata: deserializeMetadata(output),
102
102
  });
103
103
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
104
104
  if (data.roleCredentials != null) {
105
- contents.roleCredentials = deserializeAws_restJson1RoleCredentials(data.roleCredentials, context);
105
+ contents.roleCredentials = de_RoleCredentials(data.roleCredentials, context);
106
106
  }
107
107
  return contents;
108
108
  };
109
- exports.deserializeAws_restJson1GetRoleCredentialsCommand = deserializeAws_restJson1GetRoleCredentialsCommand;
110
- const deserializeAws_restJson1GetRoleCredentialsCommandError = async (output, context) => {
109
+ exports.de_GetRoleCredentialsCommand = de_GetRoleCredentialsCommand;
110
+ const de_GetRoleCredentialsCommandError = async (output, context) => {
111
111
  const parsedOutput = {
112
112
  ...output,
113
113
  body: await parseErrorBody(output.body, context),
@@ -116,16 +116,16 @@ const deserializeAws_restJson1GetRoleCredentialsCommandError = async (output, co
116
116
  switch (errorCode) {
117
117
  case "InvalidRequestException":
118
118
  case "com.amazonaws.sso#InvalidRequestException":
119
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
119
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
120
120
  case "ResourceNotFoundException":
121
121
  case "com.amazonaws.sso#ResourceNotFoundException":
122
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
122
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
123
123
  case "TooManyRequestsException":
124
124
  case "com.amazonaws.sso#TooManyRequestsException":
125
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
125
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
126
126
  case "UnauthorizedException":
127
127
  case "com.amazonaws.sso#UnauthorizedException":
128
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
128
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
129
129
  default:
130
130
  const parsedBody = parsedOutput.body;
131
131
  (0, smithy_client_1.throwDefaultError)({
@@ -136,9 +136,9 @@ const deserializeAws_restJson1GetRoleCredentialsCommandError = async (output, co
136
136
  });
137
137
  }
138
138
  };
139
- const deserializeAws_restJson1ListAccountRolesCommand = async (output, context) => {
139
+ const de_ListAccountRolesCommand = async (output, context) => {
140
140
  if (output.statusCode !== 200 && output.statusCode >= 300) {
141
- return deserializeAws_restJson1ListAccountRolesCommandError(output, context);
141
+ return de_ListAccountRolesCommandError(output, context);
142
142
  }
143
143
  const contents = map({
144
144
  $metadata: deserializeMetadata(output),
@@ -148,12 +148,12 @@ const deserializeAws_restJson1ListAccountRolesCommand = async (output, context)
148
148
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
149
149
  }
150
150
  if (data.roleList != null) {
151
- contents.roleList = deserializeAws_restJson1RoleListType(data.roleList, context);
151
+ contents.roleList = de_RoleListType(data.roleList, context);
152
152
  }
153
153
  return contents;
154
154
  };
155
- exports.deserializeAws_restJson1ListAccountRolesCommand = deserializeAws_restJson1ListAccountRolesCommand;
156
- const deserializeAws_restJson1ListAccountRolesCommandError = async (output, context) => {
155
+ exports.de_ListAccountRolesCommand = de_ListAccountRolesCommand;
156
+ const de_ListAccountRolesCommandError = async (output, context) => {
157
157
  const parsedOutput = {
158
158
  ...output,
159
159
  body: await parseErrorBody(output.body, context),
@@ -162,16 +162,16 @@ const deserializeAws_restJson1ListAccountRolesCommandError = async (output, cont
162
162
  switch (errorCode) {
163
163
  case "InvalidRequestException":
164
164
  case "com.amazonaws.sso#InvalidRequestException":
165
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
165
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
166
166
  case "ResourceNotFoundException":
167
167
  case "com.amazonaws.sso#ResourceNotFoundException":
168
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
168
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
169
169
  case "TooManyRequestsException":
170
170
  case "com.amazonaws.sso#TooManyRequestsException":
171
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
171
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
172
172
  case "UnauthorizedException":
173
173
  case "com.amazonaws.sso#UnauthorizedException":
174
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
174
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
175
175
  default:
176
176
  const parsedBody = parsedOutput.body;
177
177
  (0, smithy_client_1.throwDefaultError)({
@@ -182,24 +182,24 @@ const deserializeAws_restJson1ListAccountRolesCommandError = async (output, cont
182
182
  });
183
183
  }
184
184
  };
185
- const deserializeAws_restJson1ListAccountsCommand = async (output, context) => {
185
+ const de_ListAccountsCommand = async (output, context) => {
186
186
  if (output.statusCode !== 200 && output.statusCode >= 300) {
187
- return deserializeAws_restJson1ListAccountsCommandError(output, context);
187
+ return de_ListAccountsCommandError(output, context);
188
188
  }
189
189
  const contents = map({
190
190
  $metadata: deserializeMetadata(output),
191
191
  });
192
192
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
193
193
  if (data.accountList != null) {
194
- contents.accountList = deserializeAws_restJson1AccountListType(data.accountList, context);
194
+ contents.accountList = de_AccountListType(data.accountList, context);
195
195
  }
196
196
  if (data.nextToken != null) {
197
197
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
198
198
  }
199
199
  return contents;
200
200
  };
201
- exports.deserializeAws_restJson1ListAccountsCommand = deserializeAws_restJson1ListAccountsCommand;
202
- const deserializeAws_restJson1ListAccountsCommandError = async (output, context) => {
201
+ exports.de_ListAccountsCommand = de_ListAccountsCommand;
202
+ const de_ListAccountsCommandError = async (output, context) => {
203
203
  const parsedOutput = {
204
204
  ...output,
205
205
  body: await parseErrorBody(output.body, context),
@@ -208,16 +208,16 @@ const deserializeAws_restJson1ListAccountsCommandError = async (output, context)
208
208
  switch (errorCode) {
209
209
  case "InvalidRequestException":
210
210
  case "com.amazonaws.sso#InvalidRequestException":
211
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
211
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
212
212
  case "ResourceNotFoundException":
213
213
  case "com.amazonaws.sso#ResourceNotFoundException":
214
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
214
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
215
215
  case "TooManyRequestsException":
216
216
  case "com.amazonaws.sso#TooManyRequestsException":
217
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
217
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
218
218
  case "UnauthorizedException":
219
219
  case "com.amazonaws.sso#UnauthorizedException":
220
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
220
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
221
221
  default:
222
222
  const parsedBody = parsedOutput.body;
223
223
  (0, smithy_client_1.throwDefaultError)({
@@ -228,9 +228,9 @@ const deserializeAws_restJson1ListAccountsCommandError = async (output, context)
228
228
  });
229
229
  }
230
230
  };
231
- const deserializeAws_restJson1LogoutCommand = async (output, context) => {
231
+ const de_LogoutCommand = async (output, context) => {
232
232
  if (output.statusCode !== 200 && output.statusCode >= 300) {
233
- return deserializeAws_restJson1LogoutCommandError(output, context);
233
+ return de_LogoutCommandError(output, context);
234
234
  }
235
235
  const contents = map({
236
236
  $metadata: deserializeMetadata(output),
@@ -238,8 +238,8 @@ const deserializeAws_restJson1LogoutCommand = async (output, context) => {
238
238
  await collectBody(output.body, context);
239
239
  return contents;
240
240
  };
241
- exports.deserializeAws_restJson1LogoutCommand = deserializeAws_restJson1LogoutCommand;
242
- const deserializeAws_restJson1LogoutCommandError = async (output, context) => {
241
+ exports.de_LogoutCommand = de_LogoutCommand;
242
+ const de_LogoutCommandError = async (output, context) => {
243
243
  const parsedOutput = {
244
244
  ...output,
245
245
  body: await parseErrorBody(output.body, context),
@@ -248,13 +248,13 @@ const deserializeAws_restJson1LogoutCommandError = async (output, context) => {
248
248
  switch (errorCode) {
249
249
  case "InvalidRequestException":
250
250
  case "com.amazonaws.sso#InvalidRequestException":
251
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
251
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
252
252
  case "TooManyRequestsException":
253
253
  case "com.amazonaws.sso#TooManyRequestsException":
254
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
254
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
255
255
  case "UnauthorizedException":
256
256
  case "com.amazonaws.sso#UnauthorizedException":
257
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
257
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
258
258
  default:
259
259
  const parsedBody = parsedOutput.body;
260
260
  (0, smithy_client_1.throwDefaultError)({
@@ -266,7 +266,7 @@ const deserializeAws_restJson1LogoutCommandError = async (output, context) => {
266
266
  }
267
267
  };
268
268
  const map = smithy_client_1.map;
269
- const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
269
+ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
270
270
  const contents = map({});
271
271
  const data = parsedOutput.body;
272
272
  if (data.message != null) {
@@ -278,7 +278,7 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut
278
278
  });
279
279
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
280
280
  };
281
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
281
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
282
282
  const contents = map({});
283
283
  const data = parsedOutput.body;
284
284
  if (data.message != null) {
@@ -290,7 +290,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
290
290
  });
291
291
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
292
292
  };
293
- const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
293
+ const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
294
294
  const contents = map({});
295
295
  const data = parsedOutput.body;
296
296
  if (data.message != null) {
@@ -302,7 +302,7 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
302
302
  });
303
303
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
304
304
  };
305
- const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
305
+ const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
306
306
  const contents = map({});
307
307
  const data = parsedOutput.body;
308
308
  if (data.message != null) {
@@ -314,25 +314,25 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu
314
314
  });
315
315
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
316
316
  };
317
- const deserializeAws_restJson1AccountInfo = (output, context) => {
317
+ const de_AccountInfo = (output, context) => {
318
318
  return {
319
319
  accountId: (0, smithy_client_1.expectString)(output.accountId),
320
320
  accountName: (0, smithy_client_1.expectString)(output.accountName),
321
321
  emailAddress: (0, smithy_client_1.expectString)(output.emailAddress),
322
322
  };
323
323
  };
324
- const deserializeAws_restJson1AccountListType = (output, context) => {
324
+ const de_AccountListType = (output, context) => {
325
325
  const retVal = (output || [])
326
326
  .filter((e) => e != null)
327
327
  .map((entry) => {
328
328
  if (entry === null) {
329
329
  return null;
330
330
  }
331
- return deserializeAws_restJson1AccountInfo(entry, context);
331
+ return de_AccountInfo(entry, context);
332
332
  });
333
333
  return retVal;
334
334
  };
335
- const deserializeAws_restJson1RoleCredentials = (output, context) => {
335
+ const de_RoleCredentials = (output, context) => {
336
336
  return {
337
337
  accessKeyId: (0, smithy_client_1.expectString)(output.accessKeyId),
338
338
  expiration: (0, smithy_client_1.expectLong)(output.expiration),
@@ -340,20 +340,20 @@ const deserializeAws_restJson1RoleCredentials = (output, context) => {
340
340
  sessionToken: (0, smithy_client_1.expectString)(output.sessionToken),
341
341
  };
342
342
  };
343
- const deserializeAws_restJson1RoleInfo = (output, context) => {
343
+ const de_RoleInfo = (output, context) => {
344
344
  return {
345
345
  accountId: (0, smithy_client_1.expectString)(output.accountId),
346
346
  roleName: (0, smithy_client_1.expectString)(output.roleName),
347
347
  };
348
348
  };
349
- const deserializeAws_restJson1RoleListType = (output, context) => {
349
+ const de_RoleListType = (output, context) => {
350
350
  const retVal = (output || [])
351
351
  .filter((e) => e != null)
352
352
  .map((entry) => {
353
353
  if (entry === null) {
354
354
  return null;
355
355
  }
356
- return deserializeAws_restJson1RoleInfo(entry, context);
356
+ return de_RoleInfo(entry, context);
357
357
  });
358
358
  return retVal;
359
359
  };
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog, } from "../models/models_0";
5
- import { deserializeAws_restJson1GetRoleCredentialsCommand, serializeAws_restJson1GetRoleCredentialsCommand, } from "../protocols/Aws_restJson1";
5
+ import { de_GetRoleCredentialsCommand, se_GetRoleCredentialsCommand } from "../protocols/Aws_restJson1";
6
6
  export class GetRoleCredentialsCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
8
8
  return {
@@ -34,9 +34,9 @@ export class GetRoleCredentialsCommand extends $Command {
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
35
  }
36
36
  serialize(input, context) {
37
- return serializeAws_restJson1GetRoleCredentialsCommand(input, context);
37
+ return se_GetRoleCredentialsCommand(input, context);
38
38
  }
39
39
  deserialize(output, context) {
40
- return deserializeAws_restJson1GetRoleCredentialsCommand(output, context);
40
+ return de_GetRoleCredentialsCommand(output, context);
41
41
  }
42
42
  }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListAccountRolesRequestFilterSensitiveLog, } from "../models/models_0";
5
- import { deserializeAws_restJson1ListAccountRolesCommand, serializeAws_restJson1ListAccountRolesCommand, } from "../protocols/Aws_restJson1";
5
+ import { de_ListAccountRolesCommand, se_ListAccountRolesCommand } from "../protocols/Aws_restJson1";
6
6
  export class ListAccountRolesCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
8
8
  return {
@@ -34,9 +34,9 @@ export class ListAccountRolesCommand extends $Command {
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
35
  }
36
36
  serialize(input, context) {
37
- return serializeAws_restJson1ListAccountRolesCommand(input, context);
37
+ return se_ListAccountRolesCommand(input, context);
38
38
  }
39
39
  deserialize(output, context) {
40
- return deserializeAws_restJson1ListAccountRolesCommand(output, context);
40
+ return de_ListAccountRolesCommand(output, context);
41
41
  }
42
42
  }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListAccountsRequestFilterSensitiveLog } from "../models/models_0";
5
- import { deserializeAws_restJson1ListAccountsCommand, serializeAws_restJson1ListAccountsCommand, } from "../protocols/Aws_restJson1";
5
+ import { de_ListAccountsCommand, se_ListAccountsCommand } from "../protocols/Aws_restJson1";
6
6
  export class ListAccountsCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
8
8
  return {
@@ -34,9 +34,9 @@ export class ListAccountsCommand extends $Command {
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
35
  }
36
36
  serialize(input, context) {
37
- return serializeAws_restJson1ListAccountsCommand(input, context);
37
+ return se_ListAccountsCommand(input, context);
38
38
  }
39
39
  deserialize(output, context) {
40
- return deserializeAws_restJson1ListAccountsCommand(output, context);
40
+ return de_ListAccountsCommand(output, context);
41
41
  }
42
42
  }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { LogoutRequestFilterSensitiveLog } from "../models/models_0";
5
- import { deserializeAws_restJson1LogoutCommand, serializeAws_restJson1LogoutCommand } from "../protocols/Aws_restJson1";
5
+ import { de_LogoutCommand, se_LogoutCommand } from "../protocols/Aws_restJson1";
6
6
  export class LogoutCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
8
8
  return {
@@ -34,9 +34,9 @@ export class LogoutCommand extends $Command {
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
35
  }
36
36
  serialize(input, context) {
37
- return serializeAws_restJson1LogoutCommand(input, context);
37
+ return se_LogoutCommand(input, context);
38
38
  }
39
39
  deserialize(output, context) {
40
- return deserializeAws_restJson1LogoutCommand(output, context);
40
+ return de_LogoutCommand(output, context);
41
41
  }
42
42
  }