create_consent_portal¶
Operation¶
create_consent_portal
async
¶
create_consent_portal(input: CreateConsentPortalInput, plugins: list[Plugin] | None = None) -> CreateConsentPortalOutput
Creates a new consent portal.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateConsentPortalInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
CreateConsentPortalOutput
|
An instance of |
Input¶
CreateConsentPortalInput
dataclass
¶
Dataclass for CreateConsentPortalInput structure.
Attributes¶
description
class-attribute
instance-attribute
¶
description: str | None = None
The description of the consent portal.
execution_role_arn
class-attribute
instance-attribute
¶
execution_role_arn: str | None = None
The Amazon Resource Name (ARN) of the IAM role that the consent portal assumes to access the resources defined in its sources.
idp_config
class-attribute
instance-attribute
¶
idp_config: ConsentPortalIdpConfig | None = None
The identity provider configuration that the consent portal uses to authenticate end users.
name
class-attribute
instance-attribute
¶
name: str | None = None
The name of the consent portal. The name must be unique within your account.
sources
class-attribute
instance-attribute
¶
sources: list[ConsentPortalSource] | None = None
The resources served by the consent portal. Currently, we only support
type agentcore-gateway.
Output¶
CreateConsentPortalOutput
dataclass
¶
Dataclass for CreateConsentPortalOutput structure.
Attributes¶
consent_portal_arn
instance-attribute
¶
consent_portal_arn: str
The Amazon Resource Name (ARN) of the consent portal.
consent_portal_id
instance-attribute
¶
consent_portal_id: str
The unique identifier of the consent portal.
created_at
instance-attribute
¶
created_at: datetime
The timestamp for when the consent portal was created.
description
class-attribute
instance-attribute
¶
description: str | None = None
The description of the consent portal.
execution_role_arn
instance-attribute
¶
execution_role_arn: str
The Amazon Resource Name (ARN) of the IAM role that the consent portal assumes to access the resources defined in its sources.
idp_config
instance-attribute
¶
idp_config: ConsentPortalIdpConfig
The identity provider configuration that the consent portal uses to authenticate end users.
portal_url
class-attribute
instance-attribute
¶
portal_url: str | None = None
The URL used to access the consent portal.
response_metadata
class-attribute
instance-attribute
¶
response_metadata: ResponseMetadata = field(default=EMPTY_RESPONSE_METADATA, repr=False, compare=False)
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.
sources
instance-attribute
¶
sources: list[ConsentPortalSource]
The resources served by the consent portal.