Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: KMS throws IllegalStateException #1156

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,6 @@ structure CreateDynamoDbEncryptionBranchKeyIdSupplierOutput {
branchKeyIdSupplier: BranchKeyIdSupplierReference
}

/////////////
// Errors

@error("client")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ structure AtomicPrimitivesReference {}
@aws.polymorph#reference(service: aws.cryptography.dbEncryptionSdk.structuredEncryption#StructuredEncryption)
structure StructuredEncryptionReference {}

/////////////
// Errors

@error("client")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ list AuthList {
@aws.polymorph#reference(service: aws.cryptography.primitives#AwsCryptographicPrimitives)
structure AtomicPrimitivesReference {}

/////////////
// Errors

@error("client")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@

public class BatchGetItemInputTransformInput {

/**
* <p>Represents the input of a <code>BatchGetItem</code> operation.</p>
*/
private final BatchGetItemRequest sdkInput;

protected BatchGetItemInputTransformInput(BuilderImpl builder) {
this.sdkInput = builder.sdkInput();
}

/**
* @return <p>Represents the input of a <code>BatchGetItem</code> operation.</p>
*/
public BatchGetItemRequest sdkInput() {
return this.sdkInput;
}
Expand All @@ -27,8 +33,14 @@ public static Builder builder() {
}

public interface Builder {
/**
* @param sdkInput <p>Represents the input of a <code>BatchGetItem</code> operation.</p>
*/
Builder sdkInput(BatchGetItemRequest sdkInput);

/**
* @return <p>Represents the input of a <code>BatchGetItem</code> operation.</p>
*/
BatchGetItemRequest sdkInput();

BatchGetItemInputTransformInput build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@

public class BatchGetItemInputTransformOutput {

/**
* <p>Represents the input of a <code>BatchGetItem</code> operation.</p>
*/
private final BatchGetItemRequest transformedInput;

protected BatchGetItemInputTransformOutput(BuilderImpl builder) {
this.transformedInput = builder.transformedInput();
}

/**
* @return <p>Represents the input of a <code>BatchGetItem</code> operation.</p>
*/
public BatchGetItemRequest transformedInput() {
return this.transformedInput;
}
Expand All @@ -27,8 +33,14 @@ public static Builder builder() {
}

public interface Builder {
/**
* @param transformedInput <p>Represents the input of a <code>BatchGetItem</code> operation.</p>
*/
Builder transformedInput(BatchGetItemRequest transformedInput);

/**
* @return <p>Represents the input of a <code>BatchGetItem</code> operation.</p>
*/
BatchGetItemRequest transformedInput();

BatchGetItemInputTransformOutput build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,31 @@

public class BatchGetItemOutputTransformInput {

/**
* <p>Represents the output of a <code>BatchGetItem</code> operation.</p>
*/
private final BatchGetItemResponse sdkOutput;

/**
* <p>Represents the input of a <code>BatchGetItem</code> operation.</p>
*/
private final BatchGetItemRequest originalInput;

protected BatchGetItemOutputTransformInput(BuilderImpl builder) {
this.sdkOutput = builder.sdkOutput();
this.originalInput = builder.originalInput();
}

/**
* @return <p>Represents the output of a <code>BatchGetItem</code> operation.</p>
*/
public BatchGetItemResponse sdkOutput() {
return this.sdkOutput;
}

/**
* @return <p>Represents the input of a <code>BatchGetItem</code> operation.</p>
*/
public BatchGetItemRequest originalInput() {
return this.originalInput;
}
Expand All @@ -35,12 +47,24 @@ public static Builder builder() {
}

public interface Builder {
/**
* @param sdkOutput <p>Represents the output of a <code>BatchGetItem</code> operation.</p>
*/
Builder sdkOutput(BatchGetItemResponse sdkOutput);

/**
* @return <p>Represents the output of a <code>BatchGetItem</code> operation.</p>
*/
BatchGetItemResponse sdkOutput();

/**
* @param originalInput <p>Represents the input of a <code>BatchGetItem</code> operation.</p>
*/
Builder originalInput(BatchGetItemRequest originalInput);

/**
* @return <p>Represents the input of a <code>BatchGetItem</code> operation.</p>
*/
BatchGetItemRequest originalInput();

BatchGetItemOutputTransformInput build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@

public class BatchGetItemOutputTransformOutput {

/**
* <p>Represents the output of a <code>BatchGetItem</code> operation.</p>
*/
private final BatchGetItemResponse transformedOutput;

protected BatchGetItemOutputTransformOutput(BuilderImpl builder) {
this.transformedOutput = builder.transformedOutput();
}

/**
* @return <p>Represents the output of a <code>BatchGetItem</code> operation.</p>
*/
public BatchGetItemResponse transformedOutput() {
return this.transformedOutput;
}
Expand All @@ -27,8 +33,14 @@ public static Builder builder() {
}

public interface Builder {
/**
* @param transformedOutput <p>Represents the output of a <code>BatchGetItem</code> operation.</p>
*/
Builder transformedOutput(BatchGetItemResponse transformedOutput);

/**
* @return <p>Represents the output of a <code>BatchGetItem</code> operation.</p>
*/
BatchGetItemResponse transformedOutput();

BatchGetItemOutputTransformOutput build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@

public class BatchWriteItemInputTransformInput {

/**
* <p>Represents the input of a <code>BatchWriteItem</code> operation.</p>
*/
private final BatchWriteItemRequest sdkInput;

protected BatchWriteItemInputTransformInput(BuilderImpl builder) {
this.sdkInput = builder.sdkInput();
}

/**
* @return <p>Represents the input of a <code>BatchWriteItem</code> operation.</p>
*/
public BatchWriteItemRequest sdkInput() {
return this.sdkInput;
}
Expand All @@ -27,8 +33,14 @@ public static Builder builder() {
}

public interface Builder {
/**
* @param sdkInput <p>Represents the input of a <code>BatchWriteItem</code> operation.</p>
*/
Builder sdkInput(BatchWriteItemRequest sdkInput);

/**
* @return <p>Represents the input of a <code>BatchWriteItem</code> operation.</p>
*/
BatchWriteItemRequest sdkInput();

BatchWriteItemInputTransformInput build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@

public class BatchWriteItemInputTransformOutput {

/**
* <p>Represents the input of a <code>BatchWriteItem</code> operation.</p>
*/
private final BatchWriteItemRequest transformedInput;

protected BatchWriteItemInputTransformOutput(BuilderImpl builder) {
this.transformedInput = builder.transformedInput();
}

/**
* @return <p>Represents the input of a <code>BatchWriteItem</code> operation.</p>
*/
public BatchWriteItemRequest transformedInput() {
return this.transformedInput;
}
Expand All @@ -27,8 +33,14 @@ public static Builder builder() {
}

public interface Builder {
/**
* @param transformedInput <p>Represents the input of a <code>BatchWriteItem</code> operation.</p>
*/
Builder transformedInput(BatchWriteItemRequest transformedInput);

/**
* @return <p>Represents the input of a <code>BatchWriteItem</code> operation.</p>
*/
BatchWriteItemRequest transformedInput();

BatchWriteItemInputTransformOutput build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,31 @@

public class BatchWriteItemOutputTransformInput {

/**
* <p>Represents the output of a <code>BatchWriteItem</code> operation.</p>
*/
private final BatchWriteItemResponse sdkOutput;

/**
* <p>Represents the input of a <code>BatchWriteItem</code> operation.</p>
*/
private final BatchWriteItemRequest originalInput;

protected BatchWriteItemOutputTransformInput(BuilderImpl builder) {
this.sdkOutput = builder.sdkOutput();
this.originalInput = builder.originalInput();
}

/**
* @return <p>Represents the output of a <code>BatchWriteItem</code> operation.</p>
*/
public BatchWriteItemResponse sdkOutput() {
return this.sdkOutput;
}

/**
* @return <p>Represents the input of a <code>BatchWriteItem</code> operation.</p>
*/
public BatchWriteItemRequest originalInput() {
return this.originalInput;
}
Expand All @@ -35,12 +47,24 @@ public static Builder builder() {
}

public interface Builder {
/**
* @param sdkOutput <p>Represents the output of a <code>BatchWriteItem</code> operation.</p>
*/
Builder sdkOutput(BatchWriteItemResponse sdkOutput);

/**
* @return <p>Represents the output of a <code>BatchWriteItem</code> operation.</p>
*/
BatchWriteItemResponse sdkOutput();

/**
* @param originalInput <p>Represents the input of a <code>BatchWriteItem</code> operation.</p>
*/
Builder originalInput(BatchWriteItemRequest originalInput);

/**
* @return <p>Represents the input of a <code>BatchWriteItem</code> operation.</p>
*/
BatchWriteItemRequest originalInput();

BatchWriteItemOutputTransformInput build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@

public class BatchWriteItemOutputTransformOutput {

/**
* <p>Represents the output of a <code>BatchWriteItem</code> operation.</p>
*/
private final BatchWriteItemResponse transformedOutput;

protected BatchWriteItemOutputTransformOutput(BuilderImpl builder) {
this.transformedOutput = builder.transformedOutput();
}

/**
* @return <p>Represents the output of a <code>BatchWriteItem</code> operation.</p>
*/
public BatchWriteItemResponse transformedOutput() {
return this.transformedOutput;
}
Expand All @@ -27,8 +33,14 @@ public static Builder builder() {
}

public interface Builder {
/**
* @param transformedOutput <p>Represents the output of a <code>BatchWriteItem</code> operation.</p>
*/
Builder transformedOutput(BatchWriteItemResponse transformedOutput);

/**
* @return <p>Represents the output of a <code>BatchWriteItem</code> operation.</p>
*/
BatchWriteItemResponse transformedOutput();

BatchWriteItemOutputTransformOutput build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@

public class DeleteItemInputTransformInput {

/**
* <p>Represents the input of a <code>DeleteItem</code> operation.</p>
*/
private final DeleteItemRequest sdkInput;

protected DeleteItemInputTransformInput(BuilderImpl builder) {
this.sdkInput = builder.sdkInput();
}

/**
* @return <p>Represents the input of a <code>DeleteItem</code> operation.</p>
*/
public DeleteItemRequest sdkInput() {
return this.sdkInput;
}
Expand All @@ -27,8 +33,14 @@ public static Builder builder() {
}

public interface Builder {
/**
* @param sdkInput <p>Represents the input of a <code>DeleteItem</code> operation.</p>
*/
Builder sdkInput(DeleteItemRequest sdkInput);

/**
* @return <p>Represents the input of a <code>DeleteItem</code> operation.</p>
*/
DeleteItemRequest sdkInput();

DeleteItemInputTransformInput build();
Expand Down
Loading
Loading