You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pub struct GetAuthorizationTokenRequest {
/// <p>A list of AWS account IDs that are associated with the registries for which to get AuthorizationData objects. If you do not specify a registry, the default registry is assumed.</p>
#[serde(rename = "registryIds")]
#[serde(skip_serializing_if = "Option::is_none")]
pub registry_ids: Option<Vec<String>>,
}
What's the best way to fix this?
The text was updated successfully, but these errors were encountered:
Ah, I see the issue, the registryIds property is deprecated:
This field is deprecated. The returned authorization token can be used to access any Amazon ECR registry that the IAM principal has access to, specifying a registry ID doesn't change the permissions scope of the authorization token.
I need the registry_ids parameters on the ECR GetAuthorizationTokenRequest. Currently https://github.com/rusoto/rusoto/blame/master/rusoto/services/ecr/src/generated.rs#L516
But what worked 15 months ago: https://github.com/rusoto/rusoto/blame/553d1eda9a87b8c214911273811dcfab9f9faf6b/rusoto/services/ecr/src/generated.rs#L466
What's the best way to fix this?
The text was updated successfully, but these errors were encountered: