@aws-sdk/client-mq 3.193.0 → 3.196.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/MqClient.js +11 -8
  3. package/dist-cjs/commands/CreateBrokerCommand.js +10 -0
  4. package/dist-cjs/commands/CreateConfigurationCommand.js +10 -0
  5. package/dist-cjs/commands/CreateTagsCommand.js +10 -0
  6. package/dist-cjs/commands/CreateUserCommand.js +10 -0
  7. package/dist-cjs/commands/DeleteBrokerCommand.js +10 -0
  8. package/dist-cjs/commands/DeleteTagsCommand.js +10 -0
  9. package/dist-cjs/commands/DeleteUserCommand.js +10 -0
  10. package/dist-cjs/commands/DescribeBrokerCommand.js +10 -0
  11. package/dist-cjs/commands/DescribeBrokerEngineTypesCommand.js +10 -0
  12. package/dist-cjs/commands/DescribeBrokerInstanceOptionsCommand.js +10 -0
  13. package/dist-cjs/commands/DescribeConfigurationCommand.js +10 -0
  14. package/dist-cjs/commands/DescribeConfigurationRevisionCommand.js +10 -0
  15. package/dist-cjs/commands/DescribeUserCommand.js +10 -0
  16. package/dist-cjs/commands/ListBrokersCommand.js +10 -0
  17. package/dist-cjs/commands/ListConfigurationRevisionsCommand.js +10 -0
  18. package/dist-cjs/commands/ListConfigurationsCommand.js +10 -0
  19. package/dist-cjs/commands/ListTagsCommand.js +10 -0
  20. package/dist-cjs/commands/ListUsersCommand.js +10 -0
  21. package/dist-cjs/commands/RebootBrokerCommand.js +10 -0
  22. package/dist-cjs/commands/UpdateBrokerCommand.js +10 -0
  23. package/dist-cjs/commands/UpdateConfigurationCommand.js +10 -0
  24. package/dist-cjs/commands/UpdateUserCommand.js +10 -0
  25. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  26. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  27. package/dist-cjs/endpoint/ruleset.js +318 -0
  28. package/dist-cjs/runtimeConfig.shared.js +3 -3
  29. package/dist-es/MqClient.js +12 -9
  30. package/dist-es/commands/CreateBrokerCommand.js +10 -0
  31. package/dist-es/commands/CreateConfigurationCommand.js +10 -0
  32. package/dist-es/commands/CreateTagsCommand.js +10 -0
  33. package/dist-es/commands/CreateUserCommand.js +10 -0
  34. package/dist-es/commands/DeleteBrokerCommand.js +10 -0
  35. package/dist-es/commands/DeleteTagsCommand.js +10 -0
  36. package/dist-es/commands/DeleteUserCommand.js +10 -0
  37. package/dist-es/commands/DescribeBrokerCommand.js +10 -0
  38. package/dist-es/commands/DescribeBrokerEngineTypesCommand.js +10 -0
  39. package/dist-es/commands/DescribeBrokerInstanceOptionsCommand.js +10 -0
  40. package/dist-es/commands/DescribeConfigurationCommand.js +10 -0
  41. package/dist-es/commands/DescribeConfigurationRevisionCommand.js +10 -0
  42. package/dist-es/commands/DescribeUserCommand.js +10 -0
  43. package/dist-es/commands/ListBrokersCommand.js +10 -0
  44. package/dist-es/commands/ListConfigurationRevisionsCommand.js +10 -0
  45. package/dist-es/commands/ListConfigurationsCommand.js +10 -0
  46. package/dist-es/commands/ListTagsCommand.js +10 -0
  47. package/dist-es/commands/ListUsersCommand.js +10 -0
  48. package/dist-es/commands/RebootBrokerCommand.js +10 -0
  49. package/dist-es/commands/UpdateBrokerCommand.js +10 -0
  50. package/dist-es/commands/UpdateConfigurationCommand.js +10 -0
  51. package/dist-es/commands/UpdateUserCommand.js +10 -0
  52. package/dist-es/endpoint/EndpointParameters.js +8 -0
  53. package/dist-es/endpoint/endpointResolver.js +8 -0
  54. package/dist-es/endpoint/ruleset.js +315 -0
  55. package/dist-es/runtimeConfig.shared.js +2 -2
  56. package/dist-types/MqClient.d.ts +6 -9
  57. package/dist-types/commands/CreateBrokerCommand.d.ts +2 -0
  58. package/dist-types/commands/CreateConfigurationCommand.d.ts +2 -0
  59. package/dist-types/commands/CreateTagsCommand.d.ts +2 -0
  60. package/dist-types/commands/CreateUserCommand.d.ts +2 -0
  61. package/dist-types/commands/DeleteBrokerCommand.d.ts +2 -0
  62. package/dist-types/commands/DeleteTagsCommand.d.ts +2 -0
  63. package/dist-types/commands/DeleteUserCommand.d.ts +2 -0
  64. package/dist-types/commands/DescribeBrokerCommand.d.ts +2 -0
  65. package/dist-types/commands/DescribeBrokerEngineTypesCommand.d.ts +2 -0
  66. package/dist-types/commands/DescribeBrokerInstanceOptionsCommand.d.ts +2 -0
  67. package/dist-types/commands/DescribeConfigurationCommand.d.ts +2 -0
  68. package/dist-types/commands/DescribeConfigurationRevisionCommand.d.ts +2 -0
  69. package/dist-types/commands/DescribeUserCommand.d.ts +2 -0
  70. package/dist-types/commands/ListBrokersCommand.d.ts +2 -0
  71. package/dist-types/commands/ListConfigurationRevisionsCommand.d.ts +2 -0
  72. package/dist-types/commands/ListConfigurationsCommand.d.ts +2 -0
  73. package/dist-types/commands/ListTagsCommand.d.ts +2 -0
  74. package/dist-types/commands/ListUsersCommand.d.ts +2 -0
  75. package/dist-types/commands/RebootBrokerCommand.d.ts +2 -0
  76. package/dist-types/commands/UpdateBrokerCommand.d.ts +2 -0
  77. package/dist-types/commands/UpdateConfigurationCommand.d.ts +2 -0
  78. package/dist-types/commands/UpdateUserCommand.d.ts +2 -0
  79. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  80. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  81. package/dist-types/endpoint/ruleset.d.ts +2 -0
  82. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  83. package/dist-types/runtimeConfig.d.ts +4 -2
  84. package/dist-types/runtimeConfig.native.d.ts +4 -2
  85. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  86. package/dist-types/ts3.4/MqClient.d.ts +15 -8
  87. package/dist-types/ts3.4/commands/CreateBrokerCommand.d.ts +2 -0
  88. package/dist-types/ts3.4/commands/CreateConfigurationCommand.d.ts +2 -0
  89. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +2 -0
  90. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -0
  91. package/dist-types/ts3.4/commands/DeleteBrokerCommand.d.ts +2 -0
  92. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +2 -0
  93. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -0
  94. package/dist-types/ts3.4/commands/DescribeBrokerCommand.d.ts +2 -0
  95. package/dist-types/ts3.4/commands/DescribeBrokerEngineTypesCommand.d.ts +2 -0
  96. package/dist-types/ts3.4/commands/DescribeBrokerInstanceOptionsCommand.d.ts +2 -0
  97. package/dist-types/ts3.4/commands/DescribeConfigurationCommand.d.ts +2 -0
  98. package/dist-types/ts3.4/commands/DescribeConfigurationRevisionCommand.d.ts +2 -0
  99. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +2 -0
  100. package/dist-types/ts3.4/commands/ListBrokersCommand.d.ts +2 -0
  101. package/dist-types/ts3.4/commands/ListConfigurationRevisionsCommand.d.ts +2 -0
  102. package/dist-types/ts3.4/commands/ListConfigurationsCommand.d.ts +2 -0
  103. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -0
  104. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +2 -0
  105. package/dist-types/ts3.4/commands/RebootBrokerCommand.d.ts +2 -0
  106. package/dist-types/ts3.4/commands/UpdateBrokerCommand.d.ts +2 -0
  107. package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +2 -0
  108. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +2 -0
  109. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  110. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  111. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  112. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  113. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  114. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  115. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  116. package/package.json +5 -3
  117. package/dist-cjs/endpoints.js +0 -185
  118. package/dist-es/endpoints.js +0 -181
  119. package/dist-types/endpoints.d.ts +0 -2
  120. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,181 +0,0 @@
1
- import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
- "us-east-1": {
4
- variants: [
5
- {
6
- hostname: "mq-fips.us-east-1.amazonaws.com",
7
- tags: ["fips"],
8
- },
9
- ],
10
- },
11
- "us-east-2": {
12
- variants: [
13
- {
14
- hostname: "mq-fips.us-east-2.amazonaws.com",
15
- tags: ["fips"],
16
- },
17
- ],
18
- },
19
- "us-gov-east-1": {
20
- variants: [
21
- {
22
- hostname: "mq-fips.us-gov-east-1.amazonaws.com",
23
- tags: ["fips"],
24
- },
25
- ],
26
- },
27
- "us-gov-west-1": {
28
- variants: [
29
- {
30
- hostname: "mq-fips.us-gov-west-1.amazonaws.com",
31
- tags: ["fips"],
32
- },
33
- ],
34
- },
35
- "us-west-1": {
36
- variants: [
37
- {
38
- hostname: "mq-fips.us-west-1.amazonaws.com",
39
- tags: ["fips"],
40
- },
41
- ],
42
- },
43
- "us-west-2": {
44
- variants: [
45
- {
46
- hostname: "mq-fips.us-west-2.amazonaws.com",
47
- tags: ["fips"],
48
- },
49
- ],
50
- },
51
- };
52
- const partitionHash = {
53
- aws: {
54
- regions: [
55
- "af-south-1",
56
- "ap-east-1",
57
- "ap-northeast-1",
58
- "ap-northeast-2",
59
- "ap-northeast-3",
60
- "ap-south-1",
61
- "ap-southeast-1",
62
- "ap-southeast-2",
63
- "ap-southeast-3",
64
- "ca-central-1",
65
- "eu-central-1",
66
- "eu-north-1",
67
- "eu-south-1",
68
- "eu-west-1",
69
- "eu-west-2",
70
- "eu-west-3",
71
- "fips-us-east-1",
72
- "fips-us-east-2",
73
- "fips-us-west-1",
74
- "fips-us-west-2",
75
- "me-central-1",
76
- "me-south-1",
77
- "sa-east-1",
78
- "us-east-1",
79
- "us-east-2",
80
- "us-west-1",
81
- "us-west-2",
82
- ],
83
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
84
- variants: [
85
- {
86
- hostname: "mq.{region}.amazonaws.com",
87
- tags: [],
88
- },
89
- {
90
- hostname: "mq-fips.{region}.amazonaws.com",
91
- tags: ["fips"],
92
- },
93
- {
94
- hostname: "mq-fips.{region}.api.aws",
95
- tags: ["dualstack", "fips"],
96
- },
97
- {
98
- hostname: "mq.{region}.api.aws",
99
- tags: ["dualstack"],
100
- },
101
- ],
102
- },
103
- "aws-cn": {
104
- regions: ["cn-north-1", "cn-northwest-1"],
105
- regionRegex: "^cn\\-\\w+\\-\\d+$",
106
- variants: [
107
- {
108
- hostname: "mq.{region}.amazonaws.com.cn",
109
- tags: [],
110
- },
111
- {
112
- hostname: "mq-fips.{region}.amazonaws.com.cn",
113
- tags: ["fips"],
114
- },
115
- {
116
- hostname: "mq-fips.{region}.api.amazonwebservices.com.cn",
117
- tags: ["dualstack", "fips"],
118
- },
119
- {
120
- hostname: "mq.{region}.api.amazonwebservices.com.cn",
121
- tags: ["dualstack"],
122
- },
123
- ],
124
- },
125
- "aws-iso": {
126
- regions: ["us-iso-east-1", "us-iso-west-1"],
127
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
128
- variants: [
129
- {
130
- hostname: "mq.{region}.c2s.ic.gov",
131
- tags: [],
132
- },
133
- {
134
- hostname: "mq-fips.{region}.c2s.ic.gov",
135
- tags: ["fips"],
136
- },
137
- ],
138
- },
139
- "aws-iso-b": {
140
- regions: ["us-isob-east-1"],
141
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
142
- variants: [
143
- {
144
- hostname: "mq.{region}.sc2s.sgov.gov",
145
- tags: [],
146
- },
147
- {
148
- hostname: "mq-fips.{region}.sc2s.sgov.gov",
149
- tags: ["fips"],
150
- },
151
- ],
152
- },
153
- "aws-us-gov": {
154
- regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
155
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
156
- variants: [
157
- {
158
- hostname: "mq.{region}.amazonaws.com",
159
- tags: [],
160
- },
161
- {
162
- hostname: "mq-fips.{region}.amazonaws.com",
163
- tags: ["fips"],
164
- },
165
- {
166
- hostname: "mq-fips.{region}.api.aws",
167
- tags: ["dualstack", "fips"],
168
- },
169
- {
170
- hostname: "mq.{region}.api.aws",
171
- tags: ["dualstack"],
172
- },
173
- ],
174
- },
175
- };
176
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
177
- ...options,
178
- signingService: "mq",
179
- regionHash,
180
- partitionHash,
181
- });
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;