/
api-2.json
215 lines (215 loc) · 5.42 KB
/
api-2.json
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
{
"version":"2.0",
"metadata":{
"apiVersion":"2021-11-11",
"endpointPrefix":"appconfigdata",
"jsonVersion":"1.0",
"protocol":"rest-json",
"serviceFullName":"AWS AppConfig Data",
"serviceId":"AppConfigData",
"signatureVersion":"v4",
"signingName":"appconfig",
"uid":"appconfigdata-2021-11-11"
},
"operations":{
"GetLatestConfiguration":{
"name":"GetLatestConfiguration",
"http":{
"method":"GET",
"requestUri":"/configuration",
"responseCode":200
},
"input":{"shape":"GetLatestConfigurationRequest"},
"output":{"shape":"GetLatestConfigurationResponse"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"ResourceNotFoundException"},
{"shape":"BadRequestException"},
{"shape":"InternalServerException"}
]
},
"StartConfigurationSession":{
"name":"StartConfigurationSession",
"http":{
"method":"POST",
"requestUri":"/configurationsessions",
"responseCode":201
},
"input":{"shape":"StartConfigurationSessionRequest"},
"output":{"shape":"StartConfigurationSessionResponse"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"ResourceNotFoundException"},
{"shape":"BadRequestException"},
{"shape":"InternalServerException"}
]
}
},
"shapes":{
"BadRequestDetails":{
"type":"structure",
"members":{
"InvalidParameters":{"shape":"InvalidParameterMap"}
},
"union":true
},
"BadRequestException":{
"type":"structure",
"members":{
"Message":{"shape":"String"},
"Reason":{"shape":"BadRequestReason"},
"Details":{"shape":"BadRequestDetails"}
},
"error":{
"httpStatusCode":400,
"senderFault":true
},
"exception":true
},
"BadRequestReason":{
"type":"string",
"enum":["InvalidParameters"]
},
"GetLatestConfigurationRequest":{
"type":"structure",
"required":["ConfigurationToken"],
"members":{
"ConfigurationToken":{
"shape":"Token",
"location":"querystring",
"locationName":"configuration_token"
}
}
},
"GetLatestConfigurationResponse":{
"type":"structure",
"members":{
"NextPollConfigurationToken":{
"shape":"Token",
"location":"header",
"locationName":"Next-Poll-Configuration-Token"
},
"NextPollIntervalInSeconds":{
"shape":"Integer",
"location":"header",
"locationName":"Next-Poll-Interval-In-Seconds"
},
"ContentType":{
"shape":"String",
"location":"header",
"locationName":"Content-Type"
},
"Configuration":{"shape":"SyntheticGetLatestConfigurationResponseBlob"}
},
"payload":"Configuration"
},
"Identifier":{
"type":"string",
"max":64,
"min":1
},
"Integer":{"type":"integer"},
"InternalServerException":{
"type":"structure",
"members":{
"Message":{"shape":"String"}
},
"error":{"httpStatusCode":500},
"exception":true,
"fault":true
},
"InvalidParameterDetail":{
"type":"structure",
"members":{
"Problem":{"shape":"InvalidParameterProblem"}
}
},
"InvalidParameterMap":{
"type":"map",
"key":{"shape":"String"},
"value":{"shape":"InvalidParameterDetail"}
},
"InvalidParameterProblem":{
"type":"string",
"enum":[
"Corrupted",
"Expired",
"PollIntervalNotSatisfied"
]
},
"OptionalPollSeconds":{
"type":"integer",
"box":true,
"max":86400,
"min":15
},
"ResourceNotFoundException":{
"type":"structure",
"members":{
"Message":{"shape":"String"},
"ResourceType":{"shape":"ResourceType"},
"ReferencedBy":{"shape":"StringMap"}
},
"error":{
"httpStatusCode":404,
"senderFault":true
},
"exception":true
},
"ResourceType":{
"type":"string",
"enum":[
"Application",
"ConfigurationProfile",
"Deployment",
"Environment",
"Configuration"
]
},
"StartConfigurationSessionRequest":{
"type":"structure",
"required":[
"ApplicationIdentifier",
"EnvironmentIdentifier",
"ConfigurationProfileIdentifier"
],
"members":{
"ApplicationIdentifier":{"shape":"Identifier"},
"EnvironmentIdentifier":{"shape":"Identifier"},
"ConfigurationProfileIdentifier":{"shape":"Identifier"},
"RequiredMinimumPollIntervalInSeconds":{"shape":"OptionalPollSeconds"}
}
},
"StartConfigurationSessionResponse":{
"type":"structure",
"members":{
"InitialConfigurationToken":{"shape":"Token"}
}
},
"String":{"type":"string"},
"StringMap":{
"type":"map",
"key":{"shape":"String"},
"value":{"shape":"String"}
},
"SyntheticGetLatestConfigurationResponseBlob":{
"type":"blob",
"sensitive":true
},
"ThrottlingException":{
"type":"structure",
"members":{
"Message":{"shape":"String"}
},
"error":{
"httpStatusCode":429,
"senderFault":true
},
"exception":true
},
"Token":{
"type":"string",
"pattern":"\\S{1,8192}"
}
}
}