Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,146 @@
package com.amazonaws.services.securitytoken.model;
import com.amazonaws.AmazonWebServiceRequest;
import java.io.Serializable;
import java.util.List;
/* loaded from: classes.dex */
public class AssumeRoleWithWebIdentityRequest extends AmazonWebServiceRequest implements Serializable {
public Integer durationSeconds;
public String policy;
public List policyArns;
public String providerId;
public String roleArn;
public String roleSessionName;
public String webIdentityToken;
public Integer getDurationSeconds() {
return this.durationSeconds;
}
public String getPolicy() {
return this.policy;
}
public List getPolicyArns() {
return this.policyArns;
}
public String getProviderId() {
return this.providerId;
}
public String getRoleArn() {
return this.roleArn;
}
public String getRoleSessionName() {
return this.roleSessionName;
}
public String getWebIdentityToken() {
return this.webIdentityToken;
}
public AssumeRoleWithWebIdentityRequest withDurationSeconds(Integer num) {
this.durationSeconds = num;
return this;
}
public AssumeRoleWithWebIdentityRequest withRoleArn(String str) {
this.roleArn = str;
return this;
}
public AssumeRoleWithWebIdentityRequest withRoleSessionName(String str) {
this.roleSessionName = str;
return this;
}
public AssumeRoleWithWebIdentityRequest withWebIdentityToken(String str) {
this.webIdentityToken = str;
return this;
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getRoleArn() != null) {
sb.append("RoleArn: " + getRoleArn() + ",");
}
if (getRoleSessionName() != null) {
sb.append("RoleSessionName: " + getRoleSessionName() + ",");
}
if (getWebIdentityToken() != null) {
sb.append("WebIdentityToken: " + getWebIdentityToken() + ",");
}
if (getProviderId() != null) {
sb.append("ProviderId: " + getProviderId() + ",");
}
if (getPolicyArns() != null) {
sb.append("PolicyArns: " + getPolicyArns() + ",");
}
if (getPolicy() != null) {
sb.append("Policy: " + getPolicy() + ",");
}
if (getDurationSeconds() != null) {
sb.append("DurationSeconds: " + getDurationSeconds());
}
sb.append("}");
return sb.toString();
}
public int hashCode() {
return (((((((((((((getRoleArn() == null ? 0 : getRoleArn().hashCode()) + 31) * 31) + (getRoleSessionName() == null ? 0 : getRoleSessionName().hashCode())) * 31) + (getWebIdentityToken() == null ? 0 : getWebIdentityToken().hashCode())) * 31) + (getProviderId() == null ? 0 : getProviderId().hashCode())) * 31) + (getPolicyArns() == null ? 0 : getPolicyArns().hashCode())) * 31) + (getPolicy() == null ? 0 : getPolicy().hashCode())) * 31) + (getDurationSeconds() != null ? getDurationSeconds().hashCode() : 0);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !(obj instanceof AssumeRoleWithWebIdentityRequest)) {
return false;
}
AssumeRoleWithWebIdentityRequest assumeRoleWithWebIdentityRequest = (AssumeRoleWithWebIdentityRequest) obj;
if ((assumeRoleWithWebIdentityRequest.getRoleArn() == null) ^ (getRoleArn() == null)) {
return false;
}
if (assumeRoleWithWebIdentityRequest.getRoleArn() != null && !assumeRoleWithWebIdentityRequest.getRoleArn().equals(getRoleArn())) {
return false;
}
if ((assumeRoleWithWebIdentityRequest.getRoleSessionName() == null) ^ (getRoleSessionName() == null)) {
return false;
}
if (assumeRoleWithWebIdentityRequest.getRoleSessionName() != null && !assumeRoleWithWebIdentityRequest.getRoleSessionName().equals(getRoleSessionName())) {
return false;
}
if ((assumeRoleWithWebIdentityRequest.getWebIdentityToken() == null) ^ (getWebIdentityToken() == null)) {
return false;
}
if (assumeRoleWithWebIdentityRequest.getWebIdentityToken() != null && !assumeRoleWithWebIdentityRequest.getWebIdentityToken().equals(getWebIdentityToken())) {
return false;
}
if ((assumeRoleWithWebIdentityRequest.getProviderId() == null) ^ (getProviderId() == null)) {
return false;
}
if (assumeRoleWithWebIdentityRequest.getProviderId() != null && !assumeRoleWithWebIdentityRequest.getProviderId().equals(getProviderId())) {
return false;
}
if ((assumeRoleWithWebIdentityRequest.getPolicyArns() == null) ^ (getPolicyArns() == null)) {
return false;
}
if (assumeRoleWithWebIdentityRequest.getPolicyArns() != null && !assumeRoleWithWebIdentityRequest.getPolicyArns().equals(getPolicyArns())) {
return false;
}
if ((assumeRoleWithWebIdentityRequest.getPolicy() == null) ^ (getPolicy() == null)) {
return false;
}
if (assumeRoleWithWebIdentityRequest.getPolicy() != null && !assumeRoleWithWebIdentityRequest.getPolicy().equals(getPolicy())) {
return false;
}
if ((assumeRoleWithWebIdentityRequest.getDurationSeconds() == null) ^ (getDurationSeconds() == null)) {
return false;
}
return assumeRoleWithWebIdentityRequest.getDurationSeconds() == null || assumeRoleWithWebIdentityRequest.getDurationSeconds().equals(getDurationSeconds());
}
}

