|
112 | 112 | "traits": { |
113 | 113 | "smithy.api#documentation": "<p>A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.</p>" |
114 | 114 | } |
| 115 | + }, |
| 116 | + "State": { |
| 117 | + "target": "com.amazonaws.chatbot#ResourceState", |
| 118 | + "traits": { |
| 119 | + "smithy.api#documentation": "<p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly denied that configuration.\n\t For example, if Amazon Chime is disabled.</p>" |
| 120 | + } |
| 121 | + }, |
| 122 | + "StateReason": { |
| 123 | + "target": "com.amazonaws.chatbot#String", |
| 124 | + "traits": { |
| 125 | + "smithy.api#documentation": "<p>Provided if State is <code>DISABLED</code>. Provides context as to why the resource is disabled.</p>" |
| 126 | + } |
115 | 127 | } |
116 | 128 | }, |
117 | 129 | "traits": { |
|
177 | 189 | "traits": { |
178 | 190 | "smithy.api#documentation": "<p>The name of the Microsoft Teams Team.</p>" |
179 | 191 | } |
| 192 | + }, |
| 193 | + "State": { |
| 194 | + "target": "com.amazonaws.chatbot#ResourceState", |
| 195 | + "traits": { |
| 196 | + "smithy.api#documentation": "<p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly denied that configuration.\n\t For example, if Amazon Chime is disabled.</p>" |
| 197 | + } |
| 198 | + }, |
| 199 | + "StateReason": { |
| 200 | + "target": "com.amazonaws.chatbot#String", |
| 201 | + "traits": { |
| 202 | + "smithy.api#documentation": "<p>Provided if State is <code>DISABLED</code>. Provides context as to why the resource is disabled.</p>" |
| 203 | + } |
180 | 204 | } |
181 | 205 | }, |
182 | 206 | "traits": { |
|
2030 | 2054 | "smithy.api#httpError": 404 |
2031 | 2055 | } |
2032 | 2056 | }, |
| 2057 | + "com.amazonaws.chatbot#ResourceState": { |
| 2058 | + "type": "string", |
| 2059 | + "traits": { |
| 2060 | + "smithy.api#pattern": "^(ENABLED|DISABLED)$" |
| 2061 | + } |
| 2062 | + }, |
2033 | 2063 | "com.amazonaws.chatbot#ServiceUnavailableException": { |
2034 | 2064 | "type": "structure", |
2035 | 2065 | "members": { |
|
2124 | 2154 | "traits": { |
2125 | 2155 | "smithy.api#documentation": "<p>A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.</p>" |
2126 | 2156 | } |
| 2157 | + }, |
| 2158 | + "State": { |
| 2159 | + "target": "com.amazonaws.chatbot#ResourceState", |
| 2160 | + "traits": { |
| 2161 | + "smithy.api#documentation": "<p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly denied that configuration.\n\t For example, if Amazon Chime is disabled.</p>" |
| 2162 | + } |
| 2163 | + }, |
| 2164 | + "StateReason": { |
| 2165 | + "target": "com.amazonaws.chatbot#String", |
| 2166 | + "traits": { |
| 2167 | + "smithy.api#documentation": "<p>Provided if State is <code>DISABLED</code>. Provides context as to why the resource is disabled.</p>" |
| 2168 | + } |
2127 | 2169 | } |
2128 | 2170 | }, |
2129 | 2171 | "traits": { |
|
2249 | 2291 | "smithy.api#documentation": "<p>The name of the Slack workspace.</p>", |
2250 | 2292 | "smithy.api#required": {} |
2251 | 2293 | } |
| 2294 | + }, |
| 2295 | + "State": { |
| 2296 | + "target": "com.amazonaws.chatbot#ResourceState", |
| 2297 | + "traits": { |
| 2298 | + "smithy.api#documentation": "<p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly denied that configuration.\n\t For example, if Amazon Chime is disabled.</p>" |
| 2299 | + } |
| 2300 | + }, |
| 2301 | + "StateReason": { |
| 2302 | + "target": "com.amazonaws.chatbot#String", |
| 2303 | + "traits": { |
| 2304 | + "smithy.api#documentation": "<p>Provided if State is <code>DISABLED</code>. Provides context as to why the resource is disabled.</p>" |
| 2305 | + } |
2252 | 2306 | } |
2253 | 2307 | }, |
2254 | 2308 | "traits": { |
|
2267 | 2321 | "target": "com.amazonaws.chatbot#Arn" |
2268 | 2322 | } |
2269 | 2323 | }, |
| 2324 | + "com.amazonaws.chatbot#String": { |
| 2325 | + "type": "string" |
| 2326 | + }, |
2270 | 2327 | "com.amazonaws.chatbot#Tag": { |
2271 | 2328 | "type": "structure", |
2272 | 2329 | "members": { |
|
2500 | 2557 | "traits": { |
2501 | 2558 | "smithy.api#documentation": "<p>A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.</p>" |
2502 | 2559 | } |
| 2560 | + }, |
| 2561 | + "State": { |
| 2562 | + "target": "com.amazonaws.chatbot#ResourceState", |
| 2563 | + "traits": { |
| 2564 | + "smithy.api#documentation": "<p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly denied that configuration.\n\t For example, if Amazon Chime is disabled.</p>" |
| 2565 | + } |
| 2566 | + }, |
| 2567 | + "StateReason": { |
| 2568 | + "target": "com.amazonaws.chatbot#String", |
| 2569 | + "traits": { |
| 2570 | + "smithy.api#documentation": "<p>Provided if State is <code>DISABLED</code>. Provides context as to why the resource is disabled.</p>" |
| 2571 | + } |
2503 | 2572 | } |
2504 | 2573 | }, |
2505 | 2574 | "traits": { |
|
0 commit comments