Skip to content

Commit 6e6a0a6

Browse files
author
awstools
committed
feat(client-backupsearch): Using recommended smithy trait to generate regional endpoints for Backup Search
1 parent 9e823ef commit 6e6a0a6

19 files changed

+293
-794
lines changed

clients/client-backupsearch/README.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,7 @@
66

77
AWS SDK for JavaScript BackupSearch Client for Node.js, Browser and React Native.
88

9-
<fullname>Backup Search</fullname>
10-
11-
<p>Backup Search is the recovery point and item level search for Backup.</p>
12-
<p>For additional information, see:</p>
13-
<ul>
14-
<li>
15-
<p>
16-
<a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/api-reference.html">Backup API Reference</a>
17-
</p>
18-
</li>
19-
<li>
20-
<p>
21-
<a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html">Backup
22-
Developer Guide</a>
23-
</p>
24-
</li>
25-
</ul>
9+
<fullname>Backup Search</fullname> <p>Backup Search is the recovery point and item level search for Backup.</p> <p>For additional information, see:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/api-reference.html">Backup API Reference</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html">Backup Developer Guide</a> </p> </li> </ul>
2610

2711
## Installing
2812

clients/client-backupsearch/src/BackupSearch.ts

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -254,22 +254,7 @@ export interface BackupSearch {
254254
}
255255

256256
/**
257-
* <fullname>Backup Search</fullname>
258-
* <p>Backup Search is the recovery point and item level search for Backup.</p>
259-
* <p>For additional information, see:</p>
260-
* <ul>
261-
* <li>
262-
* <p>
263-
* <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/api-reference.html">Backup API Reference</a>
264-
* </p>
265-
* </li>
266-
* <li>
267-
* <p>
268-
* <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html">Backup
269-
* Developer Guide</a>
270-
* </p>
271-
* </li>
272-
* </ul>
257+
* <fullname>Backup Search</fullname> <p>Backup Search is the recovery point and item level search for Backup.</p> <p>For additional information, see:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/api-reference.html">Backup API Reference</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html">Backup Developer Guide</a> </p> </li> </ul>
273258
* @public
274259
*/
275260
export class BackupSearch extends BackupSearchClient implements BackupSearch {}

clients/client-backupsearch/src/BackupSearchClient.ts

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -319,22 +319,7 @@ export type BackupSearchClientResolvedConfigType = __SmithyResolvedConfiguration
319319
export interface BackupSearchClientResolvedConfig extends BackupSearchClientResolvedConfigType {}
320320

321321
/**
322-
* <fullname>Backup Search</fullname>
323-
* <p>Backup Search is the recovery point and item level search for Backup.</p>
324-
* <p>For additional information, see:</p>
325-
* <ul>
326-
* <li>
327-
* <p>
328-
* <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/api-reference.html">Backup API Reference</a>
329-
* </p>
330-
* </li>
331-
* <li>
332-
* <p>
333-
* <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html">Backup
334-
* Developer Guide</a>
335-
* </p>
336-
* </li>
337-
* </ul>
322+
* <fullname>Backup Search</fullname> <p>Backup Search is the recovery point and item level search for Backup.</p> <p>For additional information, see:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/api-reference.html">Backup API Reference</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html">Backup Developer Guide</a> </p> </li> </ul>
338323
* @public
339324
*/
340325
export class BackupSearchClient extends __Client<