View File

@@ -0,0 +1,152 @@
package com.amazonaws.services.securitytoken.model;
import java.io.Serializable;
/* loaded from: classes.dex */
public class AssumeRoleWithWebIdentityResult implements Serializable {
public AssumedRoleUser assumedRoleUser;
public String audience;
public Credentials credentials;
public Integer packedPolicySize;
public String provider;
public String sourceIdentity;
public String subjectFromWebIdentityToken;
public AssumedRoleUser getAssumedRoleUser() {
return this.assumedRoleUser;
}
public String getAudience() {
return this.audience;
}
public Credentials getCredentials() {
return this.credentials;
}
public Integer getPackedPolicySize() {
return this.packedPolicySize;
}
public String getProvider() {
return this.provider;
}
public String getSourceIdentity() {
return this.sourceIdentity;
}
public String getSubjectFromWebIdentityToken() {
return this.subjectFromWebIdentityToken;
}
public void setAssumedRoleUser(AssumedRoleUser assumedRoleUser) {
this.assumedRoleUser = assumedRoleUser;
}
public void setAudience(String str) {
this.audience = str;
}
public void setCredentials(Credentials credentials) {
this.credentials = credentials;
}
public void setPackedPolicySize(Integer num) {
this.packedPolicySize = num;
}
public void setProvider(String str) {
this.provider = str;
}
public void setSourceIdentity(String str) {
this.sourceIdentity = str;
}
public void setSubjectFromWebIdentityToken(String str) {
this.subjectFromWebIdentityToken = str;
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getCredentials() != null) {
sb.append("Credentials: " + getCredentials() + ",");
}
if (getSubjectFromWebIdentityToken() != null) {
sb.append("SubjectFromWebIdentityToken: " + getSubjectFromWebIdentityToken() + ",");
}
if (getAssumedRoleUser() != null) {
sb.append("AssumedRoleUser: " + getAssumedRoleUser() + ",");
}
if (getPackedPolicySize() != null) {
sb.append("PackedPolicySize: " + getPackedPolicySize() + ",");
}
if (getProvider() != null) {
sb.append("Provider: " + getProvider() + ",");
}
if (getAudience() != null) {
sb.append("Audience: " + getAudience() + ",");
}
if (getSourceIdentity() != null) {
sb.append("SourceIdentity: " + getSourceIdentity());
}
sb.append("}");
return sb.toString();
}
public int hashCode() {
return (((((((((((((getCredentials() == null ? 0 : getCredentials().hashCode()) + 31) * 31) + (getSubjectFromWebIdentityToken() == null ? 0 : getSubjectFromWebIdentityToken().hashCode())) * 31) + (getAssumedRoleUser() == null ? 0 : getAssumedRoleUser().hashCode())) * 31) + (getPackedPolicySize() == null ? 0 : getPackedPolicySize().hashCode())) * 31) + (getProvider() == null ? 0 : getProvider().hashCode())) * 31) + (getAudience() == null ? 0 : getAudience().hashCode())) * 31) + (getSourceIdentity() != null ? getSourceIdentity().hashCode() : 0);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !(obj instanceof AssumeRoleWithWebIdentityResult)) {
return false;
}
AssumeRoleWithWebIdentityResult assumeRoleWithWebIdentityResult = (AssumeRoleWithWebIdentityResult) obj;
if ((assumeRoleWithWebIdentityResult.getCredentials() == null) ^ (getCredentials() == null)) {
return false;
}
if (assumeRoleWithWebIdentityResult.getCredentials() != null && !assumeRoleWithWebIdentityResult.getCredentials().equals(getCredentials())) {
return false;
}
if ((assumeRoleWithWebIdentityResult.getSubjectFromWebIdentityToken() == null) ^ (getSubjectFromWebIdentityToken() == null)) {
return false;
}
if (assumeRoleWithWebIdentityResult.getSubjectFromWebIdentityToken() != null && !assumeRoleWithWebIdentityResult.getSubjectFromWebIdentityToken().equals(getSubjectFromWebIdentityToken())) {
return false;
}
if ((assumeRoleWithWebIdentityResult.getAssumedRoleUser() == null) ^ (getAssumedRoleUser() == null)) {
return false;
}
if (assumeRoleWithWebIdentityResult.getAssumedRoleUser() != null && !assumeRoleWithWebIdentityResult.getAssumedRoleUser().equals(getAssumedRoleUser())) {
return false;
}
if ((assumeRoleWithWebIdentityResult.getPackedPolicySize() == null) ^ (getPackedPolicySize() == null)) {
return false;
}
if (assumeRoleWithWebIdentityResult.getPackedPolicySize() != null && !assumeRoleWithWebIdentityResult.getPackedPolicySize().equals(getPackedPolicySize())) {
return false;
}
if ((assumeRoleWithWebIdentityResult.getProvider() == null) ^ (getProvider() == null)) {
return false;
}
if (assumeRoleWithWebIdentityResult.getProvider() != null && !assumeRoleWithWebIdentityResult.getProvider().equals(getProvider())) {
return false;
}
if ((assumeRoleWithWebIdentityResult.getAudience() == null) ^ (getAudience() == null)) {
return false;
}
if (assumeRoleWithWebIdentityResult.getAudience() != null && !assumeRoleWithWebIdentityResult.getAudience().equals(getAudience())) {
return false;
}
if ((assumeRoleWithWebIdentityResult.getSourceIdentity() == null) ^ (getSourceIdentity() == null)) {
return false;
}
return assumeRoleWithWebIdentityResult.getSourceIdentity() == null || assumeRoleWithWebIdentityResult.getSourceIdentity().equals(getSourceIdentity());
}
}

