Class SendConfigurationValidityReportOperationContext
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.SendConfigurationValidityReportOperationContext
-
- All Implemented Interfaces:
OperationModelContext<SendConfigurationValidityReportRequest,SendConfigurationValidityReportResponse,EventStreamJsonMessage,EventStreamJsonMessage>
public class SendConfigurationValidityReportOperationContext extends Object implements OperationModelContext<SendConfigurationValidityReportRequest,SendConfigurationValidityReportResponse,EventStreamJsonMessage,EventStreamJsonMessage>
This operation should be used in response to event received as part of SubscribeToValidateConfigurationUpdates subscription. It is not necessary to send the report if the configuration is valid (GGC will wait for timeout period and proceed). Sending the report with invalid config status will prevent GGC from applying the updates
-
-
Constructor Summary
Constructors Constructor Description SendConfigurationValidityReportOperationContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetOperationName()Returns the canonical operation name associated with this context across any client language.StringgetRequestApplicationModelType()Returns the application model type string for the initial-request objectClass<SendConfigurationValidityReportRequest>getRequestTypeClass()Returns the initial-request java class typeStringgetResponseApplicationModelType()Returns the application model type string for the initial response objectClass<SendConfigurationValidityReportResponse>getResponseTypeClass()Returns the initial-response java class typeEventStreamRPCServiceModelgetServiceModel()Returns the service model which can look up all/any Java error class types if an operation throws it so the handling has a chanceOptional<String>getStreamingRequestApplicationModelType()Returns the application model type ofOptional<Class<EventStreamJsonMessage>>getStreamingRequestTypeClass()Returns the streaming-request java class typeOptional<String>getStreamingResponseApplicationModelType()Returns the streaming response application model stringOptional<Class<EventStreamJsonMessage>>getStreamingResponseTypeClass()Returns the streaming-response java class type-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.eventstreamrpc.OperationModelContext
isStreamingOperation
-
-
-
-
Method Detail
-
getServiceModel
public EventStreamRPCServiceModel getServiceModel()
Description copied from interface:OperationModelContextReturns the service model which can look up all/any Java error class types if an operation throws it so the handling has a chance- Specified by:
getServiceModelin interfaceOperationModelContext<SendConfigurationValidityReportRequest,SendConfigurationValidityReportResponse,EventStreamJsonMessage,EventStreamJsonMessage>- Returns:
- the service model which can look up all/any Java error class types if an operation throws it so the handling has a chance
-
getOperationName
public String getOperationName()
Description copied from interface:OperationModelContextReturns the canonical operation name associated with this context across any client language. Namespace included Example: aws.greengrass#SubscribeToTopic- Specified by:
getOperationNamein interfaceOperationModelContext<SendConfigurationValidityReportRequest,SendConfigurationValidityReportResponse,EventStreamJsonMessage,EventStreamJsonMessage>- Returns:
- the canonical operation name associated with this context across any client language.
-
getRequestTypeClass
public Class<SendConfigurationValidityReportRequest> getRequestTypeClass()
Description copied from interface:OperationModelContextReturns the initial-request java class type- Specified by:
getRequestTypeClassin interfaceOperationModelContext<SendConfigurationValidityReportRequest,SendConfigurationValidityReportResponse,EventStreamJsonMessage,EventStreamJsonMessage>- Returns:
- the initial-request java class type
-
getResponseTypeClass
public Class<SendConfigurationValidityReportResponse> getResponseTypeClass()
Description copied from interface:OperationModelContextReturns the initial-response java class type- Specified by:
getResponseTypeClassin interfaceOperationModelContext<SendConfigurationValidityReportRequest,SendConfigurationValidityReportResponse,EventStreamJsonMessage,EventStreamJsonMessage>- Returns:
- the initial-response java class type
-
getRequestApplicationModelType
public String getRequestApplicationModelType()
Description copied from interface:OperationModelContextReturns the application model type string for the initial-request object- Specified by:
getRequestApplicationModelTypein interfaceOperationModelContext<SendConfigurationValidityReportRequest,SendConfigurationValidityReportResponse,EventStreamJsonMessage,EventStreamJsonMessage>- Returns:
- the application model type string for the initial-request object
-
getResponseApplicationModelType
public String getResponseApplicationModelType()
Description copied from interface:OperationModelContextReturns the application model type string for the initial response object- Specified by:
getResponseApplicationModelTypein interfaceOperationModelContext<SendConfigurationValidityReportRequest,SendConfigurationValidityReportResponse,EventStreamJsonMessage,EventStreamJsonMessage>- Returns:
- the application model type string for the initial response object
-
getStreamingRequestTypeClass
public Optional<Class<EventStreamJsonMessage>> getStreamingRequestTypeClass()
Description copied from interface:OperationModelContextReturns the streaming-request java class type- Specified by:
getStreamingRequestTypeClassin interfaceOperationModelContext<SendConfigurationValidityReportRequest,SendConfigurationValidityReportResponse,EventStreamJsonMessage,EventStreamJsonMessage>- Returns:
- the streaming-request java class type
-
getStreamingResponseTypeClass
public Optional<Class<EventStreamJsonMessage>> getStreamingResponseTypeClass()
Description copied from interface:OperationModelContextReturns the streaming-response java class type- Specified by:
getStreamingResponseTypeClassin interfaceOperationModelContext<SendConfigurationValidityReportRequest,SendConfigurationValidityReportResponse,EventStreamJsonMessage,EventStreamJsonMessage>- Returns:
- the streaming-response java class type
-
getStreamingRequestApplicationModelType
public Optional<String> getStreamingRequestApplicationModelType()
Description copied from interface:OperationModelContextReturns the application model type of- Specified by:
getStreamingRequestApplicationModelTypein interfaceOperationModelContext<SendConfigurationValidityReportRequest,SendConfigurationValidityReportResponse,EventStreamJsonMessage,EventStreamJsonMessage>- Returns:
- the application model type of
-
getStreamingResponseApplicationModelType
public Optional<String> getStreamingResponseApplicationModelType()
Description copied from interface:OperationModelContextReturns the streaming response application model string- Specified by:
getStreamingResponseApplicationModelTypein interfaceOperationModelContext<SendConfigurationValidityReportRequest,SendConfigurationValidityReportResponse,EventStreamJsonMessage,EventStreamJsonMessage>- Returns:
- the streaming response application model string
-
-