function createOperationMap()

in lib/greengrasscoreipc/model_utils.ts [338:646]


function createOperationMap() : Map<string, eventstream_rpc.EventstreamRpcServiceModelOperation> {
    return new Map<string, eventstream_rpc.EventstreamRpcServiceModelOperation>([
        ["aws.greengrass#AuthorizeClientDeviceAction", {
            requestShape: "aws.greengrass#AuthorizeClientDeviceActionRequest",
            responseShape: "aws.greengrass#AuthorizeClientDeviceActionResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#UnauthorizedError",
                "aws.greengrass#ServiceError",
                "aws.greengrass#InvalidArgumentsError",
                "aws.greengrass#InvalidClientDeviceAuthTokenError"
            ])
        }],
        ["aws.greengrass#CancelLocalDeployment", {
            requestShape: "aws.greengrass#CancelLocalDeploymentRequest",
            responseShape: "aws.greengrass#CancelLocalDeploymentResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#ResourceNotFoundError",
                "aws.greengrass#InvalidArgumentsError"
            ])
        }],
        ["aws.greengrass#CreateDebugPassword", {
            requestShape: "aws.greengrass#CreateDebugPasswordRequest",
            responseShape: "aws.greengrass#CreateDebugPasswordResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#UnauthorizedError",
                "aws.greengrass#ServiceError"
            ])
        }],
        ["aws.greengrass#CreateLocalDeployment", {
            requestShape: "aws.greengrass#CreateLocalDeploymentRequest",
            responseShape: "aws.greengrass#CreateLocalDeploymentResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#InvalidRecipeDirectoryPathError",
                "aws.greengrass#InvalidArtifactsDirectoryPathError",
                "aws.greengrass#InvalidArgumentsError"
            ])
        }],
        ["aws.greengrass#DeferComponentUpdate", {
            requestShape: "aws.greengrass#DeferComponentUpdateRequest",
            responseShape: "aws.greengrass#DeferComponentUpdateResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#ResourceNotFoundError",
                "aws.greengrass#InvalidArgumentsError"
            ])
        }],
        ["aws.greengrass#DeleteThingShadow", {
            requestShape: "aws.greengrass#DeleteThingShadowRequest",
            responseShape: "aws.greengrass#DeleteThingShadowResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#InvalidArgumentsError",
                "aws.greengrass#ResourceNotFoundError",
                "aws.greengrass#ServiceError",
                "aws.greengrass#UnauthorizedError"
            ])
        }],
        ["aws.greengrass#GetClientDeviceAuthToken", {
            requestShape: "aws.greengrass#GetClientDeviceAuthTokenRequest",
            responseShape: "aws.greengrass#GetClientDeviceAuthTokenResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#UnauthorizedError",
                "aws.greengrass#ServiceError",
                "aws.greengrass#InvalidArgumentsError",
                "aws.greengrass#InvalidCredentialError"
            ])
        }],
        ["aws.greengrass#GetComponentDetails", {
            requestShape: "aws.greengrass#GetComponentDetailsRequest",
            responseShape: "aws.greengrass#GetComponentDetailsResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#ResourceNotFoundError",
                "aws.greengrass#InvalidArgumentsError"
            ])
        }],
        ["aws.greengrass#GetConfiguration", {
            requestShape: "aws.greengrass#GetConfigurationRequest",
            responseShape: "aws.greengrass#GetConfigurationResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#ResourceNotFoundError"
            ])
        }],
        ["aws.greengrass#GetLocalDeploymentStatus", {
            requestShape: "aws.greengrass#GetLocalDeploymentStatusRequest",
            responseShape: "aws.greengrass#GetLocalDeploymentStatusResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#ResourceNotFoundError"
            ])
        }],
        ["aws.greengrass#GetSecretValue", {
            requestShape: "aws.greengrass#GetSecretValueRequest",
            responseShape: "aws.greengrass#GetSecretValueResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#UnauthorizedError",
                "aws.greengrass#ResourceNotFoundError",
                "aws.greengrass#ServiceError"
            ])
        }],
        ["aws.greengrass#GetThingShadow", {
            requestShape: "aws.greengrass#GetThingShadowRequest",
            responseShape: "aws.greengrass#GetThingShadowResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#InvalidArgumentsError",
                "aws.greengrass#ResourceNotFoundError",
                "aws.greengrass#ServiceError",
                "aws.greengrass#UnauthorizedError"
            ])
        }],
        ["aws.greengrass#ListComponents", {
            requestShape: "aws.greengrass#ListComponentsRequest",
            responseShape: "aws.greengrass#ListComponentsResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError"
            ])
        }],
        ["aws.greengrass#ListLocalDeployments", {
            requestShape: "aws.greengrass#ListLocalDeploymentsRequest",
            responseShape: "aws.greengrass#ListLocalDeploymentsResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError"
            ])
        }],
        ["aws.greengrass#ListNamedShadowsForThing", {
            requestShape: "aws.greengrass#ListNamedShadowsForThingRequest",
            responseShape: "aws.greengrass#ListNamedShadowsForThingResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#InvalidArgumentsError",
                "aws.greengrass#ResourceNotFoundError",
                "aws.greengrass#ServiceError",
                "aws.greengrass#UnauthorizedError"
            ])
        }],
        ["aws.greengrass#PauseComponent", {
            requestShape: "aws.greengrass#PauseComponentRequest",
            responseShape: "aws.greengrass#PauseComponentResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#UnauthorizedError",
                "aws.greengrass#ServiceError",
                "aws.greengrass#ResourceNotFoundError"
            ])
        }],
        ["aws.greengrass#PublishToIoTCore", {
            requestShape: "aws.greengrass#PublishToIoTCoreRequest",
            responseShape: "aws.greengrass#PublishToIoTCoreResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#UnauthorizedError"
            ])
        }],
        ["aws.greengrass#PublishToTopic", {
            requestShape: "aws.greengrass#PublishToTopicRequest",
            responseShape: "aws.greengrass#PublishToTopicResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#UnauthorizedError"
            ])
        }],
        ["aws.greengrass#PutComponentMetric", {
            requestShape: "aws.greengrass#PutComponentMetricRequest",
            responseShape: "aws.greengrass#PutComponentMetricResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#UnauthorizedError",
                "aws.greengrass#ServiceError",
                "aws.greengrass#InvalidArgumentsError"
            ])
        }],
        ["aws.greengrass#RestartComponent", {
            requestShape: "aws.greengrass#RestartComponentRequest",
            responseShape: "aws.greengrass#RestartComponentResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#ComponentNotFoundError",
                "aws.greengrass#InvalidArgumentsError"
            ])
        }],
        ["aws.greengrass#ResumeComponent", {
            requestShape: "aws.greengrass#ResumeComponentRequest",
            responseShape: "aws.greengrass#ResumeComponentResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#UnauthorizedError",
                "aws.greengrass#ServiceError",
                "aws.greengrass#ResourceNotFoundError"
            ])
        }],
        ["aws.greengrass#SendConfigurationValidityReport", {
            requestShape: "aws.greengrass#SendConfigurationValidityReportRequest",
            responseShape: "aws.greengrass#SendConfigurationValidityReportResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#InvalidArgumentsError",
                "aws.greengrass#ServiceError"
            ])
        }],
        ["aws.greengrass#StopComponent", {
            requestShape: "aws.greengrass#StopComponentRequest",
            responseShape: "aws.greengrass#StopComponentResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#ComponentNotFoundError",
                "aws.greengrass#InvalidArgumentsError"
            ])
        }],
        ["aws.greengrass#SubscribeToCertificateUpdates", {
            requestShape: "aws.greengrass#SubscribeToCertificateUpdatesRequest",
            responseShape: "aws.greengrass#SubscribeToCertificateUpdatesResponse",
            inboundMessageShape: "aws.greengrass#CertificateUpdateEvent",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#UnauthorizedError",
                "aws.greengrass#InvalidArgumentsError"
            ])
        }],
        ["aws.greengrass#SubscribeToComponentUpdates", {
            requestShape: "aws.greengrass#SubscribeToComponentUpdatesRequest",
            responseShape: "aws.greengrass#SubscribeToComponentUpdatesResponse",
            inboundMessageShape: "aws.greengrass#ComponentUpdatePolicyEvents",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#ResourceNotFoundError"
            ])
        }],
        ["aws.greengrass#SubscribeToConfigurationUpdate", {
            requestShape: "aws.greengrass#SubscribeToConfigurationUpdateRequest",
            responseShape: "aws.greengrass#SubscribeToConfigurationUpdateResponse",
            inboundMessageShape: "aws.greengrass#ConfigurationUpdateEvents",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#ResourceNotFoundError"
            ])
        }],
        ["aws.greengrass#SubscribeToIoTCore", {
            requestShape: "aws.greengrass#SubscribeToIoTCoreRequest",
            responseShape: "aws.greengrass#SubscribeToIoTCoreResponse",
            inboundMessageShape: "aws.greengrass#IoTCoreMessage",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#UnauthorizedError"
            ])
        }],
        ["aws.greengrass#SubscribeToTopic", {
            requestShape: "aws.greengrass#SubscribeToTopicRequest",
            responseShape: "aws.greengrass#SubscribeToTopicResponse",
            inboundMessageShape: "aws.greengrass#SubscriptionResponseMessage",
            errorShapes: new Set<string>([
                "aws.greengrass#InvalidArgumentsError",
                "aws.greengrass#ServiceError",
                "aws.greengrass#UnauthorizedError"
            ])
        }],
        ["aws.greengrass#SubscribeToValidateConfigurationUpdates", {
            requestShape: "aws.greengrass#SubscribeToValidateConfigurationUpdatesRequest",
            responseShape: "aws.greengrass#SubscribeToValidateConfigurationUpdatesResponse",
            inboundMessageShape: "aws.greengrass#ValidateConfigurationUpdateEvents",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError"
            ])
        }],
        ["aws.greengrass#UpdateConfiguration", {
            requestShape: "aws.greengrass#UpdateConfigurationRequest",
            responseShape: "aws.greengrass#UpdateConfigurationResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#UnauthorizedError",
                "aws.greengrass#ConflictError",
                "aws.greengrass#FailedUpdateConditionCheckError",
                "aws.greengrass#InvalidArgumentsError"
            ])
        }],
        ["aws.greengrass#UpdateState", {
            requestShape: "aws.greengrass#UpdateStateRequest",
            responseShape: "aws.greengrass#UpdateStateResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#ServiceError",
                "aws.greengrass#ResourceNotFoundError"
            ])
        }],
        ["aws.greengrass#UpdateThingShadow", {
            requestShape: "aws.greengrass#UpdateThingShadowRequest",
            responseShape: "aws.greengrass#UpdateThingShadowResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#InvalidArgumentsError",
                "aws.greengrass#ConflictError",
                "aws.greengrass#ServiceError",
                "aws.greengrass#UnauthorizedError"
            ])
        }],
        ["aws.greengrass#ValidateAuthorizationToken", {
            requestShape: "aws.greengrass#ValidateAuthorizationTokenRequest",
            responseShape: "aws.greengrass#ValidateAuthorizationTokenResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#InvalidTokenError",
                "aws.greengrass#UnauthorizedError",
                "aws.greengrass#ServiceError"
            ])
        }],
        ["aws.greengrass#VerifyClientDeviceIdentity", {
            requestShape: "aws.greengrass#VerifyClientDeviceIdentityRequest",
            responseShape: "aws.greengrass#VerifyClientDeviceIdentityResponse",
            errorShapes: new Set<string>([
                "aws.greengrass#UnauthorizedError",
                "aws.greengrass#ServiceError",
                "aws.greengrass#InvalidArgumentsError"
            ])
        }]
    ]);
}