View File

@@ -0,0 +1,62 @@
package com.amazonaws.services.securitytoken.model;
import java.io.Serializable;
/* loaded from: classes.dex */
public class AssumedRoleUser implements Serializable {
public String arn;
public String assumedRoleId;
public String getArn() {
return this.arn;
}
public String getAssumedRoleId() {
return this.assumedRoleId;
}
public void setArn(String str) {
this.arn = str;
}
public void setAssumedRoleId(String str) {
this.assumedRoleId = str;
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getAssumedRoleId() != null) {
sb.append("AssumedRoleId: " + getAssumedRoleId() + ",");
}
if (getArn() != null) {
sb.append("Arn: " + getArn());
}
sb.append("}");
return sb.toString();
}
public int hashCode() {
return (((getAssumedRoleId() == null ? 0 : getAssumedRoleId().hashCode()) + 31) * 31) + (getArn() != null ? getArn().hashCode() : 0);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !(obj instanceof AssumedRoleUser)) {
return false;
}
AssumedRoleUser assumedRoleUser = (AssumedRoleUser) obj;
if ((assumedRoleUser.getAssumedRoleId() == null) ^ (getAssumedRoleId() == null)) {
return false;
}
if (assumedRoleUser.getAssumedRoleId() != null && !assumedRoleUser.getAssumedRoleId().equals(getAssumedRoleId())) {
return false;
}
if ((assumedRoleUser.getArn() == null) ^ (getArn() == null)) {
return false;
}
return assumedRoleUser.getArn() == null || assumedRoleUser.getArn().equals(getArn());
}
}

View File