clients/client-backupsearch/src/commands/GetSearchJobCommand.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ export interface GetSearchJobCommandInput extends GetSearchJobInput {}
2828
export interface GetSearchJobCommandOutput extends GetSearchJobOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>This operation retrieves metadata of a search job,
32-
* including its progress.</p>
31+
* <p>This operation retrieves metadata of a search job, including its progress.</p>
3332
* @example
3433
* Use a bare-bones client and the command you need to make an API call.
3534
* ```javascript
@@ -152,9 +151,7 @@ export interface GetSearchJobCommandOutput extends GetSearchJobOutput, __Metadat
152151
* @see {@link BackupSearchClientResolvedConfig | config} for BackupSearchClient's `config` shape.
153152
*
154153
* @throws {@link ResourceNotFoundException} (client fault)
155-
* <p>The resource was not found for this request.</p>
156-
* <p>Confirm the resource information, such as the ARN or type is correct
157-
* and exists, then retry the request.</p>
154+
* <p>The resource was not found for this request.</p> <p>Confirm the resource information, such as the ARN or type is correct and exists, then retry the request.</p>
158155
*
159156
* @throws {@link AccessDeniedException} (client fault)
160157
* <p>You do not have sufficient access to perform this action.</p>

clients/client-backupsearch/src/commands/GetSearchResultExportJobCommand.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,7 @@ export interface GetSearchResultExportJobCommandInput extends GetSearchResultExp
2828
export interface GetSearchResultExportJobCommandOutput extends GetSearchResultExportJobOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>This operation retrieves the metadata of an export job.</p>
32-
* <p>An export job is an operation that transmits the results
33-
* of a search job to a specified S3 bucket in a
34-
* .csv file.</p>
35-
* <p>An export job allows you to retain results of a search
36-
* beyond the search job's scheduled retention of 7 days.</p>
31+
* <p>This operation retrieves the metadata of an export job.</p> <p>An export job is an operation that transmits the results of a search job to a specified S3 bucket in a .csv file.</p> <p>An export job allows you to retain results of a search beyond the search job's scheduled retention of 7 days.</p>
3732
* @example
3833
* Use a bare-bones client and the command you need to make an API call.
3934
* ```javascript
@@ -70,9 +65,7 @@ export interface GetSearchResultExportJobCommandOutput extends GetSearchResultEx
7065
* @see {@link BackupSearchClientResolvedConfig | config} for BackupSearchClient's `config` shape.
7166
*
7267
* @throws {@link ResourceNotFoundException} (client fault)
73-
* <p>The resource was not found for this request.</p>
74-
* <p>Confirm the resource information, such as the ARN or type is correct
75-
* and exists, then retry the request.</p>
68+
* <p>The resource was not found for this request.</p> <p>Confirm the resource information, such as the ARN or type is correct and exists, then retry the request.</p>
7669
*
7770
* @throws {@link AccessDeniedException} (client fault)
7871
* <p>You do not have sufficient access to perform this action.</p>

