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,8 @@
package com.amazonaws.services.kinesis.model;
import com.amazonaws.AmazonServiceException;
/* loaded from: classes.dex */
public abstract class ExpiredIteratorException extends AmazonServiceException {
private static final long serialVersionUID = 1;
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,70 @@
package com.amazonaws.services.kinesis.model;
import com.amazonaws.AmazonWebServiceRequest;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/* loaded from: classes.dex */
public class PutRecordsRequest extends AmazonWebServiceRequest implements Serializable {
public List records = new ArrayList();
public String streamName;
public List getRecords() {
return this.records;
}
public String getStreamName() {
return this.streamName;
}
public void setStreamName(String str) {
this.streamName = str;
}
public void setRecords(Collection collection) {
if (collection == null) {
this.records = null;
} else {
this.records = new ArrayList(collection);
}
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getRecords() != null) {
sb.append("Records: " + getRecords() + ",");
}
if (getStreamName() != null) {
sb.append("StreamName: " + getStreamName());
}
sb.append("}");
return sb.toString();
}
public int hashCode() {
return (((getRecords() == null ? 0 : getRecords().hashCode()) + 31) * 31) + (getStreamName() != null ? getStreamName().hashCode() : 0);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !(obj instanceof PutRecordsRequest)) {
return false;
}
PutRecordsRequest putRecordsRequest = (PutRecordsRequest) obj;
if ((putRecordsRequest.getRecords() == null) ^ (getRecords() == null)) {
return false;
}
if (putRecordsRequest.getRecords() != null && !putRecordsRequest.getRecords().equals(getRecords())) {
return false;
}
if ((putRecordsRequest.getStreamName() == null) ^ (getStreamName() == null)) {
return false;
}
return putRecordsRequest.getStreamName() == null || putRecordsRequest.getStreamName().equals(getStreamName());
}
}

View File

@@ -0,0 +1,77 @@
package com.amazonaws.services.kinesis.model;
import java.io.Serializable;
import java.nio.ByteBuffer;
/* loaded from: classes.dex */
public class PutRecordsRequestEntry implements Serializable {
public ByteBuffer data;
public String explicitHashKey;
public String partitionKey;
public ByteBuffer getData() {
return this.data;
}
public String getExplicitHashKey() {
return this.explicitHashKey;
}
public String getPartitionKey() {
return this.partitionKey;
}
public void setData(ByteBuffer byteBuffer) {
this.data = byteBuffer;
}
public void setPartitionKey(String str) {
this.partitionKey = str;
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getData() != null) {
sb.append("Data: " + getData() + ",");
}
if (getExplicitHashKey() != null) {
sb.append("ExplicitHashKey: " + getExplicitHashKey() + ",");
}
if (getPartitionKey() != null) {
sb.append("PartitionKey: " + getPartitionKey());
}
sb.append("}");
return sb.toString();
}
public int hashCode() {
return (((((getData() == null ? 0 : getData().hashCode()) + 31) * 31) + (getExplicitHashKey() == null ? 0 : getExplicitHashKey().hashCode())) * 31) + (getPartitionKey() != null ? getPartitionKey().hashCode() : 0);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !(obj instanceof PutRecordsRequestEntry)) {
return false;
}
PutRecordsRequestEntry putRecordsRequestEntry = (PutRecordsRequestEntry) obj;
if ((putRecordsRequestEntry.getData() == null) ^ (getData() == null)) {
return false;
}
if (putRecordsRequestEntry.getData() != null && !putRecordsRequestEntry.getData().equals(getData())) {
return false;
}
if ((putRecordsRequestEntry.getExplicitHashKey() == null) ^ (getExplicitHashKey() == null)) {
return false;
}
if (putRecordsRequestEntry.getExplicitHashKey() != null && !putRecordsRequestEntry.getExplicitHashKey().equals(getExplicitHashKey())) {
return false;
}
if ((putRecordsRequestEntry.getPartitionKey() == null) ^ (getPartitionKey() == null)) {
return false;
}
return putRecordsRequestEntry.getPartitionKey() == null || putRecordsRequestEntry.getPartitionKey().equals(getPartitionKey());
}
}

View File