@@ -0,0 +1,99 @@
package com.amazonaws.services.securitytoken.model;
import java.io.Serializable;
import java.util.Date;
/* loaded from: classes.dex */
public class Credentials implements Serializable {
public String accessKeyId;
public Date expiration;
public String secretAccessKey;
public String sessionToken;
public String getAccessKeyId() {
return this.accessKeyId;
}
public Date getExpiration() {
return this.expiration;
}
public String getSecretAccessKey() {
return this.secretAccessKey;
}
public String getSessionToken() {
return this.sessionToken;
}
public void setAccessKeyId(String str) {
this.accessKeyId = str;
}
public void setExpiration(Date date) {
this.expiration = date;
}
public void setSecretAccessKey(String str) {
this.secretAccessKey = str;
}
public void setSessionToken(String str) {
this.sessionToken = str;
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getAccessKeyId() != null) {
sb.append("AccessKeyId: " + getAccessKeyId() + ",");
}
if (getSecretAccessKey() != null) {
sb.append("SecretAccessKey: " + getSecretAccessKey() + ",");
}
if (getSessionToken() != null) {
sb.append("SessionToken: " + getSessionToken() + ",");
}
if (getExpiration() != null) {
sb.append("Expiration: " + getExpiration());
}
sb.append("}");
return sb.toString();
}
public int hashCode() {
return (((((((getAccessKeyId() == null ? 0 : getAccessKeyId().hashCode()) + 31) * 31) + (getSecretAccessKey() == null ? 0 : getSecretAccessKey().hashCode())) * 31) + (getSessionToken() == null ? 0 : getSessionToken().hashCode())) * 31) + (getExpiration() != null ? getExpiration().hashCode() : 0);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !(obj instanceof Credentials)) {
return false;
}
Credentials credentials = (Credentials) obj;
if ((credentials.getAccessKeyId() == null) ^ (getAccessKeyId() == null)) {
return false;
}
if (credentials.getAccessKeyId() != null && !credentials.getAccessKeyId().equals(getAccessKeyId())) {
return false;
}
if ((credentials.getSecretAccessKey() == null) ^ (getSecretAccessKey() == null)) {
return false;
}
if (credentials.getSecretAccessKey() != null && !credentials.getSecretAccessKey().equals(getSecretAccessKey())) {
return false;
}
if ((credentials.getSessionToken() == null) ^ (getSessionToken() == null)) {
return false;
}
if (credentials.getSessionToken() != null && !credentials.getSessionToken().equals(getSessionToken())) {
return false;
}
if ((credentials.getExpiration() == null) ^ (getExpiration() == null)) {
return false;
}
return credentials.getExpiration() == null || credentials.getExpiration().equals(getExpiration());
}
}

View File

@@ -0,0 +1,8 @@
package com.amazonaws.services.securitytoken.model;
import com.amazonaws.AmazonServiceException;
/* loaded from: classes.dex */
public abstract class ExpiredTokenException extends AmazonServiceException {
private static final long serialVersionUID = 1;
}

View File

@@ -0,0 +1,8 @@
package com.amazonaws.services.securitytoken.model;
import com.amazonaws.AmazonServiceException;
/* loaded from: classes.dex */
public abstract class IDPCommunicationErrorException extends AmazonServiceException {
private static final long serialVersionUID = 1;
}

View File

@@ -0,0 +1,8 @@
package com.amazonaws.services.securitytoken.model;
import com.amazonaws.AmazonServiceException;
/* loaded from: classes.dex */
public abstract class IDPRejectedClaimException extends AmazonServiceException {
private static final long serialVersionUID = 1;
}

View File

@@ -0,0 +1,8 @@
package com.amazonaws.services.securitytoken.model;
import com.amazonaws.AmazonServiceException;
/* loaded from: classes.dex */
public abstract class InvalidAuthorizationMessageException extends AmazonServiceException {
private static final long serialVersionUID = 1;
}

View File

@@ -0,0 +1,8 @@
package com.amazonaws.services.securitytoken.model;
import com.amazonaws.AmazonServiceException;
/* loaded from: classes.dex */
public abstract class InvalidIdentityTokenException extends AmazonServiceException {
private static final long serialVersionUID = 1;
}

View File

@@ -0,0 +1,8 @@
package com.amazonaws.services.securitytoken.model;
import com.amazonaws.AmazonServiceException;
/* loaded from: classes.dex */
public abstract class MalformedPolicyDocumentException extends AmazonServiceException {
private static final long serialVersionUID = 1;
}

View File

