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.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.getShapeByC2jName(String c2jName) |
ShapeModel |
ShapeModel.withHasHeaderMember(boolean hasHeaderMember) |
ShapeModel |
ShapeModel.withHasPayloadMember(boolean hasPayloadMember) |
ShapeModel |
ShapeModel.withHasStatusCodeMember(boolean hasStatusCodeMember) |
ShapeModel |
ShapeModel.withHasStreamingMember(boolean hasStreamingMember) |
ShapeModel |
ShapeModel.withIsEvent(boolean isEvent) |
ShapeModel |
ShapeModel.withIsEventStream(boolean isEventStream) |
ShapeModel |
ShapeModel.withType(String type) |
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) |
Constructor and Description |
---|
IntermediateModel(Metadata metadata,
Map<String,OperationModel> operations,
Map<String,ShapeModel> shapes,
CustomizationConfig customizationConfig,
ServiceExamples examples) |
IntermediateModel(Metadata metadata,
Map<String,OperationModel> operations,
Map<String,ShapeModel> shapes,
CustomizationConfig customizationConfig,
ServiceExamples examples,
Map<String,AuthorizerModel> customAuthorizers,
Map<String,PaginatorDefinition> paginators,
NamingStrategy namingStrategy) |
Modifier and Type | Method and Description |
---|---|
com.squareup.javapoet.ClassName |
PoetExtensions.getModelClassFromShape(ShapeModel shapeModel) |
Modifier and Type | Method and Description |
---|---|
default String |
ProtocolSpec.populateHttpStatusCode(ShapeModel shapeModel) |
Constructor and Description |
---|
EnumClass(String enumPackage,
ShapeModel shape) |
Modifier and Type | Method and Description |
---|---|
static ShapeModel |
EventStreamUtils.getBaseEventStreamShape(IntermediateModel model,
ShapeModel eventShape)
Returns the event stream
ShapeModel that contains the given event. |
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 Stream<ShapeModel> |
EventStreamUtils.getEvents(ShapeModel eventStreamShape)
Returns the stream of event member shapes ('event: true') excluding exceptions
from the input event stream shape ('eventstream: true').
|
Modifier and Type | Method and Description |
---|---|
protected com.squareup.javapoet.MethodSpec.Builder |
EventStreamVisitorBuilderImplSpec.applyOnSubTypeMethodSpecUpdates(com.squareup.javapoet.TypeSpec.Builder typeBuilder,
com.squareup.javapoet.MethodSpec.Builder methodBuilder,
ShapeModel eventSubTypeShape) |
protected com.squareup.javapoet.MethodSpec.Builder |
EventStreamVisitorBuilderInterfaceSpec.applyOnSubTypeMethodSpecUpdates(com.squareup.javapoet.TypeSpec.Builder typeBuilder,
com.squareup.javapoet.MethodSpec.Builder methodBuilder,
ShapeModel eventSubTypeShape) |
static boolean |
EventStreamUtils.doesShapeContainsEventStream(ShapeModel parentShape,
ShapeModel childEventStreamShape)
Returns true if the #childEventStreamShape is a member of the #parentShape.
|
static OperationModel |
EventStreamUtils.findOperationWithEventStream(IntermediateModel model,
ShapeModel eventStreamShape)
Returns the first operation that contains the given event stream shape.
|
static ShapeModel |
EventStreamUtils.getBaseEventStreamShape(IntermediateModel model,
ShapeModel eventShape)
Returns the event stream
ShapeModel that contains the given event. |
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<ShapeModel> |
EventStreamUtils.getEvents(ShapeModel eventStreamShape)
Returns the stream of event member shapes ('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.isRequestEvent(IntermediateModel model,
ShapeModel eventShape)
Returns true if the given event shape is a sub-member of any operation request.
|
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and Description |
---|
MarshallerSpec(IntermediateModel intermediateModel,
ShapeModel shapeModel) |
Modifier and Type | Field and Description |
---|---|
protected ShapeModel |
QueryMarshallerSpec.shapeModel |
protected ShapeModel |
JsonMarshallerSpec.shapeModel |
Constructor and Description |
---|
EventStreamJsonMarshallerSpec(IntermediateModel model,
ShapeModel shapeModel) |
JsonMarshallerSpec(ShapeModel shapeModel) |
QueryMarshallerSpec(IntermediateModel model,
ShapeModel shapeModel) |
XmlMarshallerSpec(IntermediateModel model,
ShapeModel shapeModel) |
Copyright © 2018. All rights reserved.