@aws-sdk/client-amp 3.775.0 → 3.777.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-types/commands/CreateAlertManagerDefinitionCommand.d.ts +1 -0
- package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/CreateRuleGroupsNamespaceCommand.d.ts +1 -0
- package/dist-types/commands/CreateScraperCommand.d.ts +46 -0
- package/dist-types/commands/CreateWorkspaceCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAlertManagerDefinitionCommand.d.ts +1 -0
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRuleGroupsNamespaceCommand.d.ts +1 -0
- package/dist-types/commands/DeleteScraperCommand.d.ts +20 -0
- package/dist-types/commands/DeleteWorkspaceCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAlertManagerDefinitionCommand.d.ts +1 -0
- package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DescribeRuleGroupsNamespaceCommand.d.ts +1 -0
- package/dist-types/commands/DescribeScraperCommand.d.ts +48 -0
- package/dist-types/commands/DescribeWorkspaceCommand.d.ts +1 -0
- package/dist-types/commands/GetDefaultScraperConfigurationCommand.d.ts +14 -0
- package/dist-types/commands/ListRuleGroupsNamespacesCommand.d.ts +1 -0
- package/dist-types/commands/ListScrapersCommand.d.ts +134 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/ListWorkspacesCommand.d.ts +1 -0
- package/dist-types/commands/PutAlertManagerDefinitionCommand.d.ts +1 -0
- package/dist-types/commands/PutRuleGroupsNamespaceCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateScraperCommand.d.ts +33 -0
- package/dist-types/commands/UpdateWorkspaceAliasCommand.d.ts +1 -0
- package/package.json +2 -2
|
@@ -84,6 +84,7 @@ declare const CreateAlertManagerDefinitionCommand_base: {
|
|
|
84
84
|
* @throws {@link AmpServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
86
86
|
*
|
|
87
|
+
*
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
89
90
|
export declare class CreateAlertManagerDefinitionCommand extends CreateAlertManagerDefinitionCommand_base {
|
|
@@ -74,6 +74,7 @@ declare const CreateLoggingConfigurationCommand_base: {
|
|
|
74
74
|
* @throws {@link AmpServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
76
76
|
*
|
|
77
|
+
*
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class CreateLoggingConfigurationCommand extends CreateLoggingConfigurationCommand_base {
|
|
@@ -94,6 +94,7 @@ declare const CreateRuleGroupsNamespaceCommand_base: {
|
|
|
94
94
|
* @throws {@link AmpServiceException}
|
|
95
95
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
96
96
|
*
|
|
97
|
+
*
|
|
97
98
|
* @public
|
|
98
99
|
*/
|
|
99
100
|
export declare class CreateRuleGroupsNamespaceCommand extends CreateRuleGroupsNamespaceCommand_base {
|
|
@@ -127,6 +127,52 @@ declare const CreateScraperCommand_base: {
|
|
|
127
127
|
* @throws {@link AmpServiceException}
|
|
128
128
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
129
129
|
*
|
|
130
|
+
*
|
|
131
|
+
* @example CreateScraper with optional alias input, optional clientToken input, and one set of tags
|
|
132
|
+
* ```javascript
|
|
133
|
+
* //
|
|
134
|
+
* const input = {
|
|
135
|
+
* alias: "alias",
|
|
136
|
+
* clientToken: "token",
|
|
137
|
+
* destination: {
|
|
138
|
+
* ampConfiguration: {
|
|
139
|
+
* workspaceArn: "arn:aws:aps:us-west-2:123456789012:workspace/ws-ogh2u499-ce12-hg89-v6c7-123412341234"
|
|
140
|
+
* }
|
|
141
|
+
* },
|
|
142
|
+
* scrapeConfiguration: {
|
|
143
|
+
* configurationBlob: "blob"
|
|
144
|
+
* },
|
|
145
|
+
* source: {
|
|
146
|
+
* eksConfiguration: {
|
|
147
|
+
* clusterArn: "arn:aws:eks:us-west-2:123456789012:cluster/example",
|
|
148
|
+
* securityGroupIds: [
|
|
149
|
+
* "sg-abc123"
|
|
150
|
+
* ],
|
|
151
|
+
* subnetIds: [
|
|
152
|
+
* "subnet-abc123"
|
|
153
|
+
* ]
|
|
154
|
+
* }
|
|
155
|
+
* },
|
|
156
|
+
* tags: {
|
|
157
|
+
* exampleTag: "exampleValue"
|
|
158
|
+
* }
|
|
159
|
+
* };
|
|
160
|
+
* const command = new CreateScraperCommand(input);
|
|
161
|
+
* const response = await client.send(command);
|
|
162
|
+
* /* response is
|
|
163
|
+
* {
|
|
164
|
+
* arn: "arn:aws:aps:us-west-2:123456789012:scraper/scraper-123",
|
|
165
|
+
* scraperId: "scraper-123",
|
|
166
|
+
* status: {
|
|
167
|
+
* statusCode: "CREATING"
|
|
168
|
+
* },
|
|
169
|
+
* tags: {
|
|
170
|
+
* exampleTag: "exampleValue"
|
|
171
|
+
* }
|
|
172
|
+
* }
|
|
173
|
+
* *\/
|
|
174
|
+
* ```
|
|
175
|
+
*
|
|
130
176
|
* @public
|
|
131
177
|
*/
|
|
132
178
|
export declare class CreateScraperCommand extends CreateScraperCommand_base {
|
|
@@ -88,6 +88,7 @@ declare const CreateWorkspaceCommand_base: {
|
|
|
88
88
|
* @throws {@link AmpServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
90
90
|
*
|
|
91
|
+
*
|
|
91
92
|
* @public
|
|
92
93
|
*/
|
|
93
94
|
export declare class CreateWorkspaceCommand extends CreateWorkspaceCommand_base {
|
|
@@ -72,6 +72,7 @@ declare const DeleteAlertManagerDefinitionCommand_base: {
|
|
|
72
72
|
* @throws {@link AmpServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class DeleteAlertManagerDefinitionCommand extends DeleteAlertManagerDefinitionCommand_base {
|
|
@@ -69,6 +69,7 @@ declare const DeleteLoggingConfigurationCommand_base: {
|
|
|
69
69
|
* @throws {@link AmpServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
71
71
|
*
|
|
72
|
+
*
|
|
72
73
|
* @public
|
|
73
74
|
*/
|
|
74
75
|
export declare class DeleteLoggingConfigurationCommand extends DeleteLoggingConfigurationCommand_base {
|
|
@@ -73,6 +73,7 @@ declare const DeleteRuleGroupsNamespaceCommand_base: {
|
|
|
73
73
|
* @throws {@link AmpServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
75
75
|
*
|
|
76
|
+
*
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class DeleteRuleGroupsNamespaceCommand extends DeleteRuleGroupsNamespaceCommand_base {
|
|
@@ -78,6 +78,26 @@ declare const DeleteScraperCommand_base: {
|
|
|
78
78
|
* @throws {@link AmpServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
80
80
|
*
|
|
81
|
+
*
|
|
82
|
+
* @example DeleteScraper with optional clientToken input
|
|
83
|
+
* ```javascript
|
|
84
|
+
* //
|
|
85
|
+
* const input = {
|
|
86
|
+
* clientToken: "token",
|
|
87
|
+
* scraperId: "scraper-123"
|
|
88
|
+
* };
|
|
89
|
+
* const command = new DeleteScraperCommand(input);
|
|
90
|
+
* const response = await client.send(command);
|
|
91
|
+
* /* response is
|
|
92
|
+
* {
|
|
93
|
+
* scraperId: "scraper-123",
|
|
94
|
+
* status: {
|
|
95
|
+
* statusCode: "DELETING"
|
|
96
|
+
* }
|
|
97
|
+
* }
|
|
98
|
+
* *\/
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
81
101
|
* @public
|
|
82
102
|
*/
|
|
83
103
|
export declare class DeleteScraperCommand extends DeleteScraperCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const DeleteWorkspaceCommand_base: {
|
|
|
76
76
|
* @throws {@link AmpServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class DeleteWorkspaceCommand extends DeleteWorkspaceCommand_base {
|
|
@@ -79,6 +79,7 @@ declare const DescribeAlertManagerDefinitionCommand_base: {
|
|
|
79
79
|
* @throws {@link AmpServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
81
81
|
*
|
|
82
|
+
*
|
|
82
83
|
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class DescribeAlertManagerDefinitionCommand extends DescribeAlertManagerDefinitionCommand_base {
|
|
@@ -77,6 +77,7 @@ declare const DescribeLoggingConfigurationCommand_base: {
|
|
|
77
77
|
* @throws {@link AmpServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
79
79
|
*
|
|
80
|
+
*
|
|
80
81
|
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class DescribeLoggingConfigurationCommand extends DescribeLoggingConfigurationCommand_base {
|
|
@@ -85,6 +85,7 @@ declare const DescribeRuleGroupsNamespaceCommand_base: {
|
|
|
85
85
|
* @throws {@link AmpServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
87
87
|
*
|
|
88
|
+
*
|
|
88
89
|
* @public
|
|
89
90
|
*/
|
|
90
91
|
export declare class DescribeRuleGroupsNamespaceCommand extends DescribeRuleGroupsNamespaceCommand_base {
|
|
@@ -108,6 +108,54 @@ declare const DescribeScraperCommand_base: {
|
|
|
108
108
|
* @throws {@link AmpServiceException}
|
|
109
109
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
110
110
|
*
|
|
111
|
+
*
|
|
112
|
+
* @example DescribeScraper, with no statusReason to report
|
|
113
|
+
* ```javascript
|
|
114
|
+
* //
|
|
115
|
+
* const input = {
|
|
116
|
+
* scraperId: "scraper-123"
|
|
117
|
+
* };
|
|
118
|
+
* const command = new DescribeScraperCommand(input);
|
|
119
|
+
* const response = await client.send(command);
|
|
120
|
+
* /* response is
|
|
121
|
+
* {
|
|
122
|
+
* scraper: {
|
|
123
|
+
* alias: "alias",
|
|
124
|
+
* arn: "arn:aws:aps:us-west-2:123456789012:scraper/scraper-123",
|
|
125
|
+
* createdAt: "2023-01-01T00:00:00Z",
|
|
126
|
+
* destination: {
|
|
127
|
+
* ampConfiguration: {
|
|
128
|
+
* workspaceArn: "arn:aws:aps:us-west-2:123456789012:workspace/ws-ogh2u499-ce12-hg89-v6c7-123412341234"
|
|
129
|
+
* }
|
|
130
|
+
* },
|
|
131
|
+
* lastModifiedAt: "2020-01-02T00:00:00Z",
|
|
132
|
+
* roleArn: "arn:aws:iam::123456789012:role/exampleRole",
|
|
133
|
+
* scrapeConfiguration: {
|
|
134
|
+
* configurationBlob: "blob"
|
|
135
|
+
* },
|
|
136
|
+
* scraperId: "scraper-123",
|
|
137
|
+
* source: {
|
|
138
|
+
* eksConfiguration: {
|
|
139
|
+
* clusterArn: "arn:aws:eks:us-west-2:123456789012:cluster/example",
|
|
140
|
+
* securityGroupIds: [
|
|
141
|
+
* "sg-abc123"
|
|
142
|
+
* ],
|
|
143
|
+
* subnetIds: [
|
|
144
|
+
* "subnet-abc123"
|
|
145
|
+
* ]
|
|
146
|
+
* }
|
|
147
|
+
* },
|
|
148
|
+
* status: {
|
|
149
|
+
* statusCode: "ACTIVE"
|
|
150
|
+
* },
|
|
151
|
+
* tags: {
|
|
152
|
+
* exampleTag: "exampleValue"
|
|
153
|
+
* }
|
|
154
|
+
* }
|
|
155
|
+
* }
|
|
156
|
+
* *\/
|
|
157
|
+
* ```
|
|
158
|
+
*
|
|
111
159
|
* @public
|
|
112
160
|
*/
|
|
113
161
|
export declare class DescribeScraperCommand extends DescribeScraperCommand_base {
|
|
@@ -83,6 +83,7 @@ declare const DescribeWorkspaceCommand_base: {
|
|
|
83
83
|
* @throws {@link AmpServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
85
85
|
*
|
|
86
|
+
*
|
|
86
87
|
* @public
|
|
87
88
|
*/
|
|
88
89
|
export declare class DescribeWorkspaceCommand extends DescribeWorkspaceCommand_base {
|
|
@@ -62,6 +62,20 @@ declare const GetDefaultScraperConfigurationCommand_base: {
|
|
|
62
62
|
* @throws {@link AmpServiceException}
|
|
63
63
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
64
64
|
*
|
|
65
|
+
*
|
|
66
|
+
* @example GetDefaultScraperConfiguration
|
|
67
|
+
* ```javascript
|
|
68
|
+
* //
|
|
69
|
+
* const input = { /* empty *\/ };
|
|
70
|
+
* const command = new GetDefaultScraperConfigurationCommand(input);
|
|
71
|
+
* const response = await client.send(command);
|
|
72
|
+
* /* response is
|
|
73
|
+
* {
|
|
74
|
+
* configuration: "blob"
|
|
75
|
+
* }
|
|
76
|
+
* *\/
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
65
79
|
* @public
|
|
66
80
|
*/
|
|
67
81
|
export declare class GetDefaultScraperConfigurationCommand extends GetDefaultScraperConfigurationCommand_base {
|
|
@@ -88,6 +88,7 @@ declare const ListRuleGroupsNamespacesCommand_base: {
|
|
|
88
88
|
* @throws {@link AmpServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
90
90
|
*
|
|
91
|
+
*
|
|
91
92
|
* @public
|
|
92
93
|
*/
|
|
93
94
|
export declare class ListRuleGroupsNamespacesCommand extends ListRuleGroupsNamespacesCommand_base {
|
|
@@ -112,6 +112,140 @@ declare const ListScrapersCommand_base: {
|
|
|
112
112
|
* @throws {@link AmpServiceException}
|
|
113
113
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
114
114
|
*
|
|
115
|
+
*
|
|
116
|
+
* @example ListScrapers, with a max result of 2, using a pagination token from a previous call to ListScrapers
|
|
117
|
+
* ```javascript
|
|
118
|
+
* //
|
|
119
|
+
* const input = {
|
|
120
|
+
* maxResults: 2,
|
|
121
|
+
* nextToken: "previouslyGeneratedToken"
|
|
122
|
+
* };
|
|
123
|
+
* const command = new ListScrapersCommand(input);
|
|
124
|
+
* const response = await client.send(command);
|
|
125
|
+
* /* response is
|
|
126
|
+
* {
|
|
127
|
+
* scrapers: [
|
|
128
|
+
* {
|
|
129
|
+
* alias: "alias1",
|
|
130
|
+
* arn: "arn:aws:aps:us-west-2:123456789012:scraper/scraper-123",
|
|
131
|
+
* createdAt: "2023-01-01T00:00:00Z",
|
|
132
|
+
* destination: {
|
|
133
|
+
* ampConfiguration: {
|
|
134
|
+
* workspaceArn: "arn:aws:aps:us-west-2:123456789012:workspace/ws-ogh2u499-ce12-hg89-v6c7-123412341234"
|
|
135
|
+
* }
|
|
136
|
+
* },
|
|
137
|
+
* lastModifiedAt: "2020-01-02T00:00:00Z",
|
|
138
|
+
* roleArn: "arn:aws:iam::123456789012:role/exampleRole",
|
|
139
|
+
* scraperId: "scraper-123",
|
|
140
|
+
* source: {
|
|
141
|
+
* eksConfiguration: {
|
|
142
|
+
* clusterArn: "arn:aws:eks:us-west-2:123456789012:cluster/example1",
|
|
143
|
+
* securityGroupIds: [
|
|
144
|
+
* "sg-abc123"
|
|
145
|
+
* ],
|
|
146
|
+
* subnetIds: [
|
|
147
|
+
* "subnet-abc123"
|
|
148
|
+
* ]
|
|
149
|
+
* }
|
|
150
|
+
* },
|
|
151
|
+
* status: {
|
|
152
|
+
* statusCode: "ACTIVE"
|
|
153
|
+
* },
|
|
154
|
+
* tags: {
|
|
155
|
+
* exampleTag: "exampleValue"
|
|
156
|
+
* }
|
|
157
|
+
* },
|
|
158
|
+
* {
|
|
159
|
+
* alias: "alias2",
|
|
160
|
+
* arn: "arn:aws:aps:us-west-2:123456789012:scraper/scraper-456",
|
|
161
|
+
* createdAt: "2023-01-01T00:00:00Z",
|
|
162
|
+
* destination: {
|
|
163
|
+
* ampConfiguration: {
|
|
164
|
+
* workspaceArn: "arn:aws:aps:us-west-2:123456789012:workspace/ws-ogh2u499-ce12-hg89-v6c7-123412341234"
|
|
165
|
+
* }
|
|
166
|
+
* },
|
|
167
|
+
* lastModifiedAt: "2020-01-02T00:00:00Z",
|
|
168
|
+
* roleArn: "arn:aws:iam::123456789012:role/exampleRole",
|
|
169
|
+
* scraperId: "scraper-456",
|
|
170
|
+
* source: {
|
|
171
|
+
* eksConfiguration: {
|
|
172
|
+
* clusterArn: "arn:aws:eks:us-west-2:123456789012:cluster/example2",
|
|
173
|
+
* securityGroupIds: [
|
|
174
|
+
* "sg-abc456"
|
|
175
|
+
* ],
|
|
176
|
+
* subnetIds: [
|
|
177
|
+
* "subnet-abc456"
|
|
178
|
+
* ]
|
|
179
|
+
* }
|
|
180
|
+
* },
|
|
181
|
+
* status: {
|
|
182
|
+
* statusCode: "CREATING"
|
|
183
|
+
* },
|
|
184
|
+
* tags: {
|
|
185
|
+
* exampleTag: "exampleValue"
|
|
186
|
+
* }
|
|
187
|
+
* }
|
|
188
|
+
* ]
|
|
189
|
+
* }
|
|
190
|
+
* *\/
|
|
191
|
+
* ```
|
|
192
|
+
*
|
|
193
|
+
* @example ListScrapers, with filters
|
|
194
|
+
* ```javascript
|
|
195
|
+
* //
|
|
196
|
+
* const input = {
|
|
197
|
+
* filters: {
|
|
198
|
+
* alias: [
|
|
199
|
+
* "alias1"
|
|
200
|
+
* ],
|
|
201
|
+
* sourceArn: [
|
|
202
|
+
* "arn:aws:eks:us-west-2:123456789012:cluster/example1"
|
|
203
|
+
* ],
|
|
204
|
+
* status: [
|
|
205
|
+
* "ACTIVE"
|
|
206
|
+
* ]
|
|
207
|
+
* }
|
|
208
|
+
* };
|
|
209
|
+
* const command = new ListScrapersCommand(input);
|
|
210
|
+
* const response = await client.send(command);
|
|
211
|
+
* /* response is
|
|
212
|
+
* {
|
|
213
|
+
* scrapers: [
|
|
214
|
+
* {
|
|
215
|
+
* alias: "alias1",
|
|
216
|
+
* arn: "arn:aws:aps:us-west-2:123456789012:scraper/scraper-123",
|
|
217
|
+
* createdAt: "2023-01-01T00:00:00Z",
|
|
218
|
+
* destination: {
|
|
219
|
+
* ampConfiguration: {
|
|
220
|
+
* workspaceArn: "arn:aws:aps:us-west-2:123456789012:workspace/ws-ogh2u499-ce12-hg89-v6c7-123412341234"
|
|
221
|
+
* }
|
|
222
|
+
* },
|
|
223
|
+
* lastModifiedAt: "2020-01-02T00:00:00Z",
|
|
224
|
+
* roleArn: "arn:aws:iam::123456789012:role/exampleRole",
|
|
225
|
+
* scraperId: "scraper-123",
|
|
226
|
+
* source: {
|
|
227
|
+
* eksConfiguration: {
|
|
228
|
+
* clusterArn: "arn:aws:eks:us-west-2:123456789012:cluster/example1",
|
|
229
|
+
* securityGroupIds: [
|
|
230
|
+
* "sg-abc123"
|
|
231
|
+
* ],
|
|
232
|
+
* subnetIds: [
|
|
233
|
+
* "subnet-abc123"
|
|
234
|
+
* ]
|
|
235
|
+
* }
|
|
236
|
+
* },
|
|
237
|
+
* status: {
|
|
238
|
+
* statusCode: "ACTIVE"
|
|
239
|
+
* },
|
|
240
|
+
* tags: {
|
|
241
|
+
* exampleTag: "exampleValue"
|
|
242
|
+
* }
|
|
243
|
+
* }
|
|
244
|
+
* ]
|
|
245
|
+
* }
|
|
246
|
+
* *\/
|
|
247
|
+
* ```
|
|
248
|
+
*
|
|
115
249
|
* @public
|
|
116
250
|
*/
|
|
117
251
|
export declare class ListScrapersCommand extends ListScrapersCommand_base {
|
|
@@ -74,6 +74,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
74
74
|
* @throws {@link AmpServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
76
76
|
*
|
|
77
|
+
*
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
@@ -85,6 +85,7 @@ declare const ListWorkspacesCommand_base: {
|
|
|
85
85
|
* @throws {@link AmpServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
87
87
|
*
|
|
88
|
+
*
|
|
88
89
|
* @public
|
|
89
90
|
*/
|
|
90
91
|
export declare class ListWorkspacesCommand extends ListWorkspacesCommand_base {
|
|
@@ -83,6 +83,7 @@ declare const PutAlertManagerDefinitionCommand_base: {
|
|
|
83
83
|
* @throws {@link AmpServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
85
85
|
*
|
|
86
|
+
*
|
|
86
87
|
* @public
|
|
87
88
|
*/
|
|
88
89
|
export declare class PutAlertManagerDefinitionCommand extends PutAlertManagerDefinitionCommand_base {
|
|
@@ -93,6 +93,7 @@ declare const PutRuleGroupsNamespaceCommand_base: {
|
|
|
93
93
|
* @throws {@link AmpServiceException}
|
|
94
94
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
95
95
|
*
|
|
96
|
+
*
|
|
96
97
|
* @public
|
|
97
98
|
*/
|
|
98
99
|
export declare class PutRuleGroupsNamespaceCommand extends PutRuleGroupsNamespaceCommand_base {
|
|
@@ -77,6 +77,7 @@ declare const TagResourceCommand_base: {
|
|
|
77
77
|
* @throws {@link AmpServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
79
79
|
*
|
|
80
|
+
*
|
|
80
81
|
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
@@ -72,6 +72,7 @@ declare const UntagResourceCommand_base: {
|
|
|
72
72
|
* @throws {@link AmpServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const UpdateLoggingConfigurationCommand_base: {
|
|
|
76
76
|
* @throws {@link AmpServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class UpdateLoggingConfigurationCommand extends UpdateLoggingConfigurationCommand_base {
|
|
@@ -100,6 +100,39 @@ declare const UpdateScraperCommand_base: {
|
|
|
100
100
|
* @throws {@link AmpServiceException}
|
|
101
101
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
102
102
|
*
|
|
103
|
+
*
|
|
104
|
+
* @example UpdateScraper with all optional parameters
|
|
105
|
+
* ```javascript
|
|
106
|
+
* //
|
|
107
|
+
* const input = {
|
|
108
|
+
* alias: "alias-update",
|
|
109
|
+
* clientToken: "token",
|
|
110
|
+
* destination: {
|
|
111
|
+
* ampConfiguration: {
|
|
112
|
+
* workspaceArn: "arn:aws:aps:us-west-2:123456789012:workspace/ws-ogh2u499-ce12-hg89-v6c7-123412341234-update"
|
|
113
|
+
* }
|
|
114
|
+
* },
|
|
115
|
+
* scrapeConfiguration: {
|
|
116
|
+
* configurationBlob: "blob-update"
|
|
117
|
+
* },
|
|
118
|
+
* scraperId: "scraper-123"
|
|
119
|
+
* };
|
|
120
|
+
* const command = new UpdateScraperCommand(input);
|
|
121
|
+
* const response = await client.send(command);
|
|
122
|
+
* /* response is
|
|
123
|
+
* {
|
|
124
|
+
* arn: "arn:aws:aps:us-west-2:123456789012:scraper/scraper-123",
|
|
125
|
+
* scraperId: "scraper-123",
|
|
126
|
+
* status: {
|
|
127
|
+
* statusCode: "UPDATING"
|
|
128
|
+
* },
|
|
129
|
+
* tags: {
|
|
130
|
+
* exampleTag: "exampleValue"
|
|
131
|
+
* }
|
|
132
|
+
* }
|
|
133
|
+
* *\/
|
|
134
|
+
* ```
|
|
135
|
+
*
|
|
103
136
|
* @public
|
|
104
137
|
*/
|
|
105
138
|
export declare class UpdateScraperCommand extends UpdateScraperCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const UpdateWorkspaceAliasCommand_base: {
|
|
|
76
76
|
* @throws {@link AmpServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class UpdateWorkspaceAliasCommand extends UpdateWorkspaceAliasCommand_base {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amp",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.777.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-amp",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.777.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|