@@ -0,0 +1,8 @@
package com.amazonaws.services.securitytoken.model;
import com.amazonaws.AmazonServiceException;
/* loaded from: classes.dex */
public abstract class PackedPolicyTooLargeException extends AmazonServiceException {
private static final long serialVersionUID = 1;
}

View File

@@ -0,0 +1,8 @@
package com.amazonaws.services.securitytoken.model;
import com.amazonaws.AmazonServiceException;
/* loaded from: classes.dex */
public abstract class RegionDisabledException extends AmazonServiceException {
private static final long serialVersionUID = 1;
}

View File

@@ -0,0 +1,52 @@
package com.amazonaws.services.securitytoken.model.transform;
import com.amazonaws.AmazonClientException;
import com.amazonaws.DefaultRequest;
import com.amazonaws.Request;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.services.securitytoken.model.AssumeRoleWithWebIdentityRequest;
import com.amazonaws.util.StringUtils;
import java.util.Iterator;
/* loaded from: classes.dex */
public class AssumeRoleWithWebIdentityRequestMarshaller {
public Request marshall(AssumeRoleWithWebIdentityRequest assumeRoleWithWebIdentityRequest) {
if (assumeRoleWithWebIdentityRequest == null) {
throw new AmazonClientException("Invalid argument passed to marshall(AssumeRoleWithWebIdentityRequest)");
}
DefaultRequest defaultRequest = new DefaultRequest(assumeRoleWithWebIdentityRequest, "AWSSecurityTokenService");
defaultRequest.addParameter("Action", "AssumeRoleWithWebIdentity");
defaultRequest.addParameter("Version", "2011-06-15");
if (assumeRoleWithWebIdentityRequest.getRoleArn() != null) {
defaultRequest.addParameter("RoleArn", StringUtils.fromString(assumeRoleWithWebIdentityRequest.getRoleArn()));
}
if (assumeRoleWithWebIdentityRequest.getRoleSessionName() != null) {
defaultRequest.addParameter("RoleSessionName", StringUtils.fromString(assumeRoleWithWebIdentityRequest.getRoleSessionName()));
}
if (assumeRoleWithWebIdentityRequest.getWebIdentityToken() != null) {
defaultRequest.addParameter("WebIdentityToken", StringUtils.fromString(assumeRoleWithWebIdentityRequest.getWebIdentityToken()));
}
if (assumeRoleWithWebIdentityRequest.getProviderId() != null) {
defaultRequest.addParameter("ProviderId", StringUtils.fromString(assumeRoleWithWebIdentityRequest.getProviderId()));
}
if (assumeRoleWithWebIdentityRequest.getPolicyArns() != null) {
Iterator it = assumeRoleWithWebIdentityRequest.getPolicyArns().iterator();
int i = 1;
while (it.hasNext()) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(it.next());
StringBuilder sb = new StringBuilder();
sb.append("PolicyArns");
sb.append(".member.");
sb.append(i);
i++;
}
}
if (assumeRoleWithWebIdentityRequest.getPolicy() != null) {
defaultRequest.addParameter("Policy", StringUtils.fromString(assumeRoleWithWebIdentityRequest.getPolicy()));
}
if (assumeRoleWithWebIdentityRequest.getDurationSeconds() != null) {
defaultRequest.addParameter("DurationSeconds", StringUtils.fromInteger(assumeRoleWithWebIdentityRequest.getDurationSeconds()));
}
return defaultRequest;
}
}

View File

