Modifier and Type | Method and Description |
---|---|
Map<String,ShapeModel> |
IntermediateModelShapeProcessor.process(Map<String,OperationModel> currentOperations,
Map<String,ShapeModel> currentShapes) |
Map<String,ShapeModel> |
AddEmptyOutputShape.process(Map<String,OperationModel> currentOperations,
Map<String,ShapeModel> currentShapes) |
Modifier and Type | Method and Description |
---|---|
Map<String,ShapeModel> |
IntermediateModelShapeProcessor.process(Map<String,OperationModel> currentOperations,
Map<String,ShapeModel> currentShapes) |
Map<String,ShapeModel> |
AddEmptyOutputShape.process(Map<String,OperationModel> currentOperations,
Map<String,ShapeModel> currentShapes) |
Modifier and Type | Method and Description |
---|---|
static ShapeModel |
Utils.findMemberShapeModelByC2jNameIfExists(IntermediateModel intermediateModel,
String shapeC2jName)
Search for a shape model by its C2J name, excluding request and response shapes, which are not candidates to be members
of another shape.
|
static ShapeModel |
Utils.findShapeModelByC2jName(IntermediateModel intermediateModel,
String shapeC2jName)
Search for intermediate shape model by its c2j name.
|
static ShapeModel |
Utils.findShapeModelByC2jNameIfExists(IntermediateModel intermediateModel,
String shapeC2jName)
Search for intermediate shape model by its c2j name.
|
Modifier and Type | Method and Description |
---|---|
static List<ShapeModel> |
Utils.findShapesByC2jName(IntermediateModel intermediateModel,
String shapeC2jName) |
Modifier and Type | Method and Description |
---|---|
static String |
DocumentationUtils.createLinkToServiceDocumentation(Metadata metadata,
ShapeModel shapeModel)
Create the HTML for a link to the operation/shape core AWS docs site
|
Modifier and Type | Method and Description |
---|---|
boolean |
ConvenienceTypeOverload.accepts(ShapeModel shape,
MemberModel member) |
Modifier and Type | Method and Description |
---|---|
ShapeModel |
OperationModel.getInputShape() |
ShapeModel |
OperationModel.getOutputShape() |
ShapeModel |
MemberModel.getShape() |
ShapeModel |
IntermediateModel.getShapeByNameAndC2jName(String shapeName,
String shapeC2jName)
Looks up a shape by name and verifies that the expected C2J name matches
|
ShapeModel |
ShapeModel.withHasHeaderMember(boolean hasHeaderMember) |
ShapeModel |
ShapeModel.withHasPayloadMember(boolean hasPayloadMember) |
ShapeModel |
ShapeModel.withHasRequiresLengthMember(boolean hasRequiresLengthMember) |
ShapeModel |
ShapeModel.withHasStatusCodeMember(boolean hasStatusCodeMember) |
ShapeModel |
ShapeModel.withHasStreamingMember(boolean hasStreamingMember) |
ShapeModel |
ShapeModel.withIsDocument(boolean document) |
ShapeModel |
ShapeModel.withIsEvent(boolean isEvent) |
ShapeModel |
ShapeModel.withIsEventStream(boolean isEventStream) |
ShapeModel |
ShapeModel.withType(String type) |
ShapeModel |
ShapeModel.withXmlNamespace(XmlNamespace xmlNamespace) |
Modifier and Type | Method and Description |
---|---|
Map<String,ShapeModel> |
IntermediateModel.getShapes() |
Modifier and Type | Method and Description |
---|---|
void |
OperationModel.setInputShape(ShapeModel inputShape) |
void |
OperationModel.setOutputShape(ShapeModel outputShape) |
void |
MemberModel.setShape(ShapeModel shape) |
Modifier and Type | Method and Description |
---|---|
void |
IntermediateModel.setShapes(Map<String,ShapeModel> shapes) |
Constructor and Description |
---|
IntermediateModel(Metadata metadata,
Map<String,OperationModel> operations,
Map<String,ShapeModel> shapes,
CustomizationConfig customizationConfig) |
IntermediateModel(Metadata metadata,
Map<String,OperationModel> operations,
Map<String,ShapeModel> shapes,
CustomizationConfig customizationConfig,
OperationModel endpointOperation,
Map<String,PaginatorDefinition> paginators,
NamingStrategy namingStrategy,
Map<String,WaiterDefinition> waiters) |
Modifier and Type | Method and Description |
---|---|
com.squareup.javapoet.ClassName |
PoetExtensions.getModelClassFromShape(ShapeModel shapeModel) |
boolean |
PoetExtensions.isRequest(ShapeModel shapeModel) |
boolean |
PoetExtensions.isResponse(ShapeModel shapeModel) |
Modifier and Type | Method and Description |
---|---|
default String |
ProtocolSpec.populateHttpStatusCode(ShapeModel shapeModel) |
Modifier and Type | Method and Description |
---|---|
protected ShapeModel |
AbstractEnumClass.getShape() |
Constructor and Description |
---|
AbstractEnumClass(ShapeModel shape) |
EnumClass(String enumPackage,
ShapeModel shape) |
Modifier and Type | Method and Description |
---|---|
static ShapeModel |
EventStreamUtils.getEventStreamInRequest(ShapeModel requestShape)
Get eventstream member from a request shape model.
|
static ShapeModel |
EventStreamUtils.getEventStreamInResponse(ShapeModel responseShape)
Get eventstream member from a response shape model.
|
Modifier and Type | Method and Description |
---|---|
static Optional<ShapeModel> |
EventStreamUtils.getBaseEventStreamShape(IntermediateModel model,
ShapeModel eventShape)
Returns the event stream
ShapeModel that contains the given event. |
static List<ShapeModel> |
EventStreamUtils.getBaseEventStreamShapes(IntermediateModel model,
ShapeModel eventShape) |
Modifier and Type | Method and Description |
---|---|
static boolean |
EventStreamUtils.doesShapeContainsEventStream(ShapeModel parentShape,
ShapeModel childEventStreamShape)
Returns true if the #childEventStreamShape is a member of the #parentShape.
|
static Collection<OperationModel> |
EventStreamUtils.findOperationsWithEventStream(IntermediateModel model,
ShapeModel eventStreamShape)
Returns the all operations that contain the given event stream shape.
|
static Optional<ShapeModel> |
EventStreamUtils.getBaseEventStreamShape(IntermediateModel model,
ShapeModel eventShape)
Returns the event stream
ShapeModel that contains the given event. |
static List<ShapeModel> |
EventStreamUtils.getBaseEventStreamShapes(IntermediateModel model,
ShapeModel eventShape) |
static Stream<MemberModel> |
EventStreamUtils.getEventMembers(ShapeModel eventStreamShape)
Returns the stream of event members ('event: true') excluding exceptions
from the input event stream shape ('eventstream: true').
|
static Stream<MemberModel> |
EventStreamUtils.getEvents(ShapeModel eventStreamShape)
Returns the stream of event members ('event: true') excluding exceptions
from the input event stream shape ('eventstream: true').
|
static ShapeModel |
EventStreamUtils.getEventStreamInRequest(ShapeModel requestShape)
Get eventstream member from a request shape model.
|
static ShapeModel |
EventStreamUtils.getEventStreamInResponse(ShapeModel responseShape)
Get eventstream member from a response shape model.
|
static boolean |
EventStreamUtils.isEventStreamParentModel(ShapeModel shapeModel) |
static boolean |
EventStreamUtils.isRequestEvent(IntermediateModel model,
ShapeModel eventShape)
Returns true if the given event shape is a sub-member of any operation request.
|
Constructor and Description |
---|
EventTypeEnumSpec(String enumPackageName,
IntermediateModel intermediateModel,
ShapeModel eventStream) |
Modifier and Type | Method and Description |
---|---|
com.squareup.javapoet.MethodSpec |
ModelMethodOverrides.equalsBySdkFieldsMethod(ShapeModel shapeModel) |
com.squareup.javapoet.MethodSpec |
ModelMethodOverrides.equalsMethod(ShapeModel shapeModel) |
com.squareup.javapoet.MethodSpec |
ModelMethodOverrides.hashCodeMethod(ShapeModel shapeModel) |
com.squareup.javapoet.MethodSpec |
ModelMethodOverrides.toStringMethod(ShapeModel shapeModel) |
Constructor and Description |
---|
AwsServiceModel(IntermediateModel intermediateModel,
ShapeModel shapeModel) |
EventModelSpec(MemberModel eventModel,
ShapeModel eventStream,
IntermediateModel intermediateModel) |
EventStreamSpecHelper(ShapeModel eventStream,
IntermediateModel intermediateModel) |
Constructor and Description |
---|
MarshallerSpec(IntermediateModel intermediateModel,
ShapeModel shapeModel) |
Modifier and Type | Field and Description |
---|---|
protected ShapeModel |
JsonMarshallerSpec.shapeModel |
protected ShapeModel |
QueryMarshallerSpec.shapeModel |
Constructor and Description |
---|
EventStreamJsonMarshallerSpec(IntermediateModel model,
ShapeModel shapeModel) |
JsonMarshallerSpec(ShapeModel shapeModel) |
QueryMarshallerSpec(IntermediateModel model,
ShapeModel shapeModel) |
XmlMarshallerSpec(IntermediateModel model,
ShapeModel shapeModel) |
Copyright © 2021. All rights reserved.