clients/client-backupsearch/src/commands/ListSearchJobBackupsCommand.ts

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,7 @@ export interface ListSearchJobBackupsCommandInput extends ListSearchJobBackupsIn
2828
export interface ListSearchJobBackupsCommandOutput extends ListSearchJobBackupsOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>This operation returns a list of all backups (recovery
32-
* points) in a paginated format that were included in
33-
* the search job.</p>
34-
* <p>If a search does not display an expected backup in
35-
* the results, you can call this operation to display each
36-
* backup included in the search. Any backups that were not
37-
* included because they have a <code>FAILED</code> status
38-
* from a permissions issue will be displayed, along with a
39-
* status message.</p>
40-
* <p>Only recovery points with a backup index that has
41-
* a status of <code>ACTIVE</code> will be included in search results.
42-
* If the index has any other status, its status will be
43-
* displayed along with a status message.</p>
31+
* <p>This operation returns a list of all backups (recovery points) in a paginated format that were included in the search job.</p> <p>If a search does not display an expected backup in the results, you can call this operation to display each backup included in the search. Any backups that were not included because they have a <code>FAILED</code> status from a permissions issue will be displayed, along with a status message.</p> <p>Only recovery points with a backup index that has a status of <code>ACTIVE</code> will be included in search results. If the index has any other status, its status will be displayed along with a status message.</p>
4432
* @example
4533
* Use a bare-bones client and the command you need to make an API call.
4634
* ```javascript
@@ -78,9 +66,7 @@ export interface ListSearchJobBackupsCommandOutput extends ListSearchJobBackupsO
7866
* @see {@link BackupSearchClientResolvedConfig | config} for BackupSearchClient's `config` shape.
7967
*
8068
* @throws {@link ResourceNotFoundException} (client fault)
81-
* <p>The resource was not found for this request.</p>
82-
* <p>Confirm the resource information, such as the ARN or type is correct
83-
* and exists, then retry the request.</p>
69+
* <p>The resource was not found for this request.</p> <p>Confirm the resource information, such as the ARN or type is correct and exists, then retry the request.</p>
8470
*
8571
* @throws {@link AccessDeniedException} (client fault)
8672
* <p>You do not have sufficient access to perform this action.</p>

clients/client-backupsearch/src/commands/ListSearchJobResultsCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,7 @@ export interface ListSearchJobResultsCommandOutput extends ListSearchJobResultsO
8383
* @see {@link BackupSearchClientResolvedConfig | config} for BackupSearchClient's `config` shape.
8484
*
8585
* @throws {@link ResourceNotFoundException} (client fault)
86-
* <p>The resource was not found for this request.</p>
87-
* <p>Confirm the resource information, such as the ARN or type is correct
88-
* and exists, then retry the request.</p>
86+
* <p>The resource was not found for this request.</p> <p>Confirm the resource information, such as the ARN or type is correct and exists, then retry the request.</p>
8987
*
9088
* @throws {@link AccessDeniedException} (client fault)
9189
* <p>You do not have sufficient access to perform this action.</p>

clients/client-backupsearch/src/commands/ListSearchJobsCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ export interface ListSearchJobsCommandInput extends ListSearchJobsInput {}
2828
export interface ListSearchJobsCommandOutput extends ListSearchJobsOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>This operation returns a list of search jobs belonging
32-
* to an account.</p>
31+
* <p>This operation returns a list of search jobs belonging to an account.</p>
3332
* @example
3433
* Use a bare-bones client and the command you need to make an API call.
3534
* ```javascript

clients/client-backupsearch/src/commands/ListSearchResultExportJobsCommand.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ export interface ListSearchResultExportJobsCommandInput extends ListSearchResult
2828
export interface ListSearchResultExportJobsCommandOutput extends ListSearchResultExportJobsOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>This operation exports search results of a search job
32-
* to a specified destination S3 bucket.</p>
31+
* <p>This operation exports search results of a search job to a specified destination S3 bucket.</p>
3332
* @example
3433
* Use a bare-bones client and the command you need to make an API call.
3534
* ```javascript
@@ -68,9 +67,7 @@ export interface ListSearchResultExportJobsCommandOutput extends ListSearchResul
6867
* @see {@link BackupSearchClientResolvedConfig | config} for BackupSearchClient's `config` shape.
6968
*
7069
* @throws {@link ResourceNotFoundException} (client fault)
71-
* <p>The resource was not found for this request.</p>
72-
* <p>Confirm the resource information, such as the ARN or type is correct
73-
* and exists, then retry the request.</p>
70+
* <p>The resource was not found for this request.</p> <p>Confirm the resource information, such as the ARN or type is correct and exists, then retry the request.</p>
7471
*
7572
* @throws {@link ServiceQuotaExceededException} (client fault)
7673
* <p>The request denied due to exceeding the quota limits permitted.</p>

clients/client-backupsearch/src/commands/ListTagsForResourceCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
5555
* @see {@link BackupSearchClientResolvedConfig | config} for BackupSearchClient's `config` shape.
5656
*
5757
* @throws {@link ResourceNotFoundException} (client fault)
58-
* <p>The resource was not found for this request.</p>
59-
* <p>Confirm the resource information, such as the ARN or type is correct
60-
* and exists, then retry the request.</p>
58+
* <p>The resource was not found for this request.</p> <p>Confirm the resource information, such as the ARN or type is correct and exists, then retry the request.</p>
6159
*
6260
* @throws {@link AccessDeniedException} (client fault)
6361
* <p>You do not have sufficient access to perform this action.</p>

0 commit comments

Comments
 (0)