@@ -0,0 +1,45 @@
package com.amazonaws.services.securitytoken.model.transform;
import com.amazonaws.services.securitytoken.model.AssumeRoleWithWebIdentityResult;
import com.amazonaws.transform.SimpleTypeStaxUnmarshallers;
import com.amazonaws.transform.StaxUnmarshallerContext;
import com.amazonaws.transform.Unmarshaller;
/* loaded from: classes.dex */
public class AssumeRoleWithWebIdentityResultStaxUnmarshaller implements Unmarshaller<AssumeRoleWithWebIdentityResult, StaxUnmarshallerContext> {
@Override // com.amazonaws.transform.Unmarshaller
public AssumeRoleWithWebIdentityResult unmarshall(StaxUnmarshallerContext staxUnmarshallerContext) {
AssumeRoleWithWebIdentityResult assumeRoleWithWebIdentityResult = new AssumeRoleWithWebIdentityResult();
int currentDepth = staxUnmarshallerContext.getCurrentDepth();
int i = currentDepth + 1;
if (staxUnmarshallerContext.isStartOfDocument()) {
i = currentDepth + 3;
}
while (true) {
int nextEvent = staxUnmarshallerContext.nextEvent();
if (nextEvent == 1) {
break;
}
if (nextEvent == 2) {
if (staxUnmarshallerContext.testExpression("Credentials", i)) {
assumeRoleWithWebIdentityResult.setCredentials(CredentialsStaxUnmarshaller.getInstance().unmarshall(staxUnmarshallerContext));
} else if (staxUnmarshallerContext.testExpression("SubjectFromWebIdentityToken", i)) {
assumeRoleWithWebIdentityResult.setSubjectFromWebIdentityToken(SimpleTypeStaxUnmarshallers.StringStaxUnmarshaller.getInstance().unmarshall(staxUnmarshallerContext));
} else if (staxUnmarshallerContext.testExpression("AssumedRoleUser", i)) {
assumeRoleWithWebIdentityResult.setAssumedRoleUser(AssumedRoleUserStaxUnmarshaller.getInstance().unmarshall(staxUnmarshallerContext));
} else if (staxUnmarshallerContext.testExpression("PackedPolicySize", i)) {
assumeRoleWithWebIdentityResult.setPackedPolicySize(SimpleTypeStaxUnmarshallers.IntegerStaxUnmarshaller.getInstance().unmarshall(staxUnmarshallerContext));
} else if (staxUnmarshallerContext.testExpression("Provider", i)) {
assumeRoleWithWebIdentityResult.setProvider(SimpleTypeStaxUnmarshallers.StringStaxUnmarshaller.getInstance().unmarshall(staxUnmarshallerContext));
} else if (staxUnmarshallerContext.testExpression("Audience", i)) {
assumeRoleWithWebIdentityResult.setAudience(SimpleTypeStaxUnmarshallers.StringStaxUnmarshaller.getInstance().unmarshall(staxUnmarshallerContext));
} else if (staxUnmarshallerContext.testExpression("SourceIdentity", i)) {
assumeRoleWithWebIdentityResult.setSourceIdentity(SimpleTypeStaxUnmarshallers.StringStaxUnmarshaller.getInstance().unmarshall(staxUnmarshallerContext));
}
} else if (nextEvent == 3 && staxUnmarshallerContext.getCurrentDepth() < currentDepth) {
break;
}
}
return assumeRoleWithWebIdentityResult;
}
}

View File

@@ -0,0 +1,44 @@
package com.amazonaws.services.securitytoken.model.transform;
import com.amazonaws.services.securitytoken.model.AssumedRoleUser;
import com.amazonaws.transform.SimpleTypeStaxUnmarshallers;
import com.amazonaws.transform.StaxUnmarshallerContext;
import com.amazonaws.transform.Unmarshaller;
/* loaded from: classes.dex */
class AssumedRoleUserStaxUnmarshaller implements Unmarshaller<AssumedRoleUser, StaxUnmarshallerContext> {
public static AssumedRoleUserStaxUnmarshaller instance;
@Override // com.amazonaws.transform.Unmarshaller
public AssumedRoleUser unmarshall(StaxUnmarshallerContext staxUnmarshallerContext) {
AssumedRoleUser assumedRoleUser = new AssumedRoleUser();
int currentDepth = staxUnmarshallerContext.getCurrentDepth();
int i = currentDepth + 1;
if (staxUnmarshallerContext.isStartOfDocument()) {
i = currentDepth + 3;
}
while (true) {
int nextEvent = staxUnmarshallerContext.nextEvent();
if (nextEvent == 1) {
break;
}
if (nextEvent == 2) {
if (staxUnmarshallerContext.testExpression("AssumedRoleId", i)) {
assumedRoleUser.setAssumedRoleId(SimpleTypeStaxUnmarshallers.StringStaxUnmarshaller.getInstance().unmarshall(staxUnmarshallerContext));
} else if (staxUnmarshallerContext.testExpression("Arn", i)) {
assumedRoleUser.setArn(SimpleTypeStaxUnmarshallers.StringStaxUnmarshaller.getInstance().unmarshall(staxUnmarshallerContext));
}
} else if (nextEvent == 3 && staxUnmarshallerContext.getCurrentDepth() < currentDepth) {
break;
}
}
return assumedRoleUser;
}
public static AssumedRoleUserStaxUnmarshaller getInstance() {
if (instance == null) {
instance = new AssumedRoleUserStaxUnmarshaller();
}
return instance;
}
}

