@@ -78,121 +78,95 @@ impl UpdateAWSAccountOptionalParams {
78
78
#[ derive( Debug , Clone , Serialize , Deserialize ) ]
79
79
#[ serde( untagged) ]
80
80
pub enum CreateAWSAccountError {
81
- Status400 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
82
- Status403 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
83
- Status409 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
84
- Status429 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
81
+ APIErrorResponse ( crate :: datadogV1:: model:: APIErrorResponse ) ,
85
82
UnknownValue ( serde_json:: Value ) ,
86
83
}
87
84
88
85
/// CreateAWSEventBridgeSourceError is a struct for typed errors of method [`AWSIntegrationAPI::create_aws_event_bridge_source`]
89
86
#[ derive( Debug , Clone , Serialize , Deserialize ) ]
90
87
#[ serde( untagged) ]
91
88
pub enum CreateAWSEventBridgeSourceError {
92
- Status400 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
93
- Status403 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
94
- Status429 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
89
+ APIErrorResponse ( crate :: datadogV1:: model:: APIErrorResponse ) ,
95
90
UnknownValue ( serde_json:: Value ) ,
96
91
}
97
92
98
93
/// CreateAWSTagFilterError is a struct for typed errors of method [`AWSIntegrationAPI::create_aws_tag_filter`]
99
94
#[ derive( Debug , Clone , Serialize , Deserialize ) ]
100
95
#[ serde( untagged) ]
101
96
pub enum CreateAWSTagFilterError {
102
- Status400 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
103
- Status403 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
104
- Status429 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
97
+ APIErrorResponse ( crate :: datadogV1:: model:: APIErrorResponse ) ,
105
98
UnknownValue ( serde_json:: Value ) ,
106
99
}
107
100
108
101
/// CreateNewAWSExternalIDError is a struct for typed errors of method [`AWSIntegrationAPI::create_new_aws_external_id`]
109
102
#[ derive( Debug , Clone , Serialize , Deserialize ) ]
110
103
#[ serde( untagged) ]
111
104
pub enum CreateNewAWSExternalIDError {
112
- Status400 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
113
- Status403 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
114
- Status429 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
105
+ APIErrorResponse ( crate :: datadogV1:: model:: APIErrorResponse ) ,
115
106
UnknownValue ( serde_json:: Value ) ,
116
107
}
117
108
118
109
/// DeleteAWSAccountError is a struct for typed errors of method [`AWSIntegrationAPI::delete_aws_account`]
119
110
#[ derive( Debug , Clone , Serialize , Deserialize ) ]
120
111
#[ serde( untagged) ]
121
112
pub enum DeleteAWSAccountError {
122
- Status400 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
123
- Status403 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
124
- Status409 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
125
- Status429 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
113
+ APIErrorResponse ( crate :: datadogV1:: model:: APIErrorResponse ) ,
126
114
UnknownValue ( serde_json:: Value ) ,
127
115
}
128
116
129
117
/// DeleteAWSEventBridgeSourceError is a struct for typed errors of method [`AWSIntegrationAPI::delete_aws_event_bridge_source`]
130
118
#[ derive( Debug , Clone , Serialize , Deserialize ) ]
131
119
#[ serde( untagged) ]
132
120
pub enum DeleteAWSEventBridgeSourceError {
133
- Status400 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
134
- Status403 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
135
- Status429 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
121
+ APIErrorResponse ( crate :: datadogV1:: model:: APIErrorResponse ) ,
136
122
UnknownValue ( serde_json:: Value ) ,
137
123
}
138
124
139
125
/// DeleteAWSTagFilterError is a struct for typed errors of method [`AWSIntegrationAPI::delete_aws_tag_filter`]
140
126
#[ derive( Debug , Clone , Serialize , Deserialize ) ]
141
127
#[ serde( untagged) ]
142
128
pub enum DeleteAWSTagFilterError {
143
- Status400 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
144
- Status403 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
145
- Status429 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
129
+ APIErrorResponse ( crate :: datadogV1:: model:: APIErrorResponse ) ,
146
130
UnknownValue ( serde_json:: Value ) ,
147
131
}
148
132
149
133
/// ListAWSAccountsError is a struct for typed errors of method [`AWSIntegrationAPI::list_aws_accounts`]
150
134
#[ derive( Debug , Clone , Serialize , Deserialize ) ]
151
135
#[ serde( untagged) ]
152
136
pub enum ListAWSAccountsError {
153
- Status400 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
154
- Status403 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
155
- Status429 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
137
+ APIErrorResponse ( crate :: datadogV1:: model:: APIErrorResponse ) ,
156
138
UnknownValue ( serde_json:: Value ) ,
157
139
}
158
140
159
141
/// ListAWSEventBridgeSourcesError is a struct for typed errors of method [`AWSIntegrationAPI::list_aws_event_bridge_sources`]
160
142
#[ derive( Debug , Clone , Serialize , Deserialize ) ]
161
143
#[ serde( untagged) ]
162
144
pub enum ListAWSEventBridgeSourcesError {
163
- Status400 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
164
- Status403 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
165
- Status429 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
145
+ APIErrorResponse ( crate :: datadogV1:: model:: APIErrorResponse ) ,
166
146
UnknownValue ( serde_json:: Value ) ,
167
147
}
168
148
169
149
/// ListAWSTagFiltersError is a struct for typed errors of method [`AWSIntegrationAPI::list_aws_tag_filters`]
170
150
#[ derive( Debug , Clone , Serialize , Deserialize ) ]
171
151
#[ serde( untagged) ]
172
152
pub enum ListAWSTagFiltersError {
173
- Status400 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
174
- Status403 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
175
- Status429 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
153
+ APIErrorResponse ( crate :: datadogV1:: model:: APIErrorResponse ) ,
176
154
UnknownValue ( serde_json:: Value ) ,
177
155
}
178
156
179
157
/// ListAvailableAWSNamespacesError is a struct for typed errors of method [`AWSIntegrationAPI::list_available_aws_namespaces`]
180
158
#[ derive( Debug , Clone , Serialize , Deserialize ) ]
181
159
#[ serde( untagged) ]
182
160
pub enum ListAvailableAWSNamespacesError {
183
- Status403 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
184
- Status429 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
161
+ APIErrorResponse ( crate :: datadogV1:: model:: APIErrorResponse ) ,
185
162
UnknownValue ( serde_json:: Value ) ,
186
163
}
187
164
188
165
/// UpdateAWSAccountError is a struct for typed errors of method [`AWSIntegrationAPI::update_aws_account`]
189
166
#[ derive( Debug , Clone , Serialize , Deserialize ) ]
190
167
#[ serde( untagged) ]
191
168
pub enum UpdateAWSAccountError {
192
- Status400 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
193
- Status403 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
194
- Status409 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
195
- Status429 ( Option < crate :: datadogV1:: model:: APIErrorResponse > ) ,
169
+ APIErrorResponse ( crate :: datadogV1:: model:: APIErrorResponse ) ,
196
170
UnknownValue ( serde_json:: Value ) ,
197
171
}
198
172
0 commit comments