elasticinference.d.ts
4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config';
interface Blob {}
declare class ElasticInference extends Service {
/**
* Constructs a service object. This object has one method for each API operation.
*/
constructor(options?: ElasticInference.Types.ClientConfiguration)
config: Config & ElasticInference.Types.ClientConfiguration;
/**
* Returns all tags of an Elastic Inference Accelerator.
*/
listTagsForResource(params: ElasticInference.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: ElasticInference.Types.ListTagsForResourceResult) => void): Request<ElasticInference.Types.ListTagsForResourceResult, AWSError>;
/**
* Returns all tags of an Elastic Inference Accelerator.
*/
listTagsForResource(callback?: (err: AWSError, data: ElasticInference.Types.ListTagsForResourceResult) => void): Request<ElasticInference.Types.ListTagsForResourceResult, AWSError>;
/**
* Adds the specified tag(s) to an Elastic Inference Accelerator.
*/
tagResource(params: ElasticInference.Types.TagResourceRequest, callback?: (err: AWSError, data: ElasticInference.Types.TagResourceResult) => void): Request<ElasticInference.Types.TagResourceResult, AWSError>;
/**
* Adds the specified tag(s) to an Elastic Inference Accelerator.
*/
tagResource(callback?: (err: AWSError, data: ElasticInference.Types.TagResourceResult) => void): Request<ElasticInference.Types.TagResourceResult, AWSError>;
/**
* Removes the specified tag(s) from an Elastic Inference Accelerator.
*/
untagResource(params: ElasticInference.Types.UntagResourceRequest, callback?: (err: AWSError, data: ElasticInference.Types.UntagResourceResult) => void): Request<ElasticInference.Types.UntagResourceResult, AWSError>;
/**
* Removes the specified tag(s) from an Elastic Inference Accelerator.
*/
untagResource(callback?: (err: AWSError, data: ElasticInference.Types.UntagResourceResult) => void): Request<ElasticInference.Types.UntagResourceResult, AWSError>;
}
declare namespace ElasticInference {
export interface ListTagsForResourceRequest {
/**
* The ARN of the Elastic Inference Accelerator to list the tags for.
*/
resourceArn: ResourceARN;
}
export interface ListTagsForResourceResult {
/**
* The tags of the Elastic Inference Accelerator.
*/
tags?: TagMap;
}
export type ResourceARN = string;
export type TagKey = string;
export type TagKeyList = TagKey[];
export type TagMap = {[key: string]: TagValue};
export interface TagResourceRequest {
/**
* The ARN of the Elastic Inference Accelerator to tag.
*/
resourceArn: ResourceARN;
/**
* The tags to add to the Elastic Inference Accelerator.
*/
tags: TagMap;
}
export interface TagResourceResult {
}
export type TagValue = string;
export interface UntagResourceRequest {
/**
* The ARN of the Elastic Inference Accelerator to untag.
*/
resourceArn: ResourceARN;
/**
* The list of tags to remove from the Elastic Inference Accelerator.
*/
tagKeys: TagKeyList;
}
export interface UntagResourceResult {
}
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
export type apiVersion = "2017-07-25"|"latest"|string;
export interface ClientApiVersions {
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
apiVersion?: apiVersion;
}
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
/**
* Contains interfaces for use with the ElasticInference client.
*/
export import Types = ElasticInference;
}
export = ElasticInference;