View File

@@ -0,0 +1,48 @@
package com.amazonaws.services.securitytoken.model.transform;
import com.amazonaws.services.securitytoken.model.Credentials;
import com.amazonaws.transform.SimpleTypeStaxUnmarshallers;
import com.amazonaws.transform.StaxUnmarshallerContext;
import com.amazonaws.transform.Unmarshaller;
/* loaded from: classes.dex */
class CredentialsStaxUnmarshaller implements Unmarshaller<Credentials, StaxUnmarshallerContext> {
public static CredentialsStaxUnmarshaller instance;
@Override // com.amazonaws.transform.Unmarshaller
public Credentials unmarshall(StaxUnmarshallerContext staxUnmarshallerContext) {
Credentials credentials = new Credentials();
int currentDepth = staxUnmarshallerContext.getCurrentDepth();
int i = currentDepth + 1;
if (staxUnmarshallerContext.isStartOfDocument()) {
i = currentDepth + 3;
}
while (true) {
int nextEvent = staxUnmarshallerContext.nextEvent();
if (nextEvent == 1) {
break;
}
if (nextEvent == 2) {
if (staxUnmarshallerContext.testExpression("AccessKeyId", i)) {
credentials.setAccessKeyId(SimpleTypeStaxUnmarshallers.StringStaxUnmarshaller.getInstance().unmarshall(staxUnmarshallerContext));
} else if (staxUnmarshallerContext.testExpression("SecretAccessKey", i)) {
credentials.setSecretAccessKey(SimpleTypeStaxUnmarshallers.StringStaxUnmarshaller.getInstance().unmarshall(staxUnmarshallerContext));
} else if (staxUnmarshallerContext.testExpression("SessionToken", i)) {
credentials.setSessionToken(SimpleTypeStaxUnmarshallers.StringStaxUnmarshaller.getInstance().unmarshall(staxUnmarshallerContext));
} else if (staxUnmarshallerContext.testExpression("Expiration", i)) {
credentials.setExpiration(SimpleTypeStaxUnmarshallers.DateStaxUnmarshaller.getInstance().unmarshall(staxUnmarshallerContext));
}
} else if (nextEvent == 3 && staxUnmarshallerContext.getCurrentDepth() < currentDepth) {
break;
}
}
return credentials;
}
public static CredentialsStaxUnmarshaller getInstance() {
if (instance == null) {
instance = new CredentialsStaxUnmarshaller();
}
return instance;
}
}

View File

@@ -0,0 +1,23 @@
package com.amazonaws.services.securitytoken.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.services.securitytoken.model.ExpiredTokenException;
import com.amazonaws.transform.StandardErrorUnmarshaller;
import org.w3c.dom.Node;
/* loaded from: classes.dex */
public class ExpiredTokenExceptionUnmarshaller extends StandardErrorUnmarshaller {
public ExpiredTokenExceptionUnmarshaller() {
super(ExpiredTokenException.class);
}
@Override // com.amazonaws.transform.StandardErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(Node node) {
String parseErrorCode = parseErrorCode(node);
if (parseErrorCode != null && parseErrorCode.equals("ExpiredTokenException")) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(node));
}
return null;
}
}

View File

@@ -0,0 +1,23 @@
package com.amazonaws.services.securitytoken.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.services.securitytoken.model.IDPCommunicationErrorException;
import com.amazonaws.transform.StandardErrorUnmarshaller;
import org.w3c.dom.Node;
/* loaded from: classes.dex */
public class IDPCommunicationErrorExceptionUnmarshaller extends StandardErrorUnmarshaller {
public IDPCommunicationErrorExceptionUnmarshaller() {
super(IDPCommunicationErrorException.class);
}
@Override // com.amazonaws.transform.StandardErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(Node node) {
String parseErrorCode = parseErrorCode(node);
if (parseErrorCode != null && parseErrorCode.equals("IDPCommunicationError")) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(node));
}
return null;
}
}

View File

