update_view
async
¶
update_view(
view_arn: str,
*,
config_overrides: Optional[AsyncResourceExplorer2ClientConfig] = None,
included_properties: Optional[IncludedPropertyList] = None,
filters: Optional[SearchFilter] = None,
) -> UpdateViewOutput
Modifies some of the details of a view. You can change the filter string and the list of included properties. You can't change the name of the view.
Parameters:
-
view_arn(str) –The Amazon resource name (ARN) of the view that you want to modify.
-
included_properties(Optional[IncludedPropertyList], default:None) –Specifies optional fields that you want included in search results from this view. It is a list of objects that each describe a field to include.
The default is an empty list, with no optional fields included in the results.
-
filters(Optional[SearchFilter], default:None) –An array of strings that specify which resources are included in the results of queries made using this view. When you use this view in a Search operation, the filter string is combined with the search's
QueryStringparameter using a logicalANDoperator.For information about the supported syntax, see Search query reference for Resource Explorer in the Amazon Web Services Resource Explorer User Guide.
This query string in the context of this operation supports only filter prefixes with optional operators. It doesn't support free-form text. For example, the string
region:us* service:ec2 -tag:stage=prodincludes all Amazon EC2 resources in any Amazon Web Services Region that begins with the lettersusand is not tagged with a keyStagethat has the valueprod.
Raises:
-
AccessDeniedException–The credentials that you used to call this operation don't have the minimum required permissions.
-
InternalServerException–The request failed because of internal service error. Try your request again later.
-
ServiceQuotaExceededException–The request failed because it exceeds a service quota.
-
ThrottlingException–The request failed because you exceeded a rate limit for this operation. For more information, see Quotas for Resource Explorer.
-
UnauthorizedException–The principal making the request isn't permitted to perform the operation.
-
ValidationException–You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_resource_explorer_2/_services/async_resource_explorer2.py
2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 | |