@@ -0,0 +1,87 @@
package com.amazonaws.services.kinesis.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/* loaded from: classes.dex */
public class PutRecordsResult implements Serializable {
public String encryptionType;
public Integer failedRecordCount;
public List records = new ArrayList();
public String getEncryptionType() {
return this.encryptionType;
}
public Integer getFailedRecordCount() {
return this.failedRecordCount;
}
public List getRecords() {
return this.records;
}
public void setEncryptionType(String str) {
this.encryptionType = str;
}
public void setFailedRecordCount(Integer num) {
this.failedRecordCount = num;
}
public void setRecords(Collection collection) {
if (collection == null) {
this.records = null;
} else {
this.records = new ArrayList(collection);
}
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getFailedRecordCount() != null) {
sb.append("FailedRecordCount: " + getFailedRecordCount() + ",");
}
if (getRecords() != null) {
sb.append("Records: " + getRecords() + ",");
}
if (getEncryptionType() != null) {
sb.append("EncryptionType: " + getEncryptionType());
}
sb.append("}");
return sb.toString();
}
public int hashCode() {
return (((((getFailedRecordCount() == null ? 0 : getFailedRecordCount().hashCode()) + 31) * 31) + (getRecords() == null ? 0 : getRecords().hashCode())) * 31) + (getEncryptionType() != null ? getEncryptionType().hashCode() : 0);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !(obj instanceof PutRecordsResult)) {
return false;
}
PutRecordsResult putRecordsResult = (PutRecordsResult) obj;
if ((putRecordsResult.getFailedRecordCount() == null) ^ (getFailedRecordCount() == null)) {
return false;
}
if (putRecordsResult.getFailedRecordCount() != null && !putRecordsResult.getFailedRecordCount().equals(getFailedRecordCount())) {
return false;
}
if ((putRecordsResult.getRecords() == null) ^ (getRecords() == null)) {
return false;
}
if (putRecordsResult.getRecords() != null && !putRecordsResult.getRecords().equals(getRecords())) {
return false;
}
if ((putRecordsResult.getEncryptionType() == null) ^ (getEncryptionType() == null)) {
return false;
}
return putRecordsResult.getEncryptionType() == null || putRecordsResult.getEncryptionType().equals(getEncryptionType());
}
}

View File

@@ -0,0 +1,98 @@
package com.amazonaws.services.kinesis.model;
import java.io.Serializable;
/* loaded from: classes.dex */
public class PutRecordsResultEntry implements Serializable {
public String errorCode;
public String errorMessage;
public String sequenceNumber;
public String shardId;
public String getErrorCode() {
return this.errorCode;
}
public String getErrorMessage() {
return this.errorMessage;
}
public String getSequenceNumber() {
return this.sequenceNumber;
}
public String getShardId() {
return this.shardId;
}
public void setErrorCode(String str) {
this.errorCode = str;
}
public void setErrorMessage(String str) {
this.errorMessage = str;
}
public void setSequenceNumber(String str) {
this.sequenceNumber = str;
}
public void setShardId(String str) {
this.shardId = str;
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getSequenceNumber() != null) {
sb.append("SequenceNumber: " + getSequenceNumber() + ",");
}
if (getShardId() != null) {
sb.append("ShardId: " + getShardId() + ",");
}
if (getErrorCode() != null) {
sb.append("ErrorCode: " + getErrorCode() + ",");
}
if (getErrorMessage() != null) {
sb.append("ErrorMessage: " + getErrorMessage());
}
sb.append("}");
return sb.toString();
}
public int hashCode() {
return (((((((getSequenceNumber() == null ? 0 : getSequenceNumber().hashCode()) + 31) * 31) + (getShardId() == null ? 0 : getShardId().hashCode())) * 31) + (getErrorCode() == null ? 0 : getErrorCode().hashCode())) * 31) + (getErrorMessage() != null ? getErrorMessage().hashCode() : 0);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !(obj instanceof PutRecordsResultEntry)) {
return false;
}
PutRecordsResultEntry putRecordsResultEntry = (PutRecordsResultEntry) obj;
if ((putRecordsResultEntry.getSequenceNumber() == null) ^ (getSequenceNumber() == null)) {
return false;
}
if (putRecordsResultEntry.getSequenceNumber() != null && !putRecordsResultEntry.getSequenceNumber().equals(getSequenceNumber())) {
return false;
}
if ((putRecordsResultEntry.getShardId() == null) ^ (getShardId() == null)) {
return false;
}
if (putRecordsResultEntry.getShardId() != null && !putRecordsResultEntry.getShardId().equals(getShardId())) {
return false;
}
if ((putRecordsResultEntry.getErrorCode() == null) ^ (getErrorCode() == null)) {
return false;
}
if (putRecordsResultEntry.getErrorCode() != null && !putRecordsResultEntry.getErrorCode().equals(getErrorCode())) {
return false;
}
if ((putRecordsResultEntry.getErrorMessage() == null) ^ (getErrorMessage() == null)) {
return false;
}
return putRecordsResultEntry.getErrorMessage() == null || putRecordsResultEntry.getErrorMessage().equals(getErrorMessage());
}
}

