Paws::SageMakerRuntime - Perl Interface to AWS Amazon SageMaker Runtime


  use Paws;

  my $obj = Paws->service('SageMakerRuntime');
  my $res = $obj->Method(
    Arg1 => $val1,
    Arg2 => [ 'V1', 'V2' ],
    # if Arg3 is an object, the HashRef will be used as arguments to the constructor
    # of the arguments type
    Arg3 => { Att1 => 'Val1' },
    # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
    # the constructor of the arguments type
    Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],


The Amazon SageMaker runtime API.

For the AWS API documentation, see



Body => Str
EndpointName => Str
[Accept => Str]
[ContentType => Str]
[CustomAttributes => Str]

Each argument is described in detail in: Paws::SageMakerRuntime::InvokeEndpoint

Returns: a Paws::SageMakerRuntime::InvokeEndpointOutput instance

After you deploy a model into production using Amazon SageMaker hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint.

For an overview of Amazon SageMaker, see How It Works (

Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add additional headers. You should not rely on the behavior of headers outside those enumerated in the request syntax.

Cals to InvokeEndpoint are authenticated by using AWS Signature Version 4. For information, see Authenticating Requests (AWS Signature Version 4) ( in the Amazon S3 API Reference.

Endpoints are scoped to an individual account, and are not public. The URL does not contain the account ID, but Amazon SageMaker determines the account ID from the authentication token that is supplied by the caller.


Paginator methods are helpers that repetively call methods that return partial results


This service class forms part of Paws


The source code is located here:

Please report bugs to: