Amazon SageMaker Sagemaker Model Package Group Policy API
The Sagemaker Model Package Group Policy API from Amazon SageMaker — 3 operation(s) for sagemaker model package group policy.
The Sagemaker Model Package Group Policy API from Amazon SageMaker — 3 operation(s) for sagemaker model package group policy.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/amazon-sagemaker:amazon-sagemaker-model-package-group-policy-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: Amazon SageMaker Service Model Package Group Policy API
version: '2017-07-24'
description: Generated from AWS's published Smithy model for Amazon SageMaker Service. 3 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://api.sagemaker.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/#DeleteModelPackageGroupPolicy:
post:
operationId: DeleteModelPackageGroupPolicy
summary: Delete Model Package Group Policy
description: Deletes a model group resource policy.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
type: string
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- SageMaker.DeleteModelPackageGroupPolicy
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DeleteModelPackageGroupPolicyInput'
tags:
- Model Package Group Policy
/#GetModelPackageGroupPolicy:
post:
operationId: GetModelPackageGroupPolicy
summary: Get Model Package Group Policy
description: Gets a resource policy that manages access for a model group. For information about resource policies,
see Identity-based policies and resource-based policies in the Amazon Web Services Identity and Access Management
User Guide..
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/GetModelPackageGroupPolicyOutput'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- SageMaker.GetModelPackageGroupPolicy
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/GetModelPackageGroupPolicyInput'
tags:
- Model Package Group Policy
/#PutModelPackageGroupPolicy:
post:
operationId: PutModelPackageGroupPolicy
summary: Put Model Package Group Policy
description: Adds a resouce policy to control access to a model group. For information about resoure policies, see Identity-based
policies and resource-based policies in the Amazon Web Services Identity and Access Management User Guide..
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/PutModelPackageGroupPolicyOutput'
'400':
description: ConflictException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ConflictException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- SageMaker.PutModelPackageGroupPolicy
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/PutModelPackageGroupPolicyInput'
tags:
- Model Package Group Policy
components:
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: sagemaker
schemas:
ConflictException:
type: object
properties:
Message:
type: string
DeleteModelPackageGroupPolicyInput:
type: object
properties:
ModelPackageGroupName:
type: string
description: The name of the model group for which to delete the policy.
required:
- ModelPackageGroupName
GetModelPackageGroupPolicyInput:
type: object
properties:
ModelPackageGroupName:
type: string
description: The name of the model group for which to get the resource policy.
required:
- ModelPackageGroupName
GetModelPackageGroupPolicyOutput:
type: object
properties:
ResourcePolicy:
type: string
description: The resource policy for the model group.
required:
- ResourcePolicy
PutModelPackageGroupPolicyInput:
type: object
properties:
ModelPackageGroupName:
type: string
description: The name of the model group to add a resource policy to.
ResourcePolicy:
type: string
description: The resource policy for the model group.
required:
- ModelPackageGroupName
- ResourcePolicy
PutModelPackageGroupPolicyOutput:
type: object
properties:
ModelPackageGroupArn:
type: string
description: The Amazon Resource Name (ARN) of the model package group.
required:
- ModelPackageGroupArn
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/sagemaker/service/2017-07-24/sagemaker-2017-07-24.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)