View File

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

View File

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

View File

@@ -0,0 +1,25 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.http.JsonErrorResponseHandler;
import com.amazonaws.services.kinesis.model.ExpiredIteratorException;
import com.amazonaws.transform.JsonErrorUnmarshaller;
/* loaded from: classes.dex */
public class ExpiredIteratorExceptionUnmarshaller extends JsonErrorUnmarshaller {
public ExpiredIteratorExceptionUnmarshaller() {
super(ExpiredIteratorException.class);
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller
public boolean match(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
return jsonErrorResponse.getErrorCode().equals("ExpiredIteratorException");
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(jsonErrorResponse));
throw null;
}
}

View File

@@ -0,0 +1,25 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.http.JsonErrorResponseHandler;
import com.amazonaws.services.kinesis.model.ExpiredNextTokenException;
import com.amazonaws.transform.JsonErrorUnmarshaller;
/* loaded from: classes.dex */
public class ExpiredNextTokenExceptionUnmarshaller extends JsonErrorUnmarshaller {
public ExpiredNextTokenExceptionUnmarshaller() {
super(ExpiredNextTokenException.class);
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller
public boolean match(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
return jsonErrorResponse.getErrorCode().equals("ExpiredNextTokenException");
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(jsonErrorResponse));
throw null;
}
}

View File

@@ -0,0 +1,25 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.http.JsonErrorResponseHandler;
import com.amazonaws.services.kinesis.model.InvalidArgumentException;
import com.amazonaws.transform.JsonErrorUnmarshaller;
/* loaded from: classes.dex */
public class InvalidArgumentExceptionUnmarshaller extends JsonErrorUnmarshaller {
public InvalidArgumentExceptionUnmarshaller() {
super(InvalidArgumentException.class);
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller
public boolean match(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
return jsonErrorResponse.getErrorCode().equals("InvalidArgumentException");
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(jsonErrorResponse));
throw null;
}
}

View File

@@ -0,0 +1,25 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.http.JsonErrorResponseHandler;
import com.amazonaws.services.kinesis.model.KMSAccessDeniedException;
import com.amazonaws.transform.JsonErrorUnmarshaller;
/* loaded from: classes.dex */
public class KMSAccessDeniedExceptionUnmarshaller extends JsonErrorUnmarshaller {
public KMSAccessDeniedExceptionUnmarshaller() {
super(KMSAccessDeniedException.class);
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller
public boolean match(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
return jsonErrorResponse.getErrorCode().equals("KMSAccessDeniedException");
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(jsonErrorResponse));
throw null;
}
}

View File

@@ -0,0 +1,25 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.http.JsonErrorResponseHandler;
import com.amazonaws.services.kinesis.model.KMSDisabledException;
import com.amazonaws.transform.JsonErrorUnmarshaller;
/* loaded from: classes.dex */
public class KMSDisabledExceptionUnmarshaller extends JsonErrorUnmarshaller {
public KMSDisabledExceptionUnmarshaller() {
super(KMSDisabledException.class);
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller
public boolean match(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
return jsonErrorResponse.getErrorCode().equals("KMSDisabledException");
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(jsonErrorResponse));
throw null;
}
}

View File

@@ -0,0 +1,25 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.http.JsonErrorResponseHandler;
import com.amazonaws.services.kinesis.model.KMSInvalidStateException;
import com.amazonaws.transform.JsonErrorUnmarshaller;
/* loaded from: classes.dex */
public class KMSInvalidStateExceptionUnmarshaller extends JsonErrorUnmarshaller {
public KMSInvalidStateExceptionUnmarshaller() {
super(KMSInvalidStateException.class);
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller
public boolean match(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
return jsonErrorResponse.getErrorCode().equals("KMSInvalidStateException");
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(jsonErrorResponse));
throw null;
}
}

View File