@@ -0,0 +1,23 @@
package com.amazonaws.services.securitytoken.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.services.securitytoken.model.IDPRejectedClaimException;
import com.amazonaws.transform.StandardErrorUnmarshaller;
import org.w3c.dom.Node;
/* loaded from: classes.dex */
public class IDPRejectedClaimExceptionUnmarshaller extends StandardErrorUnmarshaller {
public IDPRejectedClaimExceptionUnmarshaller() {
super(IDPRejectedClaimException.class);
}
@Override // com.amazonaws.transform.StandardErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(Node node) {
String parseErrorCode = parseErrorCode(node);
if (parseErrorCode != null && parseErrorCode.equals("IDPRejectedClaim")) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(node));
}
return null;
}
}

View File

@@ -0,0 +1,23 @@
package com.amazonaws.services.securitytoken.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.services.securitytoken.model.InvalidAuthorizationMessageException;
import com.amazonaws.transform.StandardErrorUnmarshaller;
import org.w3c.dom.Node;
/* loaded from: classes.dex */
public class InvalidAuthorizationMessageExceptionUnmarshaller extends StandardErrorUnmarshaller {
public InvalidAuthorizationMessageExceptionUnmarshaller() {
super(InvalidAuthorizationMessageException.class);
}
@Override // com.amazonaws.transform.StandardErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(Node node) {
String parseErrorCode = parseErrorCode(node);
if (parseErrorCode != null && parseErrorCode.equals("InvalidAuthorizationMessageException")) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(node));
}
return null;
}
}

View File

@@ -0,0 +1,23 @@
package com.amazonaws.services.securitytoken.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.services.securitytoken.model.InvalidIdentityTokenException;
import com.amazonaws.transform.StandardErrorUnmarshaller;
import org.w3c.dom.Node;
/* loaded from: classes.dex */
public class InvalidIdentityTokenExceptionUnmarshaller extends StandardErrorUnmarshaller {
public InvalidIdentityTokenExceptionUnmarshaller() {
super(InvalidIdentityTokenException.class);
}
@Override // com.amazonaws.transform.StandardErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(Node node) {
String parseErrorCode = parseErrorCode(node);
if (parseErrorCode != null && parseErrorCode.equals("InvalidIdentityToken")) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(node));
}
return null;
}
}

View File

@@ -0,0 +1,23 @@
package com.amazonaws.services.securitytoken.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.services.securitytoken.model.MalformedPolicyDocumentException;
import com.amazonaws.transform.StandardErrorUnmarshaller;
import org.w3c.dom.Node;
/* loaded from: classes.dex */
public class MalformedPolicyDocumentExceptionUnmarshaller extends StandardErrorUnmarshaller {
public MalformedPolicyDocumentExceptionUnmarshaller() {
super(MalformedPolicyDocumentException.class);
}
@Override // com.amazonaws.transform.StandardErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(Node node) {
String parseErrorCode = parseErrorCode(node);
if (parseErrorCode != null && parseErrorCode.equals("MalformedPolicyDocument")) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(node));
}
return null;
}
}

View File

@@ -0,0 +1,23 @@
package com.amazonaws.services.securitytoken.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.services.securitytoken.model.PackedPolicyTooLargeException;
import com.amazonaws.transform.StandardErrorUnmarshaller;
import org.w3c.dom.Node;
/* loaded from: classes.dex */
public class PackedPolicyTooLargeExceptionUnmarshaller extends StandardErrorUnmarshaller {
public PackedPolicyTooLargeExceptionUnmarshaller() {
super(PackedPolicyTooLargeException.class);
}
@Override // com.amazonaws.transform.StandardErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(Node node) {
String parseErrorCode = parseErrorCode(node);
if (parseErrorCode != null && parseErrorCode.equals("PackedPolicyTooLarge")) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(node));
}
return null;
}
}

View File

@@ -0,0 +1,23 @@
package com.amazonaws.services.securitytoken.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.services.securitytoken.model.RegionDisabledException;
import com.amazonaws.transform.StandardErrorUnmarshaller;
import org.w3c.dom.Node;
/* loaded from: classes.dex */
public class RegionDisabledExceptionUnmarshaller extends StandardErrorUnmarshaller {
public RegionDisabledExceptionUnmarshaller() {
super(RegionDisabledException.class);
}
@Override // com.amazonaws.transform.StandardErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(Node node) {
String parseErrorCode = parseErrorCode(node);
if (parseErrorCode != null && parseErrorCode.equals("RegionDisabledException")) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(node));
}
return null;
}
}