Skip to main content

partner_apps

Creates, updates, deletes or gets a partner_app resource or lists partner_apps in a region

Overview

Namepartner_apps
TypeResource
DescriptionResource Type definition for AWS::SageMaker::PartnerApp
Idaws.sagemaker.partner_apps

Fields

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the created PartnerApp.
namestringA name for the PartnerApp.
typestringThe type of PartnerApp.
execution_role_arnstringThe execution role for the user.
tierstringThe tier of the PartnerApp.
enable_iam_session_based_identitybooleanEnables IAM Session based Identity for PartnerApp.
application_configobjectA collection of settings that specify the maintenance schedule for the PartnerApp.
auth_typestringThe Auth type of PartnerApp.
base_urlstringThe AppServerUrl based on app and account-info.
maintenance_configobjectA collection of settings that specify the maintenance schedule for the PartnerApp.
client_tokenstringThe client token for the PartnerApp.
tagsarrayA list of tags to apply to the PartnerApp.
regionstringAWS region.

For more information, see AWS::SageMaker::PartnerApp.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, Type, AuthType, ExecutionRoleArn, Tier, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all partner_apps in a region.

SELECT
region,
arn,
name,
type,
execution_role_arn,
tier,
enable_iam_session_based_identity,
application_config,
auth_type,
base_url,
maintenance_config,
client_token,
tags
FROM aws.sagemaker.partner_apps
WHERE region = 'us-east-1';

Gets all properties from an individual partner_app.

SELECT
region,
arn,
name,
type,
execution_role_arn,
tier,
enable_iam_session_based_identity,
application_config,
auth_type,
base_url,
maintenance_config,
client_token,
tags
FROM aws.sagemaker.partner_apps
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>';

INSERT example

Use the following StackQL query and manifest file to create a new partner_app resource, using stack-deploy.

/*+ create */
INSERT INTO aws.sagemaker.partner_apps (
Name,
Type,
ExecutionRoleArn,
Tier,
AuthType,
region
)
SELECT
'{{ Name }}',
'{{ Type }}',
'{{ ExecutionRoleArn }}',
'{{ Tier }}',
'{{ AuthType }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.sagemaker.partner_apps
WHERE data__Identifier = '<Arn>'
AND region = 'us-east-1';

Permissions

To operate on the partner_apps resource, the following permissions are required:

Create

sagemaker:CreatePartnerApp,
sagemaker:DescribePartnerApp,
sagemaker:AddTags,
sagemaker:ListTags,
iam:PassRole

Read

sagemaker:DescribePartnerApp,
sagemaker:ListTags

Update

sagemaker:UpdatePartnerApp,
sagemaker:DescribePartnerApp,
sagemaker:AddTags,
sagemaker:ListTags,
sagemaker:DeleteTags

Delete

sagemaker:DeletePartnerApp,
sagemaker:DescribePartnerApp,
sagemaker:DeleteTags

List

sagemaker:ListPartnerApps,
sagemaker:DescribePartnerApp,
sagemaker:ListTags