@@ -0,0 +1,25 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.http.JsonErrorResponseHandler;
import com.amazonaws.services.kinesis.model.KMSNotFoundException;
import com.amazonaws.transform.JsonErrorUnmarshaller;
/* loaded from: classes.dex */
public class KMSNotFoundExceptionUnmarshaller extends JsonErrorUnmarshaller {
public KMSNotFoundExceptionUnmarshaller() {
super(KMSNotFoundException.class);
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller
public boolean match(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
return jsonErrorResponse.getErrorCode().equals("KMSNotFoundException");
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(jsonErrorResponse));
throw null;
}
}

View File

@@ -0,0 +1,25 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.http.JsonErrorResponseHandler;
import com.amazonaws.services.kinesis.model.KMSOptInRequiredException;
import com.amazonaws.transform.JsonErrorUnmarshaller;
/* loaded from: classes.dex */
public class KMSOptInRequiredExceptionUnmarshaller extends JsonErrorUnmarshaller {
public KMSOptInRequiredExceptionUnmarshaller() {
super(KMSOptInRequiredException.class);
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller
public boolean match(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
return jsonErrorResponse.getErrorCode().equals("KMSOptInRequired");
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(jsonErrorResponse));
throw null;
}
}

View File

@@ -0,0 +1,25 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.http.JsonErrorResponseHandler;
import com.amazonaws.services.kinesis.model.KMSThrottlingException;
import com.amazonaws.transform.JsonErrorUnmarshaller;
/* loaded from: classes.dex */
public class KMSThrottlingExceptionUnmarshaller extends JsonErrorUnmarshaller {
public KMSThrottlingExceptionUnmarshaller() {
super(KMSThrottlingException.class);
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller
public boolean match(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
return jsonErrorResponse.getErrorCode().equals("KMSThrottlingException");
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(jsonErrorResponse));
throw null;
}
}

View File

@@ -0,0 +1,25 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.http.JsonErrorResponseHandler;
import com.amazonaws.services.kinesis.model.LimitExceededException;
import com.amazonaws.transform.JsonErrorUnmarshaller;
/* loaded from: classes.dex */
public class LimitExceededExceptionUnmarshaller extends JsonErrorUnmarshaller {
public LimitExceededExceptionUnmarshaller() {
super(LimitExceededException.class);
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller
public boolean match(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
return jsonErrorResponse.getErrorCode().equals("LimitExceededException");
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(jsonErrorResponse));
throw null;
}
}

View File

@@ -0,0 +1,25 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.http.JsonErrorResponseHandler;
import com.amazonaws.services.kinesis.model.ProvisionedThroughputExceededException;
import com.amazonaws.transform.JsonErrorUnmarshaller;
/* loaded from: classes.dex */
public class ProvisionedThroughputExceededExceptionUnmarshaller extends JsonErrorUnmarshaller {
public ProvisionedThroughputExceededExceptionUnmarshaller() {
super(ProvisionedThroughputExceededException.class);
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller
public boolean match(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
return jsonErrorResponse.getErrorCode().equals("ProvisionedThroughputExceededException");
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(jsonErrorResponse));
throw null;
}
}

View File

@@ -0,0 +1,37 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.services.kinesis.model.PutRecordsRequestEntry;
import com.amazonaws.util.json.AwsJsonWriter;
import java.nio.ByteBuffer;
/* loaded from: classes.dex */
class PutRecordsRequestEntryJsonMarshaller {
public static PutRecordsRequestEntryJsonMarshaller instance;
public void marshall(PutRecordsRequestEntry putRecordsRequestEntry, AwsJsonWriter awsJsonWriter) {
awsJsonWriter.beginObject();
if (putRecordsRequestEntry.getData() != null) {
ByteBuffer data = putRecordsRequestEntry.getData();
awsJsonWriter.name("Data");
awsJsonWriter.value(data);
}
if (putRecordsRequestEntry.getExplicitHashKey() != null) {
String explicitHashKey = putRecordsRequestEntry.getExplicitHashKey();
awsJsonWriter.name("ExplicitHashKey");
awsJsonWriter.value(explicitHashKey);
}
if (putRecordsRequestEntry.getPartitionKey() != null) {
String partitionKey = putRecordsRequestEntry.getPartitionKey();
awsJsonWriter.name("PartitionKey");
awsJsonWriter.value(partitionKey);
}
awsJsonWriter.endObject();
}
public static PutRecordsRequestEntryJsonMarshaller getInstance() {
if (instance == null) {
instance = new PutRecordsRequestEntryJsonMarshaller();
}
return instance;
}
}

View File

@@ -0,0 +1,67 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.AmazonClientException;
import com.amazonaws.DefaultRequest;
import com.amazonaws.Request;
import com.amazonaws.http.HttpMethodName;
import com.amazonaws.services.kinesis.model.PutRecordsRequest;
import com.amazonaws.services.kinesis.model.PutRecordsRequestEntry;
import com.amazonaws.util.StringUtils;
import com.amazonaws.util.json.AwsJsonWriter;
import com.amazonaws.util.json.JsonUtils;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.OutputStreamWriter;
import java.util.List;
import java.util.zip.GZIPOutputStream;
import org.apache.http.protocol.HTTP;
/* loaded from: classes.dex */
public class PutRecordsRequestMarshaller {
public Request marshall(PutRecordsRequest putRecordsRequest) {
if (putRecordsRequest == null) {
throw new AmazonClientException("Invalid argument passed to marshall(PutRecordsRequest)");
}
DefaultRequest defaultRequest = new DefaultRequest(putRecordsRequest, "AmazonKinesis");
defaultRequest.addHeader("X-Amz-Target", "Kinesis_20131202.PutRecords");
defaultRequest.setHttpMethod(HttpMethodName.POST);
defaultRequest.setResourcePath("/");
try {
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
GZIPOutputStream gZIPOutputStream = new GZIPOutputStream(byteArrayOutputStream, 8192);
OutputStreamWriter outputStreamWriter = new OutputStreamWriter(gZIPOutputStream, StringUtils.UTF8);
AwsJsonWriter jsonWriter = JsonUtils.getJsonWriter(outputStreamWriter);
jsonWriter.beginObject();
if (putRecordsRequest.getRecords() != null) {
List<PutRecordsRequestEntry> records = putRecordsRequest.getRecords();
jsonWriter.name("Records");
jsonWriter.beginArray();
for (PutRecordsRequestEntry putRecordsRequestEntry : records) {
if (putRecordsRequestEntry != null) {
PutRecordsRequestEntryJsonMarshaller.getInstance().marshall(putRecordsRequestEntry, jsonWriter);
}
}
jsonWriter.endArray();
}
if (putRecordsRequest.getStreamName() != null) {
String streamName = putRecordsRequest.getStreamName();
jsonWriter.name("StreamName");
jsonWriter.value(streamName);
}
jsonWriter.endObject();
jsonWriter.flush();
gZIPOutputStream.finish();
outputStreamWriter.close();
byte[] byteArray = byteArrayOutputStream.toByteArray();
defaultRequest.setContent(new ByteArrayInputStream(byteArray));
defaultRequest.addHeader(HTTP.CONTENT_LEN, Integer.toString(byteArray.length));
defaultRequest.addHeader(HTTP.CONTENT_ENCODING, "gzip");
if (!defaultRequest.getHeaders().containsKey("Content-Type")) {
defaultRequest.addHeader("Content-Type", "application/x-amz-json-1.1");
}
return defaultRequest;
} catch (Throwable th) {
throw new AmazonClientException("Unable to marshall request to JSON: " + th.getMessage(), th);
}
}
}

View File

@@ -0,0 +1,46 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.services.kinesis.model.PutRecordsResultEntry;
import com.amazonaws.transform.JsonUnmarshallerContext;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers$StringJsonUnmarshaller;
import com.amazonaws.transform.Unmarshaller;
import com.amazonaws.util.json.AwsJsonReader;
/* loaded from: classes.dex */
class PutRecordsResultEntryJsonUnmarshaller implements Unmarshaller<PutRecordsResultEntry, JsonUnmarshallerContext> {
public static PutRecordsResultEntryJsonUnmarshaller instance;
@Override // com.amazonaws.transform.Unmarshaller
public PutRecordsResultEntry unmarshall(JsonUnmarshallerContext jsonUnmarshallerContext) {
AwsJsonReader reader = jsonUnmarshallerContext.getReader();
if (!reader.isContainer()) {
reader.skipValue();
return null;
}
PutRecordsResultEntry putRecordsResultEntry = new PutRecordsResultEntry();
reader.beginObject();
while (reader.hasNext()) {
String nextName = reader.nextName();
if (nextName.equals("SequenceNumber")) {
putRecordsResultEntry.setSequenceNumber(SimpleTypeJsonUnmarshallers$StringJsonUnmarshaller.getInstance().unmarshall(jsonUnmarshallerContext));
} else if (nextName.equals("ShardId")) {
putRecordsResultEntry.setShardId(SimpleTypeJsonUnmarshallers$StringJsonUnmarshaller.getInstance().unmarshall(jsonUnmarshallerContext));
} else if (nextName.equals("ErrorCode")) {
putRecordsResultEntry.setErrorCode(SimpleTypeJsonUnmarshallers$StringJsonUnmarshaller.getInstance().unmarshall(jsonUnmarshallerContext));
} else if (nextName.equals("ErrorMessage")) {
putRecordsResultEntry.setErrorMessage(SimpleTypeJsonUnmarshallers$StringJsonUnmarshaller.getInstance().unmarshall(jsonUnmarshallerContext));
} else {
reader.skipValue();
}
}
reader.endObject();
return putRecordsResultEntry;
}
public static PutRecordsResultEntryJsonUnmarshaller getInstance() {
if (instance == null) {
instance = new PutRecordsResultEntryJsonUnmarshaller();
}
return instance;
}
}

View File

@@ -0,0 +1,33 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.services.kinesis.model.PutRecordsResult;
import com.amazonaws.transform.JsonUnmarshallerContext;
import com.amazonaws.transform.ListUnmarshaller;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers$IntegerJsonUnmarshaller;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers$StringJsonUnmarshaller;
import com.amazonaws.transform.Unmarshaller;
import com.amazonaws.util.json.AwsJsonReader;
/* loaded from: classes.dex */
public class PutRecordsResultJsonUnmarshaller implements Unmarshaller<PutRecordsResult, JsonUnmarshallerContext> {
@Override // com.amazonaws.transform.Unmarshaller
public PutRecordsResult unmarshall(JsonUnmarshallerContext jsonUnmarshallerContext) {
PutRecordsResult putRecordsResult = new PutRecordsResult();
AwsJsonReader reader = jsonUnmarshallerContext.getReader();
reader.beginObject();
while (reader.hasNext()) {
String nextName = reader.nextName();
if (nextName.equals("FailedRecordCount")) {
putRecordsResult.setFailedRecordCount(SimpleTypeJsonUnmarshallers$IntegerJsonUnmarshaller.getInstance().unmarshall(jsonUnmarshallerContext));
} else if (nextName.equals("Records")) {
putRecordsResult.setRecords(new ListUnmarshaller(PutRecordsResultEntryJsonUnmarshaller.getInstance()).unmarshall(jsonUnmarshallerContext));
} else if (nextName.equals("EncryptionType")) {
putRecordsResult.setEncryptionType(SimpleTypeJsonUnmarshallers$StringJsonUnmarshaller.getInstance().unmarshall(jsonUnmarshallerContext));
} else {
reader.skipValue();
}
}
reader.endObject();
return putRecordsResult;
}
}

View File

@@ -0,0 +1,25 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.http.JsonErrorResponseHandler;
import com.amazonaws.services.kinesis.model.ResourceInUseException;
import com.amazonaws.transform.JsonErrorUnmarshaller;
/* loaded from: classes.dex */
public class ResourceInUseExceptionUnmarshaller extends JsonErrorUnmarshaller {
public ResourceInUseExceptionUnmarshaller() {
super(ResourceInUseException.class);
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller
public boolean match(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
return jsonErrorResponse.getErrorCode().equals("ResourceInUseException");
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(jsonErrorResponse));
throw null;
}
}

View File

@@ -0,0 +1,25 @@
package com.amazonaws.services.kinesis.model.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.amazonaws.http.JsonErrorResponseHandler;
import com.amazonaws.services.kinesis.model.ResourceNotFoundException;
import com.amazonaws.transform.JsonErrorUnmarshaller;
/* loaded from: classes.dex */
public class ResourceNotFoundExceptionUnmarshaller extends JsonErrorUnmarshaller {
public ResourceNotFoundExceptionUnmarshaller() {
super(ResourceNotFoundException.class);
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller
public boolean match(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
return jsonErrorResponse.getErrorCode().equals("ResourceNotFoundException");
}
@Override // com.amazonaws.transform.JsonErrorUnmarshaller, com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(JsonErrorResponseHandler.JsonErrorResponse jsonErrorResponse) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(super.unmarshall(jsonErrorResponse));
throw null;
}
}